[OTDev] Dataset features in Ontology
Nina Jeliazkova jeliazkova.nina at gmail.comWed Mar 30 15:22:57 CEST 2011
- Previous message: [OTDev] Dataset features in Ontology
- Next message: [OTDev] Super service for creating models , initial implementation
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Christoph, Indeed there are no dataset features registered in the ontology service. We might register some of course. The query I am using in ToxPredict is http://apps.ideaconsult.net:8080/ambit2/dataset?feature_sameas=http%3A%2F%2Fwww.opentox.org%2FechaEndpoints.owl%23AcuteInhalationToxicity or in general : http://apps.ideaconsult.net:8080/ambit2/dataset?feature_sameas=<urlencoded entry from ECHA endpoints ontology> There is also a set summary queries (recently introduced and not yet announced on the list), which are not in the API yet , but may be it make sense to include them somehow and invent RDF serialisation (there is only text/csv and text/html so far). http://apps.ideaconsult.net:8080/ambit2/query/ndatasets_endpoint Hope this helps, Nina On 30 March 2011 16:07, Christoph Helma <helma at in-silico.ch> wrote: > 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 > _______________________________________________ > Development mailing list > Development at opentox.org > http://www.opentox.org/mailman/listinfo/development >
- Previous message: [OTDev] Dataset features in Ontology
- Next message: [OTDev] Super service for creating models , initial implementation
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Development mailing list