Converting RDFS schemas to SHACL constraints
With SPARQL, of course.
(This may look like a long blog entry, but it’s mostly sample schemas, data, and shapes. It should be a quick read.)
With SPARQL, of course.
(This may look like a long blog entry, but it’s mostly sample schemas, data, and shapes. It should be a quick read.)
And only the foreign literals.
It’s easy enough for a SPARQL query to specify that you only want literal values that are tagged with a particular spoken language such as English or French. I had a more complex condition to express recently that has happened to me fairly often: how do I retrieve all the data for a particular resource except the literals tagged in a foreign language? I want all the triples with object property values, and I want all the ones with literal values, regardless of type, unless they are tagged…