Querying with SPARQL

Top  Previous  Next

The Web3 platform supports the SPARQL query language as a way to search the Topic Map. SPARQL is a standard query language originally developed to query RDF data. The Web3 platform supports many of the features of SPARQL and a general tutorial on SPARQL such as the ARQ SPARQL Tutorial or this article on XML.com will help you to grasp the basics of the language. To help support querying topic map data, the Web3 platfom implementation of SPARQL includes some pre-defined predicates that allow SPARQL queries against topic map structures such as occurrences, identifiers, associations and roles. These special predicates and the way in which you can use the identifiers of types in your schema are described in the following sections.