stumbling stones (E206)

From Wikidata
Jump to navigation Jump to search
language codelabeldescriptionaliasesedit
enstumbling stonesedit
csStolpersteinkameny zmizelýchedit
deStolpersteinSchema für Objekte über Stolpersteine und StolperschwellenStolpersteine | Stolperschwelle | 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 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]; 	# instance of; required
	wdt:P131 @<#administrative>; 			# located in the administrative territorial entity; required
	wdt:P18 . {0,2};						# image; recommended
	wdt:P547 @<#dedicatee> ?; 				# commemorates; optional
	wdt:P6568 @<#mentioned> ?;				# inscription mentions; optional
	wdt:P625 . ?;							# coordinate location; recommended
	wdt:P17 @<#country>;					# country; required
	wdt:P1028 . ?;							# donated by; optional
	wdt:P6375 . ?;							# street address; recommended; use P669 if applicable
	wdt:P669 @<#street> ?;   				# optional
	p:P669 {								# optional
		ps:P669 @<#street>;					# located on street; optional
		pq:P670 . ?;						# house number; optional
		pq:P281 . ?							# postal code; optional
	} *
	wdt:P1684 . ?;							# inscription; recommended
	wdt:P170 [wd:Q195796];					# creator Gunter Demnig; required
	wdt:P186 [wd:Q39782];					# made from material brass; required
	wdt:P361 [wd:Q314003];					# part of Stolpersteine; required
	wdt:P1893 . ?;							# Open Plaques plaque ID; optional
	wdt:P276 . ?;							# location; recommended
	p:P793 {								# significant event; recommended
		ps:P793 [wd:Q3010369];				# opening ceremony; required
		pq:P585 .							# point in time
	}?;
	wdt:P1619 . {0};						# date of official opening; prohibited
	wdt:P825 . {0};							# dedicated to; rohibited
	wdt:P571 . {0};							# inception; prohibited
	wdt:P11693 . ?;							# OpenStreetMap node ID; recommended
	wdt:P5816 @<#conservation_status> ?; 	# state of conservation; optional
}

<#street> EXTRA wdt:P31 {
#  wdt:P31 @<#street_class>
}

#<#street_class> [ wd:Q174782 wd:Q34442 ] OR EXTRA wdt:P279 {
#  wdt:P279 @<#street_class>
#}

<#conservation_status> {
	wdt:P31 [wd:Q55553838]					# conservation state; required
}

<#mentioned> {
	wdt:P31 . +								# required
}

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

<#dedicatee> {
	wdt:P31 [wd:Q5]							# instance of human; 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
#}