query-000c94654373277a9c231bd48b077313
Which default view to use can help sort it. Suggestions? (P567)underlies / (P568)overlies isn't in all items. Maybe (P2348)time period (by their relative age in years). Currently, (P2348)time period . I am not sure how to display them by (Q118841)Grand Canyon (P276)location , but ultimately I would update units that are in (Q816)Arizona =(P131)located in the administrative territorial entity such that units most recently deposited are listed at the top, oldest at the bottom. Is there a way I can better portray this? I've started with the horses query example (thanks to whomever posted it) and ended with this. I've limited it to (Q3815198)stratigraphic column . Ultimately, I'd like to "see" this query displayed as a (Q118841)Grand Canyon of the (Q3550897)lithostratigraphic unit I'm contemplating a query that would display the
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 ?unit ?unitLabel ?haspart ?haspartLabel ?partof ?partofLabel ?GeolexID WHERE {
?unit (wdt:P31/(wdt:P279*)) wd:Q3550897.
OPTIONAL { ?unit wdt:P527 ?haspart. }
OPTIONAL { ?unit wdt:P361 ?partof. }
OPTIONAL { ?unit wdt:P6202 ?GeolexID. }
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],fr,ar,be,bg,bn,ca,cs,da,de,el,en,es,et,fa,fi,he,hi,hu,hy,id,it,ja,jv,ko,nb,nl,eo,pa,pl,pt,ro,ru,sh,sk,sr,sv,sw,te,th,tr,uk,yue,vec,vi,zh". }
?unit wdt:P131 wd:Q816.
}
ORDER BY (?unitLabel)
LIMIT 5000