Simple Question (Direct)
Simple Question
Q11376912
P106
Q12737077
USER
Which occupation has Kenji Imagawa as his/her 's career ?
(Q11376912,P106,c(Q12737077))
action filter_type
action find
entity Q11376912
relation P106
type Q12737077
['Q11376912', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q11376912 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
Kenji Imagawa
action filter_type
action find
entity Kenji Imagawa
relation occupation
type occupation
['Kenji Imagawa', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Kenji_Imagawa property:occupation ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q37226
SYSTEM
teacher
Q37226
(Q11376912,P106,c(Q12737077))
action filter_type
action find
entity Q11376912
relation P106
type Q12737077
[ANSWER] has Kenji Imagawa as his/her 's career
['Q11376912', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q11376912 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
teacher
Teacher has Kenji Imagawa as his/her 's career
teacher
action filter_type
action find
entity Kenji Imagawa
relation occupation
type occupation
['Kenji Imagawa', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Kenji_Imagawa property:occupation ?b . ?b rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q37226
P425
Q9332
USER
Which behaviors are associated with the field of occupation that one ?
(Q37226,P425,c(Q9332))
action filter_type
action find
entity Q37226
relation P425
type Q9332
['Q37226', 'P425', {'concept': 'Q9332'}]
SELECT DISTINCT ?f WHERE { resource:Q37226 property:P425 ?f . ?f rdf:type ontology:Q9332 }
teacher
action filter_type
action find
entity teacher
relation field of this occupation
type behavior
['teacher', 'field of this occupation', {'concept': 'behavior'}]
SELECT DISTINCT ?f WHERE { resource:teacher property:field_of_this_occupation ?f . ?f rdf:type ontology:behavior }
[]
behavior
Q8434 Q352842
SYSTEM
education, teaching
Q8434 Q352842
(Q37226,P425,c(Q9332))
action filter_type
action find
entity Q37226
relation P425
type Q9332
And [ANSWERS] are associated with the field of occupation that one
['Q37226', 'P425', {'concept': 'Q9332'}]
SELECT DISTINCT ?f WHERE { resource:Q37226 property:P425 ?f . ?f rdf:type ontology:Q9332 }
education teaching
And education and teaching are associated with the field of occupation that one
education teaching
action filter_type
action find
entity teacher
relation field of this occupation
type behavior
['teacher', 'field of this occupation', {'concept': 'behavior'}]
SELECT DISTINCT ?f WHERE { resource:teacher property:field_of_this_occupation ?f . ?f rdf:type ontology:behavior }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q37226
P425
Q12737077
USER
Do those behaviors belong to teacher ?
(Q37226,P425,Q8434) (Q37226,P425,Q352842)
action is_in
entity prev_answer
action find
entity Q37226
relation P425
['Q37226', 'P425', 'Q8434'] ['Q37226', 'P425', 'Q352842']
ASK WHERE { resource:Q37226 property:P425 ?q . VALUES ( ?q ) { ( resource:Q8434 ) ( resource:Q352842 ) } }
teacher
action is_in
entity prev_answer
action find
entity teacher
relation field of this occupation
['teacher', 'field of this occupation', 'education'] ['teacher', 'field of this occupation', 'teaching']
ASK WHERE { resource:teacher property:field_of_this_occupation ?q . VALUES ( ?q ) { ( resource:education ) ( resource:teaching ) } }
[]
occupation
SYSTEM
YES
(Q37226,P425,Q8434) (Q37226,P425,Q352842)
action is_in
entity prev_answer
action find
entity Q37226
relation P425
[ANSWER]
['Q37226', 'P425', 'Q8434'] ['Q37226', 'P425', 'Q352842']
ASK WHERE { resource:Q37226 property:P425 ?q . VALUES ( ?q ) { ( resource:Q8434 ) ( resource:Q352842 ) } }
Yes
action is_in
entity prev_answer
action find
entity teacher
relation field of this occupation
['teacher', 'field of this occupation', 'education'] ['teacher', 'field of this occupation', 'teaching']
ASK WHERE { resource:teacher property:field_of_this_occupation ?q . VALUES ( ?q ) { ( resource:education ) ( resource:teaching ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11376912
P21
Q290
USER
What is the sex of Kenji Imagawa ?
(Q11376912,P21,c(Q290))
action filter_type
action find
entity Q11376912
relation P21
type Q290
['Q11376912', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q11376912 property:P21 ?e . ?e rdf:type ontology:Q290 }
Kenji Imagawa
action filter_type
action find
entity Kenji Imagawa
relation gender
type sex
['Kenji Imagawa', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Kenji_Imagawa property:gender ?e . ?e rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q11376912,P21,c(Q290))
action filter_type
action find
entity Q11376912
relation P21
type Q290
The sex of Kenji Imagawa is a [ANSWER]
['Q11376912', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q11376912 property:P21 ?e . ?e rdf:type ontology:Q290 }
male
The sex of Kenji Imagawa is a male
male
action filter_type
action find
entity Kenji Imagawa
relation gender
type sex
['Kenji Imagawa', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Kenji_Imagawa property:gender ?e . ?e rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11376912
P19
Q271669
USER
Which landform is the place of birth of Kenji Imagawa ?
(Q11376912,P19,c(Q271669))
action filter_type
action find
entity Q11376912
relation P19
type Q271669
['Q11376912', 'P19', {'concept': 'Q271669'}]
SELECT DISTINCT ?n WHERE { resource:Q11376912 property:P19 ?n . ?n rdf:type ontology:Q271669 }
Kenji Imagawa
action filter_type
action find
entity Kenji Imagawa
relation place of birth
type landform
['Kenji Imagawa', 'place of birth', {'concept': 'landform'}]
SELECT DISTINCT ?n WHERE { resource:Kenji_Imagawa property:place_of_birth ?n . ?n rdf:type ontology:landform }
[]
landform
Q35581
SYSTEM
Hokkaidō
Q35581
(Q11376912,P19,c(Q271669))
action filter_type
action find
entity Q11376912
relation P19
type Q271669
[ANSWER] is the place of birth of Kenji Imagawa
['Q11376912', 'P19', {'concept': 'Q271669'}]
SELECT DISTINCT ?n WHERE { resource:Q11376912 property:P19 ?n . ?n rdf:type ontology:Q271669 }
Hokkaidō
Hokkaidō is the place of birth of Kenji Imagawa
Hokkaidō
action filter_type
action find
entity Kenji Imagawa
relation place of birth
type landform
['Kenji Imagawa', 'place of birth', {'concept': 'landform'}]
SELECT DISTINCT ?n WHERE { resource:Kenji_Imagawa property:place_of_birth ?n . ?n rdf:type ontology:landform }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P706
Q15324 Q271669
USER
Which bodies of water are atleast 25 landforms located on ?
(c(Q271669),P706,c(Q15324))
action atleast
action find_reverse_tuple_counts
relation P706
type Q15324
type Q271669
value 25
[{'concept': 'Q271669'}, 'P706', {'concept': 'Q15324'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?t ) AS ?s ) WHERE { ?t property:P706 ?v . ?t rdf:type ontology:Q271669 . ?v rdf:type ontology:Q15324 } GROUP BY ?v } . FILTER ( ?s >= 25 ) }
action atleast
action find_reverse_tuple_counts
relation located on terrain feature
type body of water
type landform
value 25
[{'concept': 'landform'}, 'located on terrain feature', {'concept': 'body of water'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?t ) AS ?s ) WHERE { ?t property:located_on_terrain_feature ?v . ?t rdf:type ontology:landform . ?v rdf:type ontology:body_of_water } GROUP BY ?v } . FILTER ( ?s >= 25 ) }
[]
body of water landform
Q34575 Q545 Q76925
SYSTEM
Aegean Sea, Baltic Sea, Venetian Lagoon
Q27092 Q13924 Q45341 Q1971856 Q76925 Q1144680 Q1693 Q37495 Q231312 Q34575 Q545
(c(Q271669),P706,c(Q15324))
action atleast
action find_reverse_tuple_counts
relation P706
type Q15324
type Q271669
value 25
[ANSWERS] are atleast 25 landforms located on
[{'concept': 'Q271669'}, 'P706', {'concept': 'Q15324'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?t ) AS ?s ) WHERE { ?t property:P706 ?v . ?t rdf:type ontology:Q271669 . ?v rdf:type ontology:Q15324 } GROUP BY ?v } . FILTER ( ?s >= 25 ) }
Sea of Japan Adriatic Sea East China Sea Sea of the Hebrides Venetian Lagoon Gulf of Morbihan North Sea Ionian Sea Seto Inland Sea Aegean Sea Baltic Sea
Aegean Sea, Baltic Sea and Venetian Lagoon are atleast 25 landforms located on
Aegean Sea Baltic Sea Venetian Lagoon
action atleast
action find_reverse_tuple_counts
relation located on terrain feature
type body of water
type landform
value 25
[{'concept': 'landform'}, 'located on terrain feature', {'concept': 'body of water'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?t ) AS ?s ) WHERE { ?t property:located_on_terrain_feature ?v . ?t rdf:type ontology:landform . ?v rdf:type ontology:body_of_water } GROUP BY ?v } . FILTER ( ?s >= 25 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1935344
P706
Q82794 Q15324
USER
How many geographic regions are less number of bodies of water located on than Tarfala Valley ?
(c(Q15324),P706,c(Q82794))
action count
action less
action find_reverse_tuple_counts
relation P706
type Q82794
type Q15324
action count
action filter_type
action find_reverse
entity Q1935344
relation P706
type Q15324
[{'concept': 'Q15324'}, 'P706', {'concept': 'Q82794'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?g ) WHERE { ?f property:P706 ?n . ?n rdf:type ontology:Q82794 . ?f rdf:type ontology:Q15324 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) WHERE { ?p property:P706 resource:Q1935344 . ?p rdf:type ontology:Q15324 } } . FILTER ( ?g < ?k ) }
Tarfala Valley
action count
action less
action find_reverse_tuple_counts
relation located on terrain feature
type geographic region
type body of water
action count
action filter_type
action find_reverse
entity Tarfala Valley
relation located on terrain feature
type body of water
[{'concept': 'body of water'}, 'located on terrain feature', {'concept': 'geographic region'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?g ) WHERE { ?f property:located_on_terrain_feature ?n . ?n rdf:type ontology:geographic_region . ?f rdf:type ontology:body_of_water } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) WHERE { ?p property:located_on_terrain_feature resource:Tarfala_Valley . ?p rdf:type ontology:body_of_water } } . FILTER ( ?g < ?k ) }
[]
geographic region body of water
SYSTEM
118
Q3554041 Q3554044 Q316883 Q202322 Q1404827 Q22703273 Q917858 Q214662 Q833127 Q15758768 Q1661032 Q1746460 Q375953 Q22951373 Q3039434 Q192273 Q301774 Q132480 Q1221188 Q317751 Q875085 Q1295846 Q5567863 Q571607 Q881921 Q15139349 Q13130354 Q383032 Q571696 Q2258070 Q1444797 Q671694 Q2887520 Q3041080 Q8352403 Q22666716 Q489533 Q51614 Q15139348 Q721298 Q2214132 Q303730 Q14523513 Q2887517 Q15719556 Q3487269 Q7909150 Q1741416 Q2507852 Q178925 Q7686375 Q6311733 Q763829 Q306950 Q251246 Q16004983 Q1325091 Q567318 Q16004967 Q738671 Q60140 Q14912672 Q170081 Q20925112 Q1794875 Q565751 Q569073 Q14215814 Q12046593 Q884616 Q13370189 Q912837 Q384885 Q16004976 Q897389 Q39061 Q12880609 Q2148017 Q244451 Q7594902 Q14683140 Q734149 Q171393 Q1682868 Q192201 Q2099232 Q1616130 Q897333 Q314741 Q690127 Q207388 Q20906226 Q7549778 Q481600 Q2199768 Q22667180 Q118899 Q1339950 Q1940689 Q816843 Q734317 Q14210889 Q1592977 Q530131 Q16004873 Q16004874 Q16004956 Q170526 Q1471257 Q22680049 Q257965 Q2282388 Q174994 Q1772582 Q1138800 Q575245 Q6515602 Q2866905
(c(Q15324),P706,c(Q82794))
action count
action less
action find_reverse_tuple_counts
relation P706
type Q82794
type Q15324
action count
action filter_type
action find_reverse
entity Q1935344
relation P706
type Q15324
[ANSWER]
[{'concept': 'Q15324'}, 'P706', {'concept': 'Q82794'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?g ) WHERE { ?f property:P706 ?n . ?n rdf:type ontology:Q82794 . ?f rdf:type ontology:Q15324 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) WHERE { ?p property:P706 resource:Q1935344 . ?p rdf:type ontology:Q15324 } } . FILTER ( ?g < ?k ) }
Matapédia Valley Vézère Valley Teltow Beqaa Valley The Fens Hockley Valley The Burren Budjak Lower Bavarian Upland Yangtze River basin Unteres Mittelrheingebiet Westmünsterland Altes Land Elbląg Basin Syrtis Major quadrangle Karelia Etschtal Kantō region Diepholzer Moorniederung Kehdingen Gastein Valley Wesermünde Geest Glen Lochay Middle Rhine Eider-Treene Depression Helen Planitia quadrangle Nant Gwynant Brixental Hoeksche Waard Swabian Keuper-Lias Plains Frankenweide Krimpenerwaard Vistula basin Valley of the Ten Peaks Ebro Basin Brda basin Binn valley Anatolia Niobe Planitia quadrangle Asbacher Hochfläche Alblasserwaard Aatal Baden Airpark Vilaine basin Honnefer Talweitung Wurstelprater Val Sinestra Schleswig-Holstein Uplands Val d'Illiez Gran Canaria Tarn Valley Junction Hollow Jezreel Valley Eastern Upper Lusatia Vienna Woods Lada Terra quadrangle Elbe Urstromtal Thuringian Basin Aphrodite Terra  quadrangle Val Bregaglia Indian subcontinent Rheinwald Neandertal Bug Basin Niederwesterwald Epirus Outback Murg Valley Danube basin Drömling Neman Basin Glens of Antrim Val Gardena Guinevere Planitia quadrangle Altmühltal Northern Hemisphere Makedonika Tembi Rheinwesterwälder Vulkanrücken Amazon basin St Nectan's Glen Little Yosemite Valley Torne Valley Wallachia Krimmler Achental Wachau Pleiser Hügelland Hetch Hetchy Teufelsmoor Dresden Basin Lower Engadine Muntenia Narew Basin Soan Sakaser Valley Schönbuch Southern Flevoland Drwęca Basin Brazilian Highlands Sternberg lake district Central Black Forest San Fernando Valley Val Camonica Chao Phraya basin Heckengäu Taylor Valley Lavinia Planitia quadrangle Ishtar Terra quadrangle Sedna Planitia quadrangle Fertile Crescent Franconian Keuper-Lias Plains Pregolya Basin Val Müstair Siebenmühlental Bessarabia Thames Valley Pelagonia Chad Basin Tørdal Aspé Valley
118
action count
action less
action find_reverse_tuple_counts
relation located on terrain feature
type geographic region
type body of water
action count
action filter_type
action find_reverse
entity Tarfala Valley
relation located on terrain feature
type body of water
[{'concept': 'body of water'}, 'located on terrain feature', {'concept': 'geographic region'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?g ) WHERE { ?f property:located_on_terrain_feature ?n . ?n rdf:type ontology:geographic_region . ?f rdf:type ontology:body_of_water } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) WHERE { ?p property:located_on_terrain_feature resource:Tarfala_Valley . ?p rdf:type ontology:body_of_water } } . FILTER ( ?g < ?k ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q545
P706
Q56061 Q3565782
USER
How many administrative territories and navigational aids have their location as Baltic Sea ?
(c(Q56061),P706,Q545) (c(Q3565782),P706,Q545)
action count
action union
action filter_type
action find_reverse
entity Q545
relation P706
type Q56061
action filter_type
action find_reverse
entity Q545
relation P706
type Q3565782
[{'concept': 'Q56061'}, 'P706', 'Q545'] [{'concept': 'Q3565782'}, 'P706', 'Q545']
SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { { ?v rdf:type ontology:Q56061 . ?v property:P706 resource:Q545 } UNION { ?v property:P706 resource:Q545 . ?v rdf:type ontology:Q3565782 } }
Baltic Sea
action count
action union
action filter_type
action find_reverse
entity Baltic Sea
relation located on terrain feature
type administrative territorial entity
action filter_type
action find_reverse
entity Baltic Sea
relation located on terrain feature
type navigational aid
[{'concept': 'administrative territorial entity'}, 'located on terrain feature', 'Baltic Sea'] [{'concept': 'navigational aid'}, 'located on terrain feature', 'Baltic Sea']
SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { { ?v rdf:type ontology:administrative_territorial_entity . ?v property:located_on_terrain_feature resource:Baltic_Sea } UNION { ?v property:located_on_terrain_feature resource:Baltic_Sea . ?v rdf:type ontology:navigational_aid } }
[]
administrative territorial entity navigational aid
SYSTEM
6 administrative territories and 5 navigational aids
Q2351999 Q8079027 Q831527 Q842877 Q298377 Q492538 Q579854 Q2379709 Q1330853 Q926358 Q175812
(c(Q56061),P706,Q545) (c(Q3565782),P706,Q545)
action count
action union
action filter_type
action find_reverse
entity Q545
relation P706
type Q56061
action filter_type
action find_reverse
entity Q545
relation P706
type Q3565782
[ANSWER]
[{'concept': 'Q56061'}, 'P706', 'Q545'] [{'concept': 'Q3565782'}, 'P706', 'Q545']
SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { { ?v rdf:type ontology:Q56061 . ?v property:P706 resource:Q545 } UNION { ?v property:P706 resource:Q545 . ?v rdf:type ontology:Q3565782 } }
Stora Fjäderägg Örskär Djurgården Furusund Östergarnsholm Bergen auf Rügen Gamla stan Söderskär Vilsandi Otava Hallands Väderö
6 administrative territories and 5 navigational aids
action count
action union
action filter_type
action find_reverse
entity Baltic Sea
relation located on terrain feature
type administrative territorial entity
action filter_type
action find_reverse
entity Baltic Sea
relation located on terrain feature
type navigational aid
[{'concept': 'administrative territorial entity'}, 'located on terrain feature', 'Baltic Sea'] [{'concept': 'navigational aid'}, 'located on terrain feature', 'Baltic Sea']
SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { { ?v rdf:type ontology:administrative_territorial_entity . ?v property:located_on_terrain_feature resource:Baltic_Sea } UNION { ?v property:located_on_terrain_feature resource:Baltic_Sea . ?v rdf:type ontology:navigational_aid } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q16178124 Q35581
P19 P190
Q515
USER
Which cities are sister towns of Hokkaidō and were Bae Jung-nam born ?
AND((Q35581,P190,c(Q515)), (Q16178124,P19,c(Q515)))
action filter_type
action intersection
action find
entity Q35581
relation P190
action find
entity Q16178124
relation P19
type Q515
{'AND': [['Q35581', 'P190', {'concept': 'Q515'}], ['Q16178124', 'P19', {'concept': 'Q515'}]]}
SELECT DISTINCT ?j WHERE { resource:Q16178124 property:P19 ?j . resource:Q35581 property:P190 ?j . ?j rdf:type ontology:Q515 }
Bae Jung-nam Hokkaidō
action filter_type
action intersection
action find
entity Hokkaidō
relation sister city
action find
entity Bae Jung-nam
relation place of birth
type city
{'AND': [['Hokkaidō', 'sister city', {'concept': 'city'}], ['Bae Jung-nam', 'place of birth', {'concept': 'city'}]]}
SELECT DISTINCT ?j WHERE { resource:Bae_Jung-nam property:place_of_birth ?j . resource:Hokkaidō property:sister_city ?j . ?j rdf:type ontology:city }
[]
city
Q16520
SYSTEM
Busan
Q16520
AND((Q35581,P190,c(Q515)), (Q16178124,P19,c(Q515)))
action filter_type
action intersection
action find
entity Q35581
relation P190
action find
entity Q16178124
relation P19
type Q515
[ANSWER] is sister towns of Hokkaidō and were Bae Jung-nam born
{'AND': [['Q35581', 'P190', {'concept': 'Q515'}], ['Q16178124', 'P19', {'concept': 'Q515'}]]}
SELECT DISTINCT ?j WHERE { resource:Q16178124 property:P19 ?j . resource:Q35581 property:P190 ?j . ?j rdf:type ontology:Q515 }
Busan
Busan is sister towns of Hokkaidō and were Bae Jung-nam born
Busan
action filter_type
action intersection
action find
entity Hokkaidō
relation sister city
action find
entity Bae Jung-nam
relation place of birth
type city
{'AND': [['Hokkaidō', 'sister city', {'concept': 'city'}], ['Bae Jung-nam', 'place of birth', {'concept': 'city'}]]}
SELECT DISTINCT ?j WHERE { resource:Bae_Jung-nam property:place_of_birth ?j . resource:Hokkaidō property:sister_city ?j . ?j rdf:type ontology:city }
[]