Part of: organs
Source: SPARQL endpoint
Export
{'sparql_endpoint': 'https://polifonia.disi.unibo.it/organs/sparql', 'template_mode': 'statistics', 'title': 'Organs Statistics', 'color_code': ['#39c6b4', '#17cf31'], 'section_name': 'organs', 'subtitle': '', 'curator': '', 'description': '', 'dynamic_elements': [{'position': 0, 'operations': [], 'type': 'count', 'count_query': '\r\nPREFIX organs: <http://w3id.org/polifonia/resource/organs/>\r\nPREFIX organ: <http://w3id.org/polifonia/ontology/organs/>\r\n\r\nSELECT (COUNT(distinct ?organ) AS ?count)\r\nWHERE { ?organ a organ:Organ . }', 'count_label': 'Organs', 'extra_queries': [], 'map_filters': []}, {'position': 1, 'operations': [], 'type': 'count', 'count_query': 'PREFIX core: <https://w3id.org/polifonia/ontology/core/>\r\nPREFIX organs: <http://w3id.org/polifonia/resource/organs/>\r\nPREFIX organ: <http://w3id.org/polifonia/ontology/organs/>\r\n\r\nSELECT (COUNT(DISTINCT ?builder) AS ?count)\r\nWHERE {\r\n ?p a organ:OrganProject ;\r\n core:hasProjectist [\r\n core:hasRole organ:Builder ;\r\n core:involvesAgent [\r\n core:hasName [\r\n core:name ?builder ;\r\n ]\r\n ]\r\n ]\r\n}', 'count_label': 'Organ Builders', 'extra_queries': [], 'map_filters': []}, {'position': 2, 'operations': [], 'type': 'count', 'count_query': "PREFIX core: <https://w3id.org/polifonia/ontology/core/>\r\nPREFIX ins: <http://w3id.org/polifonia/ontology/instrument/>\r\nPREFIX organs: <http://w3id.org/polifonia/resource/organs/>\r\nPREFIX organ: <http://w3id.org/polifonia/ontology/organs/>\r\n\r\nSELECT (COUNT(distinct ?disp) AS ?count)\r\nWHERE {\r\n\t?disp a ins:InstrumentWhole .\r\n\tFILTER (contains(str(?disp), 'disposition'))\t\r\n}", 'count_label': 'Dispositions', 'extra_queries': [], 'map_filters': []}, {'position': 3, 'operations': [], 'type': 'count', 'count_query': 'PREFIX core: <https://w3id.org/polifonia/ontology/core/>\r\nPREFIX ins: <http://w3id.org/polifonia/ontology/instrument/>\r\nPREFIX organs: <http://w3id.org/polifonia/resource/organs/>\r\nPREFIX organ: <http://w3id.org/polifonia/ontology/organs/>\r\n\r\nSELECT (COUNT(distinct ?division) AS ?count)\r\nWHERE {\r\n\t?division a organ:OrganDivision .\r\n}', 'count_label': 'Divisions', 'extra_queries': [], 'map_filters': []}, {'position': 4, 'operations': [], 'type': 'count', 'count_query': 'PREFIX core: <https://w3id.org/polifonia/ontology/core/>\r\nPREFIX ins: <http://w3id.org/polifonia/ontology/instrument/>\r\nPREFIX organs: <http://w3id.org/polifonia/resource/organs/>\r\nPREFIX organ: <http://w3id.org/polifonia/ontology/organs/>\r\n\r\nSELECT (COUNT(distinct ?stop) AS ?count)\r\nWHERE {\r\n\t?stop a organ:OrganDivisionStop .\r\n}', 'count_label': 'Stops', 'extra_queries': [], 'map_filters': []}, {'position': 5, 'operations': [], 'type': 'count', 'count_query': "PREFIX core: <https://w3id.org/polifonia/ontology/core/>\r\nPREFIX organs: <http://w3id.org/polifonia/resource/organs/>\r\nPREFIX organ: <http://w3id.org/polifonia/ontology/organs/>\r\n\r\nSELECT (COUNT(distinct ?builder) AS ?count)\r\nWHERE {\r\n\t?builder a core:DisambiguatedName .\r\n\tFILTER (strstarts(str(?builder), 'http://w3id.org/polifonia/resource/organs/StopDisambiguatedName'))\t\r\n}", 'count_label': 'Unique Stop Names', 'extra_queries': [], 'map_filters': []}, {'position': 6, 'operations': [], 'type': 'map', 'map_title': 'Geographic Distribution of the Organs', 'map_points_query': 'PREFIX core: <https://w3id.org/polifonia/ontology/core/>\r\nPREFIX organs: <http://w3id.org/polifonia/resource/organs/>\r\nPREFIX organ: <http://w3id.org/polifonia/ontology/organs/>\r\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\r\nPREFIX ins: <http://w3id.org/polifonia/ontology/instrument/>\r\n\r\nSELECT DISTINCT ?point ?pointLabel ?lat ?long\r\nWHERE {\r\n\t?point a organ:Organ ;\r\n \tcore:includesWhole ?parthood ;\r\n \trdfs:label ?pointLabel .\r\n \r\n\t?parthood a ins:InstrumentWhole ;\r\n \tcore:hasTimedLocation [\r\n \t\ta core:TimedLocation ;\r\n core:hasLocation [ \r\n \t\t\ta core:Location ;\r\n\t\t\t\tcore:latitude ?lat ;\r\n core:longitude ?long ;\r\n\t\t\t] ;\r\n ]\r\n\r\n} \r\n', 'extra_queries': [], 'map_filters': []}, {'position': 7, 'operations': [], 'type': 'chart', 'chart_type': 'barchart', 'chart_title': 'Building year of organs', 'chart_query': 'PREFIX core: <https://w3id.org/polifonia/ontology/core/>\r\nPREFIX organs: <http://w3id.org/polifonia/resource/organs/>\r\nPREFIX organ: <http://w3id.org/polifonia/ontology/organs/>\r\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\r\nPREFIX ins: <http://w3id.org/polifonia/ontology/instrument/>\r\nPREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\r\n\r\nSELECT ?label (COUNT(distinct ?project) AS ?count)\r\nWHERE {\r\nvalues (?label ?min ?max) {\r\n ("1500-1549" 1500 1549)\r\n ("1550-1599" 1550 1599)\r\n ("1600-1649" 1600 1649)\r\n ("1650-1699" 1650 1699)\r\n ("1700-1749" 1700 1749)\r\n ("1750-1799" 1750 1799)\r\n ("1800-1849" 1800 1849)\r\n ("1850-1899" 1850 1899)\r\n ("1900-1949" 1900 1949)\r\n ("1950-1999" 1950 1999)\r\n ("2000-2049" 2000 2049) }\r\n \r\n ?project a organ:OrganProject ;\r\n core:definesTask [\r\n a core:Task ;\r\n core:isClassifiedBy organ:TaskTypeBuild \r\n ] ;\r\n core:hasTimedLocation [\r\n a core:TimedLocation ;\r\n core:hasTimeInterval [\r\n a core:TimeInterval ;\r\n core:time ?year_str\r\n ]\r\n\t]\r\n \r\n BIND(xsd:integer(?year_str) AS ?year)\r\n \r\n filter( ?min <= ?year && ?year <= ?max)\r\n \r\n } GROUP BY ?label\r\nORDER BY ASC(?label)', 'chart_series': 'Number of build events per period', 'chart_legend': {'x': 'Time Period', 'y': 'Number of Build Events'}, 'extra_queries': [], 'map_filters': []}]}