Simple Question (Direct)
Simple Question
Q2038086
P21
Q290
USER
Which sex does Otto Albert Tichý belong to ?
(Q2038086,P21,c(Q290))
action filter_type
action find
entity Q2038086
relation P21
type Q290
['Q2038086', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q2038086 property:P21 ?b . ?b rdf:type ontology:Q290 }
Otto Albert Tichý
action filter_type
action find
entity Otto Albert Tichý
relation gender
type sex
['Otto Albert Tichý', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Otto_Albert_Tichý property:gender ?b . ?b rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2038086,P21,c(Q290))
action filter_type
action find
entity Q2038086
relation P21
type Q290
Otto Albert Tichý belongs to [ANSWER]
['Q2038086', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q2038086 property:P21 ?b . ?b rdf:type ontology:Q290 }
male
Otto Albert Tichý belongs to male
male
action filter_type
action find
entity Otto Albert Tichý
relation gender
type sex
['Otto Albert Tichý', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Otto_Albert_Tichý property:gender ?b . ?b rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2038086
P136
Q151885
USER
What can be considered as category for that person ?
(Q6581097,P136,c(Q151885))
action filter_type
action find
entity Q2038086
relation P136
type Q151885
['Q6581097', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q151885 . resource:Q2038086 property:P136 ?v }
Otto Albert Tichý
action filter_type
action find
entity Otto Albert Tichý
relation genre
type concept
['male', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:concept . resource:Otto_Albert_Tichý property:genre ?v }
[]
concept
Q935586 Q9730
SYSTEM
Liturgical music, classical music
Q935586 Q9730
(Q6581097,P136,c(Q151885))
action filter_type
action find
entity Q2038086
relation P136
type Q151885
[ANSWERS] can be considered as category for that person
['Q6581097', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q151885 . resource:Q2038086 property:P136 ?v }
Liturgical music classical music
Liturgical music and classical music can be considered as category for that person
Liturgical music classical music
action filter_type
action find
entity Otto Albert Tichý
relation genre
type concept
['male', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:concept . resource:Otto_Albert_Tichý property:genre ?v }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q3713084
P136
Q502895
USER
Do Domenico Jervolino have those concepts as genre ?
(Q3713084,P136,Q935586) (Q3713084,P136,Q9730)
action is_in
entity prev_answer
action find
entity Q3713084
relation P136
['Q3713084', 'P136', 'Q935586'] ['Q3713084', 'P136', 'Q9730']
ASK WHERE { resource:Q3713084 property:P136 ?j . VALUES ( ?j ) { ( resource:Q935586 ) ( resource:Q9730 ) } }
Domenico Jervolino
action is_in
entity prev_answer
action find
entity Domenico Jervolino
relation genre
['Domenico Jervolino', 'genre', 'Liturgical music'] ['Domenico Jervolino', 'genre', 'classical music']
ASK WHERE { resource:Domenico_Jervolino property:genre ?j . VALUES ( ?j ) { ( resource:Liturgical_music ) ( resource:classical_music ) } }
[]
common name
SYSTEM
NO
(Q3713084,P136,Q935586) (Q3713084,P136,Q9730)
action is_in
entity prev_answer
action find
entity Q3713084
relation P136
[ANSWER]
['Q3713084', 'P136', 'Q935586'] ['Q3713084', 'P136', 'Q9730']
ASK WHERE { resource:Q3713084 property:P136 ?j . VALUES ( ?j ) { ( resource:Q935586 ) ( resource:Q9730 ) } }
No
action is_in
entity prev_answer
action find
entity Domenico Jervolino
relation genre
['Domenico Jervolino', 'genre', 'Liturgical music'] ['Domenico Jervolino', 'genre', 'classical music']
ASK WHERE { resource:Domenico_Jervolino property:genre ?j . VALUES ( ?j ) { ( resource:Liturgical_music ) ( resource:classical_music ) } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q152928
P706
Q107425 Q151885
USER
Which landscapes are around the same number of concepts located on as Carnic Prealps ?
(c(Q151885),P706,c(Q107425))
action approx
action find_reverse_tuple_counts
relation P706
type Q107425
type Q151885
action count
action filter_type
action find
entity Q152928
relation P706
type Q107425
[{'concept': 'Q151885'}, 'P706', {'concept': 'Q107425'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?b ) AS ?t ) WHERE { ?b property:P706 ?n . ?n rdf:type ontology:Q107425 . ?b rdf:type ontology:Q151885 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { resource:Q152928 property:P706 ?s . ?s rdf:type ontology:Q107425 } } . FILTER ( ?t = ?f ) }
Carnic Prealps
action approx
action find_reverse_tuple_counts
relation located on terrain feature
type landscape
type concept
action count
action filter_type
action find
entity Carnic Prealps
relation located on terrain feature
type landscape
[{'concept': 'concept'}, 'located on terrain feature', {'concept': 'landscape'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?b ) AS ?t ) WHERE { ?b property:located_on_terrain_feature ?n . ?n rdf:type ontology:landscape . ?b rdf:type ontology:concept } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { resource:Carnic_Prealps property:located_on_terrain_feature ?s . ?s rdf:type ontology:landscape } } . FILTER ( ?t = ?f ) }
[]
landscape concept
Q140298 Q671343 Q46772
SYSTEM
Windward Islands, Mont Blanc massif, Kerguelen Islands
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 Q7296 Q3803 Q152704 Q2618638 Q1124865 Q140298 Q170383 Q3297553 Q303431 Q1142129 Q271674 Q671343 Q925906 Q152928 Q6583 Q17140346 Q162843 Q93259 Q116693 Q2860207 Q1384782 Q1283 Q855658 Q775944 Q46772 Q119206 Q472207 Q202816 Q924257 Q10688475 Q5312305 Q3237 Q7592509 Q211436 Q12707 Q172691 Q6379939 Q5467845 Q5951207 Q924897 Q645941 Q140948 Q634740 Q829084 Q291004 Q212520 Q620481 Q1127200 Q19730761 Q2135927 Q1919137 Q205695 Q2280216 Q207383 Q128172 Q586512 Q192626 Q75596 Q38095 Q180209 Q81052 Q2364593 Q118350 Q797807 Q292647 Q23011164 Q653732 Q753719 Q272521 Q1348763 Q15139 Q118920 Q913470 Q1252239 Q25046183 Q304679
(c(Q151885),P706,c(Q107425))
action approx
action find_reverse_tuple_counts
relation P706
type Q107425
type Q151885
action count
action filter_type
action find
entity Q152928
relation P706
type Q107425
[ANSWERS] are around the same number of concepts located on as Carnic Prealps
[{'concept': 'Q151885'}, 'P706', {'concept': 'Q107425'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?b ) AS ?t ) WHERE { ?b property:P706 ?n . ?n rdf:type ontology:Q107425 . ?b rdf:type ontology:Q151885 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { resource:Q152928 property:P706 ?s . ?s rdf:type ontology:Q107425 } } . FILTER ( ?t = ?f ) }
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 Mount Kilimanjaro Lesser Sunda Islands Gailtal Alps Upland Minsk Kantō Plain Windward Islands Aïr Mountains Amargosa Desert Ufenau Pearl Islands Phoenix Islands Mont Blanc massif Colorado Plateau Carnic Prealps Sahara Ko Yao archipelago Negev Lesser Antilles Esjan Queen Adelaide Archipelago Tanezrouft Dolomites Chihuahuan Desert Bărăgan Plain Kerguelen Islands Julian Alps Amirante Islands Stora Alvaret Mahalangur Himal Söderarm archipelago Dufek Massif Rügen 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 Highlands of Iceland 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 Sulitelma Caroline Islands Babuyan Islands Petite Terre Islands Canso Islands Lubusz Land Fjäderholmarna Ténéré Magdalen Islands Diablerets Society Islands Loyalty Islands Hochelaga Archipelago Surin Islands Palmer Archipelago
Windward Islands, Mont Blanc massif and Kerguelen Islands are around the same number of concepts located on as Carnic Prealps
Windward Islands Mont Blanc massif Kerguelen Islands
action approx
action find_reverse_tuple_counts
relation located on terrain feature
type landscape
type concept
action count
action filter_type
action find
entity Carnic Prealps
relation located on terrain feature
type landscape
[{'concept': 'concept'}, 'located on terrain feature', {'concept': 'landscape'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?b ) AS ?t ) WHERE { ?b property:located_on_terrain_feature ?n . ?n rdf:type ontology:landscape . ?b rdf:type ontology:concept } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { resource:Carnic_Prealps property:located_on_terrain_feature ?s . ?s rdf:type ontology:landscape } } . FILTER ( ?t = ?f ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q5467845
P706
Q107425 Q151885
USER
And how about Ford Massif?
(c(Q151885),P706,c(Q107425))
action approx
action find_reverse_tuple_counts
relation P706
type Q107425
type Q151885
action count
action filter_type
action find
entity Q5467845
relation P706
type Q107425
[{'concept': 'Q151885'}, 'P706', {'concept': 'Q107425'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { ?s rdf:type ontology:Q107425 . resource:Q5467845 property:P706 ?s } } . FILTER ( ?k = ?p ) . { SELECT DISTINCT ?q ( COUNT ( ?b ) AS ?k ) WHERE { ?b property:P706 ?q . ?q rdf:type ontology:Q107425 . ?b rdf:type ontology:Q151885 } GROUP BY ?q } }
Ford Massif
action approx
action find_reverse_tuple_counts
relation located on terrain feature
type landscape
type concept
action count
action filter_type
action find
entity Ford Massif
relation located on terrain feature
type landscape
[{'concept': 'concept'}, 'located on terrain feature', {'concept': 'landscape'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { ?s rdf:type ontology:landscape . resource:Ford_Massif property:located_on_terrain_feature ?s } } . FILTER ( ?k = ?p ) . { SELECT DISTINCT ?q ( COUNT ( ?b ) AS ?k ) WHERE { ?b property:located_on_terrain_feature ?q . ?q rdf:type ontology:landscape . ?b rdf:type ontology:concept } GROUP BY ?q } }
[]
landscape concept
Q140298 Q671343 Q46772
SYSTEM
Windward Islands, Mont Blanc massif, Kerguelen Islands
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 Q7296 Q3803 Q152704 Q2618638 Q1124865 Q140298 Q170383 Q3297553 Q303431 Q1142129 Q271674 Q671343 Q925906 Q152928 Q6583 Q17140346 Q162843 Q93259 Q116693 Q2860207 Q1384782 Q1283 Q855658 Q775944 Q46772 Q119206 Q472207 Q202816 Q924257 Q10688475 Q5312305 Q3237 Q7592509 Q211436 Q12707 Q172691 Q6379939 Q5467845 Q5951207 Q924897 Q645941 Q140948 Q634740 Q829084 Q291004 Q212520 Q620481 Q1127200 Q19730761 Q2135927 Q1919137 Q205695 Q2280216 Q207383 Q128172 Q586512 Q192626 Q75596 Q38095 Q180209 Q81052 Q2364593 Q118350 Q797807 Q292647 Q23011164 Q653732 Q753719 Q272521 Q1348763 Q15139 Q118920 Q913470 Q1252239 Q25046183 Q304679
(c(Q151885),P706,c(Q107425))
action approx
action find_reverse_tuple_counts
relation P706
type Q107425
type Q151885
action count
action filter_type
action find
entity Q5467845
relation P706
type Q107425
[ANSWERS]
[{'concept': 'Q151885'}, 'P706', {'concept': 'Q107425'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { ?s rdf:type ontology:Q107425 . resource:Q5467845 property:P706 ?s } } . FILTER ( ?k = ?p ) . { SELECT DISTINCT ?q ( COUNT ( ?b ) AS ?k ) WHERE { ?b property:P706 ?q . ?q rdf:type ontology:Q107425 . ?b rdf:type ontology:Q151885 } GROUP BY ?q } }
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 Mount Kilimanjaro Lesser Sunda Islands Gailtal Alps Upland Minsk Kantō Plain Windward Islands Aïr Mountains Amargosa Desert Ufenau Pearl Islands Phoenix Islands Mont Blanc massif Colorado Plateau Carnic Prealps Sahara Ko Yao archipelago Negev Lesser Antilles Esjan Queen Adelaide Archipelago Tanezrouft Dolomites Chihuahuan Desert Bărăgan Plain Kerguelen Islands Julian Alps Amirante Islands Stora Alvaret Mahalangur Himal Söderarm archipelago Dufek Massif Rügen 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 Highlands of Iceland 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 Sulitelma Caroline Islands Babuyan Islands Petite Terre Islands Canso Islands Lubusz Land Fjäderholmarna Ténéré Magdalen Islands Diablerets Society Islands Loyalty Islands Hochelaga Archipelago Surin Islands Palmer Archipelago
Windward Islands Mont Blanc massif Kerguelen Islands
action approx
action find_reverse_tuple_counts
relation located on terrain feature
type landscape
type concept
action count
action filter_type
action find
entity Ford Massif
relation located on terrain feature
type landscape
[{'concept': 'concept'}, 'located on terrain feature', {'concept': 'landscape'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { ?s rdf:type ontology:landscape . resource:Ford_Massif property:located_on_terrain_feature ?s } } . FILTER ( ?k = ?p ) . { SELECT DISTINCT ?q ( COUNT ( ?b ) AS ?k ) WHERE { ?b property:located_on_terrain_feature ?q . ?q rdf:type ontology:landscape . ?b rdf:type ontology:concept } GROUP BY ?q } }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P610
Q14524493 Q107425
USER
Which landscapes are lesser number of terrains the highest peak of than that landscape ?
(c(Q107425),P610,c(Q14524493))
[{'concept': 'Q107425'}, 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?z WHERE { ?z property:P610 ?y . ?z rdf:type ontology:Q17323825 . ?y rdf:type ontology:Q14524493 }
[{'concept': 'landscape'}, 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?z WHERE { ?z property:highest_point ?y . ?z rdf:type ontology:landscape . ?y rdf:type ontology:terrain }
[]
terrain landscape
Comparative|More/Less|Single entity type|Clarification
Q140298
SYSTEM
Did you mean Windward Islands ?
(c(Q107425),P610,c(Q14524493))
[ANSWER]
[{'concept': 'Q107425'}, 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?z WHERE { ?z property:P610 ?y . ?z rdf:type ontology:Q17323825 . ?y rdf:type ontology:Q14524493 }
Did you mean Windward Islands ?
Windward Islands
[{'concept': 'landscape'}, 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?z WHERE { ?z property:highest_point ?y . ?z rdf:type ontology:landscape . ?y rdf:type ontology:terrain }
[]
Comparative Reasoning (All)
USER
No, I meant Kerguelen Islands. Could you tell me the answer for that?
(c(Q107425),P610,c(Q14524493))
Q46772
[{'concept': 'Q107425'}, 'P610', {'concept': 'Q14524493'}]
[{'concept': 'landscape'}, 'highest point', {'concept': 'terrain'}]
[]
Q201698 Q7296 Q634740
SYSTEM
Crozet Islands, Mount Kilimanjaro, Comoros Islands
Q201698 Q2618638 Q211436 Q38272 Q634740 Q179883 Q1252239 Q7296 Q3803
(c(Q107425),P610,c(Q14524493))
[ANSWERS] are lesser number of terrains the highest peak of than that landscape
[{'concept': 'Q107425'}, 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?z WHERE { ?z property:P610 ?y . ?z rdf:type ontology:Q17323825 . ?y rdf:type ontology:Q14524493 }
Crozet Islands Upland Minsk Visayas British Isles Comoros Islands Aeolian Islands Hochelaga Archipelago Mount Kilimanjaro Lesser Sunda Islands
Crozet Islands, Mount Kilimanjaro and Comoros Islands are lesser number of terrains the highest peak of than that landscape
Crozet Islands Mount Kilimanjaro Comoros Islands
[{'concept': 'landscape'}, 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?z WHERE { ?z property:highest_point ?y . ?z rdf:type ontology:landscape . ?y rdf:type ontology:terrain }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q41735
P706
Q15324 Q107425
USER
Which bodies of water are more number of landscapes located on than Irish Sea ?
(c(Q107425),P706,c(Q15324))
action greater
action find_reverse_tuple_counts
relation P706
type Q15324
type Q107425
action count
action filter_type
action find
entity Q41735
relation P706
type Q15324
[{'concept': 'Q107425'}, 'P706', {'concept': 'Q15324'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { resource:Q41735 property:P706 ?g . ?g rdf:type ontology:Q15324 } } . FILTER ( ?v > ?m ) . { SELECT DISTINCT ?b ( COUNT ( ?j ) AS ?v ) WHERE { ?j property:P706 ?b . ?b rdf:type ontology:Q15324 . ?j rdf:type ontology:Q107425 } GROUP BY ?b } }
Irish Sea
action greater
action find_reverse_tuple_counts
relation located on terrain feature
type body of water
type landscape
action count
action filter_type
action find
entity Irish Sea
relation located on terrain feature
type body of water
[{'concept': 'landscape'}, 'located on terrain feature', {'concept': 'body of water'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { resource:Irish_Sea property:located_on_terrain_feature ?g . ?g rdf:type ontology:body_of_water } } . FILTER ( ?v > ?m ) . { SELECT DISTINCT ?b ( COUNT ( ?j ) AS ?v ) WHERE { ?j property:located_on_terrain_feature ?b . ?b rdf:type ontology:body_of_water . ?j rdf:type ontology:landscape } GROUP BY ?b } }
[]
body of water landscape
Q131217 Q1267413 Q545
SYSTEM
Gulf of Thailand, Georgian Bay, Baltic Sea
Q1004067 Q38882 Q33254 Q717765 Q131217 Q47632 Q164466 Q1247 Q281813 Q41573 Q1267413 Q207468 Q81499 Q545 Q803717 Q650654 Q82931
(c(Q107425),P706,c(Q15324))
action greater
action find_reverse_tuple_counts
relation P706
type Q15324
type Q107425
action count
action filter_type
action find
entity Q41735
relation P706
type Q15324
[ANSWERS] are more number of landscapes located on than Irish Sea
[{'concept': 'Q107425'}, 'P706', {'concept': 'Q15324'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { resource:Q41735 property:P706 ?g . ?g rdf:type ontology:Q15324 } } . FILTER ( ?v > ?m ) . { SELECT DISTINCT ?b ( COUNT ( ?j ) AS ?v ) WHERE { ?j property:P706 ?b . ?b rdf:type ontology:Q15324 . ?j rdf:type ontology:Q107425 } GROUP BY ?b } }
Frobisher Bay Tyrrhenian Sea Tasman Sea Phang Nga Bay Gulf of Thailand Andaman Sea Ross Sea Caribbean Sea Holme Bay Bay of Biscay Georgian Bay Bay of Kotor Celtic Sea Baltic Sea Mont Saint-Michel Bay Archipelago Sea Coral Sea
Gulf of Thailand, Georgian Bay and Baltic Sea are more number of landscapes located on than Irish Sea
Gulf of Thailand Georgian Bay Baltic Sea
action greater
action find_reverse_tuple_counts
relation located on terrain feature
type body of water
type landscape
action count
action filter_type
action find
entity Irish Sea
relation located on terrain feature
type body of water
[{'concept': 'landscape'}, 'located on terrain feature', {'concept': 'body of water'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { resource:Irish_Sea property:located_on_terrain_feature ?g . ?g rdf:type ontology:body_of_water } } . FILTER ( ?v > ?m ) . { SELECT DISTINCT ?b ( COUNT ( ?j ) AS ?v ) WHERE { ?j property:located_on_terrain_feature ?b . ?b rdf:type ontology:body_of_water . ?j rdf:type ontology:landscape } GROUP BY ?b } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q281813
P706
Q15324 Q107425
USER
And how about Holme Bay?
(c(Q107425),P706,c(Q15324))
action greater
action find_reverse_tuple_counts
relation P706
type Q15324
type Q107425
action count
action filter_type
action find
entity Q281813
relation P706
type Q15324
[{'concept': 'Q107425'}, 'P706', {'concept': 'Q15324'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?i ) AS ?k ) WHERE { ?i property:P706 ?v . ?i rdf:type ontology:Q107425 . ?v rdf:type ontology:Q15324 } GROUP BY ?v } . FILTER ( ?k > ?m ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { resource:Q281813 property:P706 ?y . ?y rdf:type ontology:Q15324 } } }
Holme Bay
action greater
action find_reverse_tuple_counts
relation located on terrain feature
type body of water
type landscape
action count
action filter_type
action find
entity Holme Bay
relation located on terrain feature
type body of water
[{'concept': 'landscape'}, 'located on terrain feature', {'concept': 'body of water'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?i ) AS ?k ) WHERE { ?i property:located_on_terrain_feature ?v . ?i rdf:type ontology:landscape . ?v rdf:type ontology:body_of_water } GROUP BY ?v } . FILTER ( ?k > ?m ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { resource:Holme_Bay property:located_on_terrain_feature ?y . ?y rdf:type ontology:body_of_water } } }
[]
body of water landscape
Q131217 Q545 Q1247
SYSTEM
Gulf of Thailand, Baltic Sea, Caribbean Sea
Q38882 Q131217 Q47632 Q1247 Q545 Q82931
(c(Q107425),P706,c(Q15324))
action greater
action find_reverse_tuple_counts
relation P706
type Q15324
type Q107425
action count
action filter_type
action find
entity Q281813
relation P706
type Q15324
[ANSWERS]
[{'concept': 'Q107425'}, 'P706', {'concept': 'Q15324'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?i ) AS ?k ) WHERE { ?i property:P706 ?v . ?i rdf:type ontology:Q107425 . ?v rdf:type ontology:Q15324 } GROUP BY ?v } . FILTER ( ?k > ?m ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { resource:Q281813 property:P706 ?y . ?y rdf:type ontology:Q15324 } } }
Tyrrhenian Sea Gulf of Thailand Andaman Sea Caribbean Sea Baltic Sea Coral Sea
Gulf of Thailand Baltic Sea Caribbean Sea
action greater
action find_reverse_tuple_counts
relation located on terrain feature
type body of water
type landscape
action count
action filter_type
action find
entity Holme Bay
relation located on terrain feature
type body of water
[{'concept': 'landscape'}, 'located on terrain feature', {'concept': 'body of water'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?i ) AS ?k ) WHERE { ?i property:located_on_terrain_feature ?v . ?i rdf:type ontology:landscape . ?v rdf:type ontology:body_of_water } GROUP BY ?v } . FILTER ( ?k > ?m ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { resource:Holme_Bay property:located_on_terrain_feature ?y . ?y rdf:type ontology:body_of_water } } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q131217
P403
Q355304
USER
Which watercourses have their drainage ending at that body of water ?
(c(Q355304),P403,Q131217)
action filter_type
action find_reverse
entity Q131217
relation P403
type Q355304
[{'concept': 'Q355304'}, 'P403', 'Q131217']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q355304 . ?x property:P403 resource:Q131217 }
Gulf of Thailand
action filter_type
action find_reverse
entity Gulf of Thailand
relation mouth of the watercourse
type watercourse
[{'concept': 'watercourse'}, 'mouth of the watercourse', 'Gulf of Thailand']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:watercourse . ?x property:mouth_of_the_watercourse resource:Gulf_of_Thailand }
[]
watercourse
Clarification for simple ques.
Q1247
SYSTEM
Did you mean Caribbean Sea ?
Q131217 Q545 Q1247
(c(Q355304),P403,Q131217) (c(Q355304),P403,Q545) (c(Q355304),P403,Q1247)
[ANSWER]
[{'concept': 'Q355304'}, 'P403', 'Q131217'] [{'concept': 'Q355304'}, 'P403', 'Q545'] [{'concept': 'Q355304'}, 'P403', 'Q1247']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q355304 . ?x property:P403 resource:Q131217 }
Gulf of Thailand Baltic Sea Caribbean Sea
Did you mean Caribbean Sea ?
Caribbean Sea
[{'concept': 'watercourse'}, 'mouth of the watercourse', 'Gulf of Thailand'] [{'concept': 'watercourse'}, 'mouth of the watercourse', 'Baltic Sea'] [{'concept': 'watercourse'}, 'mouth of the watercourse', 'Caribbean Sea']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:watercourse . ?x property:mouth_of_the_watercourse resource:Gulf_of_Thailand }
[]
Simple Question (Coreferenced)
USER
No, I meant Gulf of Thailand. Could you tell me the answer for that?
(c(Q355304),P403,Q131217)
Q131217
[{'concept': 'Q355304'}, 'P403', 'Q131217']
[{'concept': 'watercourse'}, 'mouth of the watercourse', 'Gulf of Thailand']
[]
Q6401833 Q2352764 Q118850
SYSTEM
Khlong Kui, Phetchaburi River, Chao Phraya River
Q1130888 Q1542953 Q6401833 Q806449 Q2352764 Q1359498 Q118850
(c(Q355304),P403,Q131217)
action filter_type
action find_reverse
entity Q131217
relation P403
type Q355304
[ANSWERS] have their drainage ending at that body of water
[{'concept': 'Q355304'}, 'P403', 'Q131217']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q355304 . ?x property:P403 resource:Q131217 }
Pranburi River Pattani River Khlong Kui Bang Pakong River Phetchaburi River Tha Chin River Chao Phraya River
Khlong Kui, Phetchaburi River and Chao Phraya River have their drainage ending at that body of water
Khlong Kui Phetchaburi River Chao Phraya River
action filter_type
action find_reverse
entity Gulf of Thailand
relation mouth of the watercourse
type watercourse
[{'concept': 'watercourse'}, 'mouth of the watercourse', 'Gulf of Thailand']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:watercourse . ?x property:mouth_of_the_watercourse resource:Gulf_of_Thailand }
[]