Simple Question (Direct)
Simple Question
Q3848978
P19
Q56061
USER
Which administrative territory was Mario Pistacchi born at ?
(Q3848978,P19,c(Q56061))
action filter_type
action find
entity Q3848978
relation P19
type Q56061
['Q3848978', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q56061 . resource:Q3848978 property:P19 ?h }
Mario Pistacchi
action filter_type
action find
entity Mario Pistacchi
relation place of birth
type administrative territorial entity
['Mario Pistacchi', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:administrative_territorial_entity . resource:Mario_Pistacchi property:place_of_birth ?h }
[]
administrative territorial entity
Q220
SYSTEM
Rome
Q220
(Q3848978,P19,c(Q56061))
action filter_type
action find
entity Q3848978
relation P19
type Q56061
Mario Pistacchi was born in [ANSWER]
['Q3848978', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q56061 . resource:Q3848978 property:P19 ?h }
Rome
Mario Pistacchi was born in Rome
Rome
action filter_type
action find
entity Mario Pistacchi
relation place of birth
type administrative territorial entity
['Mario Pistacchi', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:administrative_territorial_entity . resource:Mario_Pistacchi property:place_of_birth ?h }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q220
P206
Q15324
USER
Which body of water is situated in the neighbourhood of that administrative territory ?
(Q220,P206,c(Q15324))
action filter_type
action find
entity Q220
relation P206
type Q15324
['Q220', 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ?k WHERE { resource:Q220 property:P206 ?k . ?k rdf:type ontology:Q15324 }
Rome
action filter_type
action find
entity Rome
relation located next to body of water
type body of water
['Rome', 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ?k WHERE { resource:Rome property:located_next_to_body_of_water ?k . ?k rdf:type ontology:body_of_water }
[]
body of water
Q38882
SYSTEM
Tyrrhenian Sea
Q38882
(Q220,P206,c(Q15324))
action filter_type
action find
entity Q220
relation P206
type Q15324
[ANSWER] is situated in the neighbourhood of that administrative territory
['Q220', 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ?k WHERE { resource:Q220 property:P206 ?k . ?k rdf:type ontology:Q15324 }
Tyrrhenian Sea
Tyrrhenian Sea is situated in the neighbourhood of that administrative territory
Tyrrhenian Sea
action filter_type
action find
entity Rome
relation located next to body of water
type body of water
['Rome', 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ?k WHERE { resource:Rome property:located_next_to_body_of_water ?k . ?k rdf:type ontology:body_of_water }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q239908
P1376
Q20667921
USER
Which french administrative division has Saint-Pol-de-Léon has its first city ?
(Q239908,P1376,c(Q20667921))
action filter_type
action find
entity Q239908
relation P1376
type Q20667921
['Q239908', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?l WHERE { resource:Q239908 property:P1376 ?l . ?l rdf:type ontology:Q20667921 }
Saint-Pol-de-Léon
action filter_type
action find
entity Saint-Pol-de-Léon
relation capital of
type type of french administrative division
['Saint-Pol-de-Léon', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?l WHERE { resource:Saint-Pol-de-Léon property:capital_of ?l . ?l rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q2096460
SYSTEM
canton of Saint-Pol-de-Léon
Q2096460
(Q239908,P1376,c(Q20667921))
action filter_type
action find
entity Q239908
relation P1376
type Q20667921
The [ANSWER] has Saint-Pol-de-Léon has its first city
['Q239908', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?l WHERE { resource:Q239908 property:P1376 ?l . ?l rdf:type ontology:Q20667921 }
canton of Saint-Pol-de-Léon
The canton of Saint-Pol-de-Léon has Saint-Pol-de-Léon has its first city
canton of Saint-Pol-de-Léon
action filter_type
action find
entity Saint-Pol-de-Léon
relation capital of
type type of french administrative division
['Saint-Pol-de-Léon', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?l WHERE { resource:Saint-Pol-de-Léon property:capital_of ?l . ?l rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1423260
Q20667921
USER
And how about Saint-Jean-de-la-Ruelle?
(Q1423260,P1376,c(Q20667921))
action filter_type
action find
entity Q1423260
relation P1376
type Q20667921
['Q1423260', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?k WHERE { resource:Q1423260 property:P1376 ?k . ?k rdf:type ontology:Q20667921 }
Saint-Jean-de-la-Ruelle
action filter_type
action find
entity Saint-Jean-de-la-Ruelle
relation capital of
type type of french administrative division
['Saint-Jean-de-la-Ruelle', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?k WHERE { resource:Saint-Jean-de-la-Ruelle property:capital_of ?k . ?k rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1292247
SYSTEM
canton of Saint-Jean-de-la-Ruelle
Q1292247
(Q1423260,P1376,c(Q20667921))
action filter_type
action find
entity Q1423260
relation P1376
type Q20667921
[ANSWER]
['Q1423260', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?k WHERE { resource:Q1423260 property:P1376 ?k . ?k rdf:type ontology:Q20667921 }
canton of Saint-Jean-de-la-Ruelle
canton of Saint-Jean-de-la-Ruelle
action filter_type
action find
entity Saint-Jean-de-la-Ruelle
relation capital of
type type of french administrative division
['Saint-Jean-de-la-Ruelle', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?k WHERE { resource:Saint-Jean-de-la-Ruelle property:capital_of ?k . ?k rdf:type ontology:type_of_french_administrative_division }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1368308
P706
Q15324 Q811979 Q82794
USER
Which bodies of water are lesser number of architectural structures or geographic regions located on than Ise Bay ?
(c(Q811979)|c(Q82794),P706,c(Q15324))
action less
action union
action find_reverse_tuple_counts
relation P706
type Q15324
type Q811979
action find_reverse_tuple_counts
relation P706
type Q15324
type Q82794
action count
action filter_multi_types
action find_reverse
entity Q1368308
relation P706
type Q811979
type Q82794
[[{'concept': 'Q811979'}, {'concept': 'Q82794'}], 'P706', {'concept': 'Q15324'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) ?k WHERE { { ?i property:P706 ?k . ?k rdf:type ontology:Q15324 . ?i rdf:type ontology:Q811979 } UNION { ?i property:P706 ?k . ?k rdf:type ontology:Q15324 . ?i rdf:type ontology:Q82794 } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { ?b property:P706 resource:Q1368308 . { ?b rdf:type ?m . VALUES ( ?m ) { ( ontology:Q811979 ) ( ontology:Q82794 ) } } } } . FILTER ( ?v < ?x ) }
Ise Bay
action less
action union
action find_reverse_tuple_counts
relation located on terrain feature
type body of water
type architectural structure
action find_reverse_tuple_counts
relation located on terrain feature
type body of water
type geographic region
action count
action filter_multi_types
action find_reverse
entity Ise Bay
relation located on terrain feature
type architectural structure
type geographic region
[[{'concept': 'architectural structure'}, {'concept': 'geographic region'}], 'located on terrain feature', {'concept': 'body of water'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) ?k WHERE { { ?i property:located_on_terrain_feature ?k . ?k rdf:type ontology:body_of_water . ?i rdf:type ontology:architectural_structure } UNION { ?i property:located_on_terrain_feature ?k . ?k rdf:type ontology:body_of_water . ?i rdf:type ontology:geographic_region } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { ?b property:located_on_terrain_feature resource:Ise_Bay . { ?b rdf:type ?m . VALUES ( ?m ) { ( ontology:architectural_structure ) ( ontology:geographic_region ) } } } } . FILTER ( ?v < ?x ) }
[]
body of water architectural structure geographic region
Q213367 Q37660 Q131217
SYSTEM
Gdańsk Bay, South China Sea, Gulf of Thailand
Q27092 Q41430 Q1359524 Q12630 Q1004067 Q204703 Q947086 Q114575 Q141376 Q271043 Q38882 Q211779 Q33254 Q810532 Q13924 Q805470 Q5003930 Q948291 Q2879789 Q3377211 Q717765 Q321837 Q481734 Q4176307 Q1112319 Q19876312 Q1631174 Q131217 Q47632 Q531060 Q1779743 Q867460 Q702691 Q164466 Q2268498 Q45341 Q159183 Q183455 Q140290 Q2344806 Q217501 Q20680338 Q5413918 Q21906844 Q3740577 Q178914 Q13234218 Q1247 Q254164 Q281813 Q2203907 Q7988 Q648954 Q938327 Q223810 Q11416963 Q1185210 Q35367 Q2292350 Q186733 Q599732 Q1971856 Q41573 Q76925 Q540179 Q1144680 Q173343 Q271198 Q21885510 Q700309 Q317006 Q594834 Q3059070 Q2621502 Q474708 Q494927 Q37495 Q3306188 Q231312 Q379063 Q21973072 Q2879577 Q1127599 Q7355798 Q695074 Q1267413 Q21922838 Q312433 Q1518380 Q4161995 Q7963133 Q4812258 Q767824 Q202083 Q7838780 Q22351839 Q242326 Q298119 Q1649939 Q34575 Q207468 Q132868 Q1680511 Q647879 Q34675 Q201385 Q11613279 Q326170 Q1419628 Q81499 Q545 Q42820 Q141017 Q803717 Q213517 Q1064776 Q193149 Q132811 Q41735 Q213367 Q37660 Q1679819 Q1165951 Q650654 Q82931 Q20922822 Q2879639 Q392623
(c(Q811979)|c(Q82794),P706,c(Q15324))
action less
action union
action find_reverse_tuple_counts
relation P706
type Q15324
type Q811979
action find_reverse_tuple_counts
relation P706
type Q15324
type Q82794
action count
action filter_multi_types
action find_reverse
entity Q1368308
relation P706
type Q811979
type Q82794
[ANSWERS] are lesser number of architectural structures or geographic regions located on than Ise Bay
[[{'concept': 'Q811979'}, {'concept': 'Q82794'}], 'P706', {'concept': 'Q15324'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) ?k WHERE { { ?i property:P706 ?k . ?k rdf:type ontology:Q15324 . ?i rdf:type ontology:Q811979 } UNION { ?i property:P706 ?k . ?k rdf:type ontology:Q15324 . ?i rdf:type ontology:Q82794 } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { ?b property:P706 resource:Q1368308 . { ?b rdf:type ?m . VALUES ( ?m ) { ( ontology:Q811979 ) ( ontology:Q82794 ) } } } } . FILTER ( ?v < ?x ) }
Sea of Japan Gulf of Guinea Bay of Bangkok Gulf of Mexico Frobisher Bay Scotia Sea Green Bay Hiroshima Bay Bouquet Bay Sea of Åland Tyrrhenian Sea Saronic Gulf Tasman Sea Arcachon Bay Adriatic Sea Balmer See Byam Martin Channel Chesterfield Inlet Le Pouliguen Bay Little Roussel Phang Nga Bay German Bight Amur Bay Saltsjön Columbia Icefield Norfolk Bay Isefjord Gulf of Thailand Andaman Sea Bay of Wismar Abu Qir Bay Long Island Sound Heligoland Bight Ross Sea Stikine Icecap East China Sea Philippine Sea Bellingshausen Sea Bay of Plenty Hakata Bay Pechora Sea Yobukonoseto Kempeleenlahti The Narrows Admiralty Inlet Martinique Passage Bothnian Bay Caribbean Sea Ōmura Bay Holme Bay Rügischer Bodden Laptev Sea Spencer Gulf Cumberland Sound James Bay Sudo nada Pagasetic Gulf Sea of Marmara Bantry Bay Great Australian Bight Buzzards Bay Sea of the Hebrides Bay of Biscay Venetian Lagoon Camotes Sea Gulf of Morbihan Weddell Sea Årstaviken Shark Bay Bay of Lübeck Bay of Mecklenburg Sibuyan Sea Loire estuary Nakhodka Bay Visayan Sea Peter the Great Gulf Ionian Sea Amakusa Sea Seto Inland Sea Thracian Sea Tipplers Passage Ago Bay Galway Bay Rocky Harbour Bay of Mali Ston Georgian Bay Ansons Bay Schlei Juneau Icefield Maxwell Bay Wallis Lake Asō Bay Hauraki Gulf Firth of Forth Tresilian Bay Burnt Point Bay Bohol Sea Öræfajökull Bothnian Sea Aegean Sea Bay of Kotor Greenland Sea Kleiner Jasmunder Bodden Bay of Greifswald Persian Gulf Gulf of Naples Usuki Bay Bay of Pomerania Firth of Thames Celtic Sea Baltic Sea Ligurian Sea Tokyo Bay Mont Saint-Michel Bay Gironde estuary Upper New York Bay Sea of Crete Gulf of California Irish Sea Gdańsk Bay South China Sea Jamaica Bay Ungava Bay Archipelago Sea Coral Sea Għadira Bay Baie de Douarnenez Samar Sea
Gdańsk Bay, South China Sea and Gulf of Thailand are lesser number of architectural structures or geographic regions located on than Ise Bay
Gdańsk Bay South China Sea Gulf of Thailand
action less
action union
action find_reverse_tuple_counts
relation located on terrain feature
type body of water
type architectural structure
action find_reverse_tuple_counts
relation located on terrain feature
type body of water
type geographic region
action count
action filter_multi_types
action find_reverse
entity Ise Bay
relation located on terrain feature
type architectural structure
type geographic region
[[{'concept': 'architectural structure'}, {'concept': 'geographic region'}], 'located on terrain feature', {'concept': 'body of water'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) ?k WHERE { { ?i property:located_on_terrain_feature ?k . ?k rdf:type ontology:body_of_water . ?i rdf:type ontology:architectural_structure } UNION { ?i property:located_on_terrain_feature ?k . ?k rdf:type ontology:body_of_water . ?i rdf:type ontology:geographic_region } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { ?b property:located_on_terrain_feature resource:Ise_Bay . { ?b rdf:type ?m . VALUES ( ?m ) { ( ontology:architectural_structure ) ( ontology:geographic_region ) } } } } . FILTER ( ?v < ?x ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q14686
P706
Q15324 Q811979 Q82794
USER
And what about Gulf of Finland?
(c(Q811979)|c(Q82794),P706,c(Q15324))
action less
action union
action find_reverse_tuple_counts
relation P706
type Q15324
type Q811979
action find_reverse_tuple_counts
relation P706
type Q15324
type Q82794
action count
action filter_multi_types
action find_reverse
entity Q14686
relation P706
type Q811979
type Q82794
[[{'concept': 'Q811979'}, {'concept': 'Q82794'}], 'P706', {'concept': 'Q15324'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) ?v WHERE { ?h rdf:type ?j . VALUES ( ?j ) { ( ontology:Q82794 ) ( ontology:Q811979 ) } } GROUP BY ?v } . FILTER ( ?y < ?n ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) WHERE { ?b property:P706 resource:Q14686 . { { ?b rdf:type ontology:Q811979 } UNION { ?b rdf:type ontology:Q82794 } } } } }
Gulf of Finland
action less
action union
action find_reverse_tuple_counts
relation located on terrain feature
type body of water
type architectural structure
action find_reverse_tuple_counts
relation located on terrain feature
type body of water
type geographic region
action count
action filter_multi_types
action find_reverse
entity Gulf of Finland
relation located on terrain feature
type architectural structure
type geographic region
[[{'concept': 'architectural structure'}, {'concept': 'geographic region'}], 'located on terrain feature', {'concept': 'body of water'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) ?v WHERE { ?h rdf:type ?j . VALUES ( ?j ) { ( ontology:geographic_region ) ( ontology:architectural_structure ) } } GROUP BY ?v } . FILTER ( ?y < ?n ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) WHERE { ?b property:located_on_terrain_feature resource:Gulf_of_Finland . { { ?b rdf:type ontology:architectural_structure } UNION { ?b rdf:type ontology:geographic_region } } } } }
[]
body of water architectural structure geographic region
Q213367 Q37660 Q131217
SYSTEM
Gdańsk Bay, South China Sea, Gulf of Thailand
Q27092 Q41430 Q1359524 Q12630 Q1004067 Q204703 Q947086 Q114575 Q141376 Q271043 Q38882 Q211779 Q33254 Q810532 Q13924 Q805470 Q5003930 Q948291 Q2879789 Q3377211 Q717765 Q321837 Q481734 Q4176307 Q1112319 Q19876312 Q1631174 Q131217 Q47632 Q531060 Q1779743 Q867460 Q702691 Q164466 Q2268498 Q45341 Q159183 Q183455 Q140290 Q2344806 Q217501 Q20680338 Q5413918 Q21906844 Q3740577 Q178914 Q13234218 Q1247 Q254164 Q281813 Q2203907 Q7988 Q648954 Q938327 Q223810 Q11416963 Q1185210 Q35367 Q2292350 Q186733 Q599732 Q1971856 Q41573 Q76925 Q540179 Q1144680 Q173343 Q271198 Q21885510 Q700309 Q317006 Q594834 Q3059070 Q2621502 Q474708 Q494927 Q37495 Q3306188 Q231312 Q379063 Q21973072 Q2879577 Q1127599 Q7355798 Q695074 Q1267413 Q21922838 Q312433 Q1518380 Q4161995 Q7963133 Q4812258 Q767824 Q202083 Q7838780 Q22351839 Q242326 Q298119 Q1649939 Q34575 Q207468 Q132868 Q1680511 Q647879 Q34675 Q201385 Q11613279 Q326170 Q1419628 Q81499 Q545 Q42820 Q141017 Q803717 Q213517 Q1064776 Q193149 Q132811 Q41735 Q213367 Q37660 Q1679819 Q1165951 Q650654 Q82931 Q20922822 Q2879639 Q392623
(c(Q811979)|c(Q82794),P706,c(Q15324))
action less
action union
action find_reverse_tuple_counts
relation P706
type Q15324
type Q811979
action find_reverse_tuple_counts
relation P706
type Q15324
type Q82794
action count
action filter_multi_types
action find_reverse
entity Q14686
relation P706
type Q811979
type Q82794
[ANSWERS]
[[{'concept': 'Q811979'}, {'concept': 'Q82794'}], 'P706', {'concept': 'Q15324'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) ?v WHERE { ?h rdf:type ?j . VALUES ( ?j ) { ( ontology:Q82794 ) ( ontology:Q811979 ) } } GROUP BY ?v } . FILTER ( ?y < ?n ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) WHERE { ?b property:P706 resource:Q14686 . { { ?b rdf:type ontology:Q811979 } UNION { ?b rdf:type ontology:Q82794 } } } } }
Sea of Japan Gulf of Guinea Bay of Bangkok Gulf of Mexico Frobisher Bay Scotia Sea Green Bay Hiroshima Bay Bouquet Bay Sea of Åland Tyrrhenian Sea Saronic Gulf Tasman Sea Arcachon Bay Adriatic Sea Balmer See Byam Martin Channel Chesterfield Inlet Le Pouliguen Bay Little Roussel Phang Nga Bay German Bight Amur Bay Saltsjön Columbia Icefield Norfolk Bay Isefjord Gulf of Thailand Andaman Sea Bay of Wismar Abu Qir Bay Long Island Sound Heligoland Bight Ross Sea Stikine Icecap East China Sea Philippine Sea Bellingshausen Sea Bay of Plenty Hakata Bay Pechora Sea Yobukonoseto Kempeleenlahti The Narrows Admiralty Inlet Martinique Passage Bothnian Bay Caribbean Sea Ōmura Bay Holme Bay Rügischer Bodden Laptev Sea Spencer Gulf Cumberland Sound James Bay Sudo nada Pagasetic Gulf Sea of Marmara Bantry Bay Great Australian Bight Buzzards Bay Sea of the Hebrides Bay of Biscay Venetian Lagoon Camotes Sea Gulf of Morbihan Weddell Sea Årstaviken Shark Bay Bay of Lübeck Bay of Mecklenburg Sibuyan Sea Loire estuary Nakhodka Bay Visayan Sea Peter the Great Gulf Ionian Sea Amakusa Sea Seto Inland Sea Thracian Sea Tipplers Passage Ago Bay Galway Bay Rocky Harbour Bay of Mali Ston Georgian Bay Ansons Bay Schlei Juneau Icefield Maxwell Bay Wallis Lake Asō Bay Hauraki Gulf Firth of Forth Tresilian Bay Burnt Point Bay Bohol Sea Öræfajökull Bothnian Sea Aegean Sea Bay of Kotor Greenland Sea Kleiner Jasmunder Bodden Bay of Greifswald Persian Gulf Gulf of Naples Usuki Bay Bay of Pomerania Firth of Thames Celtic Sea Baltic Sea Ligurian Sea Tokyo Bay Mont Saint-Michel Bay Gironde estuary Upper New York Bay Sea of Crete Gulf of California Irish Sea Gdańsk Bay South China Sea Jamaica Bay Ungava Bay Archipelago Sea Coral Sea Għadira Bay Baie de Douarnenez Samar Sea
Gdańsk Bay South China Sea Gulf of Thailand
action less
action union
action find_reverse_tuple_counts
relation located on terrain feature
type body of water
type architectural structure
action find_reverse_tuple_counts
relation located on terrain feature
type body of water
type geographic region
action count
action filter_multi_types
action find_reverse
entity Gulf of Finland
relation located on terrain feature
type architectural structure
type geographic region
[[{'concept': 'architectural structure'}, {'concept': 'geographic region'}], 'located on terrain feature', {'concept': 'body of water'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) ?v WHERE { ?h rdf:type ?j . VALUES ( ?j ) { ( ontology:geographic_region ) ( ontology:architectural_structure ) } } GROUP BY ?v } . FILTER ( ?y < ?n ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) WHERE { ?b property:located_on_terrain_feature resource:Gulf_of_Finland . { { ?b rdf:type ontology:architectural_structure } UNION { ?b rdf:type ontology:geographic_region } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q112019
P706
Q15324 Q15617994
USER
Which administrative territories have their location as around the same number of bodies of water as Sirmione ?
(c(Q15617994),P706,c(Q15324))
action approx
action find_tuple_counts
relation P706
type Q15617994
type Q15324
action count
action filter_type
action find
entity Q112019
relation P706
type Q15617994
[{'concept': 'Q15617994'}, 'P706', {'concept': 'Q15324'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?f ) AS ?g ) WHERE { ?l property:P706 ?f . ?l rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q15324 } GROUP BY ?l } . FILTER ( ?g = ?j ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { resource:Q112019 property:P706 ?d . ?d rdf:type ontology:Q15617994 } } }
Sirmione
action approx
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type body of water
action count
action filter_type
action find
entity Sirmione
relation located on terrain feature
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', {'concept': 'body of water'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?f ) AS ?g ) WHERE { ?l property:located_on_terrain_feature ?f . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:body_of_water } GROUP BY ?l } . FILTER ( ?g = ?j ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { resource:Sirmione property:located_on_terrain_feature ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
body of water designation for an administrative territorial entity
Q148 Q145 Q805
SYSTEM
People's Republic of China, United Kingdom, Yemen
Q805 Q1070686 Q695445 Q2712111 Q489215 Q5101419 Q682072 Q6685870 Q4692591 Q525879 Q267993 Q922342 Q637400 Q21042 Q632868 Q148 Q784 Q21049 Q786 Q7042 Q312335 Q21160 Q525945 Q5382040 Q252320 Q3003231 Q505665 Q1462 Q15744129 Q4692611 Q521132 Q790 Q508054 Q1721440 Q5517964 Q555609 Q267005 Q27332 Q1619957 Q1093572 Q6350324 Q244 Q4789577 Q501683 Q582690 Q216422 Q5000224 Q20789 Q16642582 Q33 Q921 Q633162 Q520347 Q851 Q845396 Q15213143 Q598754 Q252772 Q21074475 Q104192 Q81306 Q771971 Q1778088 Q3942 Q145 Q333149 Q27 Q494305 Q565749 Q5420482 Q19906291 Q502662 Q47821 Q20019215 Q503693 Q4692647 Q3068 Q331886 Q15244035 Q6472577 Q588957 Q229 Q4769813 Q112019 Q704288 Q21008 Q7916724 Q660806 Q28091 Q754 Q507258 Q5275507 Q28013 Q558787 Q14892 Q180271 Q262684 Q6353095 Q628095 Q3923 Q27649869 Q5283827 Q522992 Q15744111 Q760 Q6835962 Q518171 Q2119591 Q46870 Q7561974 Q504134 Q625747 Q2585085 Q8147649 Q153969 Q481758 Q8043694 Q31640 Q3559483 Q376823 Q3559279 Q3559271
(c(Q15617994),P706,c(Q15324))
action approx
action find_tuple_counts
relation P706
type Q15617994
type Q15324
action count
action filter_type
action find
entity Q112019
relation P706
type Q15617994
[ANSWERS] have their location as around the same number of bodies of water as Sirmione
[{'concept': 'Q15617994'}, 'P706', {'concept': 'Q15324'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?f ) AS ?g ) WHERE { ?l property:P706 ?f . ?l rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q15324 } GROUP BY ?l } . FILTER ( ?g = ?j ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { resource:Q112019 property:P706 ?d . ?d rdf:type ontology:Q15617994 } } }
Yemen Leivathos Langen Zagori Oberhof Chionata Rankwitz Loucha Agioi Pantes Haundorf Muhr am See Sithonia Hohenwarte Nebel Sasbach People's Republic of China Dominica Norddorf auf Amrum Dominican Republic Amberg Spalt List auf Sylt Pfofeld Epanochori, Cephalonia Pleinfeld Croisset Bergen Sardinia Oberscheuren Agios Dimitrios, Cephalonia Hilpoltstein Haiti Neu Wulmstorf Kaimig Galaro Magdala Moneglia Kampen Hippelsbach Trøllanes Kalamaki, Zakynthos Barbados Arginia Rosengarten Neuenhagen bei Berlin Samsø Burnt River, Ontario Wenningstedt-Braderup Hydra Finland Brunei Drestedt Röttenbach, Roth Saudi Arabia Pyramiden Davgata Undeloh Eichstätt Nenndorf Kleinmachnow Forbach Avlida Kochenbach Aschaffenburg United Kingdom Abstatt Ireland Kelheim Erden Exo Chora Western New Guinea Bad Salzungen Malcesine Natal Riedenburg Agios Nikolaos, Cephalonia Loire-Atlantique Absberg Makryotika Lagopodo Allersberg Cyprus Ano Gerakari Sirmione Duchy of Holstein Sylt Vasilikades Karlshagen Wittdün auf Amrum Trinidad and Tobago Kipfenberg Digaleto Hörnum Südeichsfeld Buchholz in der Nordheide Vetralla Füssen Kalipado Nürburg Bayreuth Teglkås Divarata Braunlage Niederscheuren Saint Lucia Michata Ellhofen Pylaros Bardolino Sonning Eye Kirchlinteln Rangsdorf Wintersberg Ba District Lindau Pantelleria Xenopoulo Unterschwaningen Elatia Wenzendorf Artemisia Arkadioi
People's Republic of China, United Kingdom and Yemen have their location as around the same number of bodies of water as Sirmione
People's Republic of China United Kingdom Yemen
action approx
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type body of water
action count
action filter_type
action find
entity Sirmione
relation located on terrain feature
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', {'concept': 'body of water'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?f ) AS ?g ) WHERE { ?l property:located_on_terrain_feature ?f . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:body_of_water } GROUP BY ?l } . FILTER ( ?g = ?j ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { resource:Sirmione property:located_on_terrain_feature ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q518171
P706
Q15324 Q15617994
USER
And also tell me about Ellhofen?
(c(Q15617994),P706,c(Q15324))
action approx
action find_tuple_counts
relation P706
type Q15617994
type Q15324
action count
action filter_type
action find
entity Q518171
relation P706
type Q15617994
[{'concept': 'Q15617994'}, 'P706', {'concept': 'Q15324'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { resource:Q518171 property:P706 ?r . ?r rdf:type ontology:Q15617994 } } . FILTER ( ?q = ?a ) . { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?q ) WHERE { ?j property:P706 ?m . ?j rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15324 } GROUP BY ?j } }
Ellhofen
action approx
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type body of water
action count
action filter_type
action find
entity Ellhofen
relation located on terrain feature
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', {'concept': 'body of water'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { resource:Ellhofen property:located_on_terrain_feature ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?q = ?a ) . { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?q ) WHERE { ?j property:located_on_terrain_feature ?m . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:body_of_water } GROUP BY ?j } }
[]
body of water designation for an administrative territorial entity
Q148 Q145 Q805
SYSTEM
People's Republic of China, United Kingdom, Yemen
Q805 Q1070686 Q695445 Q2712111 Q489215 Q5101419 Q682072 Q6685870 Q4692591 Q525879 Q267993 Q922342 Q637400 Q21042 Q632868 Q148 Q784 Q21049 Q786 Q7042 Q312335 Q21160 Q525945 Q5382040 Q252320 Q3003231 Q505665 Q1462 Q15744129 Q4692611 Q521132 Q790 Q508054 Q1721440 Q5517964 Q555609 Q267005 Q27332 Q1619957 Q1093572 Q6350324 Q244 Q4789577 Q501683 Q582690 Q216422 Q5000224 Q20789 Q16642582 Q33 Q921 Q633162 Q520347 Q851 Q845396 Q15213143 Q598754 Q252772 Q21074475 Q104192 Q81306 Q771971 Q1778088 Q3942 Q145 Q333149 Q27 Q494305 Q565749 Q5420482 Q19906291 Q502662 Q47821 Q20019215 Q503693 Q4692647 Q3068 Q331886 Q15244035 Q6472577 Q588957 Q229 Q4769813 Q112019 Q704288 Q21008 Q7916724 Q660806 Q28091 Q754 Q507258 Q5275507 Q28013 Q558787 Q14892 Q180271 Q262684 Q6353095 Q628095 Q3923 Q27649869 Q5283827 Q522992 Q15744111 Q760 Q6835962 Q518171 Q2119591 Q46870 Q7561974 Q504134 Q625747 Q2585085 Q8147649 Q153969 Q481758 Q8043694 Q31640 Q3559483 Q376823 Q3559279 Q3559271
(c(Q15617994),P706,c(Q15324))
action approx
action find_tuple_counts
relation P706
type Q15617994
type Q15324
action count
action filter_type
action find
entity Q518171
relation P706
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P706', {'concept': 'Q15324'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { resource:Q518171 property:P706 ?r . ?r rdf:type ontology:Q15617994 } } . FILTER ( ?q = ?a ) . { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?q ) WHERE { ?j property:P706 ?m . ?j rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15324 } GROUP BY ?j } }
Yemen Leivathos Langen Zagori Oberhof Chionata Rankwitz Loucha Agioi Pantes Haundorf Muhr am See Sithonia Hohenwarte Nebel Sasbach People's Republic of China Dominica Norddorf auf Amrum Dominican Republic Amberg Spalt List auf Sylt Pfofeld Epanochori, Cephalonia Pleinfeld Croisset Bergen Sardinia Oberscheuren Agios Dimitrios, Cephalonia Hilpoltstein Haiti Neu Wulmstorf Kaimig Galaro Magdala Moneglia Kampen Hippelsbach Trøllanes Kalamaki, Zakynthos Barbados Arginia Rosengarten Neuenhagen bei Berlin Samsø Burnt River, Ontario Wenningstedt-Braderup Hydra Finland Brunei Drestedt Röttenbach, Roth Saudi Arabia Pyramiden Davgata Undeloh Eichstätt Nenndorf Kleinmachnow Forbach Avlida Kochenbach Aschaffenburg United Kingdom Abstatt Ireland Kelheim Erden Exo Chora Western New Guinea Bad Salzungen Malcesine Natal Riedenburg Agios Nikolaos, Cephalonia Loire-Atlantique Absberg Makryotika Lagopodo Allersberg Cyprus Ano Gerakari Sirmione Duchy of Holstein Sylt Vasilikades Karlshagen Wittdün auf Amrum Trinidad and Tobago Kipfenberg Digaleto Hörnum Südeichsfeld Buchholz in der Nordheide Vetralla Füssen Kalipado Nürburg Bayreuth Teglkås Divarata Braunlage Niederscheuren Saint Lucia Michata Ellhofen Pylaros Bardolino Sonning Eye Kirchlinteln Rangsdorf Wintersberg Ba District Lindau Pantelleria Xenopoulo Unterschwaningen Elatia Wenzendorf Artemisia Arkadioi
People's Republic of China United Kingdom Yemen
action approx
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type body of water
action count
action filter_type
action find
entity Ellhofen
relation located on terrain feature
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', {'concept': 'body of water'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { resource:Ellhofen property:located_on_terrain_feature ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?q = ?a ) . { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?q ) WHERE { ?j property:located_on_terrain_feature ?m . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:body_of_water } GROUP BY ?j } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q551656
P530
Q15617994
USER
Do Dellstedt have diplomatic associations with those ones ?
(Q551656,P530,Q148) (Q551656,P530,Q145) (Q551656,P530,Q805)
action is_in
entity prev_answer
action find
entity Q551656
relation P530
['Q551656', 'P530', 'Q148'] ['Q551656', 'P530', 'Q145'] ['Q551656', 'P530', 'Q805']
ASK WHERE { VALUES ( ?b ) { ( resource:Q805 ) ( resource:Q1070686 ) ( resource:Q695445 ) } . resource:Q551656 property:P530 ?b }
Dellstedt
action is_in
entity prev_answer
action find
entity Dellstedt
relation diplomatic relation
['Dellstedt', 'diplomatic relation', "People's Republic of China"] ['Dellstedt', 'diplomatic relation', 'United Kingdom'] ['Dellstedt', 'diplomatic relation', 'Yemen']
ASK WHERE { VALUES ( ?b ) { ( resource:Yemen ) ( resource:Leivathos ) ( resource:Langen ) } . resource:Dellstedt property:diplomatic_relation ?b }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q551656,P530,Q148) (Q551656,P530,Q145) (Q551656,P530,Q805)
action is_in
entity prev_answer
action find
entity Q551656
relation P530
[ANSWER]
['Q551656', 'P530', 'Q148'] ['Q551656', 'P530', 'Q145'] ['Q551656', 'P530', 'Q805']
ASK WHERE { VALUES ( ?b ) { ( resource:Q805 ) ( resource:Q1070686 ) ( resource:Q695445 ) } . resource:Q551656 property:P530 ?b }
No
action is_in
entity prev_answer
action find
entity Dellstedt
relation diplomatic relation
['Dellstedt', 'diplomatic relation', "People's Republic of China"] ['Dellstedt', 'diplomatic relation', 'United Kingdom'] ['Dellstedt', 'diplomatic relation', 'Yemen']
ASK WHERE { VALUES ( ?b ) { ( resource:Yemen ) ( resource:Leivathos ) ( resource:Langen ) } . resource:Dellstedt property:diplomatic_relation ?b }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q148 Q805
P530
Q15617994
USER
Does Yemen have diplomatic relationships with People's Republic of China ?
(Q148,P530,Q805)
action is_in
entity Q805
action find
entity Q148
relation P530
['Q148', 'P530', 'Q805']
ASK WHERE { resource:Q148 property:P530 resource:Q805 }
People's Republic of China Yemen
action is_in
entity Yemen
action find
entity People's Republic of China
relation diplomatic relation
["People's Republic of China", 'diplomatic relation', 'Yemen']
ASK WHERE { resource:People's_Republic_of_China property:diplomatic_relation resource:Yemen }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q148,P530,Q805)
action is_in
entity Q805
action find
entity Q148
relation P530
[ANSWER]
['Q148', 'P530', 'Q805']
ASK WHERE { resource:Q148 property:P530 resource:Q805 }
Yes
action is_in
entity Yemen
action find
entity People's Republic of China
relation diplomatic relation
["People's Republic of China", 'diplomatic relation', 'Yemen']
ASK WHERE { resource:People's_Republic_of_China property:diplomatic_relation resource:Yemen }
[]