Skip to main content

Table 2 SPARQL query to retrieve a title list of relevant papers for a target paper; the list is ordered by the relevance score

From: Colil: a database and search service for citation contexts in the life sciences domain

SPARQL query

PREFIX colil: <http://purl.jp/bio/10/colil/ontology/201303#>

PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>

PREFIX togows: <http://togows.dbcls.jp/ontology/ncbi-pubmed#>

select ?RelevantPaperTitle ?score where {

   [] rdfs:seeAlso [

      rdf:type colil:PubMed ;

      togows:pmid “22135297”

   ];

   colil:hasRelevantBibliographicResourceOf [

     colil:RelevantScore ?score;

     colil:hasRelevantPaperId [

    rdfs:seeAlso [

   rdf:type colil:PubMed ;

   togows:ti ?RelevantPaperTitle

    ]

 ]

   ].

} order by desc(?score)