Simple Question (Direct)
Simple Question
Q3303118
P734
Q82799
USER
Who is associated with Manabu Wakabayashi ?
(Q3303118,P734,c(Q82799))
action filter_type
action find
entity Q3303118
relation P734
type Q82799
['Q3303118', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { resource:Q3303118 property:P734 ?r . ?r rdf:type ontology:Q82799 }
Manabu Wakabayashi
action filter_type
action find
entity Manabu Wakabayashi
relation family name
type name
['Manabu Wakabayashi', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { resource:Manabu_Wakabayashi property:family_name ?r . ?r rdf:type ontology:name }
[]
name
Q21451052
SYSTEM
Wakabayashi
Q21451052
(Q3303118,P734,c(Q82799))
action filter_type
action find
entity Q3303118
relation P734
type Q82799
[ANSWER] is associated with Manabu [ANSWER]
['Q3303118', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { resource:Q3303118 property:P734 ?r . ?r rdf:type ontology:Q82799 }
Wakabayashi
Wakabayashi is associated with Manabu Wakabayashi
Wakabayashi
action filter_type
action find
entity Manabu Wakabayashi
relation family name
type name
['Manabu Wakabayashi', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { resource:Manabu_Wakabayashi property:family_name ?r . ?r rdf:type ontology:name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P734
Q502895
USER
How many people have that name as last name ?
(c(Q502895),P734,Q21451052)
action count
action filter_type
action find_reverse
entity Q21451052
relation P734
type Q502895
[{'concept': 'Q502895'}, 'P734', 'Q21451052']
SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { ?p property:P734 resource:Q21451052 . ?p rdf:type ontology:Q502895 }
action count
action filter_type
action find_reverse
entity Wakabayashi
relation family name
type common name
[{'concept': 'common name'}, 'family name', 'Wakabayashi']
SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { ?p property:family_name resource:Wakabayashi . ?p rdf:type ontology:common_name }
[]
common name
SYSTEM
59
Q7674389 Q11616518 Q11616515 Q11616508 Q11616506 Q11616504 Q11616502 Q11616532 Q11616530 Q11616520 Q11616521 Q11616522 Q11616523 Q5733248 Q9058204 Q3870205 Q260536 Q9332100 Q5771604 Q5967222 Q2130952 Q17216390 Q3363346 Q11616528 Q3303118 Q17216339 Q11616494 Q11616496 Q11616497 Q17216353 Q11616514 Q11616517 Q11616513 Q11616500 Q11616487 Q11616486 Q11616483 Q11616482 Q11616480 Q11616490 Q11616491 Q11616492 Q11616469 Q11616468 Q11616465 Q11616464 Q11616467 Q11616466 Q11616460 Q11616463 Q11616510 Q1739044 Q11616474 Q11616475 Q11616473 Q11616470 Q11616471 Q11616526 Q17230793
(c(Q502895),P734,Q21451052)
action count
action filter_type
action find_reverse
entity Q21451052
relation P734
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P734', 'Q21451052']
SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { ?p property:P734 resource:Q21451052 . ?p rdf:type ontology:Q502895 }
Tadashi Wakabayashi Miho Wakabayashi Toshiya Wakabayashi Moriaki Wakabayashi Ryūsei Wakabayashi Risa Wakabayashi Saori Wakabayashi Maiko Wakabayashi Takanobu Wakabayashi Shōko Wakabayashi Megumi Wakabayashi Maiko Wakabayashi Shigenori Wakabayashi Herb Wakabayashi Masahiro Wakabayashi Naomi Wakabayashi Masatoshi Wakabayashi Juri Wakabayashi Hiroyuki Wakabayashi Katsunori Wakabayashi Takeo Wakabayashi Ryō Wakabayashi Shigeki Wakabayashi Tatsuo Wakabayashi Manabu Wakabayashi Akira Wakabayashi Keiji Wakabayashi Tokio Wakabayashi Kagemitsu Wakabayashi Hisashi Wakabayashi Hideki Wakabayashi Sumio Wakabayashi Hidetoshi Wakabayashi Masato Wakabayashi Hiroyasu Wakabayashi Mikio Wakabayashi Shō Wakabayashi Hiroki Wakabayashi Isamu Wakabayashi Tadahiro Wakabayashi Mana Wakabayashi Ken'ichi Wakabayashi Katsuhiko Wakabayashi Yūka Wakabayashi Kenji Wakabayashi Reo Wakabayashi Kenji Wakabayashi Shunsuke Wakabayashi Hisaya Wakabayashi Hitoshi Wakabayashi Shin Wakabayashi Kenta Wakabayashi Yūichi Wakabayashi Fumie Wakabayashi Atsushi Wakabayashi Kana Wakabayashi Noriyasu Wakabayashi Kiyoshi Wakabayashi Yōhei Wakabayashi
59
action count
action filter_type
action find_reverse
entity Wakabayashi
relation family name
type common name
[{'concept': 'common name'}, 'family name', 'Wakabayashi']
SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { ?p property:family_name resource:Wakabayashi . ?p rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3303118
P641
Q349
USER
What did Manabu Wakabayashi participate in ?
(Q3303118,P641,c(Q349))
action filter_type
action find
entity Q3303118
relation P641
type Q349
['Q3303118', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q349 . resource:Q3303118 property:P641 ?o }
Manabu Wakabayashi
action filter_type
action find
entity Manabu Wakabayashi
relation sport
type sport
['Manabu Wakabayashi', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:sport . resource:Manabu_Wakabayashi property:sport ?o }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q3303118,P641,c(Q349))
action filter_type
action find
entity Q3303118
relation P641
type Q349
Manabu Wakabayashi participated in [ANSWER]
['Q3303118', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q349 . resource:Q3303118 property:P641 ?o }
association football
Manabu Wakabayashi participated in association football
association football
action filter_type
action find
entity Manabu Wakabayashi
relation sport
type sport
['Manabu Wakabayashi', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:sport . resource:Manabu_Wakabayashi property:sport ?o }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P101
Q349 Q2342494
USER
Which sports are the area of more number of collectables than that sport ?
(c(Q2342494),P101,c(Q349))
action greater
action find_reverse_tuple_counts
relation P101
type Q349
type Q2342494
action count
action filter_type
action find
entity Q2736
relation P101
type Q349
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?t ) AS ?s ) WHERE { ?t property:P101 ?p . ?p rdf:type ontology:Q349 . ?t rdf:type ontology:Q2342494 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { ?n rdf:type ontology:Q349 . resource:Q2736 property:P101 ?n } } . FILTER ( ?s > ?w ) }
action greater
action find_reverse_tuple_counts
relation field of work
type sport
type collectable
action count
action filter_type
action find
entity association football
relation field of work
type sport
[{'concept': 'collectable'}, 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?t ) AS ?s ) WHERE { ?t property:field_of_work ?p . ?p rdf:type ontology:sport . ?t rdf:type ontology:collectable } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { ?n rdf:type ontology:sport . resource:association_football property:field_of_work ?n } } . FILTER ( ?s > ?w ) }
[]
sport collectable
Q1109032
SYSTEM
college football
Q1109032
(c(Q2342494),P101,c(Q349))
action greater
action find_reverse_tuple_counts
relation P101
type Q349
type Q2342494
action count
action filter_type
action find
entity Q2736
relation P101
type Q349
[ANSWER] is the area of more number of collectables than that sport
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?t ) AS ?s ) WHERE { ?t property:P101 ?p . ?p rdf:type ontology:Q349 . ?t rdf:type ontology:Q2342494 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { ?n rdf:type ontology:Q349 . resource:Q2736 property:P101 ?n } } . FILTER ( ?s > ?w ) }
college football
College football is the area of more number of collectables than that sport
college football
action greater
action find_reverse_tuple_counts
relation field of work
type sport
type collectable
action count
action filter_type
action find
entity association football
relation field of work
type sport
[{'concept': 'collectable'}, 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?t ) AS ?s ) WHERE { ?t property:field_of_work ?p . ?p rdf:type ontology:sport . ?t rdf:type ontology:collectable } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { ?n rdf:type ontology:sport . resource:association_football property:field_of_work ?n } } . FILTER ( ?s > ?w ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1321
P407
Q34770 Q82799
USER
Which languages are lesser number of names in than Spanish ?
(c(Q82799),P407,c(Q34770))
action less
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_type
action find_reverse
entity Q1321
relation P407
type Q82799
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?w ) AS ?m ) WHERE { ?w property:P407 ?p . ?w rdf:type ontology:Q82799 . ?p rdf:type ontology:Q34770 } GROUP BY ?p } . FILTER ( ?m < ?h ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { ?e property:P407 resource:Q1321 . ?e rdf:type ontology:Q82799 } } }
Spanish
action less
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_type
action find_reverse
entity Spanish
relation language of work or name
type name
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?w ) AS ?m ) WHERE { ?w property:language_of_work_or_name ?p . ?w rdf:type ontology:name . ?p rdf:type ontology:language } GROUP BY ?p } . FILTER ( ?m < ?h ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { ?e property:language_of_work_or_name resource:Spanish . ?e rdf:type ontology:name } } }
[]
language name
Q447117 Q35499 Q35726
SYSTEM
Old Egyptian, Old Church Slavonic, Etruscan
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q8785 Q35726 Q34909 Q27403 Q1420587 Q36206 Q33976 Q33879 Q10498031 Q397 Q9056 Q8752 Q37041 Q652 Q35505 Q25167 Q25164 Q56982 Q35308 Q36790 Q447117
(c(Q82799),P407,c(Q34770))
action less
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_type
action find_reverse
entity Q1321
relation P407
type Q82799
[ANSWERS] are lesser number of names in than Spanish
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?w ) AS ?m ) WHERE { ?w property:P407 ?p . ?w rdf:type ontology:Q82799 . ?p rdf:type ontology:Q34770 } GROUP BY ?p } . FILTER ( ?m < ?h ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { ?e property:P407 resource:Q1321 . ?e rdf:type ontology:Q82799 } } }
Egyptian hieroglyphs Traditional Chinese Simplified Chinese Serbian written in Cyrillic Old Church Slavonic Riksmål Armenian Etruscan Old Icelandic Galatian Høgnorsk Lak Sardinian language Pangasinan language Old East Norse Latin Czech Basque classical Chinese Italian Old Norse language Bokmål Nynorsk Judaeo-Portuguese Old Irish Sumerian Old Egyptian
Old Egyptian, Old Church Slavonic and Etruscan are lesser number of names in than Spanish
Old Egyptian Old Church Slavonic Etruscan
action less
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_type
action find_reverse
entity Spanish
relation language of work or name
type name
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?w ) AS ?m ) WHERE { ?w property:language_of_work_or_name ?p . ?w rdf:type ontology:name . ?p rdf:type ontology:language } GROUP BY ?p } . FILTER ( ?m < ?h ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { ?e property:language_of_work_or_name resource:Spanish . ?e rdf:type ontology:name } } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P37
Q34770 Q1048835
USER
Which political territories are known to have min number of languages as their official language ?
(c(Q1048835),P37,c(Q34770))
action argmin
action find_tuple_counts
relation P37
type Q1048835
type Q34770
[{'concept': 'Q1048835'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?f ) AS ?k ) WHERE { ?i property:P37 ?f . ?i rdf:type ontology:Q1048835 . ?f rdf:type ontology:Q34770 } GROUP BY ?i } . FILTER ( ?k = ?g ) . { SELECT DISTINCT ( MIN ( ?b ) AS ?g ) { SELECT DISTINCT ?q ( COUNT ( ?t ) AS ?b ) WHERE { ?q property:P37 ?t . ?q rdf:type ontology:Q1048835 . ?t rdf:type ontology:Q34770 } GROUP BY ?q } } }
action argmin
action find_tuple_counts
relation official language
type political territorial entity
type language
[{'concept': 'political territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?f ) AS ?k ) WHERE { ?i property:official_language ?f . ?i rdf:type ontology:political_territorial_entity . ?f rdf:type ontology:language } GROUP BY ?i } . FILTER ( ?k = ?g ) . { SELECT DISTINCT ( MIN ( ?b ) AS ?g ) { SELECT DISTINCT ?q ( COUNT ( ?t ) AS ?b ) WHERE { ?q property:official_language ?t . ?q rdf:type ontology:political_territorial_entity . ?t rdf:type ontology:language } GROUP BY ?q } } }
[]
language political territorial entity
Q183 Q35 Q40
SYSTEM
Germany, Denmark, Austria
Q13116 Q1000 Q2012050 Q49657 Q4540 Q89959 Q193619 Q49662 Q49663 Q49660 Q49661 Q240 Q49655 Q300608 Q4395303 Q181633 Q35 Q171852 Q641138 Q4421880 Q789334 Q42780 Q183 Q49659 Q49654 Q49651 Q231 Q234 Q90027 Q40 Q4218003 Q9331 Q3899 Q9337 Q4410386 Q171965 Q18257 Q4325072
(c(Q1048835),P37,c(Q34770))
action argmin
action find_tuple_counts
relation P37
type Q1048835
type Q34770
[ANSWERS] are known to have min number of languages as their official language
[{'concept': 'Q1048835'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?f ) AS ?k ) WHERE { ?i property:P37 ?f . ?i rdf:type ontology:Q1048835 . ?f rdf:type ontology:Q34770 } GROUP BY ?i } . FILTER ( ?k = ?g ) . { SELECT DISTINCT ( MIN ( ?b ) AS ?g ) { SELECT DISTINCT ?q ( COUNT ( ?t ) AS ?b ) WHERE { ?q property:P37 ?t . ?q rdf:type ontology:Q1048835 . ?t rdf:type ontology:Q34770 } GROUP BY ?q } } }
Benelux Gabon Donetsk Oblast Schaan Eschen French Community of Belgium Union of South Africa Gamprin Balzers Planken Mauren Brussels Schellenberg A Ver-o-Mar Rivne Mykolaiv Oblast Denmark Odessa Oblast Duchy of Cleves Skypche Balažer Ningbo Germany Ruggell Triesen Triesenberg Walloon Region Flemish Region German-speaking Community of Belgium Austria Kachkarivka Flemish Community Kalimantan Timur Flemish Region Svitlohirske Luhansk Oblast Abella de la Conca Zoriane
Germany, Denmark and Austria are known to have min number of languages as their official language
Germany Denmark Austria
action argmin
action find_tuple_counts
relation official language
type political territorial entity
type language
[{'concept': 'political territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?f ) AS ?k ) WHERE { ?i property:official_language ?f . ?i rdf:type ontology:political_territorial_entity . ?f rdf:type ontology:language } GROUP BY ?i } . FILTER ( ?k = ?g ) . { SELECT DISTINCT ( MIN ( ?b ) AS ?g ) { SELECT DISTINCT ?q ( COUNT ( ?t ) AS ?b ) WHERE { ?q property:official_language ?t . ?q rdf:type ontology:political_territorial_entity . ?t rdf:type ontology:language } GROUP BY ?q } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q38
P530
Q15617994
USER
Are Italy known to have diplomatic connections with those political territories ?
(Q38,P530,Q183) (Q38,P530,Q35) (Q38,P530,Q40)
action is_in
entity prev_answer
action find
entity Q38
relation P530
['Q38', 'P530', 'Q183'] ['Q38', 'P530', 'Q35'] ['Q38', 'P530', 'Q40']
ASK WHERE { resource:Q38 property:P530 ?p . VALUES ( ?p ) { ( resource:Q13116 ) ( resource:Q1000 ) ( resource:Q2012050 ) } }
Italy
action is_in
entity prev_answer
action find
entity Italy
relation diplomatic relation
['Italy', 'diplomatic relation', 'Germany'] ['Italy', 'diplomatic relation', 'Denmark'] ['Italy', 'diplomatic relation', 'Austria']
ASK WHERE { resource:Italy property:diplomatic_relation ?p . VALUES ( ?p ) { ( resource:Benelux ) ( resource:Gabon ) ( resource:Donetsk_Oblast ) } }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q38,P530,Q183) (Q38,P530,Q35) (Q38,P530,Q40)
action is_in
entity prev_answer
action find
entity Q38
relation P530
[ANSWER]
['Q38', 'P530', 'Q183'] ['Q38', 'P530', 'Q35'] ['Q38', 'P530', 'Q40']
ASK WHERE { resource:Q38 property:P530 ?p . VALUES ( ?p ) { ( resource:Q13116 ) ( resource:Q1000 ) ( resource:Q2012050 ) } }
Yes
action is_in
entity prev_answer
action find
entity Italy
relation diplomatic relation
['Italy', 'diplomatic relation', 'Germany'] ['Italy', 'diplomatic relation', 'Denmark'] ['Italy', 'diplomatic relation', 'Austria']
ASK WHERE { resource:Italy property:diplomatic_relation ?p . VALUES ( ?p ) { ( resource:Benelux ) ( resource:Gabon ) ( resource:Donetsk_Oblast ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P194
Q11204
USER
Which legislature is the representative body for Germany ?
(Q183,P194,c(Q11204))
action filter_type
action find
entity Q183
relation P194
type Q11204
['Q183', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?f WHERE { resource:Q183 property:P194 ?f . ?f rdf:type ontology:Q11204 }
Germany
action filter_type
action find
entity Germany
relation legislative body
type legislature
['Germany', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?f WHERE { resource:Germany property:legislative_body ?f . ?f rdf:type ontology:legislature }
[]
legislature
Q146138
SYSTEM
Bundesrat
Q146138
(Q183,P194,c(Q11204))
action filter_type
action find
entity Q183
relation P194
type Q11204
The [ANSWER] is the representative body for Germany
['Q183', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?f WHERE { resource:Q183 property:P194 ?f . ?f rdf:type ontology:Q11204 }
Bundesrat
The Bundesrat is the representative body for Germany
Bundesrat
action filter_type
action find
entity Germany
relation legislative body
type legislature
['Germany', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?f WHERE { resource:Germany property:legislative_body ?f . ?f rdf:type ontology:legislature }
[]