query-b2615682badd5b266c47380c96d9262e

rq turtle/ttl

Neuroinformatics co-citation author network

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX bd: <http://www.bigdata.com/rdf#>
#defaultView:Graph
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX prov: <http://www.w3.org/ns/prov#>

select distinct ?paper_author ?paper_authorLabel ?cited_paper_author ?cited_paper_authorLabel where {
  ?paper wdt:P1325 ?resource . 
  ?paper wdt:P50 ?paper_author .
  filter ( strstarts(str(?resource), "https://openfmri.org/") || strstarts(str(?resource), "http://neurosynth.org/") || strstarts(str(?resource), "http://neurovault.org/") )
  ?paper wdt:P2860 ?cited_paper .
  # ?cited_paper wdt:P1325 ?resource_for_cited .
  # filter ( strstarts(str(?resource_for_cited), "https://openfmri.org/") || strstarts(str(?resource_for_cited), "http://neurosynth.org/") || strstarts(str(?resource_for_cited), "http://neurovault.org/") )
  ?cited_paper wdt:P50 ?cited_paper_author .
  SERVICE wikibase:label { bd:serviceParam wikibase:language "da,en" .  } 
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v4("?cited_paper") v5("?cited_paper_author"):::projected v2("?paper") v3("?paper_author"):::projected v1("?resource") c8(["bd:serviceParam"]):::iri c10(["da,en"]):::literal f0[["(starts-with(str(?resource),'https://openfmri.org/') || (starts-with(str(?resource),'http://neurosynth.org/') || starts-with(str(?resource),'http://neurovault.org/')))"]] f0 --> v1 v2 --"p:direct/P1325"--> v1 v2 --"p:direct/P50"--> v3 v2 --"p:direct/P2860"--> v4 v4 --"p:direct/P50"--> v5 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c8 --"wikibase:language"--> c10 end