This is at the GPMLRDF level. Currently, the GPML State only has a Literal graphRef which makes it harder to lookup the DataNode because the graphRef is only unique local the the GPML file, and an extra match is needed to check they are both in the same pathway:
SELECT DISTINCT ?dataNodeLabel (SAMPLE(?uniprot_) AS ?uniprot) ?typeLabel WHERE {
?type a gpml:State ; gpml:graphRef/^gpml:graphId ?dataNode ;
dcterms:isPartOf ?pathway ; gpml:textlabel ?typeLabel .
?dataNode dcterms:isPartOf ?pathway ; gpml:textlabel ?dataNodeLabel ;
^wp:isAbout/wp:bdbUniprot ?uniprot_ .
} ORDER BY ASC(?dataNodeLabel)
By adding the ObjectProperty we have a resource to resource triple.
This is at the GPMLRDF level. Currently, the GPML State only has a Literal
graphRef
which makes it harder to lookup theDataNode
because thegraphRef
is only unique local the the GPML file, and an extra match is needed to check they are both in the same pathway:By adding the
ObjectProperty
we have a resource to resource triple.