Simple Question (Direct)
Simple Question
Q2555139
P21
Q290
USER
Which sex does Christina of Denmark, Queen of Norway possess ?
(Q2555139,P21,c(Q290))
action filter_type
action find
entity Q2555139
relation P21
type Q290
['Q2555139', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q2555139 property:P21 ?j . ?j rdf:type ontology:Q290 }
Christina of Denmark, Queen of Norway
action filter_type
action find
entity Christina of Denmark, Queen of Norway
relation gender
type sex
['Christina of Denmark, Queen of Norway', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Christina_of_Denmark,_Queen_of_Norway property:gender ?j . ?j rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q2555139,P21,c(Q290))
action filter_type
action find
entity Q2555139
relation P21
type Q290
Christina of Denmark , Queen of Norway possesses a [ANSWER]
['Q2555139', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q2555139 property:P21 ?j . ?j rdf:type ontology:Q290 }
female
Christina of Denmark , Queen of Norway possesses a female
female
action filter_type
action find
entity Christina of Denmark, Queen of Norway
relation gender
type sex
['Christina of Denmark, Queen of Norway', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Christina_of_Denmark,_Queen_of_Norway property:gender ?j . ?j rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2555139
P40
Q502895
USER
Whose child are Christina of Denmark, Queen of Norway ?
(c(Q502895),P40,Q2555139)
action filter_type
action find_reverse
entity Q2555139
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q2555139']
SELECT DISTINCT ?c WHERE { ?c property:P40 resource:Q2555139 . ?c rdf:type ontology:Q502895 }
Christina of Denmark, Queen of Norway
action filter_type
action find_reverse
entity Christina of Denmark, Queen of Norway
relation child
type common name
[{'concept': 'common name'}, 'child', 'Christina of Denmark, Queen of Norway']
SELECT DISTINCT ?c WHERE { ?c property:child resource:Christina_of_Denmark,_Queen_of_Norway . ?c rdf:type ontology:common_name }
[]
common name
Q1445064 Q434760
SYSTEM
Ingeborg of Kiev, Canute Lavard
Q1445064 Q434760
(c(Q502895),P40,Q2555139)
action filter_type
action find_reverse
entity Q2555139
relation P40
type Q502895
[ANSWERS] are Christina of Denmark, Queen of Norway
[{'concept': 'Q502895'}, 'P40', 'Q2555139']
SELECT DISTINCT ?c WHERE { ?c property:P40 resource:Q2555139 . ?c rdf:type ontology:Q502895 }
Ingeborg of Kiev Canute Lavard
Ingeborg of Kiev and Canute Lavard are Christina of Denmark, Queen of Norway
Ingeborg of Kiev Canute Lavard
action filter_type
action find_reverse
entity Christina of Denmark, Queen of Norway
relation child
type common name
[{'concept': 'common name'}, 'child', 'Christina of Denmark, Queen of Norway']
SELECT DISTINCT ?c WHERE { ?c property:child resource:Christina_of_Denmark,_Queen_of_Norway . ?c rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2555139
P26
Q502895
USER
Which person has Christina of Denmark, Queen of Norway as spouse ?
(c(Q502895),P26,Q2555139)
action filter_type
action find
entity Q2555139
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q2555139']
SELECT DISTINCT ?s WHERE { resource:Q2555139 property:P26 ?s . ?s rdf:type ontology:Q502895 }
Christina of Denmark, Queen of Norway
action filter_type
action find
entity Christina of Denmark, Queen of Norway
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Christina of Denmark, Queen of Norway']
SELECT DISTINCT ?s WHERE { resource:Christina_of_Denmark,_Queen_of_Norway property:spouse ?s . ?s rdf:type ontology:common_name }
[]
common name
Q343101
SYSTEM
Magnus IV of Norway
Q343101
(c(Q502895),P26,Q2555139)
action filter_type
action find
entity Q2555139
relation P26
type Q502895
[ANSWER] has Christina of Denmark, Queen of Norway as spouse
[{'concept': 'Q502895'}, 'P26', 'Q2555139']
SELECT DISTINCT ?s WHERE { resource:Q2555139 property:P26 ?s . ?s rdf:type ontology:Q502895 }
Magnus IV of Norway
Magnus IV of Norway has Christina of Denmark, Queen of Norway as spouse
Magnus IV of Norway
action filter_type
action find
entity Christina of Denmark, Queen of Norway
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Christina of Denmark, Queen of Norway']
SELECT DISTINCT ?s WHERE { resource:Christina_of_Denmark,_Queen_of_Norway property:spouse ?s . ?s rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q343101
P7
Q502895
USER
Who is a sibling of that one ?
(c(Q502895),P7,Q343101)
action filter_type
action find_reverse
entity Q343101
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q343101']
SELECT DISTINCT ?i WHERE { ?i property:P7 resource:Q343101 . ?i rdf:type ontology:Q502895 }
Magnus IV of Norway
action filter_type
action find_reverse
entity Magnus IV of Norway
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Magnus IV of Norway']
SELECT DISTINCT ?i WHERE { ?i property:brother resource:Magnus_IV_of_Norway . ?i rdf:type ontology:common_name }
[]
common name
Q642075
SYSTEM
Kristin Sigurdsdatter
Q642075
(c(Q502895),P7,Q343101)
action filter_type
action find_reverse
entity Q343101
relation P7
type Q502895
A sibling of that one is Princess [ANSWER]
[{'concept': 'Q502895'}, 'P7', 'Q343101']
SELECT DISTINCT ?i WHERE { ?i property:P7 resource:Q343101 . ?i rdf:type ontology:Q502895 }
Kristin Sigurdsdatter
A sibling of that one is Princess Kristin Sigurdsdatter
Kristin Sigurdsdatter
action filter_type
action find_reverse
entity Magnus IV of Norway
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Magnus IV of Norway']
SELECT DISTINCT ?i WHERE { ?i property:brother resource:Magnus_IV_of_Norway . ?i rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q6581072 Q6581097
P21
Q502895
USER
How many people have female and male as the sex ?
(c(Q502895),P21,Q6581072) (c(Q502895),P21,Q6581097)
action count
action intersection
action filter_type
action find_reverse
entity Q6581072
relation P21
type Q502895
action filter_type
action find_reverse
entity Q6581097
relation P21
type Q502895
[{'concept': 'Q502895'}, 'P21', 'Q6581072'] [{'concept': 'Q502895'}, 'P21', 'Q6581097']
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { ?y property:P21 resource:Q6581072 . ?y rdf:type ontology:Q502895 . ?y property:P21 resource:Q6581097 . ?y rdf:type ontology:Q502895 }
female male
action count
action intersection
action filter_type
action find_reverse
entity female
relation gender
type common name
action filter_type
action find_reverse
entity male
relation gender
type common name
[{'concept': 'common name'}, 'gender', 'female'] [{'concept': 'common name'}, 'gender', 'male']
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { ?y property:gender resource:female . ?y rdf:type ontology:common_name . ?y property:gender resource:male . ?y rdf:type ontology:common_name }
[]
common name
SYSTEM
114
Q12966459 Q24500675 Q17600942 Q3260705 Q5874237 Q21391750 Q17225819 Q21258362 Q16941580 Q16733519 Q11622868 Q6702791 Q10263785 Q6571041 Q16165783 Q16732132 Q24264223 Q20401379 Q20119921 Q2312612 Q16164967 Q242700 Q6555624 Q12586819 Q23698979 Q17628096 Q22342662 Q525066 Q9544977 Q503007 Q22280111 Q22102078 Q22236117 Q21392153 Q201204 Q10281088 Q442804 Q16767898 Q22570074 Q21601127 Q12403076 Q14432239 Q12734885 Q734662 Q22808784 Q24034956 Q19957341 Q6258596 Q5482749 Q11379959 Q24807469 Q21857402 Q5972494 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 Q23416861 Q11531266 Q4255661 Q22675675 Q528434 Q237726 Q74813 Q2668396 Q298423 Q22073991 Q503575 Q453573 Q22095108 Q19357604 Q18049905 Q26921704 Q2882250 Q18346977 Q2939204 Q3809749 Q12685049 Q21033490 Q5856706 Q6003690 Q5569499 Q12613187 Q7849225 Q16582167 Q19543099 Q16865281 Q15807938 Q12872947 Q15433626
(c(Q502895),P21,Q6581072) (c(Q502895),P21,Q6581097)
action count
action intersection
action filter_type
action find_reverse
entity Q6581072
relation P21
type Q502895
action filter_type
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P21', 'Q6581072'] [{'concept': 'Q502895'}, 'P21', 'Q6581097']
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { ?y property:P21 resource:Q6581072 . ?y rdf:type ontology:Q502895 . ?y property:P21 resource:Q6581097 . ?y rdf:type ontology:Q502895 }
Kim Ju-yeong Amadeus Serafini Gert Portael Louis-Marie Autissier Hom Nguyen George Mather Luer Hajime Hyakkoku Dominique Van Der Straeten Antonio Merayo Ali Nuhu Kodai Fujii Luli Bitri Dalmau IV de Rocabertí Diemut Theato America Sanchez 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 Colombe Marcasiano 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 Annegret Kuhn Jaki Irvine Tinne De Caigny John Spaulding Francis Wheatley Kazue Itō Kudirat Akhigbe Miska Humaloja Leeland Dayton Mooring 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 Ivica Mavrenski Miki Matsumoto Adolfine Therese Leander-Flodin Nikola Jakadofsky Daniele Hypólito Rosalba Carriera Mina Caputo Parinya Charoenphol Chelsea Manning Saalumarada Thimmakka Cesare Nebbia Vicki Richter Taofik Adegbite Hamda Khamis Stanisława Witekowa Jean-Marie Aleokol Mabieme Jingjing Wang Jan Norback Carlo Guasco Jaiyah Saelua Chew Mei Fun Silke Weitendorf Ingel Fallstedt María Elena Orantes Glenys Barton Lee Hye-jin Kim Ye-ri Jorge Garate Ionna Stephanopoli Choi Jung-moon Elvire De Bruyn Frosso Kiaou Florence Randal Livesay
114
action count
action intersection
action filter_type
action find_reverse
entity female
relation gender
type common name
action filter_type
action find_reverse
entity male
relation gender
type common name
[{'concept': 'common name'}, 'gender', 'female'] [{'concept': 'common name'}, 'gender', 'male']
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { ?y property:gender resource:female . ?y rdf:type ontology:common_name . ?y property:gender resource:male . ?y rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1445064
P22
Q502895
USER
Which person was the father of Ingeborg of Kiev ?
(Q1445064,P22,c(Q502895))
action filter_type
action find
entity Q1445064
relation P22
type Q502895
['Q1445064', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . resource:Q1445064 property:P22 ?v }
Ingeborg of Kiev
action filter_type
action find
entity Ingeborg of Kiev
relation father
type common name
['Ingeborg of Kiev', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . resource:Ingeborg_of_Kiev property:father ?v }
[]
common name
Q41514
SYSTEM
Mstislav I of Kiev
Q41514
(Q1445064,P22,c(Q502895))
action filter_type
action find
entity Q1445064
relation P22
type Q502895
[ANSWER] was the father of Ingeborg of Kiev
['Q1445064', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . resource:Q1445064 property:P22 ?v }
Mstislav I of Kiev
Mstislav I of Kiev was the father of Ingeborg of Kiev
Mstislav I of Kiev
action filter_type
action find
entity Ingeborg of Kiev
relation father
type common name
['Ingeborg of Kiev', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . resource:Ingeborg_of_Kiev property:father ?v }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P35
Q502895 Q35798 Q7275
USER
Which people are elected as the head of state of approximately 24 executive branches or states ?
(c(Q35798)|c(Q7275),P35,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q35798
action find_reverse_tuple_counts
relation P35
type Q502895
type Q7275
value 24
[[{'concept': 'Q35798'}, {'concept': 'Q7275'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?g ) AS ?n ) WHERE { VALUES ( ?m ) { ( ontology:Q35798 ) ( ontology:Q7275 ) } . ?g rdf:type ?m } GROUP BY ?y } . FILTER ( ?n = 24 ) }
action approx
action union
action find_reverse_tuple_counts
relation head of state
type common name
type executive branch
action find_reverse_tuple_counts
relation head of state
type common name
type state
value 24
[[{'concept': 'executive branch'}, {'concept': 'state'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?g ) AS ?n ) WHERE { VALUES ( ?m ) { ( ontology:executive_branch ) ( ontology:state ) } . ?g rdf:type ?m } GROUP BY ?y } . FILTER ( ?n = 24 ) }
[]
common name executive branch state
Q153688 Q168691
SYSTEM
Umberto I of Italy, Victor Emmanuel II of Savoy
Q153688 Q168691
(c(Q35798)|c(Q7275),P35,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q35798
action find_reverse_tuple_counts
relation P35
type Q502895
type Q7275
value 24
[ANSWERS] are elected as the head of state of approximately 24 executive branches or states
[[{'concept': 'Q35798'}, {'concept': 'Q7275'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?g ) AS ?n ) WHERE { VALUES ( ?m ) { ( ontology:Q35798 ) ( ontology:Q7275 ) } . ?g rdf:type ?m } GROUP BY ?y } . FILTER ( ?n = 24 ) }
Umberto I of Italy Victor Emmanuel II of Savoy
Umberto I of Italy and Victor Emmanuel II of Savoy are elected as the head of state of approximately 24 executive branches or states
Umberto I of Italy Victor Emmanuel II of Savoy
action approx
action union
action find_reverse_tuple_counts
relation head of state
type common name
type executive branch
action find_reverse_tuple_counts
relation head of state
type common name
type state
value 24
[[{'concept': 'executive branch'}, {'concept': 'state'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?g ) AS ?n ) WHERE { VALUES ( ?m ) { ( ontology:executive_branch ) ( ontology:state ) } . ?g rdf:type ?m } GROUP BY ?y } . FILTER ( ?n = 24 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q172579
P35
Q7275
USER
Are Kingdom of Italy headed by those people ?
(Q172579,P35,Q153688) (Q172579,P35,Q168691)
action is_in
entity prev_answer
action find
entity Q172579
relation P35
['Q172579', 'P35', 'Q153688'] ['Q172579', 'P35', 'Q168691']
ASK WHERE { VALUES ( ?w ) { ( resource:Q153688 ) ( resource:Q168691 ) } . resource:Q172579 property:P35 ?w }
Kingdom of Italy
action is_in
entity prev_answer
action find
entity Kingdom of Italy
relation head of state
['Kingdom of Italy', 'head of state', 'Umberto I of Italy'] ['Kingdom of Italy', 'head of state', 'Victor Emmanuel II of Savoy']
ASK WHERE { VALUES ( ?w ) { ( resource:Umberto_I_of_Italy ) ( resource:Victor_Emmanuel_II_of_Savoy ) } . resource:Kingdom_of_Italy property:head_of_state ?w }
[]
state
SYSTEM
YES
(Q172579,P35,Q153688) (Q172579,P35,Q168691)
action is_in
entity prev_answer
action find
entity Q172579
relation P35
[ANSWER]
['Q172579', 'P35', 'Q153688'] ['Q172579', 'P35', 'Q168691']
ASK WHERE { VALUES ( ?w ) { ( resource:Q153688 ) ( resource:Q168691 ) } . resource:Q172579 property:P35 ?w }
Yes
action is_in
entity prev_answer
action find
entity Kingdom of Italy
relation head of state
['Kingdom of Italy', 'head of state', 'Umberto I of Italy'] ['Kingdom of Italy', 'head of state', 'Victor Emmanuel II of Savoy']
ASK WHERE { VALUES ( ?w ) { ( resource:Umberto_I_of_Italy ) ( resource:Victor_Emmanuel_II_of_Savoy ) } . resource:Kingdom_of_Italy property:head_of_state ?w }
[]