stumbling stones (E206)

From Wikidata
Jump to navigation Jump to search
language codelabeldescriptionaliasesedit
enstumbling stonesedit
deStolpersteineSchema für Objekte über Stolpersteine und Stolperschwellenedit
frplaque commémorative au soledit
itpietre di inciampoedit
nbsnublesteineredit
prefix wd: <http://www.wikidata.org/entity/>
prefix wdt: <http://www.wikidata.org/prop/direct/>
prefix wdt: <http://www.wikidata.org/prop/direct/>
prefix p: <http://www.wikidata.org/prop/>
prefix ps: <http://www.wikidata.org/prop/statement/>
prefix pq: <http://www.wikidata.org/prop/qualifier/>
prefix E: <https://www.wikidata.org/wiki/Special:EntitySchemaText/>

# example items: select ?stolperstein { ?stolperstein wdt:P31 wd:Q26703203 } limit 500

start = @<#stolperstein>

<#stolperstein> EXTRA p:P793 {
  wdt:P31 [wd:Q26703203 wd:Q43638585]; # required
  wdt:P131 @<#administrative>; # required
  wdt:P18  . {0,2};        # recommended
  wdt:P547 @<#dedicatee>?; # optional
  wdt:P625 . ?;            # recommended
  wdt:P17 @<#country>;     # required
  wdt:P1028 . ?;           # optional
  wdt:P6375 . ?;           # recommended
  wdt:P1684 . ?;           # recommended
  wdt:P170 [wd:Q195796];   # required
  wdt:P186 [wd:Q39782];    # required
  wdt:P361 [wd:Q314003];   # required
  wdt:P1893 . ?;           # optional
  wdt:P276 . ?;            # recommended
  p:P793 {                 # recommended
    ps:P793 [wd:Q3010369];
    pq:P585 .
  }?;
  wdt:P1619 . {0};         # prohibited
  wdt:P825 . {0};          # prohibited
  wdt:P571 . {0}           # prohibited
}

<#administrative> {
  wdt:P17 @<#country>      # required
}

<#dedicatee> {
  wdt:P31 [wd:Q5]          # required
} OR BNODE # TODO: blank nodes will be replaced with IRIs for <somevalue>s

<#country> [wd:Q20 wd:Q28 wd:Q29 wd:Q31 wd:Q32 wd:Q33 wd:Q34 wd:Q35 wd:Q36 wd:Q37 wd:Q38 wd:Q39 wd:Q40 wd:Q41 wd:Q55 wd:Q142 wd:Q159 wd:Q183 wd:Q211 wd:Q212 wd:Q213 wd:Q214 wd:Q215 wd:Q217 wd:Q218 wd:Q224 wd:Q414] # required
# list should match: select (group_concat(replace(str(?country), str(wd:), "wd:"); separator=" ") as ?countries) { wd:Q314003 wdt:P276 ?country. }

#<#country> {
#  ^wdt:P276 [wd:Q314003]  # required
#}