Simple Question (Direct)
Simple Question
Q9848
P1383
Q56061
USER
What administrative territories do Laarbeek have administrative control over ?
(Q9848,P1383,c(Q56061))
action filter_type
action find
entity Q9848
relation P1383
type Q56061
['Q9848', 'P1383', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q9848 property:P1383 ?x . ?x rdf:type ontology:Q56061 }
Laarbeek
action filter_type
action find
entity Laarbeek
relation contains settlement
type administrative territorial entity
['Laarbeek', 'contains settlement', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Laarbeek property:contains_settlement ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2138269 Q2003434
SYSTEM
Heikant, Laarbeek, Aarle-Rixtel
Q2138269 Q2003434
(Q9848,P1383,c(Q56061))
action filter_type
action find
entity Q9848
relation P1383
type Q56061
[ANSWERS] Laarbeek have administrative control
['Q9848', 'P1383', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q9848 property:P1383 ?x . ?x rdf:type ontology:Q56061 }
Heikant, Laarbeek Aarle-Rixtel
Heikant, Laarbeek and Aarle-Rixtel Laarbeek have administrative control
Heikant, Laarbeek Aarle-Rixtel
action filter_type
action find
entity Laarbeek
relation contains settlement
type administrative territorial entity
['Laarbeek', 'contains settlement', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Laarbeek property:contains_settlement ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2003434
P276
Q34442
USER
Which roads are situated at that administrative territory ?
(c(Q34442),P276,Q2003434)
action filter_type
action find_reverse
entity Q2003434
relation P276
type Q34442
[{'concept': 'Q34442'}, 'P276', 'Q2003434']
SELECT DISTINCT ?e WHERE { ?e property:P276 resource:Q2003434 . ?e rdf:type ontology:Q34442 }
Aarle-Rixtel
action filter_type
action find_reverse
entity Aarle-Rixtel
relation location
type road
[{'concept': 'road'}, 'location', 'Aarle-Rixtel']
SELECT DISTINCT ?e WHERE { ?e property:location resource:Aarle-Rixtel . ?e rdf:type ontology:road }
[]
road
Clarification for simple ques.
Q2138269
SYSTEM
Did you mean Heikant, Laarbeek ?
Q2138269 Q2003434
(c(Q34442),P276,Q2138269) (c(Q34442),P276,Q2003434)
[ANSWER]
[{'concept': 'Q34442'}, 'P276', 'Q2138269'] [{'concept': 'Q34442'}, 'P276', 'Q2003434']
SELECT DISTINCT ?e WHERE { ?e property:P276 resource:Q2003434 . ?e rdf:type ontology:Q34442 }
Heikant, Laarbeek Aarle-Rixtel
Did you mean Heikant, Laarbeek ?
Heikant, Laarbeek
[{'concept': 'road'}, 'location', 'Heikant, Laarbeek'] [{'concept': 'road'}, 'location', 'Aarle-Rixtel']
SELECT DISTINCT ?e WHERE { ?e property:location resource:Aarle-Rixtel . ?e rdf:type ontology:road }
[]
Simple Question (Coreferenced)
USER
No, I meant Aarle-Rixtel. Could you tell me the answer for that?
(c(Q34442),P276,Q2003434)
Q2003434
[{'concept': 'Q34442'}, 'P276', 'Q2003434']
[{'concept': 'road'}, 'location', 'Aarle-Rixtel']
[]
Q18963487 Q19348483 Q19655505
SYSTEM
Bosscheweg, Molenstraat, Wilhelminalaan
Q19011871 Q19300748 Q19304140 Q18981317 Q18963487 Q19012782 Q19316499 Q19408398 Q19282284 Q19565377 Q19652598 Q19007245 Q19558329 Q19304291 Q19005485 Q18940734 Q19241154 Q19511187 Q19281052 Q19152504 Q19532489 Q19348483 Q19004883 Q18976943 Q19017600 Q19010197 Q19290130 Q19407948 Q19005838 Q19475559 Q19335794 Q19001687 Q19007499 Q18934557 Q19352424 Q19304106 Q18942938 Q18972730 Q19010584 Q19412952 Q19308640 Q19624112 Q18960431 Q19200991 Q19421870 Q19251799 Q19251960 Q19342506 Q19264116 Q18956758 Q19396687 Q19514136 Q19655505 Q19014742 Q18943216 Q18943445 Q19344022 Q19326628 Q19241068 Q19246471 Q19293560 Q19565389 Q19013213 Q19409579 Q19317346 Q19251742 Q19313360 Q19390751 Q19303191 Q19287851 Q18944743 Q18943702 Q19198351 Q19394645 Q19006544 Q19313293 Q19292566 Q19289208 Q19244433 Q18940935 Q19014393 Q18965889 Q19262904 Q19256236 Q19295426 Q18933733 Q19013149 Q19320245 Q18952494 Q18985490 Q19013075 Q19576540 Q18983584 Q19327313 Q19569047 Q19290410
(c(Q34442),P276,Q2003434)
action filter_type
action find_reverse
entity Q2003434
relation P276
type Q34442
[ANSWERS] are situated at that administrative territory
[{'concept': 'Q34442'}, 'P276', 'Q2003434']
SELECT DISTINCT ?e WHERE { ?e property:P276 resource:Q2003434 . ?e rdf:type ontology:Q34442 }
Dokter Timmersstraat Kievitlaan Klokstraat Clovishof Bosscheweg De Wolfsputten Laag Strijp Pater Eustachiuslaan Julianalaan Terlingenplein Wielewaal De Duivenakker Strijpsoord Kloosterdreef De Tempelier Asdonkseweg Hagelkruisweg Schoolstraat Jonker Karellaan Florentiusdreef Spechtstraat Molenstraat De Biezen Buizerdstraat Dijkmanstraat De Lage Hoeve Kapellaan Pastoor van den Heuvelstraat De Trompetter Rode-Schutplein Mariastraat De Peeldijk De Elshorst Albers Pistoriusstraat Nachtegaalstraat Klokkengietersstraat Beekerheide Broekelingstraat De Malthezer Phaffstraat Koppelstraat van Roijstraat Zwanendreef Goossensstraat Piushof Het Laar Het Patronaat Meierijstraat Janssensstraat Blauwe-Schutplein Opstal Sengersweg Wilhelminalaan Den Bongerd Beekseweg Baroniestraat Merelstraat Lieshoutseweg Haffmansstraat Helmondseweg Kempenstraat Termeerstraat Donkersstraat Peelstraat Laarweg Het Klavier Kouwenberg Oliemolen Kleinbroekdreef Kanaaldijk Beatrixlaan Barthold van Heesselstraat Havenweg Onze Lieve Vrouweplein De Vinken Koudemaas Kasteelweg Kannelustweg Heindertweg Bakelseweg Dorpsstraat Brabantlaan Jan van Rixtelstraat Hoog Strijp Kerkstraat Akkerstraat De Zitter Langeakker Biermansstraat Croylaan De zes gehuchten Valkendijk Carolushof Lijsterstraat Torenakkerweg Kapelpad
Bosscheweg, Molenstraat and Wilhelminalaan are situated at that administrative territory
Bosscheweg Molenstraat Wilhelminalaan
action filter_type
action find_reverse
entity Aarle-Rixtel
relation location
type road
[{'concept': 'road'}, 'location', 'Aarle-Rixtel']
SELECT DISTINCT ?e WHERE { ?e property:location resource:Aarle-Rixtel . ?e rdf:type ontology:road }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P17
Q15617994
USER
How many administrative territories are that road located in ?
(Q19348483,P17,c(Q15617994))
['Q19348483', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q19348580 property:Q6256 ?z . ?z rdf:type ontology:Q15617994 }
['Molenstraat', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Molenstraat property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q19655505
SYSTEM
Did you mean Wilhelminalaan ?
(Q18963487,P17,c(Q15617994)) (Q19348483,P17,c(Q15617994)) (Q19655505,P17,c(Q15617994))
[ANSWER]
['Q18963487', 'P17', {'concept': 'Q15617994'}] ['Q19348483', 'P17', {'concept': 'Q15617994'}] ['Q19655505', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q19348580 property:Q6256 ?z . ?z rdf:type ontology:Q15617994 }
Did you mean Wilhelminalaan ?
Wilhelminalaan
['Bosscheweg', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Molenstraat', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Wilhelminalaan', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Molenstraat property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Molenstraat. Could you tell me the answer for that?
(Q19348483,P17,c(Q15617994))
Q19348483
['Q19348483', 'P17', {'concept': 'Q15617994'}]
['Molenstraat', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
1
Q55
(Q19348483,P17,c(Q15617994))
[ANSWER]
['Q19348483', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q19348580 property:Q6256 ?z . ?z rdf:type ontology:Q15617994 }
Netherlands
1
['Molenstraat', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Molenstraat property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q19348483 Q18056673
P276
Q56061
USER
How many administrative territories are Molenstraat or Grote Prijs Jef Scherens 2014 located ?
(Q19348483,P276,c(Q56061)) (Q18056673,P276,c(Q56061))
action count
action union
action filter_type
action find
entity Q19348483
relation P276
type Q56061
action filter_type
action find
entity Q18056673
relation P276
type Q56061
['Q19348483', 'P276', {'concept': 'Q56061'}] ['Q18056673', 'P276', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) WHERE { ?o property:P276 ?d . VALUES ( ?o ) { ( resource:Q19348483 ) ( resource:Q18056673 ) } }
Molenstraat Grote Prijs Jef Scherens 2014
action count
action union
action filter_type
action find
entity Molenstraat
relation location
type administrative territorial entity
action filter_type
action find
entity Grote Prijs Jef Scherens 2014
relation location
type administrative territorial entity
['Molenstraat', 'location', {'concept': 'administrative territorial entity'}] ['Grote Prijs Jef Scherens 2014', 'location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) WHERE { ?o property:location ?d . VALUES ( ?o ) { ( resource:Molenstraat ) ( resource:Grote_Prijs_Jef_Scherens_2014 ) } }
[]
administrative territorial entity
SYSTEM
2
Q2003434 Q118958
(Q19348483,P276,c(Q56061)) (Q18056673,P276,c(Q56061))
action count
action union
action filter_type
action find
entity Q19348483
relation P276
type Q56061
action filter_type
action find
entity Q18056673
relation P276
type Q56061
[ANSWER]
['Q19348483', 'P276', {'concept': 'Q56061'}] ['Q18056673', 'P276', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) WHERE { ?o property:P276 ?d . VALUES ( ?o ) { ( resource:Q19348483 ) ( resource:Q18056673 ) } }
Aarle-Rixtel Leuven
2
action count
action union
action filter_type
action find
entity Molenstraat
relation location
type administrative territorial entity
action filter_type
action find
entity Grote Prijs Jef Scherens 2014
relation location
type administrative territorial entity
['Molenstraat', 'location', {'concept': 'administrative territorial entity'}] ['Grote Prijs Jef Scherens 2014', 'location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) WHERE { ?o property:location ?d . VALUES ( ?o ) { ( resource:Molenstraat ) ( resource:Grote_Prijs_Jef_Scherens_2014 ) } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q21571874
P669
Q34442 Q4830453
USER
Which business enterprises are located on approximately the same number of roads as Zortziko ?
(c(Q4830453),P669,c(Q34442))
action approx
action find_tuple_counts
relation P669
type Q4830453
type Q34442
action count
action filter_type
action find
entity Q21571874
relation P669
type Q4830453
[{'concept': 'Q4830453'}, 'P669', {'concept': 'Q34442'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?c ) WHERE { ?a property:P669 ?x . ?a rdf:type ontology:Q4830453 . ?x rdf:type ontology:Q34442 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { resource:Q21571874 property:P669 ?h . ?h rdf:type ontology:Q4830453 } } . FILTER ( ?c = ?q ) }
Zortziko
action approx
action find_tuple_counts
relation located on street
type business enterprise
type road
action count
action filter_type
action find
entity Zortziko
relation located on street
type business enterprise
[{'concept': 'business enterprise'}, 'located on street', {'concept': 'road'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?c ) WHERE { ?a property:located_on_street ?x . ?a rdf:type ontology:business_enterprise . ?x rdf:type ontology:road } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { resource:Zortziko property:located_on_street ?h . ?h rdf:type ontology:business_enterprise } } . FILTER ( ?c = ?q ) }
[]
road business enterprise
Q2749941 Q24090630 Q2933008
SYSTEM
The Dorchester, S & J Fuller, Café de la Paix
Q1445889 Q7923183 Q868676 Q21572088 Q2611788 Q618114 Q4642366 Q6405710 Q21936680 Q1338260 Q18510527 Q82844 Q2933008 Q23766764 Q21855786 Q6737029 Q3279981 Q16707726 Q2749941 Q21571745 Q1025686 Q1025688 Q6455533 Q3079972 Q2894308 Q20871303 Q21571874 Q6906314 Q24090630 Q6506699 Q21561336 Q21571760 Q21561334
(c(Q4830453),P669,c(Q34442))
action approx
action find_tuple_counts
relation P669
type Q4830453
type Q34442
action count
action filter_type
action find
entity Q21571874
relation P669
type Q4830453
[ANSWERS] are located on approximately the same number of roads as Zortziko
[{'concept': 'Q4830453'}, 'P669', {'concept': 'Q34442'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?c ) WHERE { ?a property:P669 ?x . ?a rdf:type ontology:Q4830453 . ?x rdf:type ontology:Q34442 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { resource:Q21571874 property:P669 ?h . ?h rdf:type ontology:Q4830453 } } . FILTER ( ?c = ?q ) }
ラ・クーポール Veselka Café de la Rotonde Kokotxa Katz's Delicatessen 21 Club 68–86 Bar and Restaurant Kiev Restaurant Krog's Fish Restaurant Tour d'Argent The Landmark Tavern Olo Café de la Paix MR Restaurant Puk Maison Cartier Maison dorée Crocker's Folly The Dorchester Etxanobe Café de Flore Café de la Nouvelle Athènes L'Ambroisie Fouquet's Carnegie Deli Auberge Zortziko Montreal Pool Room S & J Fuller Le Chateaubriand Zarate Nerua Aizian
The Dorchester, S & J Fuller and Café de la Paix are located on approximately the same number of roads as Zortziko
The Dorchester S & J Fuller Café de la Paix
action approx
action find_tuple_counts
relation located on street
type business enterprise
type road
action count
action filter_type
action find
entity Zortziko
relation located on street
type business enterprise
[{'concept': 'business enterprise'}, 'located on street', {'concept': 'road'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?c ) WHERE { ?a property:located_on_street ?x . ?a rdf:type ontology:business_enterprise . ?x rdf:type ontology:road } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { resource:Zortziko property:located_on_street ?h . ?h rdf:type ontology:business_enterprise } } . FILTER ( ?c = ?q ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1550252 Q19348483
P47 P17
Q15617994
USER
Which administrative territories do Molenstraat belong to or have a shared border with Lakshmipur District ?
OR((Q19348483,P17,c(Q15617994)), (Q1550252,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q19348483
relation P17
action find
entity Q1550252
relation P47
type Q15617994
{'OR': [['Q19348483', 'P17', {'concept': 'Q15617994'}], ['Q1550252', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q19348483 property:P17 ?o } UNION { resource:Q1550252 property:P47 ?o } } . ?o rdf:type ontology:Q15617994 }
Lakshmipur District Molenstraat
action filter_type
action union
action find
entity Molenstraat
relation country
action find
entity Lakshmipur District
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Molenstraat', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Lakshmipur District', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Molenstraat property:country ?o } UNION { resource:Lakshmipur_District property:shares_border_with ?o } } . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1429697 Q855042 Q68585 Q55 Q1763301
SYSTEM
Chandpur District, Bhola District, Noakhali District, Netherlands, Barisal District
Q1429697 Q855042 Q68585 Q55 Q1763301
OR((Q19348483,P17,c(Q15617994)), (Q1550252,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q19348483
relation P17
action find
entity Q1550252
relation P47
type Q15617994
Molenstraat belong to the [ANSWERS]
{'OR': [['Q19348483', 'P17', {'concept': 'Q15617994'}], ['Q1550252', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q19348483 property:P17 ?o } UNION { resource:Q1550252 property:P47 ?o } } . ?o rdf:type ontology:Q15617994 }
Chandpur District Bhola District Noakhali District Netherlands Barisal District
Molenstraat belong to the Chandpur District, Bhola District, Noakhali District, Netherlands and Barisal District
Chandpur District Bhola District Noakhali District Netherlands Barisal District
action filter_type
action union
action find
entity Molenstraat
relation country
action find
entity Lakshmipur District
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Molenstraat', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Lakshmipur District', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Molenstraat property:country ?o } UNION { resource:Lakshmipur_District property:shares_border_with ?o } } . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1001
Q15617994 Q12737077 Q17335294
USER
Which administrative territories apply to jurisdiction of min number of occupations and coats of arms ?
(c(Q12737077)|c(Q17335294),P1001,c(Q15617994))
action argmin
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q12737077
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q17335294
[[{'concept': 'Q12737077'}, {'concept': 'Q17335294'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?q ) { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) ?o WHERE { ?g rdf:type ?t . VALUES ( ?t ) { ( ontology:Q17335294 ) ( ontology:Q12737077 ) } } GROUP BY ?o } } . FILTER ( ?z = ?q ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) ?u WHERE { { ?c property:P1001 ?u . ?c rdf:type ontology:Q17335294 . ?u rdf:type ontology:Q15617994 } UNION { ?u rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q12737077 . ?c property:P1001 ?u } } GROUP BY ?u } }
action argmin
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type occupation
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag or coat of arms
[[{'concept': 'occupation'}, {'concept': 'flag or coat of arms'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?q ) { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) ?o WHERE { ?g rdf:type ?t . VALUES ( ?t ) { ( ontology:flag_or_coat_of_arms ) ( ontology:occupation ) } } GROUP BY ?o } } . FILTER ( ?z = ?q ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) ?u WHERE { { ?c property:applies_to_jurisdiction ?u . ?c rdf:type ontology:flag_or_coat_of_arms . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:occupation . ?c property:applies_to_jurisdiction ?u } } GROUP BY ?u } }
[]
designation for an administrative territorial entity occupation flag or coat of arms
Q158095 Q2107 Q2871
SYSTEM
Charlottenburg-Wilmersdorf, Wuppertal, Hagen
Q706679 Q2765 Q163012 Q22273061 Q2871 Q24764 Q2742 Q443815 Q50198 Q187035 Q22274206 Q3097 Q158893 Q2942 Q11340 Q11343 Q1142326 Q2899 Q2758 Q4712 Q155019 Q3389 Q163966 Q3068 Q11323 Q119284 Q3403547 Q3462133 Q223 Q2838 Q22274534 Q11337 Q11331 Q12642 Q154547 Q1216 Q12753 Q2805 Q2107 Q2380910 Q11301 Q2904 Q158095 Q158083 Q1243 Q72449 Q12549 Q22273285 Q329609 Q2938 Q1231
(c(Q12737077)|c(Q17335294),P1001,c(Q15617994))
action argmin
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q12737077
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q17335294
[ANSWERS] apply to jurisdiction of min number of occupations and coats of arms
[[{'concept': 'Q12737077'}, {'concept': 'Q17335294'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?q ) { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) ?o WHERE { ?g rdf:type ?t . VALUES ( ?t ) { ( ontology:Q17335294 ) ( ontology:Q12737077 ) } } GROUP BY ?o } } . FILTER ( ?z = ?q ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) ?u WHERE { { ?c property:P1001 ?u . ?c rdf:type ontology:Q17335294 . ?u rdf:type ontology:Q15617994 } UNION { ?u rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q12737077 . ?c property:P1001 ?u } } GROUP BY ?u } }
Duchy of Bar Gelsenkirchen Pankow Duchy of Nemours Hagen municipality of the Philippines Münster Altomünster province of Thailand Principality of Albania Duchy of Mercoeur Remscheid Friedrichshain-Kreuzberg Solingen Sprockhövel Wetter (Ruhr) Seine Mülheim an der Ruhr Mönchengladbach Duchy of Burgundy Duchy of Lorraine Finistère Mitte Loire-Atlantique Breckerfeld Marzahn-Hellersdorf principality of Phalsbourg and Lixheim Saxe-Coburg and Gotha Greenland Oberhausen Duchy of Elbeuf Herdecke Gevelsberg Morbihan duchy Piedmont Seine-et-Marne Krefeld Wuppertal Duchy of Zaslawye Ennepetal Herne Charlottenburg-Wilmersdorf Spandau Veneto Roccarainola Ille-et-Vilaine Duchy of Guise Lichtenberg Leverkusen Kosovo Region
Charlottenburg-Wilmersdorf, Wuppertal and Hagen apply to jurisdiction of min number of occupations and coats of arms
Charlottenburg-Wilmersdorf Wuppertal Hagen
action argmin
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type occupation
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag or coat of arms
[[{'concept': 'occupation'}, {'concept': 'flag or coat of arms'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?q ) { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) ?o WHERE { ?g rdf:type ?t . VALUES ( ?t ) { ( ontology:flag_or_coat_of_arms ) ( ontology:occupation ) } } GROUP BY ?o } } . FILTER ( ?z = ?q ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) ?u WHERE { { ?c property:applies_to_jurisdiction ?u . ?c rdf:type ontology:flag_or_coat_of_arms . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:occupation . ?c property:applies_to_jurisdiction ?u } } GROUP BY ?u } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q766
P530
Q1048835 Q15617994
USER
Which political territories have a diplomatic relationship with less number of administrative territories than Jamaica ?
(c(Q15617994),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q766
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?s ) AS ?c ) WHERE { ?q property:P530 ?s . ?q rdf:type ontology:Q1048835 . ?s rdf:type ontology:Q15617994 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { resource:Q766 property:P530 ?m . ?m rdf:type ontology:Q1048835 } } . FILTER ( ?c < ?v ) }
Jamaica
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Jamaica
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?s ) AS ?c ) WHERE { ?q property:diplomatic_relation ?s . ?q rdf:type ontology:political_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { resource:Jamaica property:diplomatic_relation ?m . ?m rdf:type ontology:political_territorial_entity } } . FILTER ( ?c < ?v ) }
[]
political territorial entity designation for an administrative territorial entity
Q1000 Q769 Q691
SYSTEM
Gabon, Grenada, Papua New Guinea
Q1000 Q781 Q778 Q769 Q685 Q691
(c(Q15617994),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q766
relation P530
type Q1048835
[ANSWERS] have a diplomatic relationship with less number of administrative territories than Jamaica
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?s ) AS ?c ) WHERE { ?q property:P530 ?s . ?q rdf:type ontology:Q1048835 . ?s rdf:type ontology:Q15617994 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { resource:Q766 property:P530 ?m . ?m rdf:type ontology:Q1048835 } } . FILTER ( ?c < ?v ) }
Gabon Antigua and Barbuda The Bahamas Grenada Solomon Islands Papua New Guinea
Gabon, Grenada and Papua New Guinea have a diplomatic relationship with less number of administrative territories than Jamaica
Gabon Grenada Papua New Guinea
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Jamaica
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?s ) AS ?c ) WHERE { ?q property:diplomatic_relation ?s . ?q rdf:type ontology:political_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { resource:Jamaica property:diplomatic_relation ?m . ?m rdf:type ontology:political_territorial_entity } } . FILTER ( ?c < ?v ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q1000
P530
Q1048835 Q15617994
USER
And how about Gabon?
(c(Q15617994),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q1000
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?o ) AS ?k ) WHERE { ?v property:P530 ?o . ?o rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q1048835 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { resource:Q1000 property:P530 ?f . ?f rdf:type ontology:Q1048835 } } . FILTER ( ?k < ?n ) }
Gabon
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Gabon
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?o ) AS ?k ) WHERE { ?v property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:political_territorial_entity } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { resource:Gabon property:diplomatic_relation ?f . ?f rdf:type ontology:political_territorial_entity } } . FILTER ( ?k < ?n ) }
[]
political territorial entity designation for an administrative territorial entity
Q685 Q691
SYSTEM
Solomon Islands, Papua New Guinea
Q685 Q691
(c(Q15617994),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q1000
relation P530
type Q1048835
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?o ) AS ?k ) WHERE { ?v property:P530 ?o . ?o rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q1048835 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { resource:Q1000 property:P530 ?f . ?f rdf:type ontology:Q1048835 } } . FILTER ( ?k < ?n ) }
Solomon Islands Papua New Guinea
Solomon Islands Papua New Guinea
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Gabon
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?o ) AS ?k ) WHERE { ?v property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:political_territorial_entity } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { resource:Gabon property:diplomatic_relation ?f . ?f rdf:type ontology:political_territorial_entity } } . FILTER ( ?k < ?n ) }
[]