This brief exercise makes use of a triple index outside of SPARQL. It relies on previously loaded data and builds on queries which were run in previous exercises. Also contains advice regarding the use of SPARQL vs. XQuery. This is just one of several tutorials in a sequence, and they should be done in order to gain the most benefit.
URL: http://developer.marklogic.com/learn/semantics-exercises/triple-index
Keywords: XQuery, SPARQL
Publisher: MarkLogic
Language: http://id.loc.gov/vocabulary/iso639-2/eng
Time required: P15M
- Demonstrates a working knowledge of the forms and uses of SPARQL result sets (SELECT, CONSTRUCT, DESCRIBE, and ASK).
- Programatically infers triples using custom functions or methods.
- Understands how components of the RDF data model (datasets, graphs, statements, and various types of node) are expressed in the RDF library of a given programming language by constructs such as object
- Understands how the pattern matching of SPARQL queries can be expressed using functionally equivalent constructs in RDF programming libraries.