Created
December 17, 2020 12:23
-
-
Save dpjanes/a1232d7018ebeef846d9e488071ff6dc to your computer and use it in GitHub Desktop.
Query Transport Companies and Logos on Wikidata
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
SELECT * | |
WHERE | |
{ | |
?id wdt:P31 wd:Q740752; | |
optional { ?id rdfs:label ?name } | |
optional { ?id wdt:P154 ?logo } | |
FILTER(lang(?name) = 'en') | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://dpjanes.medium.com/example-of-pulling-of-structured-data-from-wikidata-org-35e88f6207b4