triple.pl -- Handling of triples in query expressions.

The following predicates are supported:

PredicateArguments
triple/3?Subject, ?Property, ?Value
author
- Daniel Beßler
license
- BSD
 triple(?Subject, ?Property, ?Value) is nondet
Query values of a property (and their sub-properties) on some subject in the triple DB. If the property is rdfs:subPropertyOf or rdf:type the query returns the values for the subject and their super-class

The property can be wrapped in one of several options:

transitive(Property)
indicates that the property is transitive
reflexive(Property)
indicates that the property is reflexive
pstar(Property)
binds the property to one of the values in the p* field in the mongodb

The value can be wrapped in one of several options:

ostar(Value)
binds the value to one of the values in the o* field in the mongodb
Arguments:
Subject- The subject of a triple.
Property- The predicate of a triple.
Value- The object of a triple.
 mng_triple_doc(+Triple, -Doc, +Context) is semidet
Translate a triple term into a mongo query document.