[OTDev] Dataset features in Ontology

Christoph Helma helma at in-silico.ch
Wed Mar 30 15:07:21 CEST 2011


Nina,

I am trying to get a list of Ambit datasets for ToxCreate upload, using
the SPARQL Query:

PREFIX ot:<http://www.opentox.org/api/1.1#>
PREFIX ota:<http://www.opentox.org/algorithms.owl#>
PREFIX owl:<http://www.w3.org/2002/07/owl#>
PREFIX dc:<http://purl.org/dc/elements/1.1/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX rdf:<http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX otee:<http://www.opentox.org/echaEndpoints.owl#>
PREFIX toxcast:<http://www.opentox.org/toxcast.owl#>
select *
where {
  ?endpoint rdfs:subClassOf otee:HumanHealthEffects.
  ?feature rdf:type ot:Feature.
  ?feature dc:title ?title.
  ?feature ot:hasSource ?src.  
  ?feature owl:sameAs  ?endpoint.
  ?src rdf:type ot:Dataset.
}

Which gives 0 results. If I ommit "?src rdf:type ot:Dataset." I can get
a few features, most of the having a model as source (a few of them have
an algorithm as source which I find strange). As a simple query with

  ?feature rdf:type ot:Feature.
  ?feature ot:hasSource ?src.  
  ?src rdf:type ot:Dataset.

gives also 0 results, I suspect that  there are no dataset features in
the ontology service. Is that true?

What would be an alternative way to search for AMBIT datasets (and
prediction_features), that are suitable for model building?

Thanks!

Christoph



More information about the Development mailing list