Simple Question (Direct)
Simple Question
Q748017
P17
Q15617994
USER
Which administrative territory is Bouvante located in ?
(Q748017,P17,c(Q15617994))
action filter_type
action find
entity Q748017
relation P17
type Q15617994
['Q748017', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q748017 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
Bouvante
action filter_type
action find
entity Bouvante
relation country
type designation for an administrative territorial entity
['Bouvante', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Bouvante property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q748017,P17,c(Q15617994))
action filter_type
action find
entity Q748017
relation P17
type Q15617994
Bouvante is located in [ANSWER]
['Q748017', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q748017 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
France
Bouvante is located in France
France
action filter_type
action find
entity Bouvante
relation country
type designation for an administrative territorial entity
['Bouvante', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Bouvante property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q748017
P47
Q20667921
USER
Which french administrative divisions have a shared border with that one ?
(Q142,P47,c(Q20667921))
action filter_type
action find
entity Q748017
relation P47
type Q20667921
['Q142', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?g WHERE { resource:Q748017 property:P47 ?g . ?g rdf:type ontology:Q20667921 }
Bouvante
action filter_type
action find
entity Bouvante
relation shares border with
type type of french administrative division
['France', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?g WHERE { resource:Bouvante property:shares_border_with ?g . ?g rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q524056 Q649328 Q844760
SYSTEM
Saint-Jean-en-Royans, Léoncel, La Chapelle-en-Vercors
Q524056 Q593057 Q649328 Q266211 Q844760 Q949689 Q266217 Q1014990 Q529993
(Q142,P47,c(Q20667921))
action filter_type
action find
entity Q748017
relation P47
type Q20667921
[ANSWERS] have a shared border with that one
['Q142', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?g WHERE { resource:Q748017 property:P47 ?g . ?g rdf:type ontology:Q20667921 }
Saint-Jean-en-Royans Omblèze Léoncel Vassieux-en-Vercors La Chapelle-en-Vercors Saint-Julien-en-Quint Saint-Martin-le-Colonel Oriol-en-Royans Saint-Laurent-en-Royans
Saint-Jean-en-Royans, Léoncel and La Chapelle-en-Vercors have a shared border with that one
Saint-Jean-en-Royans Léoncel La Chapelle-en-Vercors
action filter_type
action find
entity Bouvante
relation shares border with
type type of french administrative division
['France', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?g WHERE { resource:Bouvante property:shares_border_with ?g . ?g rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q142
P47
Q515 Q7275
USER
How many cities or states have a shared border with France ?
(Q142,P47,c(Q515)) (Q142,P47,c(Q7275))
action count
action union
action filter_type
action find
entity Q142
relation P47
type Q515
action filter_type
action find
entity Q142
relation P47
type Q7275
['Q142', 'P47', {'concept': 'Q515'}] ['Q142', 'P47', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { VALUES ( ?a ) { ( ontology:Q515 ) ( ontology:Q7275 ) } . ?v rdf:type ?a }
France
action count
action union
action filter_type
action find
entity France
relation shares border with
type city
action filter_type
action find
entity France
relation shares border with
type state
['France', 'shares border with', {'concept': 'city'}] ['France', 'shares border with', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { VALUES ( ?a ) { ( ontology:city ) ( ontology:state ) } . ?v rdf:type ?a }
[]
city state
SYSTEM
5
Q235 Q153943 Q25227 Q26273 Q3456417
(Q142,P47,c(Q515)) (Q142,P47,c(Q7275))
action count
action union
action filter_type
action find
entity Q142
relation P47
type Q515
action filter_type
action find
entity Q142
relation P47
type Q7275
[ANSWER]
['Q142', 'P47', {'concept': 'Q515'}] ['Q142', 'P47', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { VALUES ( ?a ) { ( ontology:Q515 ) ( ontology:Q7275 ) } . ?v rdf:type ?a }
Monaco Kingdom of Westphalia Netherlands Antilles Sint Maarten Republic of Saint-Malo
5
action count
action union
action filter_type
action find
entity France
relation shares border with
type city
action filter_type
action find
entity France
relation shares border with
type state
['France', 'shares border with', {'concept': 'city'}] ['France', 'shares border with', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { VALUES ( ?a ) { ( ontology:city ) ( ontology:state ) } . ?v rdf:type ?a }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q6848488 Q142
P530 P27
Q15617994
USER
Which administrative territories have diplomatic relations with France or are the countries of citizenship of Mike Quinn ?
OR((Q142,P530,c(Q15617994)), (Q6848488,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q142
relation P530
action find
entity Q6848488
relation P27
type Q15617994
{'OR': [['Q142', 'P530', {'concept': 'Q15617994'}], ['Q6848488', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q142 property:P530 ?s } UNION { resource:Q6848488 property:P27 ?s } } . ?s rdf:type ontology:Q15617994 }
Mike Quinn France
action filter_type
action union
action find
entity France
relation diplomatic relation
action find
entity Mike Quinn
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['France', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Mike Quinn', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:France property:diplomatic_relation ?s } UNION { resource:Mike_Quinn property:country_of_citizenship ?s } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q403 Q399 Q145 Q17 Q27 Q155 Q711 Q38 Q801 Q1011
SYSTEM
Some of them are Serbia, Armenia, United Kingdom, Japan, Ireland, Brazil, Mongolia, Italy, Israel, Cape Verde
Q711 Q159 Q222 Q801 Q145 Q155 Q1011 Q228 Q32 Q17 Q30 Q399 Q27 Q403 Q38
OR((Q142,P530,c(Q15617994)), (Q6848488,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q142
relation P530
action find
entity Q6848488
relation P27
type Q15617994
[ANSWERS] have diplomatic relations with France or are the countries of citizenship of Mike Quinn
{'OR': [['Q142', 'P530', {'concept': 'Q15617994'}], ['Q6848488', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q142 property:P530 ?s } UNION { resource:Q6848488 property:P27 ?s } } . ?s rdf:type ontology:Q15617994 }
Mongolia Russia Albania Israel United Kingdom Brazil Cape Verde Andorra Luxembourg Japan United States of America Armenia Ireland Serbia Italy
Serbia, Armenia, United Kingdom, Japan, Ireland, Brazil, Mongolia, Italy, Israel and Cape Verde have diplomatic relations with France or are the countries of citizenship of Mike Quinn
Serbia Armenia United Kingdom Japan Ireland Brazil Mongolia Italy Israel Cape Verde
action filter_type
action union
action find
entity France
relation diplomatic relation
action find
entity Mike Quinn
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['France', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Mike Quinn', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:France property:diplomatic_relation ?s } UNION { resource:Mike_Quinn property:country_of_citizenship ?s } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q34871
P530
Q15617994
USER
Do Brusson have ambassadorial relations with those ones ?
(Q34871,P530,Q403) (Q34871,P530,Q399) (Q34871,P530,Q145) (Q34871,P530,Q17) (Q34871,P530,Q27) (Q34871,P530,Q155) (Q34871,P530,Q711) (Q34871,P530,Q38) (Q34871,P530,Q801) (Q34871,P530,Q1011)
action is_in
entity prev_answer
action find
entity Q34871
relation P530
['Q34871', 'P530', 'Q403'] ['Q34871', 'P530', 'Q399'] ['Q34871', 'P530', 'Q145'] ['Q34871', 'P530', 'Q17'] ['Q34871', 'P530', 'Q27'] ['Q34871', 'P530', 'Q155'] ['Q34871', 'P530', 'Q711'] ['Q34871', 'P530', 'Q38'] ['Q34871', 'P530', 'Q801'] ['Q34871', 'P530', 'Q1011']
ASK WHERE { VALUES ( ?u ) { ( resource:Q711 ) ( resource:Q159 ) ( resource:Q222 ) } . resource:Q34871 property:P530 ?u }
Brusson
action is_in
entity prev_answer
action find
entity Brusson
relation diplomatic relation
['Brusson', 'diplomatic relation', 'Serbia'] ['Brusson', 'diplomatic relation', 'Armenia'] ['Brusson', 'diplomatic relation', 'United Kingdom'] ['Brusson', 'diplomatic relation', 'Japan'] ['Brusson', 'diplomatic relation', 'Ireland'] ['Brusson', 'diplomatic relation', 'Brazil'] ['Brusson', 'diplomatic relation', 'Mongolia'] ['Brusson', 'diplomatic relation', 'Italy'] ['Brusson', 'diplomatic relation', 'Israel'] ['Brusson', 'diplomatic relation', 'Cape Verde']
ASK WHERE { VALUES ( ?u ) { ( resource:Mongolia ) ( resource:Russia ) ( resource:Albania ) } . resource:Brusson property:diplomatic_relation ?u }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q34871,P530,Q403) (Q34871,P530,Q399) (Q34871,P530,Q145) (Q34871,P530,Q17) (Q34871,P530,Q27) (Q34871,P530,Q155) (Q34871,P530,Q711) (Q34871,P530,Q38) (Q34871,P530,Q801) (Q34871,P530,Q1011)
action is_in
entity prev_answer
action find
entity Q34871
relation P530
[ANSWER]
['Q34871', 'P530', 'Q403'] ['Q34871', 'P530', 'Q399'] ['Q34871', 'P530', 'Q145'] ['Q34871', 'P530', 'Q17'] ['Q34871', 'P530', 'Q27'] ['Q34871', 'P530', 'Q155'] ['Q34871', 'P530', 'Q711'] ['Q34871', 'P530', 'Q38'] ['Q34871', 'P530', 'Q801'] ['Q34871', 'P530', 'Q1011']
ASK WHERE { VALUES ( ?u ) { ( resource:Q711 ) ( resource:Q159 ) ( resource:Q222 ) } . resource:Q34871 property:P530 ?u }
No
action is_in
entity prev_answer
action find
entity Brusson
relation diplomatic relation
['Brusson', 'diplomatic relation', 'Serbia'] ['Brusson', 'diplomatic relation', 'Armenia'] ['Brusson', 'diplomatic relation', 'United Kingdom'] ['Brusson', 'diplomatic relation', 'Japan'] ['Brusson', 'diplomatic relation', 'Ireland'] ['Brusson', 'diplomatic relation', 'Brazil'] ['Brusson', 'diplomatic relation', 'Mongolia'] ['Brusson', 'diplomatic relation', 'Italy'] ['Brusson', 'diplomatic relation', 'Israel'] ['Brusson', 'diplomatic relation', 'Cape Verde']
ASK WHERE { VALUES ( ?u ) { ( resource:Mongolia ) ( resource:Russia ) ( resource:Albania ) } . resource:Brusson property:diplomatic_relation ?u }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1011
P495
Q1002697 Q2424752
USER
How many periodical literatures and products have Cape Verde as their place of origin ?
(c(Q1002697),P495,Q1011) (c(Q2424752),P495,Q1011)
action count
action union
action filter_type
action find_reverse
entity Q1011
relation P495
type Q1002697
action filter_type
action find_reverse
entity Q1011
relation P495
type Q2424752
[{'concept': 'Q1002697'}, 'P495', 'Q1011'] [{'concept': 'Q2424752'}, 'P495', 'Q1011']
SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { { ?u property:P495 resource:Q1011 . ?u rdf:type ontology:Q1002697 } UNION { ?u property:P495 resource:Q1011 . ?u rdf:type ontology:Q2424752 } }
Cape Verde
action count
action union
action filter_type
action find_reverse
entity Cape Verde
relation country of origin
type periodical literature
action filter_type
action find_reverse
entity Cape Verde
relation country of origin
type product
[{'concept': 'periodical literature'}, 'country of origin', 'Cape Verde'] [{'concept': 'product'}, 'country of origin', 'Cape Verde']
SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { { ?u property:country_of_origin resource:Cape_Verde . ?u rdf:type ontology:periodical_literature } UNION { ?u property:country_of_origin resource:Cape_Verde . ?u rdf:type ontology:product } }
[]
periodical literature product
SYSTEM
1 periodical literatures and 1 products
Q4939470 Q2638622
(c(Q1002697),P495,Q1011) (c(Q2424752),P495,Q1011)
action count
action union
action filter_type
action find_reverse
entity Q1011
relation P495
type Q1002697
action filter_type
action find_reverse
entity Q1011
relation P495
type Q2424752
[ANSWER]
[{'concept': 'Q1002697'}, 'P495', 'Q1011'] [{'concept': 'Q2424752'}, 'P495', 'Q1011']
SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { { ?u property:P495 resource:Q1011 . ?u rdf:type ontology:Q1002697 } UNION { ?u property:P495 resource:Q1011 . ?u rdf:type ontology:Q2424752 } }
Bolinhos de mandioca com mel Claridade
1 periodical literatures and 1 products
action count
action union
action filter_type
action find_reverse
entity Cape Verde
relation country of origin
type periodical literature
action filter_type
action find_reverse
entity Cape Verde
relation country of origin
type product
[{'concept': 'periodical literature'}, 'country of origin', 'Cape Verde'] [{'concept': 'product'}, 'country of origin', 'Cape Verde']
SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { { ?u property:country_of_origin resource:Cape_Verde . ?u rdf:type ontology:periodical_literature } UNION { ?u property:country_of_origin resource:Cape_Verde . ?u rdf:type ontology:product } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17
P361
Q271669
USER
Which landform is a portion of Japan ?
(c(Q271669),P361,Q17)
action filter_type
action find_reverse
entity Q17
relation P361
type Q271669
[{'concept': 'Q271669'}, 'P361', 'Q17']
SELECT DISTINCT ?g WHERE { ?g property:P361 resource:Q17 . ?g rdf:type ontology:Q271669 }
Japan
action filter_type
action find_reverse
entity Japan
relation part of
type landform
[{'concept': 'landform'}, 'part of', 'Japan']
SELECT DISTINCT ?g WHERE { ?g property:part_of resource:Japan . ?g rdf:type ontology:landform }
[]
landform
Q13989
SYSTEM
Honshu
Q13989
(c(Q271669),P361,Q17)
action filter_type
action find_reverse
entity Q17
relation P361
type Q271669
In [ANSWER] is a portion of Japan
[{'concept': 'Q271669'}, 'P361', 'Q17']
SELECT DISTINCT ?g WHERE { ?g property:P361 resource:Q17 . ?g rdf:type ontology:Q271669 }
Honshu
In Honshu is a portion of Japan
Honshu
action filter_type
action find_reverse
entity Japan
relation part of
type landform
[{'concept': 'landform'}, 'part of', 'Japan']
SELECT DISTINCT ?g WHERE { ?g property:part_of resource:Japan . ?g rdf:type ontology:landform }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q13989
P706
Q15324
USER
Which bodies of water are that landform located on ?
(Q13989,P706,c(Q15324))
action filter_type
action find
entity Q13989
relation P706
type Q15324
['Q13989', 'P706', {'concept': 'Q15324'}]
SELECT DISTINCT ?c WHERE { resource:Q13989 property:P706 ?c . ?c rdf:type ontology:Q15324 }
Honshu
action filter_type
action find
entity Honshu
relation located on terrain feature
type body of water
['Honshu', 'located on terrain feature', {'concept': 'body of water'}]
SELECT DISTINCT ?c WHERE { resource:Honshu property:located_on_terrain_feature ?c . ?c rdf:type ontology:body_of_water }
[]
body of water
Q27092 Q231312
SYSTEM
Sea of Japan, Seto Inland Sea
Q27092 Q231312
(Q13989,P706,c(Q15324))
action filter_type
action find
entity Q13989
relation P706
type Q15324
That landform are located in [ANSWERS]
['Q13989', 'P706', {'concept': 'Q15324'}]
SELECT DISTINCT ?c WHERE { resource:Q13989 property:P706 ?c . ?c rdf:type ontology:Q15324 }
Sea of Japan Seto Inland Sea
That landform are located in Sea of Japan and Seto Inland Sea
Sea of Japan Seto Inland Sea
action filter_type
action find
entity Honshu
relation located on terrain feature
type body of water
['Honshu', 'located on terrain feature', {'concept': 'body of water'}]
SELECT DISTINCT ?c WHERE { resource:Honshu property:located_on_terrain_feature ?c . ?c rdf:type ontology:body_of_water }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P206
Q15324 Q1048835 Q56061
USER
Which bodies of water are located in the neighbourhood of greater number of political territories or administrative territories than that body of water ?
(c(Q1048835)|c(Q56061),P206,c(Q15324))
[[{'concept': 'Q1048835'}, {'concept': 'Q56061'}], 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P206 ?y } UNION { ?x property:P206 ?y } } . ?z rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q15324 . ?x rdf:type ontology:Q56061 }
[[{'concept': 'political territorial entity'}, {'concept': 'administrative territorial entity'}], 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ?y WHERE { { { ?z property:located_next_to_body_of_water ?y } UNION { ?x property:located_next_to_body_of_water ?y } } . ?z rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:body_of_water . ?x rdf:type ontology:administrative_territorial_entity }
[]
body of water political territorial entity administrative territorial entity
Comparative|More/Less|Mult. entity type|Clarification
Q231312
SYSTEM
Did you mean Seto Inland Sea ?
(c(Q1048835)|c(Q56061),P206,c(Q15324))
[ANSWER]
[[{'concept': 'Q1048835'}, {'concept': 'Q56061'}], 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P206 ?y } UNION { ?x property:P206 ?y } } . ?z rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q15324 . ?x rdf:type ontology:Q56061 }
Did you mean Seto Inland Sea ?
Seto Inland Sea
[[{'concept': 'political territorial entity'}, {'concept': 'administrative territorial entity'}], 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ?y WHERE { { { ?z property:located_next_to_body_of_water ?y } UNION { ?x property:located_next_to_body_of_water ?y } } . ?z rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:body_of_water . ?x rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (All)
USER
No, I meant Sea of Japan. Could you tell me the answer for that?
(c(Q1048835)|c(Q56061),P206,c(Q15324))
Q27092
[[{'concept': 'Q1048835'}, {'concept': 'Q56061'}], 'P206', {'concept': 'Q15324'}]
[[{'concept': 'political territorial entity'}, {'concept': 'administrative territorial entity'}], 'located next to body of water', {'concept': 'body of water'}]
[]
Q37660 Q35827 Q171510
SYSTEM
South China Sea, Río de la Plata, Banda Sea
Q22699522 Q12630 Q2216091 Q38684 Q2090594 Q934883 Q10604380 Q41430 Q894564 Q211779 Q13924 Q58705 Q3503114 Q844799 Q199479 Q210855 Q13234218 Q171510 Q3321555 Q4399477 Q502233 Q867460 Q747189 Q38882 Q76925 Q876470 Q5413918 Q232264 Q243125 Q11875916 Q5575811 Q41837 Q1185210 Q667456 Q1294277 Q648317 Q1426232 Q803683 Q2879616 Q540179 Q7589882 Q1693 Q160194 Q1134899 Q1254743 Q317006 Q2393002 Q544914 Q35827 Q474708 Q1043510 Q494927 Q37495 Q15981924 Q1679819 Q14686 Q3235968 Q312433 Q4161995 Q913418 Q19270 Q3059075 Q2879752 Q242326 Q6725749 Q150370 Q1649939 Q132868 Q1536321 Q4176307 Q188203 Q23883 Q589528 Q326170 Q34675 Q35000 Q545 Q1247 Q49364 Q1064776 Q41735 Q37660 Q128880 Q3395428 Q4874196 Q774759 Q392623
(c(Q1048835)|c(Q56061),P206,c(Q15324))
[ANSWERS] are located in the neighbourhood of greater number of political territories or administrative territories than that body of water
[[{'concept': 'Q1048835'}, {'concept': 'Q56061'}], 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P206 ?y } UNION { ?x property:P206 ?y } } . ?z rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q15324 . ?x rdf:type ontology:Q56061 }
Seymour Arm Gulf of Mexico Salzhaff Bay of Bengal Cantabrian Sea Gulf of Patras Nybroviken Gulf of Guinea Boston Harbor Saronic Gulf Adriatic Sea Arabian Sea Gabon Estuary Gulf of Paria Solomon Sea Ceram Sea Bothnian Bay Banda Sea Placentia Bay Rudnaya Southampton Water Long Island Sound Cardigan Bay Tyrrhenian Sea Venetian Lagoon Gulf of Maine Kempeleenlahti San Francisco Bay Lincoln Sea Liminka Bay God Bay Gulf of Aden Pagasetic Gulf Oslofjord Lower New York Bay Argolic Gulf St Brides Bay Bay of Cárdenas Caernarfon Bay Camotes Sea St. Margarets Bay North Sea Sulu Sea Maputo Bay Gulf of Papua Bay of Mecklenburg Gulf of Odessa Laccadive Sea Río de la Plata Visayan Sea Carmarthen Bay Peter the Great Gulf Ionian Sea Window Bay Jamaica Bay Gulf of Finland Swansea Bay Schlei Maxwell Bay Thermaic Gulf Celebes Sea Thames Estuary Conception Bay Bohol Sea Mactan Channel Flores Sea Bothnian Sea Greenland Sea Gulf of Fethiye Saltsjön Bristol Channel Dead Sea Ussuri Bay Bay of Pomerania Persian Gulf Sea of Azov Baltic Sea Caribbean Sea Java Sea Upper New York Bay Irish Sea South China Sea Arafura Sea Liverpool Bay Bay of Exploits Portage Glacier Samar Sea
South China Sea, Río de la Plata and Banda Sea are located in the neighbourhood of greater number of political territories or administrative territories than that body of water
South China Sea Río de la Plata Banda Sea
[[{'concept': 'political territorial entity'}, {'concept': 'administrative territorial entity'}], 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ?y WHERE { { { ?z property:located_next_to_body_of_water ?y } UNION { ?x property:located_next_to_body_of_water ?y } } . ?z rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:body_of_water . ?x rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q2364593
P706
Q107425 Q15324
USER
How many landscapes are lesser number of bodies of water located on than Sulitelma ?
(c(Q15324),P706,c(Q107425))
action count
action less
action find_reverse_tuple_counts
relation P706
type Q107425
type Q15324
action count
action filter_type
action find_reverse
entity Q2364593
relation P706
type Q15324
[{'concept': 'Q15324'}, 'P706', {'concept': 'Q107425'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) WHERE { ?s property:P706 resource:Q2364593 . ?s rdf:type ontology:Q15324 } } . FILTER ( ?m < ?e ) . { SELECT DISTINCT ?c ( COUNT ( ?n ) AS ?m ) WHERE { ?n property:P706 ?c . ?c rdf:type ontology:Q107425 . ?n rdf:type ontology:Q15324 } GROUP BY ?c } }
Sulitelma
action count
action less
action find_reverse_tuple_counts
relation located on terrain feature
type landscape
type body of water
action count
action filter_type
action find_reverse
entity Sulitelma
relation located on terrain feature
type body of water
[{'concept': 'body of water'}, 'located on terrain feature', {'concept': 'landscape'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) WHERE { ?s property:located_on_terrain_feature resource:Sulitelma . ?s rdf:type ontology:body_of_water } } . FILTER ( ?m < ?e ) . { SELECT DISTINCT ?c ( COUNT ( ?n ) AS ?m ) WHERE { ?n property:located_on_terrain_feature ?c . ?c rdf:type ontology:landscape . ?n rdf:type ontology:body_of_water } GROUP BY ?c } }
[]
landscape body of water
SYSTEM
104
Q537749 Q5238909 Q3593572 Q201698 Q184355 Q218907 Q205711 Q171132 Q3628422 Q6549341 Q1133595 Q122641 Q46623 Q7361436 Q26399 Q1371403 Q83788 Q3437341 Q181528 Q3182351 Q15622837 Q8534941 Q5053601 Q3298193 Q47141 Q846021 Q189429 Q1670250 Q3803 Q152704 Q2618638 Q1124865 Q140298 Q170383 Q3297553 Q303431 Q1142129 Q271674 Q925906 Q152928 Q6583 Q17140346 Q162843 Q93259 Q116693 Q2860207 Q1384782 Q1283 Q202207 Q855658 Q11767 Q775944 Q46772 Q119206 Q472207 Q202816 Q924257 Q10688475 Q5312305 Q3237 Q38272 Q7592509 Q211436 Q12707 Q172691 Q6379939 Q5467845 Q5951207 Q924897 Q645941 Q140948 Q634740 Q829084 Q212520 Q620481 Q1127200 Q19730761 Q2135927 Q1919137 Q205695 Q2280216 Q207383 Q128172 Q586512 Q192626 Q75596 Q38095 Q180209 Q81052 Q118350 Q797807 Q292647 Q23011164 Q653732 Q172702 Q753719 Q272521 Q1348763 Q15139 Q118920 Q913470 Q1252239 Q25046183 Q304679
(c(Q15324),P706,c(Q107425))
action count
action less
action find_reverse_tuple_counts
relation P706
type Q107425
type Q15324
action count
action filter_type
action find_reverse
entity Q2364593
relation P706
type Q15324
[ANSWER]
[{'concept': 'Q15324'}, 'P706', {'concept': 'Q107425'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) WHERE { ?s property:P706 resource:Q2364593 . ?s rdf:type ontology:Q15324 } } . FILTER ( ?m < ?e ) . { SELECT DISTINCT ?c ( COUNT ( ?n ) AS ?m ) WHERE { ?n property:P706 ?c . ?c rdf:type ontology:Q107425 . ?n rdf:type ontology:Q15324 } GROUP BY ?c } }
Florida Keys Svenska Högarna Apostle Islands Crozet Islands Mojave Desert Sharon Plain Solovetsky Islands Cyclades Madeira Islands Limestone Massif Meridiani Planum Lechquellen Mountains Prince Edward Islands Rolwaling Himal Hoggar Mountains Similan Islands Cordillera Central Roc de Chère National Nature Reserve Libyan Desert Plain of the Cul-de-Sac Guaniguanico Cerro de la Neblina Cato Reef Borg Massif Atacama Desert Southern Coral Group Sonoran Desert Jenolan Caves Lesser Sunda Islands Gailtal Alps Upland Minsk Kantō Plain Windward Islands Aïr Mountains Amargosa Desert Ufenau Pearl Islands Phoenix Islands Colorado Plateau Carnic Prealps Sahara Ko Yao archipelago Negev Lesser Antilles Esjan Queen Adelaide Archipelago Tanezrouft Dolomites Po Valley Chihuahuan Desert Mesopotamia Bărăgan Plain Kerguelen Islands Julian Alps Amirante Islands Stora Alvaret Mahalangur Himal Söderarm archipelago Dufek Massif Rügen British Isles St Anthony Head Visayas Great Plains Thar Desert Kawdy Plateau Ford Massif Huvudskär Seychelles Inner Islands Argentine Islands South Shetland Islands Comoros Islands Vegaøyan Lower Rhine Plain Alphonse Group Louisiade Archipelago Phraya Nakhon Cave Red Centre Melchior Islands Mascarene Islands Gran Paradiso massif South Orkney Islands Île d'Orléans Morvan Hawaiian Islands Laurentian Mountains Galápagos Islands Isles of Scilly Inner Hebrides Caroline Islands Babuyan Islands Petite Terre Islands Canso Islands Lubusz Land Karakum Desert Fjäderholmarna Ténéré Magdalen Islands Diablerets Society Islands Loyalty Islands Hochelaga Archipelago Surin Islands Palmer Archipelago
104
action count
action less
action find_reverse_tuple_counts
relation located on terrain feature
type landscape
type body of water
action count
action filter_type
action find_reverse
entity Sulitelma
relation located on terrain feature
type body of water
[{'concept': 'body of water'}, 'located on terrain feature', {'concept': 'landscape'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) WHERE { ?s property:located_on_terrain_feature resource:Sulitelma . ?s rdf:type ontology:body_of_water } } . FILTER ( ?m < ?e ) . { SELECT DISTINCT ?c ( COUNT ( ?n ) AS ?m ) WHERE { ?n property:located_on_terrain_feature ?c . ?c rdf:type ontology:landscape . ?n rdf:type ontology:body_of_water } GROUP BY ?c } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q1283
P706
Q107425 Q15324
USER
And also tell me about Dolomites?
(c(Q15324),P706,c(Q107425))
action count
action less
action find_reverse_tuple_counts
relation P706
type Q107425
type Q15324
action count
action filter_type
action find_reverse
entity Q1283
relation P706
type Q15324
[{'concept': 'Q15324'}, 'P706', {'concept': 'Q107425'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?l ) AS ?c ) WHERE { ?l property:P706 ?h . ?l rdf:type ontology:Q15324 . ?h rdf:type ontology:Q107425 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { ?g property:P706 resource:Q1283 . ?g rdf:type ontology:Q15324 } } . FILTER ( ?c < ?d ) }
Dolomites
action count
action less
action find_reverse_tuple_counts
relation located on terrain feature
type landscape
type body of water
action count
action filter_type
action find_reverse
entity Dolomites
relation located on terrain feature
type body of water
[{'concept': 'body of water'}, 'located on terrain feature', {'concept': 'landscape'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?l ) AS ?c ) WHERE { ?l property:located_on_terrain_feature ?h . ?l rdf:type ontology:body_of_water . ?h rdf:type ontology:landscape } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { ?g property:located_on_terrain_feature resource:Dolomites . ?g rdf:type ontology:body_of_water } } . FILTER ( ?c < ?d ) }
[]
landscape body of water
SYSTEM
99
Q537749 Q5238909 Q3593572 Q201698 Q184355 Q218907 Q205711 Q171132 Q3628422 Q6549341 Q1133595 Q122641 Q46623 Q7361436 Q26399 Q1371403 Q83788 Q3437341 Q181528 Q3182351 Q15622837 Q8534941 Q5053601 Q3298193 Q47141 Q846021 Q189429 Q1670250 Q3803 Q152704 Q2618638 Q1124865 Q140298 Q170383 Q3297553 Q303431 Q1142129 Q271674 Q925906 Q152928 Q6583 Q17140346 Q162843 Q93259 Q116693 Q2860207 Q1384782 Q202207 Q855658 Q11767 Q775944 Q46772 Q119206 Q472207 Q202816 Q10688475 Q5312305 Q38272 Q7592509 Q211436 Q12707 Q172691 Q6379939 Q5467845 Q5951207 Q924897 Q645941 Q634740 Q829084 Q212520 Q620481 Q1127200 Q19730761 Q2135927 Q1919137 Q205695 Q2280216 Q207383 Q128172 Q586512 Q192626 Q75596 Q38095 Q180209 Q81052 Q118350 Q797807 Q292647 Q23011164 Q653732 Q172702 Q753719 Q272521 Q1348763 Q118920 Q913470 Q1252239 Q25046183 Q304679
(c(Q15324),P706,c(Q107425))
action count
action less
action find_reverse_tuple_counts
relation P706
type Q107425
type Q15324
action count
action filter_type
action find_reverse
entity Q1283
relation P706
type Q15324
[ANSWER]
[{'concept': 'Q15324'}, 'P706', {'concept': 'Q107425'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?l ) AS ?c ) WHERE { ?l property:P706 ?h . ?l rdf:type ontology:Q15324 . ?h rdf:type ontology:Q107425 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { ?g property:P706 resource:Q1283 . ?g rdf:type ontology:Q15324 } } . FILTER ( ?c < ?d ) }
Florida Keys Svenska Högarna Apostle Islands Crozet Islands Mojave Desert Sharon Plain Solovetsky Islands Cyclades Madeira Islands Limestone Massif Meridiani Planum Lechquellen Mountains Prince Edward Islands Rolwaling Himal Hoggar Mountains Similan Islands Cordillera Central Roc de Chère National Nature Reserve Libyan Desert Plain of the Cul-de-Sac Guaniguanico Cerro de la Neblina Cato Reef Borg Massif Atacama Desert Southern Coral Group Sonoran Desert Jenolan Caves Lesser Sunda Islands Gailtal Alps Upland Minsk Kantō Plain Windward Islands Aïr Mountains Amargosa Desert Ufenau Pearl Islands Phoenix Islands Colorado Plateau Carnic Prealps Sahara Ko Yao archipelago Negev Lesser Antilles Esjan Queen Adelaide Archipelago Tanezrouft Po Valley Chihuahuan Desert Mesopotamia Bărăgan Plain Kerguelen Islands Julian Alps Amirante Islands Stora Alvaret Söderarm archipelago Dufek Massif British Isles St Anthony Head Visayas Great Plains Thar Desert Kawdy Plateau Ford Massif Huvudskär Seychelles Inner Islands Argentine Islands Comoros Islands Vegaøyan Lower Rhine Plain Alphonse Group Louisiade Archipelago Phraya Nakhon Cave Red Centre Melchior Islands Mascarene Islands Gran Paradiso massif South Orkney Islands Île d'Orléans Morvan Hawaiian Islands Laurentian Mountains Galápagos Islands Isles of Scilly Inner Hebrides Caroline Islands Babuyan Islands Petite Terre Islands Canso Islands Lubusz Land Karakum Desert Fjäderholmarna Ténéré Magdalen Islands Society Islands Loyalty Islands Hochelaga Archipelago Surin Islands Palmer Archipelago
99
action count
action less
action find_reverse_tuple_counts
relation located on terrain feature
type landscape
type body of water
action count
action filter_type
action find_reverse
entity Dolomites
relation located on terrain feature
type body of water
[{'concept': 'body of water'}, 'located on terrain feature', {'concept': 'landscape'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?l ) AS ?c ) WHERE { ?l property:located_on_terrain_feature ?h . ?l rdf:type ontology:body_of_water . ?h rdf:type ontology:landscape } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { ?g property:located_on_terrain_feature resource:Dolomites . ?g rdf:type ontology:body_of_water } } . FILTER ( ?c < ?d ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q7383948 Q171510
P27 P17
Q15617994
USER
Which administrative territories do Banda Sea belong to or are Ryan Chapman an inhabitant of ?
OR((Q171510,P17,c(Q15617994)), (Q7383948,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q171510
relation P17
action find
entity Q7383948
relation P27
type Q15617994
{'OR': [['Q171510', 'P17', {'concept': 'Q15617994'}], ['Q7383948', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q7383948 property:P27 ?r } UNION { resource:Q171510 property:P17 ?r } } . ?r rdf:type ontology:Q15617994 }
Ryan Chapman Banda Sea
action filter_type
action union
action find
entity Banda Sea
relation country
action find
entity Ryan Chapman
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Banda Sea', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Ryan Chapman', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Ryan_Chapman property:country_of_citizenship ?r } UNION { resource:Banda_Sea property:country ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q252 Q258
SYSTEM
Indonesia, South Africa
Q252 Q258
OR((Q171510,P17,c(Q15617994)), (Q7383948,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q171510
relation P17
action find
entity Q7383948
relation P27
type Q15617994
Banda Sea belong to or are Ryan Chapman an inhabitant of Indonesian [ANSWERS]
{'OR': [['Q171510', 'P17', {'concept': 'Q15617994'}], ['Q7383948', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q7383948 property:P27 ?r } UNION { resource:Q171510 property:P17 ?r } } . ?r rdf:type ontology:Q15617994 }
Indonesia South Africa
Banda Sea belong to or are Ryan Chapman an inhabitant of Indonesian Indonesia and South Africa
Indonesia South Africa
action filter_type
action union
action find
entity Banda Sea
relation country
action find
entity Ryan Chapman
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Banda Sea', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Ryan Chapman', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Ryan_Chapman property:country_of_citizenship ?r } UNION { resource:Banda_Sea property:country ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q206308
P530
Q1048835
USER
Do Cirauqui have ambassadorial relations with those administrative territories ?
(Q206308,P530,Q252) (Q206308,P530,Q258)
action is_in
entity prev_answer
action find
entity Q206308
relation P530
['Q206308', 'P530', 'Q252'] ['Q206308', 'P530', 'Q258']
ASK WHERE { resource:Q206308 property:P530 ?b . VALUES ( ?b ) { ( resource:Q252 ) ( resource:Q258 ) } }
Cirauqui
action is_in
entity prev_answer
action find
entity Cirauqui
relation diplomatic relation
['Cirauqui', 'diplomatic relation', 'Indonesia'] ['Cirauqui', 'diplomatic relation', 'South Africa']
ASK WHERE { resource:Cirauqui property:diplomatic_relation ?b . VALUES ( ?b ) { ( resource:Indonesia ) ( resource:South_Africa ) } }
[]
political territorial entity
SYSTEM
NO
(Q206308,P530,Q252) (Q206308,P530,Q258)
action is_in
entity prev_answer
action find
entity Q206308
relation P530
[ANSWER]
['Q206308', 'P530', 'Q252'] ['Q206308', 'P530', 'Q258']
ASK WHERE { resource:Q206308 property:P530 ?b . VALUES ( ?b ) { ( resource:Q252 ) ( resource:Q258 ) } }
No
action is_in
entity prev_answer
action find
entity Cirauqui
relation diplomatic relation
['Cirauqui', 'diplomatic relation', 'Indonesia'] ['Cirauqui', 'diplomatic relation', 'South Africa']
ASK WHERE { resource:Cirauqui property:diplomatic_relation ?b . VALUES ( ?b ) { ( resource:Indonesia ) ( resource:South_Africa ) } }
[]