- Companion:
- object
Type members
Value members
Concrete methods
Checks if a node has a given datatype
Checks if a node has a given datatype
- Value parameters:
- datatype
Datatype IRI to check
- node
RDF node to check
- Returns:
In case of a bad formed literal, a Left with a message, otherwise the check
- Definition Classes
return the SHACL instances of a node cls
A node node
is a shacl instance of cls
if node rdf:type/rdfs:subClassOf* cls
return the SHACL instances of a node cls
A node node
is a shacl instance of cls
if node rdf:type/rdfs:subClassOf* cls
- Definition Classes
true
if node rdf:type/rdfs:subClassOf* cls
true
if node rdf:type/rdfs:subClassOf* cls
- Definition Classes
- Value parameters:
- other
RDF reader
- Returns:
true if this RDF graph is isomorphic with other
- Definition Classes
Set of RDFTriples that relate two nodes by a SHACL path
Set of RDFTriples that relate two nodes by a SHACL path
- Value parameters:
- p
path
- Definition Classes
return the values associated with a node by a path The path is defined as in SHACL paths which are a simplified version of SPARQL paths
return the values associated with a node by a path The path is defined as in SHACL paths which are a simplified version of SPARQL paths
- Definition Classes
Run a SPARQL query which returns a JSON representation of the result
Run a SPARQL query which returns a JSON representation of the result
- Value parameters:
- str
string representing the SPARQL query
- Returns:
JSON representation of the result
- Definition Classes
Run a SPARQL select query which returns a result map
Run a SPARQL select query which returns a result map
- Value parameters:
- queryStr
string representing the SPARQL query
- Returns:
Either a List of mappings or an error message
- Definition Classes
Set of RDFTriples that relate a node with some object by a path
Set of RDFTriples that relate a node with some object by a path
- Value parameters:
- o
object
- p
path
- Definition Classes
Set of RDFTriples that contain a node as object
Set of RDFTriples that contain a node as object
- Value parameters:
- n
node
- Definition Classes
Set of RDFTriples that relate two nodes by a predicate
Set of RDFTriples that relate two nodes by a predicate
- Value parameters:
- p
predicate
- Definition Classes
Set of RDFTriples that contain a node as predicate with some object
Set of RDFTriples that contain a node as predicate with some object
- Value parameters:
- o
object
- p
predicate
- Definition Classes
Inherited methods
Returns the set of iriObjects that are IRIs in a graph
Returns the set of iriObjects that are IRIs in a graph
- Inherited from:
- RDFReader
Returns the set of subjects that are IRIs in a graph
Returns the set of subjects that are IRIs in a graph
- Inherited from:
- RDFReader
Set of RDFTriples that contain a node as object with some of the predicates in a list
Set of RDFTriples that contain a node as object with some of the predicates in a list
- Value parameters:
- o
object
- ps
list of predicates
- Inherited from:
- RDFReader
Set of RDFTriples that contain a node as subject and a given Predicate
Set of RDFTriples that contain a node as subject and a given Predicate
- Inherited from:
- RDFReader
Set of RDFTriples that contain a node as subject with some of the predicates in a list
Set of RDFTriples that contain a node as subject with some of the predicates in a list
- Value parameters:
- n
node
- ps
list of predicates
- Inherited from:
- RDFReader