Simple Question (Direct)
Simple Question
Q5340776
P607
Q198
USER
What was the war that Eduardo Sáenz de Buruaga took part in
(Q5340776,P607,c(Q198))
action filter_type
action find
entity Q5340776
relation P607
type Q198
['Q5340776', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?r WHERE { resource:Q5340776 property:P607 ?r . ?r rdf:type ontology:Q198 }
Eduardo Sáenz de Buruaga
action filter_type
action find
entity Eduardo Sáenz de Buruaga
relation conflict
type war
['Eduardo Sáenz de Buruaga', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?r WHERE { resource:Eduardo_Sáenz_de_Buruaga property:conflict ?r . ?r rdf:type ontology:war }
[]
war
Q10859
SYSTEM
Spanish Civil War
Q10859
(Q5340776,P607,c(Q198))
action filter_type
action find
entity Q5340776
relation P607
type Q198
The war that Eduardo Sáenz de Buruaga took part in was the [ANSWER]
['Q5340776', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?r WHERE { resource:Q5340776 property:P607 ?r . ?r rdf:type ontology:Q198 }
Spanish Civil War
The war that Eduardo Sáenz de Buruaga took part in was the Spanish Civil War
Spanish Civil War
action filter_type
action find
entity Eduardo Sáenz de Buruaga
relation conflict
type war
['Eduardo Sáenz de Buruaga', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?r WHERE { resource:Eduardo_Sáenz_de_Buruaga property:conflict ?r . ?r rdf:type ontology:war }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5340776
P21
Q290
USER
Which sex does Eduardo Sáenz de Buruaga possess ?
(Q5340776,P21,c(Q290))
action filter_type
action find
entity Q5340776
relation P21
type Q290
['Q5340776', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q290 . resource:Q5340776 property:P21 ?u }
Eduardo Sáenz de Buruaga
action filter_type
action find
entity Eduardo Sáenz de Buruaga
relation gender
type sex
['Eduardo Sáenz de Buruaga', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:sex . resource:Eduardo_Sáenz_de_Buruaga property:gender ?u }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5340776,P21,c(Q290))
action filter_type
action find
entity Q5340776
relation P21
type Q290
Eduardo Sáenz de Buruaga possesses un [ANSWER]
['Q5340776', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q290 . resource:Q5340776 property:P21 ?u }
male
Eduardo Sáenz de Buruaga possesses un male
male
action filter_type
action find
entity Eduardo Sáenz de Buruaga
relation gender
type sex
['Eduardo Sáenz de Buruaga', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:sex . resource:Eduardo_Sáenz_de_Buruaga property:gender ?u }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581097
P136
Q502895
USER
Which people have that sex as genre ?
(c(Q502895),P136,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P136
type Q502895
[{'concept': 'Q502895'}, 'P136', 'Q6581097']
SELECT DISTINCT ?g WHERE { ?g property:P136 resource:Q6581097 . ?g rdf:type ontology:Q502895 }
male
action filter_type
action find_reverse
entity male
relation genre
type common name
[{'concept': 'common name'}, 'genre', 'male']
SELECT DISTINCT ?g WHERE { ?g property:genre resource:male . ?g rdf:type ontology:common_name }
[]
common name
Q313288 Q18221191 Q23766532
SYSTEM
Augustus Pugin, Alessandro Gregorio Capponi, Pierre Laviron
Q19796723 Q23766532 Q313288 Q18221191
(c(Q502895),P136,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P136
type Q502895
[ANSWERS] have that sex as genre
[{'concept': 'Q502895'}, 'P136', 'Q6581097']
SELECT DISTINCT ?g WHERE { ?g property:P136 resource:Q6581097 . ?g rdf:type ontology:Q502895 }
Francesc Xavier Avilés i Puigvert Pierre Laviron Augustus Pugin Alessandro Gregorio Capponi
Augustus Pugin, Alessandro Gregorio Capponi and Pierre Laviron have that sex as genre
Augustus Pugin Alessandro Gregorio Capponi Pierre Laviron
action filter_type
action find_reverse
entity male
relation genre
type common name
[{'concept': 'common name'}, 'genre', 'male']
SELECT DISTINCT ?g WHERE { ?g property:genre resource:male . ?g rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q313288
P84
Q44539 Q16970
USER
How many temples or churches were Augustus Pugin the designer of ?
(c(Q44539),P84,Q313288) (c(Q16970),P84,Q313288)
action count
action union
action filter_type
action find_reverse
entity Q313288
relation P84
type Q44539
action filter_type
action find_reverse
entity Q313288
relation P84
type Q16970
[{'concept': 'Q44539'}, 'P84', 'Q313288'] [{'concept': 'Q16970'}, 'P84', 'Q313288']
SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { { ?r property:P84 resource:Q313288 . ?r rdf:type ontology:Q44539 } UNION { ?r property:P84 resource:Q313288 . ?r rdf:type ontology:Q16970 } }
Augustus Pugin
action count
action union
action filter_type
action find_reverse
entity Augustus Pugin
relation architect
type temple
action filter_type
action find_reverse
entity Augustus Pugin
relation architect
type church
[{'concept': 'temple'}, 'architect', 'Augustus Pugin'] [{'concept': 'church'}, 'architect', 'Augustus Pugin']
SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { { ?r property:architect resource:Augustus_Pugin . ?r rdf:type ontology:temple } UNION { ?r property:architect resource:Augustus_Pugin . ?r rdf:type ontology:church } }
[]
temple church
SYSTEM
19
Q17183220 Q7085076 Q7593468 Q1638891 Q1545350 Q7592239 Q7110746 Q1357895 Q20642155 Q7594312 Q7595022 Q1451262 Q5385292 Q18708785 Q7590105 Q1897809 Q1138066 Q1138085 Q15979465
(c(Q44539),P84,Q313288) (c(Q16970),P84,Q313288)
action count
action union
action filter_type
action find_reverse
entity Q313288
relation P84
type Q44539
action filter_type
action find_reverse
entity Q313288
relation P84
type Q16970
[ANSWER]
[{'concept': 'Q44539'}, 'P84', 'Q313288'] [{'concept': 'Q16970'}, 'P84', 'Q313288']
SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { { ?r property:P84 resource:Q313288 . ?r rdf:type ontology:Q44539 } UNION { ?r property:P84 resource:Q313288 . ?r rdf:type ontology:Q16970 } }
St John the Evangelist's Church, Kirkham Old St Peter and St Paul's Church, Albury St James's Church, Reading St Mary's Cathedral, Newcastle upon Tyne Nottingham Cathedral St Alban's Church, Macclesfield Our Lady and St. Wilfrid's Roman Catholic church, Warwick Bridge Northampton Cathedral St Mary's Cathedral, Hobart St Mary's Church, Derby St Oswald's Church, Winwick St George's Cathedral, Southwark Erdington Abbey St Joseph Church, Southampton St. Mary's Catholic Church, Uttoxeter St Mary's Cathedral, Killarney St. Aidan's Cathedral St Chad's Cathedral St Oswald's Church, Old Swan, Liverpool
19
action count
action union
action filter_type
action find_reverse
entity Augustus Pugin
relation architect
type temple
action filter_type
action find_reverse
entity Augustus Pugin
relation architect
type church
[{'concept': 'temple'}, 'architect', 'Augustus Pugin'] [{'concept': 'church'}, 'architect', 'Augustus Pugin']
SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { { ?r property:architect resource:Augustus_Pugin . ?r rdf:type ontology:temple } UNION { ?r property:architect resource:Augustus_Pugin . ?r rdf:type ontology:church } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q6581072 Q6581097
P21
Q502895
USER
Which people have male and female as the sex ?
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 ?k WHERE { ?k property:P21 resource:Q6581097 . ?k property:P21 resource:Q6581072 . ?k rdf:type ontology:Q502895 }
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 ?k WHERE { ?k property:gender resource:male . ?k property:gender resource:female . ?k rdf:type ontology:common_name }
[]
common name
Q16165783 Q14432239 Q11815936 Q7849225 Q22236117 Q20401379 Q5972494 Q20068820 Q2939204 Q9544977
SYSTEM
Some of them are America Sanchez, Benny Motzfeldt, Petia Stawrewa, Kim Ye-ri, Colombe Marcasiano, Hakima El Haite, Leeland Dayton Mooring, Lesya Nikityuk, Carlo Guasco, Lilly Wachowski
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] have male and female as the sex
{'AND': [[{'concept': 'Q502895'}, 'P21', 'Q6581097'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?k WHERE { ?k property:P21 resource:Q6581097 . ?k property:P21 resource:Q6581072 . ?k rdf:type ontology:Q502895 }
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
America Sanchez, Benny Motzfeldt, Petia Stawrewa, Kim Ye-ri, Colombe Marcasiano, Hakima El Haite, Leeland Dayton Mooring, Lesya Nikityuk, Carlo Guasco and Lilly Wachowski have male and female as the sex
America Sanchez Benny Motzfeldt Petia Stawrewa Kim Ye-ri Colombe Marcasiano Hakima El Haite Leeland Dayton Mooring Lesya Nikityuk Carlo Guasco Lilly Wachowski
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 ?k WHERE { ?k property:gender resource:male . ?k property:gender resource:female . ?k rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q313288 Q180046
P921
Q2342494
USER
How many collectables were mainly based on Augustus Pugin or space exploration ?
(c(Q2342494),P921,Q313288) (c(Q2342494),P921,Q180046)
action count
action union
action filter_type
action find_reverse
entity Q313288
relation P921
type Q2342494
action filter_type
action find_reverse
entity Q180046
relation P921
type Q2342494
[{'concept': 'Q2342494'}, 'P921', 'Q313288'] [{'concept': 'Q2342494'}, 'P921', 'Q180046']
SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { VALUES ( ?k ) { ( resource:Q180046 ) ( resource:Q313288 ) } . ?j property:P921 ?k }
Augustus Pugin space exploration
action count
action union
action filter_type
action find_reverse
entity Augustus Pugin
relation main subject
type collectable
action filter_type
action find_reverse
entity space exploration
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'Augustus Pugin'] [{'concept': 'collectable'}, 'main subject', 'space exploration']
SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { VALUES ( ?k ) { ( resource:space_exploration ) ( resource:Augustus_Pugin ) } . ?j property:main_subject ?k }
[]
collectable
SYSTEM
5
Q1327411 Q538742 Q651682 Q3176923 Q53592
(c(Q2342494),P921,Q313288) (c(Q2342494),P921,Q180046)
action count
action union
action filter_type
action find_reverse
entity Q313288
relation P921
type Q2342494
action filter_type
action find_reverse
entity Q180046
relation P921
type Q2342494
[ANSWER]
[{'concept': 'Q2342494'}, 'P921', 'Q313288'] [{'concept': 'Q2342494'}, 'P921', 'Q180046']
SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { VALUES ( ?k ) { ( resource:Q180046 ) ( resource:Q313288 ) } . ?j property:P921 ?k }
Around the Moon Beyond the Blue Event Horizon Gateway Jem From the Earth to the Moon
5
action count
action union
action filter_type
action find_reverse
entity Augustus Pugin
relation main subject
type collectable
action filter_type
action find_reverse
entity space exploration
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'Augustus Pugin'] [{'concept': 'collectable'}, 'main subject', 'space exploration']
SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { VALUES ( ?k ) { ( resource:space_exploration ) ( resource:Augustus_Pugin ) } . ?j property:main_subject ?k }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q1001378
USER
Which cinematic techniques did exactly 10 people do the dubbing for ?
(c(Q1001378),P725,c(Q502895))
action equal
action find_tuple_counts
relation P725
type Q1001378
type Q502895
value 10
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { FILTER ( ?z = 10 ) . { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?z ) WHERE { ?g property:P725 ?u . ?g rdf:type ontology:Q1001378 . ?u rdf:type ontology:Q502895 } GROUP BY ?g } }
action equal
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
value 10
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { FILTER ( ?z = 10 ) . { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?z ) WHERE { ?g property:voice_actor ?u . ?g rdf:type ontology:cinematic_technique . ?u rdf:type ontology:common_name } GROUP BY ?g } }
[]
common name cinematic technique
Q191803
SYSTEM
The Lion King II: Simba's Pride
Q191803
(c(Q1001378),P725,c(Q502895))
action equal
action find_tuple_counts
relation P725
type Q1001378
type Q502895
value 10
Exactly 10 people did the dubbing for [ANSWER]
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { FILTER ( ?z = 10 ) . { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?z ) WHERE { ?g property:P725 ?u . ?g rdf:type ontology:Q1001378 . ?u rdf:type ontology:Q502895 } GROUP BY ?g } }
The Lion King II: Simba's Pride
Exactly 10 people did the dubbing for The Lion King II: Simba's Pride
The Lion King II: Simba's Pride
action equal
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
value 10
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { FILTER ( ?z = 10 ) . { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?z ) WHERE { ?g property:voice_actor ?u . ?g rdf:type ontology:cinematic_technique . ?u rdf:type ontology:common_name } GROUP BY ?g } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1445
Q1001378 Q386724
USER
Which works are set up by exactly 2 cinematic techniques ?
(c(Q386724),P1445,c(Q1001378))
action equal
action find_tuple_counts
relation P1445
type Q386724
type Q1001378
value 2
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q1001378'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?x ) WHERE { ?a property:P1445 ?t . ?a rdf:type ontology:Q386724 . ?t rdf:type ontology:Q1001378 } GROUP BY ?a } . FILTER ( ?x = 2 ) }
action equal
action find_tuple_counts
relation fictional universe described in
type work
type cinematic technique
value 2
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'cinematic technique'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?x ) WHERE { ?a property:fictional_universe_described_in ?t . ?a rdf:type ontology:work . ?t rdf:type ontology:cinematic_technique } GROUP BY ?a } . FILTER ( ?x = 2 ) }
[]
cinematic technique work
Q15731902
SYSTEM
Aladdin media franchise
Q15731902
(c(Q386724),P1445,c(Q1001378))
action equal
action find_tuple_counts
relation P1445
type Q386724
type Q1001378
value 2
[ANSWER] is set up by exactly 2 cinematic techniques
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q1001378'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?x ) WHERE { ?a property:P1445 ?t . ?a rdf:type ontology:Q386724 . ?t rdf:type ontology:Q1001378 } GROUP BY ?a } . FILTER ( ?x = 2 ) }
Aladdin media franchise
Aladdin media franchise is set up by exactly 2 cinematic techniques
Aladdin media franchise
action equal
action find_tuple_counts
relation fictional universe described in
type work
type cinematic technique
value 2
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'cinematic technique'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?x ) WHERE { ?a property:fictional_universe_described_in ?t . ?a rdf:type ontology:work . ?t rdf:type ontology:cinematic_technique } GROUP BY ?a } . FILTER ( ?x = 2 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P1445
Q15961987 Q36649 Q386724
USER
Which works are recounted in less number of television genres or visual artss than that work ?
(c(Q386724),P1445,c(Q15961987)|c(Q36649))
action less
action union
action find_tuple_counts
relation P1445
type Q386724
type Q15961987
action find_tuple_counts
relation P1445
type Q386724
type Q36649
action count
action filter_multi_types
action find
entity Q15731902
relation P1445
type Q15961987
type Q36649
[{'concept': 'Q386724'}, 'P1445', [{'concept': 'Q15961987'}, {'concept': 'Q36649'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?h ) WHERE { VALUES ( ?u ) { ( ontology:Q36649 ) ( ontology:Q15961987 ) } . ?o rdf:type ?u } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { { ?b rdf:type ?y . VALUES ( ?y ) { ( ontology:Q15961987 ) ( ontology:Q36649 ) } } . resource:Q15731902 property:P1445 ?b } } . FILTER ( ?h < ?g ) }
action less
action union
action find_tuple_counts
relation fictional universe described in
type work
type television genre
action find_tuple_counts
relation fictional universe described in
type work
type visual arts
action count
action filter_multi_types
action find
entity Aladdin media franchise
relation fictional universe described in
type television genre
type visual arts
[{'concept': 'work'}, 'fictional universe described in', [{'concept': 'television genre'}, {'concept': 'visual arts'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?h ) WHERE { VALUES ( ?u ) { ( ontology:visual_arts ) ( ontology:television_genre ) } . ?o rdf:type ?u } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { { ?b rdf:type ?y . VALUES ( ?y ) { ( ontology:television_genre ) ( ontology:visual_arts ) } } . resource:Aladdin_media_franchise property:fictional_universe_described_in ?b } } . FILTER ( ?h < ?g ) }
[]
television genre visual arts work
SYSTEM
3
Q15731902 Q11927 Q3177580
(c(Q386724),P1445,c(Q15961987)|c(Q36649))
action less
action union
action find_tuple_counts
relation P1445
type Q386724
type Q15961987
action find_tuple_counts
relation P1445
type Q386724
type Q36649
action count
action filter_multi_types
action find
entity Q15731902
relation P1445
type Q15961987
type Q36649
[ANSWER]
[{'concept': 'Q386724'}, 'P1445', [{'concept': 'Q15961987'}, {'concept': 'Q36649'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?h ) WHERE { VALUES ( ?u ) { ( ontology:Q36649 ) ( ontology:Q15961987 ) } . ?o rdf:type ?u } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { { ?b rdf:type ?y . VALUES ( ?y ) { ( ontology:Q15961987 ) ( ontology:Q36649 ) } } . resource:Q15731902 property:P1445 ?b } } . FILTER ( ?h < ?g ) }
Aladdin media franchise Stargate The Walking Dead
3
action less
action union
action find_tuple_counts
relation fictional universe described in
type work
type television genre
action find_tuple_counts
relation fictional universe described in
type work
type visual arts
action count
action filter_multi_types
action find
entity Aladdin media franchise
relation fictional universe described in
type television genre
type visual arts
[{'concept': 'work'}, 'fictional universe described in', [{'concept': 'television genre'}, {'concept': 'visual arts'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?h ) WHERE { VALUES ( ?u ) { ( ontology:visual_arts ) ( ontology:television_genre ) } . ?o rdf:type ?u } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { { ?b rdf:type ?y . VALUES ( ?y ) { ( ontology:television_genre ) ( ontology:visual_arts ) } } . resource:Aladdin_media_franchise property:fictional_universe_described_in ?b } } . FILTER ( ?h < ?g ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12201445
P361
Q618779
USER
Which award is Knight Commander of the Order of the British Empire a component of ?
(Q12201445,P361,c(Q618779))
action filter_type
action find
entity Q12201445
relation P361
type Q618779
['Q12201445', 'P361', {'concept': 'Q618779'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q618779 . resource:Q12201445 property:P361 ?a }
Knight Commander of the Order of the British Empire
action filter_type
action find
entity Knight Commander of the Order of the British Empire
relation part of
type award
['Knight Commander of the Order of the British Empire', 'part of', {'concept': 'award'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:award . resource:Knight_Commander_of_the_Order_of_the_British_Empire property:part_of ?a }
[]
award
Q14420
SYSTEM
Order of the British Empire
Q14420
(Q12201445,P361,c(Q618779))
action filter_type
action find
entity Q12201445
relation P361
type Q618779
The [ANSWER] is Knight Commander of the [ANSWER] a component of
['Q12201445', 'P361', {'concept': 'Q618779'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q618779 . resource:Q12201445 property:P361 ?a }
Order of the British Empire
The Order of the British Empire is Knight Commander of the Order of the British Empire a component of
Order of the British Empire
action filter_type
action find
entity Knight Commander of the Order of the British Empire
relation part of
type award
['Knight Commander of the Order of the British Empire', 'part of', {'concept': 'award'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:award . resource:Knight_Commander_of_the_Order_of_the_British_Empire property:part_of ?a }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12201445
P17
Q15617994
USER
Which administrative territory is that chivalric order a part of ?
(Q14420,P17,c(Q15617994))
action filter_type
action find
entity Q12201445
relation P17
type Q15617994
['Q14420', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . resource:Q12201445 property:P17 ?u }
Knight Commander of the Order of the British Empire
action filter_type
action find
entity Knight Commander of the Order of the British Empire
relation country
type designation for an administrative territorial entity
['Order of the British Empire', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Knight_Commander_of_the_Order_of_the_British_Empire property:country ?u }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q14420,P17,c(Q15617994))
action filter_type
action find
entity Q12201445
relation P17
type Q15617994
[ANSWER] is that chivalric order a part of
['Q14420', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . resource:Q12201445 property:P17 ?u }
United Kingdom
United Kingdom is that chivalric order a part of
United Kingdom
action filter_type
action find
entity Knight Commander of the Order of the British Empire
relation country
type designation for an administrative territorial entity
['Order of the British Empire', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Knight_Commander_of_the_Order_of_the_British_Empire property:country ?u }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q313288
P800
Q16970
USER
What notable work were done by Augustus Pugin ?
(Q313288,P800,c(Q16970))
action filter_type
action find
entity Q313288
relation P800
type Q16970
['Q313288', 'P800', {'concept': 'Q16970'}]
SELECT DISTINCT ?u WHERE { resource:Q313288 property:P800 ?u . ?u rdf:type ontology:Q16970 }
Augustus Pugin
action filter_type
action find
entity Augustus Pugin
relation notable work
type church
['Augustus Pugin', 'notable work', {'concept': 'church'}]
SELECT DISTINCT ?u WHERE { resource:Augustus_Pugin property:notable_work ?u . ?u rdf:type ontology:church }
[]
church
Q1638891 Q1545350 Q1138066
SYSTEM
St Mary's Cathedral, Newcastle upon Tyne, Nottingham Cathedral, St. Aidan's Cathedral
Q1638891 Q1138066 Q1451262 Q1545350
(Q313288,P800,c(Q16970))
action filter_type
action find
entity Q313288
relation P800
type Q16970
[ANSWERS] were done by Augustus Pugin
['Q313288', 'P800', {'concept': 'Q16970'}]
SELECT DISTINCT ?u WHERE { resource:Q313288 property:P800 ?u . ?u rdf:type ontology:Q16970 }
St Mary's Cathedral, Newcastle upon Tyne St. Aidan's Cathedral St George's Cathedral, Southwark Nottingham Cathedral
St Mary's Cathedral, Newcastle upon Tyne, Nottingham Cathedral and St. Aidan's Cathedral were done by Augustus Pugin
St Mary's Cathedral, Newcastle upon Tyne Nottingham Cathedral St. Aidan's Cathedral
action filter_type
action find
entity Augustus Pugin
relation notable work
type church
['Augustus Pugin', 'notable work', {'concept': 'church'}]
SELECT DISTINCT ?u WHERE { resource:Augustus_Pugin property:notable_work ?u . ?u rdf:type ontology:church }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9544977
P7
Q502895
USER
Which person has Lilly Wachowski as their brother ?
(c(Q502895),P7,Q9544977)
action filter_type
action find
entity Q9544977
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q9544977']
SELECT DISTINCT ?l WHERE { resource:Q9544977 property:P7 ?l . ?l rdf:type ontology:Q502895 }
Lilly Wachowski
action filter_type
action find
entity Lilly Wachowski
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Lilly Wachowski']
SELECT DISTINCT ?l WHERE { resource:Lilly_Wachowski property:brother ?l . ?l rdf:type ontology:common_name }
[]
common name
Q9545711
SYSTEM
Lana Wachowski
Q9545711
(c(Q502895),P7,Q9544977)
action filter_type
action find
entity Q9544977
relation P7
type Q502895
[ANSWER] has Lilly Wachowski as their brother
[{'concept': 'Q502895'}, 'P7', 'Q9544977']
SELECT DISTINCT ?l WHERE { resource:Q9544977 property:P7 ?l . ?l rdf:type ontology:Q502895 }
Lana Wachowski
Lana Wachowski has Lilly Wachowski as their brother
Lana Wachowski
action filter_type
action find
entity Lilly Wachowski
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Lilly Wachowski']
SELECT DISTINCT ?l WHERE { resource:Lilly_Wachowski property:brother ?l . ?l rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9544977
P1411
Q618779
USER
Which awards were Lilly Wachowski nominated for ?
(Q9544977,P1411,c(Q618779))
action filter_type
action find
entity Q9544977
relation P1411
type Q618779
['Q9544977', 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?p WHERE { resource:Q9544977 property:P1411 ?p . ?p rdf:type ontology:Q618779 }
Lilly Wachowski
action filter_type
action find
entity Lilly Wachowski
relation nominated for
type award
['Lilly Wachowski', 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?p WHERE { resource:Lilly_Wachowski property:nominated_for ?p . ?p rdf:type ontology:award }
[]
award
Q981030 Q1265702 Q1238714
SYSTEM
Saturn Award for Best Writing, Saturn Award for Best Director, Golden Raspberry Award for Worst Director
Q981030 Q1265702 Q1238714
(Q9544977,P1411,c(Q618779))
action filter_type
action find
entity Q9544977
relation P1411
type Q618779
Lilly Wachowski were nominated for [ANSWERS]
['Q9544977', 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?p WHERE { resource:Q9544977 property:P1411 ?p . ?p rdf:type ontology:Q618779 }
Saturn Award for Best Writing Saturn Award for Best Director Golden Raspberry Award for Worst Director
Lilly Wachowski were nominated for Saturn Award for Best Writing, Saturn Award for Best Director and Golden Raspberry Award for Worst Director
Saturn Award for Best Writing Saturn Award for Best Director Golden Raspberry Award for Worst Director
action filter_type
action find
entity Lilly Wachowski
relation nominated for
type award
['Lilly Wachowski', 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?p WHERE { resource:Lilly_Wachowski property:nominated_for ?p . ?p rdf:type ontology:award }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q9544977
Q378427
USER
And which literary award?
(Q9544977,P1411,c(Q378427))
action filter_type
action find
entity Q9544977
relation P1411
type Q378427
['Q9544977', 'P1411', {'concept': 'Q378427'}]
SELECT DISTINCT ?g WHERE { resource:Q9544977 property:P1411 ?g . ?g rdf:type ontology:Q378427 }
Lilly Wachowski
action filter_type
action find
entity Lilly Wachowski
relation nominated for
type literary award
['Lilly Wachowski', 'nominated for', {'concept': 'literary award'}]
SELECT DISTINCT ?g WHERE { resource:Lilly_Wachowski property:nominated_for ?g . ?g rdf:type ontology:literary_award }
[]
literary award
Q3414212 Q1056240
SYSTEM
Hugo Award for Best Dramatic Presentation, Hugo Award for Best Dramatic Presentation (Long Form)
Q3414212 Q1056240
(Q9544977,P1411,c(Q378427))
action filter_type
action find
entity Q9544977
relation P1411
type Q378427
[ANSWERS]
['Q9544977', 'P1411', {'concept': 'Q378427'}]
SELECT DISTINCT ?g WHERE { resource:Q9544977 property:P1411 ?g . ?g rdf:type ontology:Q378427 }
Hugo Award for Best Dramatic Presentation Hugo Award for Best Dramatic Presentation (Long Form)
Hugo Award for Best Dramatic Presentation Hugo Award for Best Dramatic Presentation (Long Form)
action filter_type
action find
entity Lilly Wachowski
relation nominated for
type literary award
['Lilly Wachowski', 'nominated for', {'concept': 'literary award'}]
SELECT DISTINCT ?g WHERE { resource:Lilly_Wachowski property:nominated_for ?g . ?g rdf:type ontology:literary_award }
[]