BONSAMURAIS / triple-store

Competency questions and content related to the Bonsai RDF triple-store backend: Apache Jena
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Format and coding style of SPARQL Test Queries #7

Open kuzeko opened 5 years ago

kuzeko commented 5 years ago

Test queries should :

mmr2187 commented 5 years ago

acknowledged. I am only doing the preliminary queries to identify holes in the ontology if any. Hopefully, there are none.

mmr2187 commented 5 years ago

essentially, all queries in the current query folder need to have the following (as necessary) included

PREFIX owl: <http://www.w3.org/2002/07/owl#> .
PREFIX dc: <http://purl.org/dc/terms/> .
PREFIX ns0: <http://purl.org/vocab/vann/> .
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
PREFIX foaf: <http://xmlns.com/foaf/0.1/> .
PREFIX cc: <http://creativecommons.org/ns#> .
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> .
PREFIX skos: <http://www.w3.org/2004/02/skos/core#> .
PREFIX schema: <http://schema.org/> .
PREFIX bont: <http://ontology.bonsai.uno/core#> .
PREFIX om2: <http://www.ontology-of-units-of-measure.org/resource/om-2/> .
PREFIX time: <http://www.w3.org/2006/time#> .

and possibly the other namespaces we used. And I haven't included those yet as I'm simply testing out the logic.

tmillross commented 5 years ago

I'm fixing the file suffix and comment issues now

kuzeko commented 5 years ago

Attention, the use of < > is mandatory

e.g. PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

See

https://jena.apache.org/tutorials/sparql_datasets.html

mmr2187 commented 5 years ago

Right. I did that, it just put things as hyperlinks. forgot about markdown. But I did forget to remove the @