query-2330d75071e4f4fd1534ebc000d3c071

rq turtle/ttl

Scientific co-authors

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX bd: <http://www.bigdata.com/rdf#>
#defaultView:Graph
SELECT ?author1 ?author1Label ?author2 ?author2Label WHERE {
  ?work wdt:P50 ?author1 .
  ?work wdt:P50 ?author2 .
  ?work wdt:P31 wd:Q13442814 .
  filter (?author1 != ?author2)
  SERVICE wikibase:label {
    bd:serviceParam wikibase:language "en".
    # ?item rdfs:label ?itemLabel.
  }
}
LIMIT 100

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?author1"):::projected v2("?author2"):::projected v3("?work") c3(["wd:Q13442814"]):::iri c5(["bd:serviceParam"]):::iri c7(["en"]):::literal f0[["?author1 != ?author2"]] f0 --> v1 f0 --> v2 v3 --"wdt:P50"--> v1 v3 --"wdt:P50"--> v2 v3 --"wdt:P31"--> c3 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c5 --"wikibase:language"--> c7 end