Created
August 4, 2022 07:13
-
-
Save yannickpulver/4252a05582c61ba75940f42cb92c737b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PREFIX schema: <http://schema.org/> | |
PREFIX admin: <https://schema.ld.admin.ch/> | |
SELECT ?name ?company_uri ?company_type ?municipality | |
WHERE { | |
?company_uri a admin:ZefixOrganisation ; | |
schema:name ?name ; | |
admin:municipality ?muni_id . | |
?muni_id schema:name ?municipality . | |
?company_uri schema:additionalType ?type_id . | |
?type_id schema:name ?company_type . | |
?company_uri schema:address ?adr. | |
FILTER(?municipality = "Zürich") | |
FILTER(LANG(?company_type) = "de") | |
# Je nach dem Filter auskommentieren | |
# FILTER(contains(?company_type, "Aktiengesellschaft") || contains(?company_type, "Aktiengesellschaft")) | |
} | |
# Limitiert auf 100 Resultate | |
LIMIT 100 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment