Simple Question (Direct)
Simple Question
Q4401144
P512
Q3412758
USER
What degree does Mariya Rut hold ?
(Q4401144,P512,c(Q3412758))
action filter_type
action find
entity Q4401144
relation P512
type Q3412758
['Q4401144', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q3412758 . resource:Q4401144 property:P512 ?p }
Mariya Rut
action filter_type
action find
entity Mariya Rut
relation academic degree
type qualification
['Mariya Rut', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:qualification . resource:Mariya_Rut property:academic_degree ?p }
[]
qualification
Q17281087
SYSTEM
Doktor Nauk in Philology
Q17281087
(Q4401144,P512,c(Q3412758))
action filter_type
action find
entity Q4401144
relation P512
type Q3412758
Mariya Rut holds a [ANSWER]
['Q4401144', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q3412758 . resource:Q4401144 property:P512 ?p }
Doktor Nauk in Philology
Mariya Rut holds a Doktor Nauk in Philology
Doktor Nauk in Philology
action filter_type
action find
entity Mariya Rut
relation academic degree
type qualification
['Mariya Rut', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:qualification . resource:Mariya_Rut property:academic_degree ?p }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4401144
P106
Q12737077
USER
What is the profession of Mariya Rut ?
(Q4401144,P106,c(Q12737077))
action filter_type
action find
entity Q4401144
relation P106
type Q12737077
['Q4401144', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q4401144 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
Mariya Rut
action filter_type
action find
entity Mariya Rut
relation occupation
type occupation
['Mariya Rut', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Mariya_Rut property:occupation ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q16880249
SYSTEM
dialectologist
Q16880249
(Q4401144,P106,c(Q12737077))
action filter_type
action find
entity Q4401144
relation P106
type Q12737077
The profession of Mariya Rut is a [ANSWER]
['Q4401144', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q4401144 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
dialectologist
The profession of Mariya Rut is a dialectologist
dialectologist
action filter_type
action find
entity Mariya Rut
relation occupation
type occupation
['Mariya Rut', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Mariya_Rut property:occupation ?u . ?u rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5890160
Q12737077
USER
And what about Homer N. Wallin?
(Q5890160,P106,c(Q12737077))
action filter_type
action find
entity Q5890160
relation P106
type Q12737077
['Q5890160', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q5890160 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
Homer N. Wallin
action filter_type
action find
entity Homer N. Wallin
relation occupation
type occupation
['Homer N. Wallin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Homer_N._Wallin property:occupation ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q81096 Q189290
SYSTEM
engineer, officer
Q81096 Q189290
(Q5890160,P106,c(Q12737077))
action filter_type
action find
entity Q5890160
relation P106
type Q12737077
[ANSWERS]
['Q5890160', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q5890160 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
engineer officer
engineer officer
action filter_type
action find
entity Homer N. Wallin
relation occupation
type occupation
['Homer N. Wallin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Homer_N._Wallin property:occupation ?h . ?h rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q17130051
P106
Q502895
USER
Do Atsushi Kurihara have a job as those occupations ?
(Q17130051,P106,Q81096) (Q17130051,P106,Q189290)
action is_in
entity prev_answer
action find
entity Q17130051
relation P106
['Q17130051', 'P106', 'Q81096'] ['Q17130051', 'P106', 'Q189290']
ASK WHERE { resource:Q17130051 property:P106 ?v . VALUES ( ?v ) { ( resource:Q81096 ) ( resource:Q189290 ) } }
Atsushi Kurihara
action is_in
entity prev_answer
action find
entity Atsushi Kurihara
relation occupation
['Atsushi Kurihara', 'occupation', 'engineer'] ['Atsushi Kurihara', 'occupation', 'officer']
ASK WHERE { resource:Atsushi_Kurihara property:occupation ?v . VALUES ( ?v ) { ( resource:engineer ) ( resource:officer ) } }
[]
common name
SYSTEM
NO
(Q17130051,P106,Q81096) (Q17130051,P106,Q189290)
action is_in
entity prev_answer
action find
entity Q17130051
relation P106
[ANSWER]
['Q17130051', 'P106', 'Q81096'] ['Q17130051', 'P106', 'Q189290']
ASK WHERE { resource:Q17130051 property:P106 ?v . VALUES ( ?v ) { ( resource:Q81096 ) ( resource:Q189290 ) } }
No
action is_in
entity prev_answer
action find
entity Atsushi Kurihara
relation occupation
['Atsushi Kurihara', 'occupation', 'engineer'] ['Atsushi Kurihara', 'occupation', 'officer']
ASK WHERE { resource:Atsushi_Kurihara property:occupation ?v . VALUES ( ?v ) { ( resource:engineer ) ( resource:officer ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4401144
P27
Q7275
USER
Which state does Mariya Rut belong to ?
(Q4401144,P27,c(Q7275))
action filter_type
action find
entity Q4401144
relation P27
type Q7275
['Q4401144', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?q WHERE { resource:Q4401144 property:P27 ?q . ?q rdf:type ontology:Q7275 }
Mariya Rut
action filter_type
action find
entity Mariya Rut
relation country of citizenship
type state
['Mariya Rut', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?q WHERE { resource:Mariya_Rut property:country_of_citizenship ?q . ?q rdf:type ontology:state }
[]
state
Q15180
SYSTEM
Soviet Union
Q15180
(Q4401144,P27,c(Q7275))
action filter_type
action find
entity Q4401144
relation P27
type Q7275
Mariya Rut belongs to [ANSWER]
['Q4401144', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?q WHERE { resource:Q4401144 property:P27 ?q . ?q rdf:type ontology:Q7275 }
Soviet Union
Mariya Rut belongs to Soviet Union
Soviet Union
action filter_type
action find
entity Mariya Rut
relation country of citizenship
type state
['Mariya Rut', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?q WHERE { resource:Mariya_Rut property:country_of_citizenship ?q . ?q rdf:type ontology:state }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q11878561
Q7275
USER
And what about Emil Franke?
(Q11878561,P27,c(Q7275))
action filter_type
action find
entity Q11878561
relation P27
type Q7275
['Q11878561', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q7275 . resource:Q11878561 property:P27 ?w }
Emil Franke
action filter_type
action find
entity Emil Franke
relation country of citizenship
type state
['Emil Franke', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:state . resource:Emil_Franke property:country_of_citizenship ?w }
[]
state
Q33946
SYSTEM
Czechoslovakia
Q33946
(Q11878561,P27,c(Q7275))
action filter_type
action find
entity Q11878561
relation P27
type Q7275
[ANSWER]
['Q11878561', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q7275 . resource:Q11878561 property:P27 ?w }
Czechoslovakia
Czechoslovakia
action filter_type
action find
entity Emil Franke
relation country of citizenship
type state
['Emil Franke', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:state . resource:Emil_Franke property:country_of_citizenship ?w }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q33946
P750
Q838948
USER
Which work of art has that state as its distributor ?
(c(Q838948),P750,Q33946)
action filter_type
action find_reverse
entity Q33946
relation P750
type Q838948
[{'concept': 'Q838948'}, 'P750', 'Q33946']
SELECT DISTINCT ?e WHERE { ?e property:P750 resource:Q33946 . ?e rdf:type ontology:Q838948 }
Czechoslovakia
action filter_type
action find_reverse
entity Czechoslovakia
relation distributor
type work of art
[{'concept': 'work of art'}, 'distributor', 'Czechoslovakia']
SELECT DISTINCT ?e WHERE { ?e property:distributor resource:Czechoslovakia . ?e rdf:type ontology:work_of_art }
[]
work of art
Q3403311
SYSTEM
Prince Bayaya
Q3403311
(c(Q838948),P750,Q33946)
action filter_type
action find_reverse
entity Q33946
relation P750
type Q838948
[ANSWER] has that state as its distributor
[{'concept': 'Q838948'}, 'P750', 'Q33946']
SELECT DISTINCT ?e WHERE { ?e property:P750 resource:Q33946 . ?e rdf:type ontology:Q838948 }
Prince Bayaya
Prince Bayaya has that state as its distributor
Prince Bayaya
action filter_type
action find_reverse
entity Czechoslovakia
relation distributor
type work of art
[{'concept': 'work of art'}, 'distributor', 'Czechoslovakia']
SELECT DISTINCT ?e WHERE { ?e property:distributor resource:Czechoslovakia . ?e rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q33946
P30
Q2221906
USER
Which geographic location is Czechoslovakia situated in ?
(Q33946,P30,c(Q2221906))
action filter_type
action find
entity Q33946
relation P30
type Q2221906
['Q33946', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q2221906 . resource:Q33946 property:P30 ?e }
Czechoslovakia
action filter_type
action find
entity Czechoslovakia
relation continent
type geographic location
['Czechoslovakia', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:geographic_location . resource:Czechoslovakia property:continent ?e }
[]
geographic location
Q46
SYSTEM
Europe
Q46
(Q33946,P30,c(Q2221906))
action filter_type
action find
entity Q33946
relation P30
type Q2221906
Czechoslovakia is situated in [ANSWER]
['Q33946', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q2221906 . resource:Q33946 property:P30 ?e }
Europe
Czechoslovakia is situated in Europe
Europe
action filter_type
action find
entity Czechoslovakia
relation continent
type geographic location
['Czechoslovakia', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:geographic_location . resource:Czechoslovakia property:continent ?e }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q766099
P706
Q2221906 Q3895768
USER
Which fictional locations are located in lesser number of geographic locations than Wakanda ?
(c(Q3895768),P706,c(Q2221906))
action less
action find_tuple_counts
relation P706
type Q3895768
type Q2221906
action count
action filter_type
action find
entity Q766099
relation P706
type Q2221906
[{'concept': 'Q3895768'}, 'P706', {'concept': 'Q2221906'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?l < ?r ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { resource:Q766099 property:P706 ?p . ?p rdf:type ontology:Q2221906 } } . { SELECT DISTINCT ?w ( COUNT ( ?b ) AS ?l ) WHERE { ?w property:P706 ?b . ?b rdf:type ontology:Q2221906 . ?w rdf:type ontology:Q3895768 } GROUP BY ?w } }
Wakanda
action less
action find_tuple_counts
relation located on terrain feature
type fictional location
type geographic location
action count
action filter_type
action find
entity Wakanda
relation located on terrain feature
type geographic location
[{'concept': 'fictional location'}, 'located on terrain feature', {'concept': 'geographic location'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?l < ?r ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { resource:Wakanda property:located_on_terrain_feature ?p . ?p rdf:type ontology:geographic_location } } . { SELECT DISTINCT ?w ( COUNT ( ?b ) AS ?l ) WHERE { ?w property:located_on_terrain_feature ?b . ?b rdf:type ontology:geographic_location . ?w rdf:type ontology:fictional_location } GROUP BY ?w } }
[]
geographic location fictional location
Q26922992 Q213223 Q641375
SYSTEM
Rock Tunnel, Arnor, Doriath
Q3098980 Q931583 Q2372432 Q18763210 Q18763211 Q18763212 Q5748800 Q5031960 Q5532694 Q12282683 Q26995312 Q11755466 Q1234628 Q20746359 Q12005279 Q10750431 Q1772976 Q2720685 Q13586486 Q3236023 Q2882138 Q3078960 Q3490968 Q11903265 Q717079 Q3358862 Q2104066 Q3305317 Q2722222 Q3591950 Q8458577 Q834656 Q5815259 Q26098 Q12287751 Q947309 Q6150892 Q13586984 Q27643192 Q27643193 Q218728 Q843151 Q2363061 Q3751838 Q2031367 Q3553489 Q20791988 Q3356700 Q18030290 Q719496 Q2288937 Q2609014 Q3490022 Q368572 Q509110 Q3315777 Q3932040 Q18763209 Q26987257 Q18379925 Q9088483 Q1098873 Q1417506 Q2328564 Q840539 Q18763205 Q18215067 Q308659 Q14088252 Q16540960 Q18381143 Q3493126 Q3192885 Q11800584 Q987372 Q3160818 Q947130 Q2866101 Q987380 Q2604645 Q3707746 Q2620849 Q3509107 Q3370353 Q20791967 Q26922992 Q2345258 Q2084841 Q2736938 Q13231336 Q2454900 Q9088888 Q3861637 Q46289 Q16382515 Q3434365 Q2638853 Q2792965 Q2930025 Q1755479 Q20267163 Q26985022 Q2918364 Q213223 Q9373781 Q1773933 Q1781719 Q11690667 Q932923 Q641375 Q1698465 Q2068808 Q2707952 Q661818 Q2272995 Q2997950 Q833022 Q632806 Q2519058 Q2294726 Q26995314 Q26995316 Q13221630 Q1066081 Q6470774 Q3319549 Q1772818 Q3200314 Q2721743 Q2634165 Q18763208 Q2997433 Q16896007 Q3647114 Q13222057 Q2280167 Q997218 Q79734 Q9360122 Q1991162 Q3510506 Q26995318 Q2014805 Q2603177 Q617964 Q10332032 Q10565747 Q2622787
(c(Q3895768),P706,c(Q2221906))
action less
action find_tuple_counts
relation P706
type Q3895768
type Q2221906
action count
action filter_type
action find
entity Q766099
relation P706
type Q2221906
[ANSWERS] are located in lesser number of geographic locations than Wakanda
[{'concept': 'Q3895768'}, 'P706', {'concept': 'Q2221906'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?l < ?r ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { resource:Q766099 property:P706 ?p . ?p rdf:type ontology:Q2221906 } } . { SELECT DISTINCT ?w ( COUNT ( ?b ) AS ?l ) WHERE { ?w property:P706 ?b . ?b rdf:type ontology:Q2221906 . ?w rdf:type ontology:Q3895768 } GROUP BY ?w } }
Blingdenstone Phatt Island Überwald Keshan Punt Zembabwei Carach Angren Candlekeep Genertela Carchost Victory Road Woodland Realm Angband Halruaa Taur-nu-Fuin Kingdom of Rhovanion Tol Eressëa Logres Kingdom of the Isles Dalelands Bandalong Formenos Agatean Empire Hornburg Isengard Aglon Dolmed Melvaunt Meduseld Evermeet Muntab Booty Island Durthang Lonely Mountain Narchost Umbar Towers of the Teeth Luskan Aether Paradise Melemele Shire Barad-dûr Forodwaith Rammas Echor Baldur's Gate Icewind Dale Kharé Cloudyhead New New York Angmar Brethil Nevrast Klatch Valinor Calacirya Mirabar Dwarf kingdom of the Dwarrowdelf Darfar Mt. Mortar Núath Torech Ungol Andúnië Fangorn Ankh-Morpork Eregion Xapur Lantan Lothlórien Himring Dor-Cúarthol Havens of the Falas Maglor's Gap Kara-Tur Last Bridge Isle of Balar Jambalaya Island Nan Elmoth Aryvandaar Thargelion Dor Daedeloth Dimholt Almaren Ephebe Eithel Sirion Kakhabad Rock Tunnel Menzoberranzan Amon Rûdh Bay of Belfalas Quirm Sevii Islands Tower of Cirith Ungol Haunted Mountain Mirkwood Amn Shrieking Shack Helcaraxë High Pass Beregost Dol Guldur Borogravia Ilex Forest Gap of Rohan Arnor Durin's Tower Tol Galen Orthanc Cirith Ninniach Old Forest Doriath Aman Utumno Silvertine Harad Tol Brandir Waterdeep Lindon Cair Andros Rauros Minas Tirith Victory Road Victory Road Sto Lat Neverwinter Chamber of Mazarbul Lancre Amon Ereb Kuldahar Ossiriand Dor-lómin Kush Cormyr Null Island Barad Eithel Genua March of Maedhros White Towers Middle-earth Tor Lara Erathia XXXX Victory Road Dorthonion Dunharrow Blood Island Mount Rerir Gulf of Lune Faerûn
Rock Tunnel, Arnor and Doriath are located in lesser number of geographic locations than Wakanda
Rock Tunnel Arnor Doriath
action less
action find_tuple_counts
relation located on terrain feature
type fictional location
type geographic location
action count
action filter_type
action find
entity Wakanda
relation located on terrain feature
type geographic location
[{'concept': 'fictional location'}, 'located on terrain feature', {'concept': 'geographic location'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?l < ?r ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { resource:Wakanda property:located_on_terrain_feature ?p . ?p rdf:type ontology:geographic_location } } . { SELECT DISTINCT ?w ( COUNT ( ?b ) AS ?l ) WHERE { ?w property:located_on_terrain_feature ?b . ?b rdf:type ontology:geographic_location . ?w rdf:type ontology:fictional_location } GROUP BY ?w } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q33946
P6
Q502895
USER
What people are Czechoslovakia the head of goverment of ?
(Q33946,P6,c(Q502895))
action filter_type
action find
entity Q33946
relation P6
type Q502895
['Q33946', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q33946 property:P6 ?x . ?x rdf:type ontology:Q502895 }
Czechoslovakia
action filter_type
action find
entity Czechoslovakia
relation head of government
type common name
['Czechoslovakia', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Czechoslovakia property:head_of_government ?x . ?x rdf:type ontology:common_name }
[]
common name
Q152274 Q974542 Q349893
SYSTEM
Edvard Beneš, Jan Syrový, Milan Hodža
Q349893 Q974542 Q717754 Q296054 Q555701 Q1399968 Q683269 Q465455 Q168975 Q694849 Q164312 Q725653 Q1682037 Q1682464 Q371854 Q152274 Q983583 Q2666912 Q159227 Q709968 Q2756999
(Q33946,P6,c(Q502895))
action filter_type
action find
entity Q33946
relation P6
type Q502895
[ANSWERS] are Czechoslovakia the head of goverment of
['Q33946', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q33946 property:P6 ?x . ?x rdf:type ontology:Q502895 }
Milan Hodža Jan Syrový Rudolf Beran Klement Gottwald Oldřich Černík Viliam Široký Lubomír Štrougal Jozef Lenárt Zdeněk Fierlinger Jan Šrámek Antonín Švehla Ladislav Adamec Jan Malypetr Jan Černý Antonín Zápotocký Edvard Beneš Jan Stráský Vlastimil Tusar Karel Kramář Marián Čalfa František Udržal
Edvard Beneš, Jan Syrový and Milan Hodža are Czechoslovakia the head of goverment of
Edvard Beneš Jan Syrový Milan Hodža
action filter_type
action find
entity Czechoslovakia
relation head of government
type common name
['Czechoslovakia', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Czechoslovakia property:head_of_government ?x . ?x rdf:type ontology:common_name }
[]