sparql3WP1531.csv

2012-04-25T15:46:46Z (GMT) by Andra Waagmeester
<p>This is the result of query:</p> <p>PREFIX dcterms: </p> <p>PREFIX dc: </p> <p>PREFIX skos: </p> <p>PREFIX str: </p> <p>PREFIX pao: </p> <p> </p> <p>SELECT DISTINCT ?pmid COUNT(DISTINCT ?concept) AS ?count WHERE {</p> <p> {</p> <p>  SELECT DISTINCT ?concept WHERE {</p> <p>   {</p> <p>    SELECT ?wpLinkout WHERE {</p> <p>     SERVICE {</p> <p>      dcterms:hasVersion ?pwversion .</p> <p>      ?pwNode dcterms:isPartOf ?pwversion .</p> <p>      ?pwNode dc:identifier ?wpLinkout .</p> <p>     }</p> <p>    }</p> <p>   }</p> <p>   ?wpLinkout skos:exactMatch ?scaiLinkout .</p> <p>   ?concept skos:exactMatch ?scaiLinkout .</p> <p>  }</p> <p> }</p> <p> ?concept pao:incarnationOf ?hit .</p> <p> ?hit str:subString ?pmid .</p> <p> ?pmid rdf:type str:Document .</p> <p> </p> <p> OPTIONAL {</p> <p>  {</p> <p>   SELECT DISTINCT ?pmidOrigin WHERE {</p> <p>    SERVICE {</p> <p>      dcterms:hasVersion ?pwversion .</p> <p>     ?pwNode dcterms:isPartOf ?pwversion .</p> <p>     ?pwNode dcterms:bibliographicCitation ?pmidOrigin .</p> <p>    }</p> <p>   }</p> <p>  }</p> <p>  FILTER (?pmidOrigin = ?pmid) .</p> <p> }</p> <p> FILTER (!BOUND(?pmidOrigin)) .</p> <p>} ORDER BY DESC (?count)</p> <div> </div>