Simple Question (Direct)
Simple Question
Q9048327
P400
Q241317
USER
What is the platform for which NFL Quarterback Club 98 was developed ?
(Q9048327,P400,c(Q241317))
action filter_type
action find
entity Q9048327
relation P400
type Q241317
['Q9048327', 'P400', {'concept': 'Q241317'}]
SELECT DISTINCT ?q WHERE { resource:Q9048327 property:P400 ?q . ?q rdf:type ontology:Q241317 }
NFL Quarterback Club 98
action filter_type
action find
entity NFL Quarterback Club 98
relation platform
type computing platform
['NFL Quarterback Club 98', 'platform', {'concept': 'computing platform'}]
SELECT DISTINCT ?q WHERE { resource:NFL_Quarterback_Club_98 property:platform ?q . ?q rdf:type ontology:computing_platform }
[]
computing platform
Q184839
SYSTEM
Nintendo 64
Q184839
(Q9048327,P400,c(Q241317))
action filter_type
action find
entity Q9048327
relation P400
type Q241317
[ANSWER]
['Q9048327', 'P400', {'concept': 'Q241317'}]
SELECT DISTINCT ?q WHERE { resource:Q9048327 property:P400 ?q . ?q rdf:type ontology:Q241317 }
Nintendo 64
Nintendo 64
Nintendo 64
action filter_type
action find
entity NFL Quarterback Club 98
relation platform
type computing platform
['NFL Quarterback Club 98', 'platform', {'concept': 'computing platform'}]
SELECT DISTINCT ?q WHERE { resource:NFL_Quarterback_Club_98 property:platform ?q . ?q rdf:type ontology:computing_platform }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9048327
P178
Q28640
USER
Who is credited with development of that application ?
(Q184839,P178,c(Q28640))
action filter_type
action find
entity Q9048327
relation P178
type Q28640
['Q184839', 'P178', {'concept': 'Q28640'}]
SELECT DISTINCT ?i WHERE { resource:Q9048327 property:P178 ?i . ?i rdf:type ontology:Q28640 }
NFL Quarterback Club 98
action filter_type
action find
entity NFL Quarterback Club 98
relation developer
type profession
['Nintendo 64', 'developer', {'concept': 'profession'}]
SELECT DISTINCT ?i WHERE { resource:NFL_Quarterback_Club_98 property:developer ?i . ?i rdf:type ontology:profession }
[]
profession
Q282658
SYSTEM
Acclaim Studios Austin
Q282658
(Q184839,P178,c(Q28640))
action filter_type
action find
entity Q9048327
relation P178
type Q28640
[ANSWER] is credited with development of that application
['Q184839', 'P178', {'concept': 'Q28640'}]
SELECT DISTINCT ?i WHERE { resource:Q9048327 property:P178 ?i . ?i rdf:type ontology:Q28640 }
Acclaim Studios Austin
Acclaim Studios Austin is credited with development of that application
Acclaim Studios Austin
action filter_type
action find
entity NFL Quarterback Club 98
relation developer
type profession
['Nintendo 64', 'developer', {'concept': 'profession'}]
SELECT DISTINCT ?i WHERE { resource:NFL_Quarterback_Club_98 property:developer ?i . ?i rdf:type ontology:profession }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9048327
P840
Q56061
USER
What location is that application set in ?
(Q282658,P840,c(Q56061))
action filter_type
action find
entity Q9048327
relation P840
type Q56061
['Q282658', 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q9048327 property:P840 ?q . ?q rdf:type ontology:Q56061 }
NFL Quarterback Club 98
action filter_type
action find
entity NFL Quarterback Club 98
relation narrative location
type administrative territorial entity
['Acclaim Studios Austin', 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:NFL_Quarterback_Club_98 property:narrative_location ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q61
SYSTEM
Washington, D.C.
Q61
(Q282658,P840,c(Q56061))
action filter_type
action find
entity Q9048327
relation P840
type Q56061
That application is set for [ANSWER]
['Q282658', 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q9048327 property:P840 ?q . ?q rdf:type ontology:Q56061 }
Washington, D.C.
That application is set for Washington, D.C.
Washington, D.C.
action filter_type
action find
entity NFL Quarterback Club 98
relation narrative location
type administrative territorial entity
['Acclaim Studios Austin', 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:NFL_Quarterback_Club_98 property:narrative_location ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q61
P1376
Q33837
USER
Which archipelago has that administrative territory as its capital ?
(Q61,P1376,c(Q33837))
action filter_type
action find
entity Q61
relation P1376
type Q33837
['Q61', 'P1376', {'concept': 'Q33837'}]
SELECT DISTINCT ?l WHERE { resource:Q61 property:P1376 ?l . ?l rdf:type ontology:Q33837 }
Washington, D.C.
action filter_type
action find
entity Washington, D.C.
relation capital of
type archipelago
['Washington, D.C.', 'capital of', {'concept': 'archipelago'}]
SELECT DISTINCT ?l WHERE { resource:Washington,_D.C. property:capital_of ?l . ?l rdf:type ontology:archipelago }
[]
archipelago
Q16645
SYSTEM
United States Minor Outlying Islands
Q16645
(Q61,P1376,c(Q33837))
action filter_type
action find
entity Q61
relation P1376
type Q33837
[ANSWER] has that administrative territory as its capital
['Q61', 'P1376', {'concept': 'Q33837'}]
SELECT DISTINCT ?l WHERE { resource:Q61 property:P1376 ?l . ?l rdf:type ontology:Q33837 }
United States Minor Outlying Islands
United States Minor Outlying Islands has that administrative territory as its capital
United States Minor Outlying Islands
action filter_type
action find
entity Washington, D.C.
relation capital of
type archipelago
['Washington, D.C.', 'capital of', {'concept': 'archipelago'}]
SELECT DISTINCT ?l WHERE { resource:Washington,_D.C. property:capital_of ?l . ?l rdf:type ontology:archipelago }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q650847
Q33837
USER
And how about Fakaofo?
(Q650847,P1376,c(Q33837))
action filter_type
action find
entity Q650847
relation P1376
type Q33837
['Q650847', 'P1376', {'concept': 'Q33837'}]
SELECT DISTINCT ?i WHERE { resource:Q650847 property:P1376 ?i . ?i rdf:type ontology:Q33837 }
Fakaofo
action filter_type
action find
entity Fakaofo
relation capital of
type archipelago
['Fakaofo', 'capital of', {'concept': 'archipelago'}]
SELECT DISTINCT ?i WHERE { resource:Fakaofo property:capital_of ?i . ?i rdf:type ontology:archipelago }
[]
archipelago
Q36823
SYSTEM
Tokelau
Q36823
(Q650847,P1376,c(Q33837))
action filter_type
action find
entity Q650847
relation P1376
type Q33837
[ANSWER]
['Q650847', 'P1376', {'concept': 'Q33837'}]
SELECT DISTINCT ?i WHERE { resource:Q650847 property:P1376 ?i . ?i rdf:type ontology:Q33837 }
Tokelau
Tokelau
action filter_type
action find
entity Fakaofo
relation capital of
type archipelago
['Fakaofo', 'capital of', {'concept': 'archipelago'}]
SELECT DISTINCT ?i WHERE { resource:Fakaofo property:capital_of ?i . ?i rdf:type ontology:archipelago }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q22703074
P206
Q15324 Q33837
USER
Which bodies of water are situated in the neighbourhood of greater number of archipelagos than Leitches Creek ?
(c(Q33837),P206,c(Q15324))
action greater
action find_reverse_tuple_counts
relation P206
type Q15324
type Q33837
action count
action filter_type
action find
entity Q22703074
relation P206
type Q15324
[{'concept': 'Q33837'}, 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?i ) WHERE { ?p property:P206 ?y . ?y rdf:type ontology:Q15324 . ?p rdf:type ontology:Q33837 } GROUP BY ?y } . FILTER ( ?i > ?r ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { resource:Q22703074 property:P206 ?b . ?b rdf:type ontology:Q15324 } } }
Leitches Creek
action greater
action find_reverse_tuple_counts
relation located next to body of water
type body of water
type archipelago
action count
action filter_type
action find
entity Leitches Creek
relation located next to body of water
type body of water
[{'concept': 'archipelago'}, 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?i ) WHERE { ?p property:located_next_to_body_of_water ?y . ?y rdf:type ontology:body_of_water . ?p rdf:type ontology:archipelago } GROUP BY ?y } . FILTER ( ?i > ?r ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { resource:Leitches_Creek property:located_next_to_body_of_water ?b . ?b rdf:type ontology:body_of_water } } }
[]
body of water archipelago
Q37660 Q171510 Q3040
SYSTEM
South China Sea, Banda Sea, Hudson Bay
Q27092 Q12630 Q38684 Q3040 Q185291 Q838737 Q211779 Q33254 Q13924 Q1404920 Q199479 Q82931 Q171510 Q204703 Q131217 Q38882 Q45341 Q159183 Q199408 Q7988 Q186733 Q122574 Q540179 Q1693 Q160194 Q37495 Q1947589 Q919520 Q810805 Q199436 Q1507546 Q37040 Q19270 Q34575 Q1134573 Q34675 Q33629 Q545 Q1247 Q2630311 Q37660 Q1165951 Q128880 Q23406
(c(Q33837),P206,c(Q15324))
action greater
action find_reverse_tuple_counts
relation P206
type Q15324
type Q33837
action count
action filter_type
action find
entity Q22703074
relation P206
type Q15324
[ANSWERS] are situated in the neighbourhood of greater number of archipelagos than Leitches Creek
[{'concept': 'Q33837'}, 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?i ) WHERE { ?p property:P206 ?y . ?y rdf:type ontology:Q15324 . ?p rdf:type ontology:Q33837 } GROUP BY ?y } . FILTER ( ?i > ?r ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { resource:Q22703074 property:P206 ?b . ?b rdf:type ontology:Q15324 } } }
Sea of Japan Gulf of Mexico Bay of Bengal Hudson Bay Molucca Sea Mercury Bay Saronic Gulf Tasman Sea Adriatic Sea Somov Sea Solomon Sea Coral Sea Banda Sea Scotia Sea Gulf of Thailand Tyrrhenian Sea East China Sea Philippine Sea Alboran Sea Laptev Sea Great Australian Bight Gulf of Bothnia Camotes Sea North Sea Sulu Sea Ionian Sea Moreton Bay Gulf of Boothia Bathurst Inlet Bismarck Sea Gulf of Tomini Baffin Bay Celebes Sea Aegean Sea Coronation Gulf Persian Gulf Kara Sea Baltic Sea Caribbean Sea Florida Bay South China Sea Ungava Bay Arafura Sea Red Sea
South China Sea, Banda Sea and Hudson Bay are situated in the neighbourhood of greater number of archipelagos than Leitches Creek
South China Sea Banda Sea Hudson Bay
action greater
action find_reverse_tuple_counts
relation located next to body of water
type body of water
type archipelago
action count
action filter_type
action find
entity Leitches Creek
relation located next to body of water
type body of water
[{'concept': 'archipelago'}, 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?i ) WHERE { ?p property:located_next_to_body_of_water ?y . ?y rdf:type ontology:body_of_water . ?p rdf:type ontology:archipelago } GROUP BY ?y } . FILTER ( ?i > ?r ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { resource:Leitches_Creek property:located_next_to_body_of_water ?b . ?b rdf:type ontology:body_of_water } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q1463998
P206
Q15324 Q33837
USER
And what about The Wash?
(c(Q33837),P206,c(Q15324))
action greater
action find_reverse_tuple_counts
relation P206
type Q15324
type Q33837
action count
action filter_type
action find
entity Q1463998
relation P206
type Q15324
[{'concept': 'Q33837'}, 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?x ) AS ?i ) WHERE { ?x property:P206 ?q . ?x rdf:type ontology:Q33837 . ?q rdf:type ontology:Q15324 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { resource:Q1463998 property:P206 ?g . ?g rdf:type ontology:Q15324 } } . FILTER ( ?i > ?y ) }
The Wash
action greater
action find_reverse_tuple_counts
relation located next to body of water
type body of water
type archipelago
action count
action filter_type
action find
entity The Wash
relation located next to body of water
type body of water
[{'concept': 'archipelago'}, 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?x ) AS ?i ) WHERE { ?x property:located_next_to_body_of_water ?q . ?x rdf:type ontology:archipelago . ?q rdf:type ontology:body_of_water } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { resource:The_Wash property:located_next_to_body_of_water ?g . ?g rdf:type ontology:body_of_water } } . FILTER ( ?i > ?y ) }
[]
body of water archipelago
Q37660 Q171510 Q3040
SYSTEM
South China Sea, Banda Sea, Hudson Bay
Q27092 Q12630 Q38684 Q3040 Q185291 Q838737 Q211779 Q33254 Q13924 Q1404920 Q199479 Q82931 Q171510 Q204703 Q131217 Q38882 Q45341 Q159183 Q199408 Q7988 Q186733 Q122574 Q540179 Q1693 Q160194 Q37495 Q1947589 Q919520 Q810805 Q199436 Q1507546 Q37040 Q19270 Q34575 Q1134573 Q34675 Q33629 Q545 Q1247 Q2630311 Q37660 Q1165951 Q128880 Q23406
(c(Q33837),P206,c(Q15324))
action greater
action find_reverse_tuple_counts
relation P206
type Q15324
type Q33837
action count
action filter_type
action find
entity Q1463998
relation P206
type Q15324
[ANSWERS]
[{'concept': 'Q33837'}, 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?x ) AS ?i ) WHERE { ?x property:P206 ?q . ?x rdf:type ontology:Q33837 . ?q rdf:type ontology:Q15324 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { resource:Q1463998 property:P206 ?g . ?g rdf:type ontology:Q15324 } } . FILTER ( ?i > ?y ) }
Sea of Japan Gulf of Mexico Bay of Bengal Hudson Bay Molucca Sea Mercury Bay Saronic Gulf Tasman Sea Adriatic Sea Somov Sea Solomon Sea Coral Sea Banda Sea Scotia Sea Gulf of Thailand Tyrrhenian Sea East China Sea Philippine Sea Alboran Sea Laptev Sea Great Australian Bight Gulf of Bothnia Camotes Sea North Sea Sulu Sea Ionian Sea Moreton Bay Gulf of Boothia Bathurst Inlet Bismarck Sea Gulf of Tomini Baffin Bay Celebes Sea Aegean Sea Coronation Gulf Persian Gulf Kara Sea Baltic Sea Caribbean Sea Florida Bay South China Sea Ungava Bay Arafura Sea Red Sea
South China Sea Banda Sea Hudson Bay
action greater
action find_reverse_tuple_counts
relation located next to body of water
type body of water
type archipelago
action count
action filter_type
action find
entity The Wash
relation located next to body of water
type body of water
[{'concept': 'archipelago'}, 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?x ) AS ?i ) WHERE { ?x property:located_next_to_body_of_water ?q . ?x rdf:type ontology:archipelago . ?q rdf:type ontology:body_of_water } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { resource:The_Wash property:located_next_to_body_of_water ?g . ?g rdf:type ontology:body_of_water } } . FILTER ( ?i > ?y ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q14686
P706
Q15324 Q1048835 Q56061
USER
How many bodies of water are the location where lesser number of political territories or administrative territories are located than Gulf of Finland ?
(c(Q1048835)|c(Q56061),P706,c(Q15324))
action count
action less
action union
action find_reverse_tuple_counts
relation P706
type Q15324
type Q1048835
action find_reverse_tuple_counts
relation P706
type Q15324
type Q56061
action count
action filter_multi_types
action find_reverse
entity Q14686
relation P706
type Q1048835
type Q56061
[[{'concept': 'Q1048835'}, {'concept': 'Q56061'}], 'P706', {'concept': 'Q15324'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?y ) WHERE { VALUES ( ?o ) { ( ontology:Q1048835 ) ( ontology:Q56061 ) } . ?k rdf:type ?o } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { ?f property:P706 resource:Q14686 . { { ?f rdf:type ontology:Q56061 } UNION { ?f rdf:type ontology:Q1048835 } } } } . FILTER ( ?y < ?d ) }
Gulf of Finland
action count
action less
action union
action find_reverse_tuple_counts
relation located on terrain feature
type body of water
type political territorial entity
action find_reverse_tuple_counts
relation located on terrain feature
type body of water
type administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Gulf of Finland
relation located on terrain feature
type political territorial entity
type administrative territorial entity
[[{'concept': 'political territorial entity'}, {'concept': 'administrative territorial entity'}], 'located on terrain feature', {'concept': 'body of water'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?y ) WHERE { VALUES ( ?o ) { ( ontology:political_territorial_entity ) ( ontology:administrative_territorial_entity ) } . ?k rdf:type ?o } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { ?f property:located_on_terrain_feature resource:Gulf_of_Finland . { { ?f rdf:type ontology:administrative_territorial_entity } UNION { ?f rdf:type ontology:political_territorial_entity } } } } . FILTER ( ?y < ?d ) }
[]
body of water political territorial entity administrative territorial entity
SYSTEM
121
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 Q867460 Q702691 Q164466 Q2268498 Q45341 Q159183 Q183455 Q140290 Q2344806 Q217501 Q20680338 Q5413918 Q21906844 Q3740577 Q178914 Q1247 Q254164 Q281813 Q2203907 Q7988 Q648954 Q938327 Q223810 Q11416963 Q1185210 Q35367 Q2292350 Q186733 Q599732 Q1971856 Q41573 Q540179 Q1144680 Q173343 Q271198 Q21885510 Q700309 Q317006 Q594834 Q3059070 Q2621502 Q474708 Q494927 Q3306188 Q231312 Q379063 Q21973072 Q2879577 Q1127599 Q7355798 Q695074 Q1267413 Q21922838 Q312433 Q1518380 Q4161995 Q7963133 Q4812258 Q767824 Q202083 Q7838780 Q22351839 Q242326 Q298119 Q1649939 Q207468 Q1680511 Q647879 Q34675 Q201385 Q11613279 Q326170 Q1419628 Q81499 Q42820 Q141017 Q803717 Q213517 Q1064776 Q193149 Q132811 Q213367 Q37660 Q1679819 Q1165951 Q650654 Q1368308 Q82931 Q20922822 Q2879639 Q392623
(c(Q1048835)|c(Q56061),P706,c(Q15324))
action count
action less
action union
action find_reverse_tuple_counts
relation P706
type Q15324
type Q1048835
action find_reverse_tuple_counts
relation P706
type Q15324
type Q56061
action count
action filter_multi_types
action find_reverse
entity Q14686
relation P706
type Q1048835
type Q56061
[ANSWER]
[[{'concept': 'Q1048835'}, {'concept': 'Q56061'}], 'P706', {'concept': 'Q15324'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?y ) WHERE { VALUES ( ?o ) { ( ontology:Q1048835 ) ( ontology:Q56061 ) } . ?k rdf:type ?o } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { ?f property:P706 resource:Q14686 . { { ?f rdf:type ontology:Q56061 } UNION { ?f rdf:type ontology:Q1048835 } } } } . FILTER ( ?y < ?d ) }
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 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 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 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 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 Bay of Kotor Kleiner Jasmunder Bodden Bay of Greifswald Persian Gulf Gulf of Naples Usuki Bay Bay of Pomerania Firth of Thames Celtic Sea Ligurian Sea Tokyo Bay Mont Saint-Michel Bay Gironde estuary Upper New York Bay Sea of Crete Gulf of California Gdańsk Bay South China Sea Jamaica Bay Ungava Bay Archipelago Sea Ise Bay Coral Sea Għadira Bay Baie de Douarnenez Samar Sea
121
action count
action less
action union
action find_reverse_tuple_counts
relation located on terrain feature
type body of water
type political territorial entity
action find_reverse_tuple_counts
relation located on terrain feature
type body of water
type administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Gulf of Finland
relation located on terrain feature
type political territorial entity
type administrative territorial entity
[[{'concept': 'political territorial entity'}, {'concept': 'administrative territorial entity'}], 'located on terrain feature', {'concept': 'body of water'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?y ) WHERE { VALUES ( ?o ) { ( ontology:political_territorial_entity ) ( ontology:administrative_territorial_entity ) } . ?k rdf:type ?o } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { ?f property:located_on_terrain_feature resource:Gulf_of_Finland . { { ?f rdf:type ontology:administrative_territorial_entity } UNION { ?f rdf:type ontology:political_territorial_entity } } } } . FILTER ( ?y < ?d ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q37660
P17
Q15617994
USER
Which administrative territories are South China Sea located in ?
(Q37660,P17,c(Q15617994))
action filter_type
action find
entity Q37660
relation P17
type Q15617994
['Q37660', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q37660 property:P17 ?z . ?z rdf:type ontology:Q15617994 }
South China Sea
action filter_type
action find
entity South China Sea
relation country
type designation for an administrative territorial entity
['South China Sea', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:South_China_Sea property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q148 Q833 Q928
SYSTEM
People's Republic of China, Malaysia, Philippines
Q833 Q424 Q148 Q921 Q928 Q881
(Q37660,P17,c(Q15617994))
action filter_type
action find
entity Q37660
relation P17
type Q15617994
[ANSWERS]
['Q37660', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q37660 property:P17 ?z . ?z rdf:type ontology:Q15617994 }
Malaysia Cambodia People's Republic of China Brunei Philippines Vietnam
Which administrative territories are South China Sea located in
People's Republic of China Malaysia Philippines
action filter_type
action find
entity South China Sea
relation country
type designation for an administrative territorial entity
['South China Sea', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:South_China_Sea property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q148 Q833 Q928
P6
Q502895
USER
Which people have People's Republic of China, Malaysia and Philippines as their heads of government ?
(Q148,P6,c(Q502895)) (Q833,P6,c(Q502895)) (Q928,P6,c(Q502895))
action union
action filter_type
action find
entity Q148
relation P6
type Q502895
action filter_type
action find
entity Q833
relation P6
type Q502895
action filter_type
action find
entity Q928
relation P6
type Q502895
['Q148', 'P6', {'concept': 'Q502895'}] ['Q833', 'P6', {'concept': 'Q502895'}] ['Q928', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?j ) { ( resource:Q148 ) ( resource:Q833 ) } . ?j property:P6 ?b }
People's Republic of China Malaysia Philippines
action union
action filter_type
action find
entity People's Republic of China
relation head of government
type common name
action filter_type
action find
entity Malaysia
relation head of government
type common name
action filter_type
action find
entity Philippines
relation head of government
type common name
["People's Republic of China", 'head of government', {'concept': 'common name'}] ['Malaysia', 'head of government', {'concept': 'common name'}] ['Philippines', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?j ) { ( resource:People's_Republic_of_China ) ( resource:Malaysia ) } . ?j property:head_of_government ?b }
[]
common name
Q17410 Q18301 Q457786
SYSTEM
Zhou Enlai, Li Peng, Rodrigo Duterte
Q99829 Q41570 Q18111 Q18285 Q18301 Q17410 Q16628 Q57675 Q457786
(Q148,P6,c(Q502895)) (Q833,P6,c(Q502895)) (Q928,P6,c(Q502895))
action union
action filter_type
action find
entity Q148
relation P6
type Q502895
action filter_type
action find
entity Q833
relation P6
type Q502895
action filter_type
action find
entity Q928
relation P6
type Q502895
[ANSWERS] have People's Republic of China, Malaysia and Philippines as their heads of government
['Q148', 'P6', {'concept': 'Q502895'}] ['Q833', 'P6', {'concept': 'Q502895'}] ['Q928', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?j ) { ( resource:Q148 ) ( resource:Q833 ) } . ?j property:P6 ?b }
Zhao Ziyang Hua Guofeng Li Keqiang Zhu Rongji Li Peng Zhou Enlai Wen Jiabao Najib Razak Rodrigo Duterte
Zhou Enlai, Li Peng and Rodrigo Duterte have People's Republic of China, Malaysia and Philippines as their heads of government
Zhou Enlai Li Peng Rodrigo Duterte
action union
action filter_type
action find
entity People's Republic of China
relation head of government
type common name
action filter_type
action find
entity Malaysia
relation head of government
type common name
action filter_type
action find
entity Philippines
relation head of government
type common name
["People's Republic of China", 'head of government', {'concept': 'common name'}] ['Malaysia', 'head of government', {'concept': 'common name'}] ['Philippines', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?j ) { ( resource:People's_Republic_of_China ) ( resource:Malaysia ) } . ?j property:head_of_government ?b }
[]
Clarification
Simple Question|Single Entity|Indirect
Q17410
P674
Q15850590
USER
Which theatrical genre has the character that person ?
(c(Q15850590),P674,Q17410)
action filter_type
action find_reverse
entity Q17410
relation P674
type Q15850590
[{'concept': 'Q15850590'}, 'P674', 'Q17410']
SELECT DISTINCT ?m WHERE { ?m property:P674 resource:Q17410 . ?m rdf:type ontology:Q15850590 }
Zhou Enlai
action filter_type
action find_reverse
entity Zhou Enlai
relation characters
type theatrical genre
[{'concept': 'theatrical genre'}, 'characters', 'Zhou Enlai']
SELECT DISTINCT ?m WHERE { ?m property:characters resource:Zhou_Enlai . ?m rdf:type ontology:theatrical_genre }
[]
theatrical genre
Clarification for simple ques.
Q17410
SYSTEM
Did you mean Zhou Enlai ?
Q17410 Q18301 Q457786
(c(Q15850590),P674,Q17410) (c(Q15850590),P674,Q18301) (c(Q15850590),P674,Q457786)
[ANSWER]
[{'concept': 'Q15850590'}, 'P674', 'Q17410'] [{'concept': 'Q15850590'}, 'P674', 'Q18301'] [{'concept': 'Q15850590'}, 'P674', 'Q457786']
SELECT DISTINCT ?m WHERE { ?m property:P674 resource:Q17410 . ?m rdf:type ontology:Q15850590 }
Zhou Enlai Li Peng Rodrigo Duterte
Did you mean Zhou Enlai ?
Zhou Enlai
[{'concept': 'theatrical genre'}, 'characters', 'Zhou Enlai'] [{'concept': 'theatrical genre'}, 'characters', 'Li Peng'] [{'concept': 'theatrical genre'}, 'characters', 'Rodrigo Duterte']
SELECT DISTINCT ?m WHERE { ?m property:characters resource:Zhou_Enlai . ?m rdf:type ontology:theatrical_genre }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q15850590),P674,Q17410)
[{'concept': 'Q15850590'}, 'P674', 'Q17410']
[{'concept': 'theatrical genre'}, 'characters', 'Zhou Enlai']
[]
Q1146706
SYSTEM
Nixon in China
Q1146706
(c(Q15850590),P674,Q17410)
action filter_type
action find_reverse
entity Q17410
relation P674
type Q15850590
[ANSWER] has the character that person
[{'concept': 'Q15850590'}, 'P674', 'Q17410']
SELECT DISTINCT ?m WHERE { ?m property:P674 resource:Q17410 . ?m rdf:type ontology:Q15850590 }
Nixon in China
Nixon in China has the character that person
Nixon in China
action filter_type
action find_reverse
entity Zhou Enlai
relation characters
type theatrical genre
[{'concept': 'theatrical genre'}, 'characters', 'Zhou Enlai']
SELECT DISTINCT ?m WHERE { ?m property:characters resource:Zhou_Enlai . ?m rdf:type ontology:theatrical_genre }
[]