File: /examples/sparql.php

Description

Use QueryPath to query SPARQL endpoints on semantic web servers.

This example runs a SPARQL query against a remote database server (http://dbpedia.org) and then parses the returned XML data, displaying it as an HTML table.

This demo shows how a more complex GET query can be built up in QueryPath. POST queries are supported, too. Use a stream context to create those.

Classes defined in this file

CLASS NAME

DESCRIPTION

Include/Require Statements

'../src/QueryPath/QueryPath.php' (line 23)

require : '../src/QueryPath/QueryPath.php'

Global Variables

Constants

Functions


Documentation generated on Sun, 25 Jul 2010 16:09:12 -0500 by phpDocumentor 1.4.3