query-ae52bf21f3342775dbe864f9b92c8536

rq turtle/ttl

What do you mean by “nature of the affiliation”? For Harvard University I can offer: 14:37, 16 December 2016 (UTC) Andy's edits; Talk to Andy); Pigsonthewing (Andy Mabbett people without an ORCID iD, per organisation? living: Thank you. Nature of the affiliation == "employer" and/ or "alma mater". Also, could we have a similar query, for MisterSynergy@15:00, 16 December 2016 (UTC)) talk (MisterSynergy, which might be useful for non-academic organizations. I’ll write another query for the other request. —(P749)parent organization (for employer). If necessary, I could start to look for a more descriptive output, but technically you can already distinguish the nature with this query. I also added wdt:P108 (for alma mater) or wdt:P69 which is either ?pOkay I understand, and extended the query above by a parameter The other one:

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?item ?itemLabel ?itemDescription ?organization ?organizationLabel ?organizationDescription ?p WHERE {
  ?item (p:P69|p:P108) [ (ps:P69|ps:P108) ?organization ] .
  ?organization (wdt:P361|wdt:P749)* wd:Q13371 .
  ?item ?p ?organization .

  ?item wdt:P31 wd:Q5 .
  MINUS { ?item wdt:P496 ?dummy0 . }
  MINUS { ?item wdt:P570 ?dummy1 . }

  SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v4("?dummy0") v5("?dummy1") v2("?item"):::projected v1("?organization"):::projected v3("?p"):::projected a1((" ")) c15(["en"]):::literal c13(["bd:serviceParam"]):::iri c6(["wd:Q13371"]):::iri c9(["wd:Q5"]):::iri subgraph union0[" Union "] subgraph union0l[" "] style union0l fill:#abf,stroke-dasharray: 3 3; a1 --"p:statement/P108"--> v1 end subgraph union0r[" "] style union0r fill:#abf,stroke-dasharray: 3 3; a1 --"p:statement/P69"--> v1 end union0r <== or ==> union0l end subgraph union1[" Union "] subgraph union1l[" "] style union1l fill:#abf,stroke-dasharray: 3 3; v2 --"p:P108"--> a1 end subgraph union1r[" "] style union1r fill:#abf,stroke-dasharray: 3 3; v2 --"p:P69"--> a1 end union1r <== or ==> union1l end subgraph union2[" Union "] subgraph union2l[" "] style union2l fill:#abf,stroke-dasharray: 3 3; v1 --"p:direct/P749"--> c6 end subgraph union2r[" "] style union2r fill:#abf,stroke-dasharray: 3 3; v1 --"p:direct/P361"--> c6 end union2r <== or ==> union2l end v2 -->v3--> v1 v2 --"p:direct/P31"--> c9 subgraph minus0["MINUS"] style minus0 stroke-width:6px,fill:pink,stroke:red; v2 --"p:direct/P496"--> v4 end subgraph minus1["MINUS"] style minus1 stroke-width:6px,fill:pink,stroke:red; v2 --"p:direct/P570"--> v5 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c13 --"wikibase:language"--> c15 end