Simple Question (Direct)
Simple Question
Q218661
P21
Q290
USER
Which sex does Morarji Desai possess ?
(Q218661,P21,c(Q290))
action filter_type
action find
entity Q218661
relation P21
type Q290
['Q218661', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q290 . resource:Q218661 property:P21 ?b }
Morarji Desai
action filter_type
action find
entity Morarji Desai
relation gender
type sex
['Morarji Desai', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:sex . resource:Morarji_Desai property:gender ?b }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q218661,P21,c(Q290))
action filter_type
action find
entity Q218661
relation P21
type Q290
[ANSWER]
['Q218661', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q290 . resource:Q218661 property:P21 ?b }
male
male
action filter_type
action find
entity Morarji Desai
relation gender
type sex
['Morarji Desai', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:sex . resource:Morarji_Desai property:gender ?b }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q218661
P488
Q7210356
USER
Which political organization has that person as its chairperson ?
(c(Q7210356),P488,Q6581097)
action filter_type
action find_reverse
entity Q218661
relation P488
type Q7210356
[{'concept': 'Q7210356'}, 'P488', 'Q6581097']
SELECT DISTINCT ?q WHERE { ?q property:P488 resource:Q218661 . ?q rdf:type ontology:Q7210356 }
Morarji Desai
action filter_type
action find_reverse
entity Morarji Desai
relation chairperson
type political organization
[{'concept': 'political organization'}, 'chairperson', 'male']
SELECT DISTINCT ?q WHERE { ?q property:chairperson resource:Morarji_Desai . ?q rdf:type ontology:political_organization }
[]
political organization
Q2352638
SYSTEM
Janata Party
Q2352638
(c(Q7210356),P488,Q6581097)
action filter_type
action find_reverse
entity Q218661
relation P488
type Q7210356
[ANSWER]
[{'concept': 'Q7210356'}, 'P488', 'Q6581097']
SELECT DISTINCT ?q WHERE { ?q property:P488 resource:Q218661 . ?q rdf:type ontology:Q7210356 }
Janata Party
Janata Party
action filter_type
action find_reverse
entity Morarji Desai
relation chairperson
type political organization
[{'concept': 'political organization'}, 'chairperson', 'male']
SELECT DISTINCT ?q WHERE { ?q property:chairperson resource:Morarji_Desai . ?q rdf:type ontology:political_organization }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q6581072 Q6581097
P21
Q502895
USER
Which people are a male and female ?
AND((c(Q502895),P21,Q6581097), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q6581097
relation P21
action find_reverse
entity Q6581072
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P21', 'Q6581097'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . ?x property:P21 resource:Q6581097 . ?x property:P21 resource:Q6581072 }
female male
action filter_type
action intersection
action find_reverse
entity male
relation gender
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'gender', 'male'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . ?x property:gender resource:male . ?x property:gender resource:female }
[]
common name
Q12734885 Q503007 Q5856706 Q3809749 Q298423 Q525066 Q24500675 Q2882250 Q22073991 Q459844
SYSTEM
Some of them are Maria-Magdalena Zaharescu, Andreja Pejić, Ingel Fallstedt, Jaiyah Saelua, Chelsea Manning, Liss Eriksson, Amadeus Serafini, Jingjing Wang, Saalumarada Thimmakka, Norah Al Faiz
Q12966459 Q17600942 Q3260705 Q5874237 Q21391750 Q17225819 Q5972494 Q16941580 Q16733519 Q11622868 Q6702791 Q10263785 Q6571041 Q16732132 Q24264223 Q20401379 Q20119921 Q2312612 Q16164967 Q242700 Q6555624 Q12586819 Q23698979 Q17628096 Q22342662 Q525066 Q9544977 Q503007 Q22280111 Q22102078 Q5482749 Q21392153 Q201204 Q10281088 Q442804 Q16767898 Q22570074 Q21601127 Q12403076 Q14432239 Q12734885 Q734662 Q24500675 Q24034956 Q19957341 Q6258596 Q22236117 Q22808784 Q11379959 Q6003690 Q24807469 Q21857402 Q21258362 Q4979792 Q11449790 Q22001922 Q3575012 Q3764762 Q7377573 Q20068820 Q6031433 Q21794041 Q6438624 Q25768293 Q19448005 Q21503040 Q17148031 Q11604340 Q17158335 Q11815936 Q17364527 Q22280435 Q15934058 Q18559837 Q11201210 Q25748324 Q459844 Q2379965 Q3291942 Q17621841 Q20980163 Q453573 Q11531266 Q4255661 Q22675675 Q528434 Q237726 Q74813 Q2668396 Q298423 Q22073991 Q503575 Q23416861 Q15807938 Q19357604 Q18049905 Q26921704 Q2882250 Q18346977 Q2939204 Q3809749 Q12685049 Q21033490 Q5856706 Q16165783 Q5569499 Q12613187 Q7849225 Q16582167 Q19543099 Q16865281 Q22095108 Q12872947 Q15433626
AND((c(Q502895),P21,Q6581097), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q6581097
relation P21
action find_reverse
entity Q6581072
relation P21
type Q502895
[ANSWERS]
{'AND': [[{'concept': 'Q502895'}, 'P21', 'Q6581097'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . ?x property:P21 resource:Q6581097 . ?x property:P21 resource:Q6581072 }
Kim Ju-yeong Gert Portael Louis-Marie Autissier Hom Nguyen George Mather Luer Hajime Hyakkoku Leeland Dayton Mooring Antonio Merayo Ali Nuhu Kodai Fujii Luli Bitri Dalmau IV de Rocabertí Diemut Theato Robin Mathews Milko Tokola Hakima El Haite Lee Parkhill Floris Meydam Ivan Almeida Naima Mora Hana Shezifi Gilgun Elmo Jankari Rafeef Ziadah Magdalena Mayr Liss Eriksson Lilly Wachowski Andreja Pejić Yengkhom Roma Letebrhan Haylay Gebreslasea Francis Wheatley Jian-Huan Yang Dana International Fenedy Masauvakalo Anna Grodzka Chanmi Elisabeth Ullmann Marina Lampraki-Plaka Ángel Martínez Ortega Benny Motzfeldt Maria-Magdalena Zaharescu Joan de Munchensi Amadeus Serafini Jaki Irvine Tinne De Caigny John Spaulding Colombe Marcasiano Annegret Kuhn Kazue Itō María Elena Orantes Kudirat Akhigbe Miska Humaloja Dominique Van Der Straeten Emma Josepha Sparre Terunobu Utsunomiya Suzanne Schulting Zdeněk Koubek Shamshad Begum Rudy Autio Lesya Nikityuk Matthew W. Taylor Jelizaveta Potapova Gaz Beadle Shagdaryn Bira Juan Illas y Vidal Kenneth Neil Maria Espinalt i Font Akira Yoneda Songhaye Petia Stawrewa Ángel Tejeda Sun Vandeth Matsudaira Yoshiko Mirabel Topham Asmik Grigorian K. T. Rama Rao Norah Al Faiz Thomas Beatie Marie-Joseph Charles des Acres de l'Aigle Marta Linares Engel Reimers Vicki Richter Miki Matsumoto Adolfine Therese Leander-Flodin Nikola Jakadofsky Daniele Hypólito Rosalba Carriera Mina Caputo Parinya Charoenphol Chelsea Manning Saalumarada Thimmakka Cesare Nebbia Ivica Mavrenski Elvire De Bruyn Hamda Khamis Stanisława Witekowa Jean-Marie Aleokol Mabieme Jingjing Wang Jan Norback Carlo Guasco Jaiyah Saelua Chew Mei Fun Silke Weitendorf Ingel Fallstedt America Sanchez Glenys Barton Lee Hye-jin Kim Ye-ri Jorge Garate Ionna Stephanopoli Choi Jung-moon Taofik Adegbite Frosso Kiaou Florence Randal Livesay
Maria-Magdalena Zaharescu Andreja Pejić Ingel Fallstedt Jaiyah Saelua Chelsea Manning Liss Eriksson Amadeus Serafini Jingjing Wang Saalumarada Thimmakka Norah Al Faiz
action filter_type
action intersection
action find_reverse
entity male
relation gender
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'gender', 'male'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . ?x property:gender resource:male . ?x property:gender resource:female }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q298423 Q7713094
P241
Q781132
USER
How many military branches did Chelsea Manning or The Algonquin Regiment belong to ?
(Q298423,P241,c(Q781132)) (Q7713094,P241,c(Q781132))
action count
action union
action filter_type
action find
entity Q298423
relation P241
type Q781132
action filter_type
action find
entity Q7713094
relation P241
type Q781132
['Q298423', 'P241', {'concept': 'Q781132'}] ['Q7713094', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { ?f property:P241 ?w . VALUES ( ?f ) { ( resource:Q298423 ) ( resource:Q7713094 ) } }
Chelsea Manning The Algonquin Regiment
action count
action union
action filter_type
action find
entity Chelsea Manning
relation military branch
type military branch
action filter_type
action find
entity The Algonquin Regiment
relation military branch
type military branch
['Chelsea Manning', 'military branch', {'concept': 'military branch'}] ['The Algonquin Regiment', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { ?f property:military_branch ?w . VALUES ( ?f ) { ( resource:Chelsea_Manning ) ( resource:The_Algonquin_Regiment ) } }
[]
military branch
SYSTEM
2
Q9212 Q25436
(Q298423,P241,c(Q781132)) (Q7713094,P241,c(Q781132))
action count
action union
action filter_type
action find
entity Q298423
relation P241
type Q781132
action filter_type
action find
entity Q7713094
relation P241
type Q781132
[ANSWER]
['Q298423', 'P241', {'concept': 'Q781132'}] ['Q7713094', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { ?f property:P241 ?w . VALUES ( ?f ) { ( resource:Q298423 ) ( resource:Q7713094 ) } }
United States Army Canadian Army
2
action count
action union
action filter_type
action find
entity Chelsea Manning
relation military branch
type military branch
action filter_type
action find
entity The Algonquin Regiment
relation military branch
type military branch
['Chelsea Manning', 'military branch', {'concept': 'military branch'}] ['The Algonquin Regiment', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { ?f property:military_branch ?w . VALUES ( ?f ) { ( resource:Chelsea_Manning ) ( resource:The_Algonquin_Regiment ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q6619679
USER
How many fictional humanoids had approximately 6 people as the dubbing artist ?
(c(Q6619679),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q6619679
type Q502895
value 6
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { FILTER ( ?c = 6 ) . { SELECT DISTINCT ?x ( COUNT ( ?b ) AS ?c ) WHERE { ?x property:P725 ?b . ?x rdf:type ontology:Q6619679 . ?b rdf:type ontology:Q502895 } GROUP BY ?x } }
action count
action approx
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
value 6
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { FILTER ( ?c = 6 ) . { SELECT DISTINCT ?x ( COUNT ( ?b ) AS ?c ) WHERE { ?x property:voice_actor ?b . ?x rdf:type ontology:fictional_humanoid . ?b rdf:type ontology:common_name } GROUP BY ?x } }
[]
common name fictional humanoid
SYSTEM
1
Q15711517
(c(Q6619679),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q6619679
type Q502895
value 6
[ANSWER]
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { FILTER ( ?c = 6 ) . { SELECT DISTINCT ?x ( COUNT ( ?b ) AS ?c ) WHERE { ?x property:P725 ?b . ?x rdf:type ontology:Q6619679 . ?b rdf:type ontology:Q502895 } GROUP BY ?x } }
Granny Smith
1
action count
action approx
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
value 6
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { FILTER ( ?c = 6 ) . { SELECT DISTINCT ?x ( COUNT ( ?b ) AS ?c ) WHERE { ?x property:voice_actor ?b . ?x rdf:type ontology:fictional_humanoid . ?b rdf:type ontology:common_name } GROUP BY ?x } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q298423
P140
Q2712963
USER
What is the religion associated with Chelsea Manning ?
(Q298423,P140,c(Q2712963))
action filter_type
action find
entity Q298423
relation P140
type Q2712963
['Q298423', 'P140', {'concept': 'Q2712963'}]
SELECT DISTINCT ?e WHERE { resource:Q298423 property:P140 ?e . ?e rdf:type ontology:Q2712963 }
Chelsea Manning
action filter_type
action find
entity Chelsea Manning
relation religion
type abstract noun
['Chelsea Manning', 'religion', {'concept': 'abstract noun'}]
SELECT DISTINCT ?e WHERE { resource:Chelsea_Manning property:religion ?e . ?e rdf:type ontology:abstract_noun }
[]
abstract noun
Q7066
SYSTEM
atheism
Q7066
(Q298423,P140,c(Q2712963))
action filter_type
action find
entity Q298423
relation P140
type Q2712963
[ANSWER]
['Q298423', 'P140', {'concept': 'Q2712963'}]
SELECT DISTINCT ?e WHERE { resource:Q298423 property:P140 ?e . ?e rdf:type ontology:Q2712963 }
atheism
atheism
action filter_type
action find
entity Chelsea Manning
relation religion
type abstract noun
['Chelsea Manning', 'religion', {'concept': 'abstract noun'}]
SELECT DISTINCT ?e WHERE { resource:Chelsea_Manning property:religion ?e . ?e rdf:type ontology:abstract_noun }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q255463
Q2712963
USER
And also tell me about Camille Paglia?
(Q255463,P140,c(Q2712963))
action filter_type
action find
entity Q255463
relation P140
type Q2712963
['Q255463', 'P140', {'concept': 'Q2712963'}]
SELECT DISTINCT ?u WHERE { resource:Q255463 property:P140 ?u . ?u rdf:type ontology:Q2712963 }
Camille Paglia
action filter_type
action find
entity Camille Paglia
relation religion
type abstract noun
['Camille Paglia', 'religion', {'concept': 'abstract noun'}]
SELECT DISTINCT ?u WHERE { resource:Camille_Paglia property:religion ?u . ?u rdf:type ontology:abstract_noun }
[]
abstract noun
Q7066
SYSTEM
atheism
Q7066
(Q255463,P140,c(Q2712963))
action filter_type
action find
entity Q255463
relation P140
type Q2712963
[ANSWER]
['Q255463', 'P140', {'concept': 'Q2712963'}]
SELECT DISTINCT ?u WHERE { resource:Q255463 property:P140 ?u . ?u rdf:type ontology:Q2712963 }
atheism
atheism
action filter_type
action find
entity Camille Paglia
relation religion
type abstract noun
['Camille Paglia', 'religion', {'concept': 'abstract noun'}]
SELECT DISTINCT ?u WHERE { resource:Camille_Paglia property:religion ?u . ?u rdf:type ontology:abstract_noun }
[]