SPARQL Queries on Sub atomic particle ontology
I am attempting to write SPARQL queries on the ontology periodic.owl available from http://robertdavidstevens.wordpress.com/category/ontologies/
Please provide some sample queries on it that can I use to further build more.
For example a query to retrieve the propert开发者_开发技巧ies of a particular elementQueries that i build:
select distinct ?b where { ?s a ?b. }
Now if i want all the details about Antimony5Ion,then i did this:
SELECT *
FROM <http://www.co-ode.org/roberts/pto.owl>
WHERE
{
?a owl:onProperty ?b.
}
SELECT ?name ?id
FROM <http://www.co-ode.org/roberts/pto.owl>
WHERE
{
?id owl:name ?name
}
SELECT ?name
FROM <http://www.co-ode.org/roberts/pto.owl>
ORDER BY ?name
精彩评论