Authors: Marco Grasso
Part of: wikidata
Source: SPARQL endpoint
Export
{'sparql_endpoint': 'https://query.wikidata.org/bigdata/namespace/wdq/sparql', 'template_mode': 'statistics', 'title': 'Mapping US Recording Studios', 'color_code': ['#39c6b4', '#17cf31'], 'section_name': 'wikidata', 'subtitle': 'Two maps show recording studios in the world', 'curator': 'Marco Grasso', 'description': "Important recording studios are more than just bricks, mortar, and audio equipment to musicians. Let's map all the recording studios locations available on wikidata and lets take a closer look at recording studios in the US.", 'dynamic_elements': [{'position': 0, 'operations': [], 'type': 'map', 'map_title': 'Recording studios in the World', 'map_points_query': 'SELECT DISTINCT ?point ?pointLabel ?villeIdLabel ?lat ?long\r\nWHERE\r\n{\r\n ?point wdt:P31 wd:Q746369. #recording studio\r\n ?point wdt:P131 ?villeId.\r\n ?point p:P625 ?statement.\r\n ?statement psv:P625 ?node.\r\n ?node wikibase:geoLatitude ?lat.\r\n ?node wikibase:geoLongitude ?long.\r\n SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }\r\n}', 'extra_queries': [], 'map_filters': []}, {'position': 1, 'operations': [], 'type': 'map', 'map_title': 'Recording studios in the US', 'map_points_query': 'SELECT DISTINCT ?point ?pointLabel ?villeIdLabel ?lat ?long\r\nWHERE {\r\n?point wdt:P31 wd:Q746369; wdt:P17 wd:Q30;\r\nwdt:P131 ?villeId; p:P625 ?statement.\r\n?statement psv:P625 ?node. ?node wikibase:geoLatitude ?lat ; wikibase:geoLongitude ?long.\r\nSERVICE wikibase:label { bd:serviceParam wikibase:language "en". } }', 'map_filters': [{'map_filter_query': 'SELECT DISTINCT ?point ?filter ?filterLabel\r\nWHERE {\r\n?point wdt:P31 wd:Q746369; wdt:P17 wd:Q30 .\r\n?point wdt:P131 ?filter. ?filter rdfs:label ?filterLabel .\r\nFILTER(LANG(?filterLabel) = "" || LANGMATCHES(LANG(?filterLabel), "en")). }', 'extra_id': '1687016167657_0', 'position': 0, 'map_filter_title': 'Cities'}], 'extra_queries': []}, {'position': 2, 'operations': [], 'type': 'textsearch', 'textsearch_userinput': '', 'textsearch_title': 'Search country', 'textsearch_query': 'SELECT DISTINCT ?pic ?sheep ?sheepLabel ?color ?colorLabel ?status ?statusLabel ?country ?countryLabel\r\nWHERE {\r\n SERVICE wikibase:mwapi {\r\n bd:serviceParam wikibase:endpoint "www.wikidata.org";\r\n wikibase:api "EntitySearch";\r\n mwapi:search <<searchterm>>; #country\r\n mwapi:language "en".\r\n ?country wikibase:apiOutputItem mwapi:item.\r\n }\r\n ?sheep wdt:P31 wd:Q15622363 .\r\n ?sheep wdt:P495 ?country .\r\n ?sheep wdt:P2371 ?status .\r\n OPTIONAL {?sheep wdt:P18 ?pic ; wdt:P462 ?color }\r\n SERVICE wikibase:label { bd:serviceParam wikibase:language "en".}\r\n FILTER regex(str(?pic), "jpg").\r\n}\r\nORDER BY ?sheep\r\nLIMIT 5\r\n\r\n\r\n\r\n', 'textsearch': {'country': ['Other animals']}, 'extra_queries': [], 'map_filters': []}, {'position': 3, 'operations': [], 'type': 'action', 'action_title': 'Other animals', 'action_query': 'SELECT DISTINCT ?pic ?animal ?animalLabel (SAMPLE(?colorlabel) as ?Colour)\r\nWHERE {\r\n ?animal wdt:P279* wd:Q729 .\r\n ?animal wdt:P495 <<item>> .\r\n ?animal wdt:P18 ?pic .\r\n ?animal wdt:P462 ?color .\r\n SERVICE wikibase:label { bd:serviceParam wikibase:language "en".}\r\n SERVICE wikibase:label { bd:serviceParam wikibase:language "en".\r\n ?color rdfs:label ?colorlabel.\r\n }\r\n FILTER regex(str(?pic), "jpg").\r\n}\r\nGROUP BY ?pic ?animal ?animalLabel\r\nLIMIT 10\r\n\r\n\r\n\r\n\r\n', 'extra_queries': [], 'map_filters': []}]}
Important recording studios are more than just bricks, mortar, and audio equipment to musicians. Let's map all the recording studios locations available on wikidata and lets take a closer look at recording studios in the US.