logo
Terms of Use and Privacy | Statement of Purpose
Gather, visualize, and query system knowledge
logo
Terms of Use and Privacy | Statement of Purpose
Gather, visualize, and query system knowledge

<<   <   >   >>

Query | SPARQL

The Cruft Buster models can be exported to N-Triples format.

As an example, IT Docent has a 3rd party cloud service abbreviated as BST. To find all processes at ACME that use the cloud service, this query can be run:

select ?s where {?s <http://purl.obolibrary.org/obo/BFO_0000067> <http://purl.obolibrary.org/obo/OBI_0000011#BST>}

Which gives the result:

<http://purl.obolibrary.org/obo/OBI_0000011#0.6.1.1>

Note that it is possible to infer the other processes that are involved in the cloud service. This varies with different engines. For GraphDB, this query works:

select ?o where { 
    <http://purl.obolibrary.org/obo/OBI_0000011#0.6.1.1> <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?o .
}

For Virtuoso, this query works:

SELECT ?o WHERE
{
<http://purl.obolibrary.org/obo/OBI_0000011#0.6.1.1>
<http://www.w3.org/2000/01/rdf-schema#subClassOf> ?o OPTION (TRANSITIVE, T_DISTINCT
,T_NO_CYCLES, T_MIN(0)) .
}

Both return:

<http://purl.obolibrary.org/obo/OBI_0000011#0.6.1>
<http://purl.obolibrary.org/obo/OBI_0000011#0.6>
<http://purl.obolibrary.org/obo/OBI_0000011#0.6.1.1>