query-94c72b1216bfb47bcbca5e05ffdce452
IPAA Members with location information place within Canada a given member is associated with, I get syntax errors. I am assuming it has to do with the way I am grouping those three properties, but I'm having a hard time figuring out how to resolve it and would appreciate help. which listed as within Canada. However, every time I attempt to reformat the query to get a results column that shows place of birth, or residence, work location who have any of their Indigenous Performing Arts AllianceHello everyone! I've managed to create a query that will display all members of the What I have so far:
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?member ?memberLabel ?memberDescription ?sitelinks WHERE {
  ?member wdt:P463 wd:Q110938829;
  (wdt:P19|wdt:P551|wdt:P937|wdt:P27)/wdt:P131* wd:Q16; #pob/residence/work location
    wikibase:sitelinks ?sitelinks.
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
ORDER BY DESC (?sitelinks)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
  v2("?member"):::projected 
  v1("?sitelinks"):::projected 
  a1((" "))
  c2(["wd:Q110938829"]):::iri 
  c8(["wd:Q16"]):::iri 
  c11(["bd:serviceParam"]):::iri 
  c13(["#91;AUTO_LANGUAGE#93;,en"]):::literal 
  v2 --"wdt:P463"-->  c2
  subgraph union0[" Union "]
  subgraph union0l[" "]
    style union0l fill:#abf,stroke-dasharray: 3 3;
    subgraph union1[" Union "]
    subgraph union1l[" "]
      style union1l fill:#abf,stroke-dasharray: 3 3;
      subgraph union2[" Union "]
      subgraph union2l[" "]
        style union2l fill:#abf,stroke-dasharray: 3 3;
        v2 --"wdt:P27"-->  a1
      end
      subgraph union2r[" "]
        style union2r fill:#abf,stroke-dasharray: 3 3;
        v2 --"wdt:P937"-->  a1
      end
      union2r <== or ==> union2l
      end
    end
    subgraph union1r[" "]
      style union1r fill:#abf,stroke-dasharray: 3 3;
      v2 --"wdt:P551"-->  a1
    end
    union1r <== or ==> union1l
    end
  end
  subgraph union0r[" "]
    style union0r fill:#abf,stroke-dasharray: 3 3;
    v2 --"wdt:P19"-->  a1
  end
  union0r <== or ==> union0l
  end
  a1 --"wdt:P131"-->  c8
  v2 --"wikibase:sitelinks"-->  v1
  subgraph s1["http://wikiba.se/ontology#label"]
    style s1 stroke-width:4px;
    c11 --"wikibase:language"-->  c13
  end