query-c53b98d4dd8d05b3f068ec677c8d8f15

rq turtle/ttl

Annotations in notional first 10% of paper, ordered by absolute distance

Good correlation with terms in title

SELECT ?annotation ?title ?term ?length1 ?length WHERE {?annotationZ wdt:P19 ?anchorZ. ?anchorZ wdt:P7 wd:Q6. ?anchorZ wdt:P12 ?article. ?anchorZ wdt:P10 ?length. ?article wdt:P20 ?title. ?annotation wdt:P19 ?anchor. ?anchor wdt:P12 ?article. ?annotation wdt:P15 ?term. ?anchor wdt:P10 ?length1. FILTER(10*?length1 < ?length) } ORDER BY ASC (?length1)

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
#Annotations in notional first 10% of paper, ordered by absolute distance
#Good correlation with terms in title
SELECT ?annotation ?title ?term ?length1 ?length
WHERE 
   {?annotationZ wdt:P19 ?anchorZ.
    ?anchorZ wdt:P7 wd:Q6.
    ?anchorZ wdt:P12 ?article.
    ?anchorZ wdt:P10 ?length.
    ?article wdt:P20 ?title.
    ?annotation wdt:P19 ?anchor.
    ?anchor wdt:P12 ?article.
    ?annotation wdt:P15 ?term.
    ?anchor wdt:P10 ?length1.
   FILTER(10*?length1 < ?length)
   }
ORDER BY ASC (?length1)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v8("?anchor") v4("?anchorZ") v7("?annotation"):::projected v3("?annotationZ") v5("?article") v2("?length"):::projected v1("?length1"):::projected v9("?term"):::projected v6("?title"):::projected c4(["wd:Q6"]):::iri f0[["'10^^xsd:integer' * ?length1 < ?length"]] f0 --> v1 f0 --> v2 v3 --"wdt:P19"--> v4 v4 --"wdt:P7"--> c4 v4 --"wdt:P12"--> v5 v4 --"wdt:P10"--> v2 v5 --"wdt:P20"--> v6 v7 --"wdt:P19"--> v8 v8 --"wdt:P12"--> v5 v7 --"wdt:P15"--> v9 v8 --"wdt:P10"--> v1