Hello to everyone,
I would like to ask if it is possible based on a defined ruleset applied on
a graph to insert all the inferred triples into a graph.
I tried the following query:
sparql define input:inference<...> insert into <somethingelse>{?s ?p ?o}
where{?s ?p ?o}
However I suppose I insert results from other graphs including the
following:
http://www.openlinksw.com/virtrdf-data-formats#default-iid
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://www.openlinksw.com/schemas/virtrdf#QuadMapFormat
http://www.openlinksw.com/virtrdf-data-formats#default-iid-nullable
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://www.openlinksw.com/schemas/virtrdf#QuadMapFormat
http://www.openlinksw.com/virtrdf-data-formats#default-iid-nonblank
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://www.openlinksw.com/schemas/virtrdf#QuadMapFormat
http://www.openlinksw.com/virtrdf-data-formats#default-iid-nonblank-nullable
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://www.openlinksw.com/schemas/virtrdf#QuadMapFormat
I then rewrote it to the following one which unfortunately, I think, it
does not insert any new inferred triples:
sparql define input:inference<...> insert into <somethingelse>{?s ?p ?o}
where{graph <something> {?s ?p ?o}}
Thanks.
|