Package org.aksw.jena_sparql_api.shape
package org.aksw.jena_sparql_api.shape
-
ClassDescriptionA graph expression is a SPARQL expression which only makes use of the variables ?s ?p and ?o The evaluation of a graph expression te over an RDF dataset D yields a graph (a set of triples) [[te]]_D Maybe we should take a set of triples, derive a set of related resources, and then for this related set of resources specify which triples we are interested in again.A fluent API to build a resource shape.shape: true shape: 'rdfs:label' shape: ['rdf:type', 'rdfs:label'] shape: { 'rdf:type': true # Fetch rdf:type triples together with all outgoing triples of rdf:type } shape: { 'rdf:type': false # Fetch rdf:type triples, but no further reachable triples } shape: { '-rdf:type': ...shape: true shape: 'rdfs:label' shape: ['rdf:type', 'rdfs:label'] shape: { 'rdf:type': true # Fetch rdf:type triples together with all outgoing triples of rdf:type } shape: { 'rdf:type': false # Fetch rdf:type triples, but no further reachable triples } shape: { '-rdf:type': ...Combine an expression with a direction