Simple Question (Direct)
Simple Question
Q18615940
P641
Q349
USER
What was the sport that Semih Güler was a part of ?
(Q18615940,P641,c(Q349))
action filter_type
action find
entity Q18615940
relation P641
type Q349
['Q18615940', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { resource:Q18615940 property:P641 ?e . ?e rdf:type ontology:Q349 }
Semih Güler
action filter_type
action find
entity Semih Güler
relation sport
type sport
['Semih Güler', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { resource:Semih_Güler property:sport ?e . ?e rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q18615940,P641,c(Q349))
action filter_type
action find
entity Q18615940
relation P641
type Q349
The sport that Semih Güler was a part of was the [ANSWER]
['Q18615940', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { resource:Q18615940 property:P641 ?e . ?e rdf:type ontology:Q349 }
association football
The sport that Semih Güler was a part of was the association football
association football
action filter_type
action find
entity Semih Güler
relation sport
type sport
['Semih Güler', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { resource:Semih_Güler property:sport ?e . ?e rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18615940
P21
Q290
USER
What is the sex of Semih Güler ?
(Q18615940,P21,c(Q290))
action filter_type
action find
entity Q18615940
relation P21
type Q290
['Q18615940', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q18615940 property:P21 ?q . ?q rdf:type ontology:Q290 }
Semih Güler
action filter_type
action find
entity Semih Güler
relation gender
type sex
['Semih Güler', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Semih_Güler property:gender ?q . ?q rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q18615940,P21,c(Q290))
action filter_type
action find
entity Q18615940
relation P21
type Q290
The sex of Semih Güler is the [ANSWER]
['Q18615940', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q18615940 property:P21 ?q . ?q rdf:type ontology:Q290 }
male
The sex of Semih Güler is the male
male
action filter_type
action find
entity Semih Güler
relation gender
type sex
['Semih Güler', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Semih_Güler property:gender ?q . ?q rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q16222300
Q290
USER
And what about Georgia Manoli?
(Q16222300,P21,c(Q290))
action filter_type
action find
entity Q16222300
relation P21
type Q290
['Q16222300', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q290 . resource:Q16222300 property:P21 ?d }
Georgia Manoli
action filter_type
action find
entity Georgia Manoli
relation gender
type sex
['Georgia Manoli', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:sex . resource:Georgia_Manoli property:gender ?d }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q16222300,P21,c(Q290))
action filter_type
action find
entity Q16222300
relation P21
type Q290
[ANSWER]
['Q16222300', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q290 . resource:Q16222300 property:P21 ?d }
female
female
action filter_type
action find
entity Georgia Manoli
relation gender
type sex
['Georgia Manoli', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:sex . resource:Georgia_Manoli property:gender ?d }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581072 Q5056241
P21
Q502895
USER
Is Cecil Norgate a that sex ?
(Q5056241,P21,Q6581072)
action is_in
entity Q5056241
action find
entity Q6581072
relation P21
['Q5056241', 'P21', 'Q6581072']
ASK WHERE { resource:Q6581072 property:P21 resource:Q5056241 }
female Cecil Norgate
action is_in
entity Cecil Norgate
action find
entity female
relation gender
['Cecil Norgate', 'gender', 'female']
ASK WHERE { resource:female property:gender resource:Cecil_Norgate }
[]
common name
SYSTEM
NO
(Q5056241,P21,Q6581072)
action is_in
entity Q5056241
action find
entity Q6581072
relation P21
[ANSWER]
['Q5056241', 'P21', 'Q6581072']
ASK WHERE { resource:Q6581072 property:P21 resource:Q5056241 }
No
action is_in
entity Cecil Norgate
action find
entity female
relation gender
['Cecil Norgate', 'gender', 'female']
ASK WHERE { resource:female property:gender resource:Cecil_Norgate }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q18615940 Q183
P27
Q1048835
USER
Does Semih Güler belong to Germany ?
(Q18615940,P27,Q183)
action is_in
entity Q183
action find
entity Q18615940
relation P27
['Q18615940', 'P27', 'Q183']
ASK WHERE { resource:Q18615940 property:P27 resource:Q183 }
Semih Güler Germany
action is_in
entity Germany
action find
entity Semih Güler
relation country of citizenship
['Semih Güler', 'country of citizenship', 'Germany']
ASK WHERE { resource:Semih_Güler property:country_of_citizenship resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q18615940,P27,Q183)
action is_in
entity Q183
action find
entity Q18615940
relation P27
[ANSWER]
['Q18615940', 'P27', 'Q183']
ASK WHERE { resource:Q18615940 property:P27 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity Semih Güler
relation country of citizenship
['Semih Güler', 'country of citizenship', 'Germany']
ASK WHERE { resource:Semih_Güler property:country_of_citizenship resource:Germany }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q6581097 Q6581072
P21
Q502895
USER
Which people have the gender as female and male ?
AND((c(Q502895),P21,Q6581072), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q6581072
relation P21
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P21', 'Q6581072'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?u WHERE { ?u property:P21 resource:Q6581097 . ?u property:P21 resource:Q6581072 . ?u rdf:type ontology:Q502895 }
male female
action filter_type
action intersection
action find_reverse
entity female
relation gender
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'gender', 'female'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?u WHERE { ?u property:gender resource:male . ?u property:gender resource:female . ?u rdf:type ontology:common_name }
[]
common name
Q17621841 Q3809749 Q12613187 Q6438624 Q20068820 Q21857402 Q23416861 Q6555624 Q22073991 Q503575
SYSTEM
Some of them are Marta Linares, Jaiyah Saelua, Lee Hye-jin, Gaz Beadle, Lesya Nikityuk, Miska Humaloja, Ivica Mavrenski, Hana Shezifi, Saalumarada Thimmakka, Cesare Nebbia
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,Q6581072), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q6581072
relation P21
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] have the gender as female and male
{'AND': [[{'concept': 'Q502895'}, 'P21', 'Q6581072'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?u WHERE { ?u property:P21 resource:Q6581097 . ?u property:P21 resource:Q6581072 . ?u 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
Marta Linares, Jaiyah Saelua, Lee Hye-jin, Gaz Beadle, Lesya Nikityuk, Miska Humaloja, Ivica Mavrenski, Hana Shezifi, Saalumarada Thimmakka and Cesare Nebbia have the gender as female and male
Marta Linares Jaiyah Saelua Lee Hye-jin Gaz Beadle Lesya Nikityuk Miska Humaloja Ivica Mavrenski Hana Shezifi Saalumarada Thimmakka Cesare Nebbia
action filter_type
action intersection
action find_reverse
entity female
relation gender
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'gender', 'female'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?u WHERE { ?u property:gender resource:male . ?u property:gender resource:female . ?u rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1343007
P1303
Q34379 Q502895
USER
How many musical instruments do lesser number of people know to play than electronic keyboard ?
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q1343007
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { ?y property:P1303 resource:Q1343007 . ?y rdf:type ontology:Q502895 } } . FILTER ( ?p < ?a ) . { SELECT DISTINCT ?u ( COUNT ( ?h ) AS ?p ) WHERE { ?u rdf:type ontology:Q34379 . ?h rdf:type ontology:Q502895 . ?h property:P1303 ?u } GROUP BY ?u } }
electronic keyboard
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity electronic keyboard
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { ?y property:instrument resource:electronic_keyboard . ?y rdf:type ontology:common_name } } . FILTER ( ?p < ?a ) . { SELECT DISTINCT ?u ( COUNT ( ?h ) AS ?p ) WHERE { ?u rdf:type ontology:musical_instrument . ?h rdf:type ontology:common_name . ?h property:instrument ?u } GROUP BY ?u } }
[]
musical instrument common name
SYSTEM
56
Q201129 Q424017 Q890073 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q1343007
relation P1303
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { ?y property:P1303 resource:Q1343007 . ?y rdf:type ontology:Q502895 } } . FILTER ( ?p < ?a ) . { SELECT DISTINCT ?u ( COUNT ( ?h ) AS ?p ) WHERE { ?u rdf:type ontology:Q34379 . ?h rdf:type ontology:Q502895 . ?h property:P1303 ?u } GROUP BY ?u } }
lyre acoustic bass guitar Body percussion davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar drum Kayamb Paraguayan harp
56
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity electronic keyboard
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { ?y property:instrument resource:electronic_keyboard . ?y rdf:type ontology:common_name } } . FILTER ( ?p < ?a ) . { SELECT DISTINCT ?u ( COUNT ( ?h ) AS ?p ) WHERE { ?u rdf:type ontology:musical_instrument . ?h rdf:type ontology:common_name . ?h property:instrument ?u } GROUP BY ?u } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q320341
P1303
Q34379 Q502895
USER
And what about celesta?
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q320341
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?z ) AS ?v ) WHERE { ?z property:P1303 ?e . ?e rdf:type ontology:Q34379 . ?z rdf:type ontology:Q502895 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { ?p property:P1303 resource:Q320341 . ?p rdf:type ontology:Q502895 } } . FILTER ( ?v < ?y ) }
celesta
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity celesta
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?z ) AS ?v ) WHERE { ?z property:instrument ?e . ?e rdf:type ontology:musical_instrument . ?z rdf:type ontology:common_name } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { ?p property:instrument resource:celesta . ?p rdf:type ontology:common_name } } . FILTER ( ?v < ?y ) }
[]
musical instrument common name
SYSTEM
3
Q1879664 Q748455 Q173453
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q320341
relation P1303
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?z ) AS ?v ) WHERE { ?z property:P1303 ?e . ?e rdf:type ontology:Q34379 . ?z rdf:type ontology:Q502895 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { ?p property:P1303 resource:Q320341 . ?p rdf:type ontology:Q502895 } } . FILTER ( ?v < ?y ) }
spoon cajón wind instrument
3
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity celesta
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?z ) AS ?v ) WHERE { ?z property:instrument ?e . ?e rdf:type ontology:musical_instrument . ?z rdf:type ontology:common_name } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { ?p property:instrument resource:celesta . ?p rdf:type ontology:common_name } } . FILTER ( ?v < ?y ) }
[]