rdfs_rule_set
Adds the applicable facts of the graph into a rule set.
rdfs_rule_set
([in name varchar],
[in graph_iri varchar],
[in remove integer]);
Description
This function specifies a logical name for the rule set plus a graph URI. It is possible to combine multiple schema graphs into a single rule set. A single schema graph may also independently participate in multiple rule sets.
Parameters
name –
Name of the rule set.
graph_iri –
The graph URI must correspond to the graph IRI of a graph stored in the triple store
of the Virtuoso instance.
remove –
(0|1 default 0) - 1 = the specified graph is removed from the rule set.
Examples
Simple example
Create rule set:
SQL> rdfs_rule_set('myset', 'http://mygraph.com');