[OTDev] Super service for creating models , initial implementation

Nina Jeliazkova jeliazkova.nina at gmail.com
Wed Mar 30 15:51:47 CEST 2011


Christoph,

On 30 March 2011 16:18, Christoph Helma <helma at in-silico.ch> wrote:

>
> > Hi All,
> >
> > An initial implementation of the super service for creating models,
> deployed
> > on both of IDEA services.  Details here
> >
> >
> https://www.ideaconsult.net/web/ngn/blogs/-/blogs/opentox-model-superbuilder
>
> Thanks, this works so far! Do you have a shortcut for using e.g. _all_
> CDK descriptors or to get a list of descriptor calculation algorithms?
> Otherwise it would be hard to prevent people from submitting eg. linear
> regression as a descriptor calculation algorithm.
>


Every algorithm is assigned rdf:type from Algorithm Type ontology , you
could get the list of all algorithms and do the SPARQL locally, or use.

1) shortcuts

http://apps.ideaconsult.net:8080/ambit2/algorithm?type=http%3A%2F%2Fwww.opentox.org%2FalgorithmTypes.owl%23Descriptor


http://apps.ideaconsult.net:8080/ambit2/algorithm?type=http%3A%2F%2Fwww.opentox.org%2FalgorithmTypes.owl%23Regression

(look at the top links at http://apps.ideaconsult.net:8080/ambit2/algorithm
, there are queries for different types)

2) Ontology service

2a)Using Blue Obelisk algorithms ontology (there are lot of RDF triples
assigned to each BO entry, which might be useful to be presented to the user
)

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 bo:<
http://www.blueobelisk.org/ontologies/chemoinformatics-algorithms/#>
    select *
    where {
    ?Algorithm rdf:type ot:Algorithm.
        ?Algorithm bo:instanceOf ?BlueObeliskEntry  .
        ?BlueObeliskEntry ?x ?y.
    }


2b) Using  Algorithm Types ontology  (this is a query to list all available
types )

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#>
    select *
    where {
    ?Algorithm rdf:type ?a.
        ?Algorithm rdf:type ot:Algorithm.
    }

Hope this helps,
Nina


>
> Best regards,
> Christoph
> _______________________________________________
> Development mailing list
> Development at opentox.org
> http://www.opentox.org/mailman/listinfo/development
>



More information about the Development mailing list