www.openlinksw.com
docs.openlinksw.com

Book Home

Contents
Preface

Virtuoso Functions Guide

Administration
Aggregate Functions
Array Manipulation
BPEL APIs
Backup
Compression
Cursor
Date & Time Manipulation
Debug
Dictionary Manipulation
Encoding & Decoding
File Manipulation
Free Text
Hashing / Cryptographic
LDAP
Locale
Mail
Miscellaneous
Number
Phrases
RDF data
db.dba.rdf_64bit_upg...
db.dba.rdf_audit_met...
db.dba.rdf_backup_me...
db.dba.rdf_convert_r...
db.dba.rdf_graph_gro...
db.dba.rdf_graph_gro...
db.dba.rdf_langmatch...
db.dba.rdf_load_rdfx...
db.dba.rdf_load_rdfx...
db.dba.rdf_quad_uri
db.dba.rdf_quad_uri_...
db.dba.rdf_quad_uri_...
db.dba.rdf_regex
db.dba.rdf_restore_m...
db.dba.rdf_triples_t...
db.dba.rdf_triples_t...
db.dba.rdf_ttl2hash
db.dba.rdf_void_stor...
db.dba.sparql_eval
db.dba.sparql_eval_t...
db.dba.sparql_rexec
db.dba.sparql_rexec_...
db.dba.sparql_rexec_...
db.dba.ttlp
db.dba.ttlp_mt
db.dba.ttlp_mt_local...
isref
__xml_get_ns_prefix
__xml_get_ns_uri
iri_split
rdfs_rule_set
Remote SQL Data Source
Replication
SOAP
SQL
String
Transaction
Type Mapping
UDDI
User Defined Types & The CLR
Virtuoso Java PL API
Virtuoso Server Extension Interface (VSEI)
Web & Internet
XML
XPATH & XQUERY

Functions Index

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');
      
See Also

DB.DBA.RDF_AUDIT_METADATA

DB.DBA.RDF_BACKUP_METADATA

DB.DBA.RDF_LOAD_RDFXML_MT

DB.DBA.TTLP

DB.DBA.TTLP_MT

DB.DBA.RDF_TRIPLES_TO_RDF_XML_TEXT

DB.DBA.SPARQL_REXEC

DB.DBA.SPARQL_REXEC_TO_ARRAY

DB.DBA.SPARQL_REXEC_WITH_META

DB.DBA.RDF_QUAD_URI_L

DB.DBA.RDF_QUAD_URI_L_TYPED

DB.DBA.RDF_TTL2HASH