[OTDev] ToxCreate integration of Ambit classification datasets

Nina Jeliazkova jeliazkova.nina at gmail.com
Fri May 6 15:23:28 CEST 2011


Hi Martin,


On 6 May 2011 15:57, Martin Guetlein <martin.guetlein at googlemail.com> wrote:

>
>
> Hi Nina,
>
> I noticed the following, the property ot:acceptValue of feature/21573 is
> available here:
>
> curl http://apps.ideaconsult.net:8080/ambit2/dataset/9 -H
> "accept:application/turtle"
>
>    <ot:Feature rdf:about="
> http://apps.ideaconsult.net:8080/ambit2/feature/21573">
>     <rdf:type rdf:resource="http://www.opentox.org/api/1.1#NominalFeature
> "></rdf:type>
>     <ot:acceptValue>3.0</ot:acceptValue>
>     <ot:acceptValue>1.0</ot:acceptValue>
>     <ot:acceptValue>2.0</ot:acceptValue>
>     <rdf:type rdf:resource="http://www.opentox.org/api/1.1#NumericFeature
> "></rdf:type>
>     <dc:creator>http://www.epa.gov/NCCT/dsstox/sdf_isscan_external.html
> </dc:creator>
>     <ot:hasSource>ISSCAN_v3a_1153_19Sept08.1222179139.sdf</ot:hasSource>
>     <owl:sameAs rdf:resource="
> http://www.opentox.org/echaEndpoints.owl#Carcinogenicity"></owl:sameAs>
>     <ot:units></ot:units>
>     <dc:title>Canc</dc:title>
>
> but its missing here:
>
> curl http://apps.ideaconsult.net:8080/ambit2/dataset/9/features -H
> "accept:application/turtle"
>
>   <ot:NumericFeature rdf:about="feature/21573">
>     <dc:creator>http://www.epa.gov/NCCT/dsstox/sdf_isscan_external.html
> </dc:creator>
>     <ot:hasSource
> rdf:resource="dataset/ISSCAN_v3a_1153_19Sept08.1222179139.sdf"/>
>     <owl:sameAs rdf:resource="
> http://www.opentox.org/echaEndpoints.owl#Carcinogenicity"/>
>     <ot:units></ot:units>
>     <dc:title>Canc</dc:title>
>     <rdf:type rdf:resource="http://www.opentox.org/api/1.1#NominalFeature
> "/>
>     <rdf:type rdf:resource="http://www.opentox.org/api/1.1#Feature"/>
>   </ot:NumericFeature>
>
> I would need acceptValue for validation purposes (and our dataset parsing
> routine uses the latter request for feature metadata). Could you fix that?
>
>
It will be not trivial, because ot:acceptValue depends on the dataset ...
You do receive the acceptValue when receiving the dataset though, so you
should have this information.

Nina



More information about the Development mailing list