poldrack / cogat

Cognitive Atlas
http://www.cognitiveatlas.org
13 stars 2 forks source link

Specificity of Assertions in RDF #7

Open vsoch opened 9 years ago

vsoch commented 9 years ago

The current RDF format does not give enough detail to distinguish between parents, and mapped concepts. For example, here is a modified stroop task. I would want to programatically retrieve the parents, however the parents and concept assertions are both represented as follows:

        <skos:related rdf:resource="http://www.cognitiveatlas.org/id/trm_4a3fd79d0af66"/>
    <skos:related rdf:resource="http://www.cognitiveatlas.org/id/trm_4a3fd79d0af66"/>
    <skos:related rdf:resource="http://www.cognitiveatlas.org/id/trm_4a3fd79d0af66"/>
    <skos:related rdf:resource="http://www.cognitiveatlas.org/id/trm_4a3fd79d0a038"/>
    <skos:related rdf:resource="http://www.cognitiveatlas.org/id/trm_5542841f3dcd5"/>
    <skos:related rdf:resource="http://www.cognitiveatlas.org/id/tsk_4a57abb949e27"/>
    <skos:related rdf:resource="http://www.cognitiveatlas.org/id/tsk_4a57abb949e27"/>

I can distinguish the two based on the format of the id (eg, "tsk" vs "trm") however it could be the case that if other links are defined, I can't be confident that all "tsk" terms are indeed parents. The same assertions are also mentioned in the example fields, for example:

    <skos:example>color-word stroop task is descended from Stroop task</skos:example>
    <skos:example>color-word stroop task is a narrower synonym of Stroop task</skos:example>
    <skos:example>response inhibition is measured by the contrast of  trials in the color-word stroop task</skos:example>
    <skos:example>response inhibition is measured by the contrast of incongruent - congruent trials in the color-word stroop task</skos:example>
    <skos:example>response inhibition is measured by the contrast of incongruent - neutral trials in the color-word stroop task</skos:example>
    <skos:example>decision making is measured by the contrast of  trials in the color-word stroop task</skos:example>

So this would mean that in order to use, I would need to do text mining for "contrast" or for "descended from."

I am currently implementing an Ontological Similarity package for the Cognitive Atlas, so accessing the data is pretty important! I can do a work around to do the text mining, etc, or create a small database to use (with some static cognitive atlas state) for the meantime, but ideally this could easily be done with the new Cognitive Atlas API. Do we have a sense if it will be ready soon, or should I do one of the work arounds?