This is the seventh chapter in MarkLogic's "Semantic Developer's Guide". This chapter describes the process of discovering new facts about data based on a set of rules. Inference with semantic triples means that automatic procedures can generate new relationships (new facts) from existing triples. An inference query is any SPARQL query that is affected by automatic inference(i.e., automatic processing by a computer program). New facts may be added to the database (forward-chaining inference), or they may be inferred at query time (backward chaining inference), depending on the implementation. MarkLogic supports backward-chaining inference.
Time required: P30M
Educational use: instruction
Educational audience: professional
Interactivity type: expositive
- Programatically infers triples using custom functions or methods.
- Uses RDF-library-specific convenience representations for common RDF vocabularies such as RDF, Dublin Core, and SKOS.
- Understands how the pattern matching of SPARQL queries can be expressed using functionally equivalent constructs in RDF programming libraries.
- Understands the role of Property Paths and how they are formed by combining predicates with regular expression-like operators.