SPARQL examples: Difference between revisions
Jump to navigation
Jump to search
Line 13: | Line 13: | ||
?statement ps:P63 ?coordinate . | ?statement ps:P63 ?coordinate . | ||
?item p:P77 ?statement1. | ?item p:P77 ?statement1. | ||
?statement1 (ps:P77/(wdt:P56*)) wd: | ?statement1 (ps:P77/(wdt:P56*)) wd:Q68. | ||
FILTER(YEAR(?pointintime) = 1600) | FILTER(YEAR(?pointintime) = 1600) | ||
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } | SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } |
Revision as of 10:43, 29 June 2024
This page is parsed by the web interface of the query service to fill the query example dialog.
Miejscowości z AHP (XVI w.) w których znajdowała się karczma
SELECT ?item ?itemLabel ?ahp_id ?coordinate
WHERE
{
?item wdt:P81 ?ahp_id .
?item p:P63 ?statement .
?statement pq:P40 ?pointintime .
?statement ps:P63 ?coordinate .
?item p:P77 ?statement1.
?statement1 (ps:P77/(wdt:P56*)) wd:Q68.
FILTER(YEAR(?pointintime) = 1600)
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}