Simple Question (Direct)
Simple Question
Q5621497
P21
Q290
USER
What is the sex of Gustavo Sainz ?
(Q5621497,P21,c(Q290))
action filter_type
action find
entity Q5621497
relation P21
type Q290
['Q5621497', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q5621497 property:P21 ?r . ?r rdf:type ontology:Q290 }
Gustavo Sainz
action filter_type
action find
entity Gustavo Sainz
relation gender
type sex
['Gustavo Sainz', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Gustavo_Sainz property:gender ?r . ?r rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5621497,P21,c(Q290))
action filter_type
action find
entity Q5621497
relation P21
type Q290
The sex of Gustavo Sainz is the [ANSWER]
['Q5621497', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q5621497 property:P21 ?r . ?r rdf:type ontology:Q290 }
male
The sex of Gustavo Sainz is the male
male
action filter_type
action find
entity Gustavo Sainz
relation gender
type sex
['Gustavo Sainz', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Gustavo_Sainz property:gender ?r . ?r rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments can approximately 402 people perform with ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 402
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?z ) AS ?k ) WHERE { ?x rdf:type ontology:Q34379 . ?z rdf:type ontology:Q502895 . ?z property:P1303 ?x } GROUP BY ?x } . FILTER ( ?k = 402 ) }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 402
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?z ) AS ?k ) WHERE { ?x rdf:type ontology:musical_instrument . ?z rdf:type ontology:common_name . ?z property:instrument ?x } GROUP BY ?x } . FILTER ( ?k = 402 ) }
[]
musical instrument common name
SYSTEM
62
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 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 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 402
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?z ) AS ?k ) WHERE { ?x rdf:type ontology:Q34379 . ?z rdf:type ontology:Q502895 . ?z property:P1303 ?x } GROUP BY ?x } . FILTER ( ?k = 402 ) }
viola bass guitar lyre acoustic bass guitar Body percussion double bass 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 trumpet Tsuzumi geomungo cello 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 electronic keyboard drum Kayamb Paraguayan harp
62
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 402
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?z ) AS ?k ) WHERE { ?x rdf:type ontology:musical_instrument . ?z rdf:type ontology:common_name . ?z property:instrument ?x } GROUP BY ?x } . FILTER ( ?k = 402 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q6581097 Q6581072
P21
Q502895
USER
How many people are a male and female ?
(c(Q502895),P21,Q6581097) (c(Q502895),P21,Q6581072)
action count
action intersection
action filter_type
action find_reverse
entity Q6581097
relation P21
type Q502895
action filter_type
action find_reverse
entity Q6581072
relation P21
type Q502895
[{'concept': 'Q502895'}, 'P21', 'Q6581097'] [{'concept': 'Q502895'}, 'P21', 'Q6581072']
SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { ?m property:P21 resource:Q6581097 . ?m rdf:type ontology:Q502895 . ?m property:P21 resource:Q6581072 . ?m rdf:type ontology:Q502895 }
male female
action count
action intersection
action filter_type
action find_reverse
entity male
relation gender
type common name
action filter_type
action find_reverse
entity female
relation gender
type common name
[{'concept': 'common name'}, 'gender', 'male'] [{'concept': 'common name'}, 'gender', 'female']
SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { ?m property:gender resource:male . ?m rdf:type ontology:common_name . ?m property:gender resource:female . ?m 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 Q19357604 Q6555624 Q12586819 Q23698979 Q17628096 Q22342662 Q525066 Q9544977 Q503007 Q22280111 Q22102078 Q5482749 Q21392153 Q201204 Q10281088 Q442804 Q16767898 Q22570074 Q21601127 Q12403076 Q14432239 Q12734885 Q734662 Q22808784 Q24034956 Q19957341 Q6258596 Q22236117 Q11379959 Q24807469 Q21857402 Q5972494 Q5569499 Q11449790 Q2379965 Q3575012 Q3764762 Q7377573 Q20068820 Q6031433 Q21794041 Q6438624 Q25768293 Q19448005 Q21503040 Q17148031 Q11604340 Q17158335 Q11815936 Q17364527 Q22280435 Q15934058 Q18559837 Q11201210 Q25748324 Q459844 Q22001922 Q3291942 Q17621841 Q20980163 Q23416861 Q11531266 Q4255661 Q22675675 Q528434 Q237726 Q74813 Q2668396 Q298423 Q22073991 Q503575 Q453573 Q22095108 Q242700 Q18049905 Q26921704 Q2882250 Q18346977 Q2939204 Q3809749 Q12685049 Q21033490 Q5856706 Q6003690 Q4979792 Q12613187 Q7849225 Q16582167 Q19543099 Q16865281 Q15807938 Q12872947 Q15433626
(c(Q502895),P21,Q6581097) (c(Q502895),P21,Q6581072)
action count
action intersection
action filter_type
action find_reverse
entity Q6581097
relation P21
type Q502895
action filter_type
action find_reverse
entity Q6581072
relation P21
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P21', 'Q6581097'] [{'concept': 'Q502895'}, 'P21', 'Q6581072']
SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { ?m property:P21 resource:Q6581097 . ?m rdf:type ontology:Q502895 . ?m property:P21 resource:Q6581072 . ?m 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 Hamda Khamis 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 Annegret Kuhn Jaki Irvine Tinne De Caigny John Spaulding Colombe Marcasiano Kazue Itō Kudirat Akhigbe Miska Humaloja Leeland Dayton Mooring Glenys Barton Terunobu Utsunomiya Thomas Beatie 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 Suzanne Schulting 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 Naima Mora 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 Emma Josepha Sparre 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 male
relation gender
type common name
action filter_type
action find_reverse
entity female
relation gender
type common name
[{'concept': 'common name'}, 'gender', 'male'] [{'concept': 'common name'}, 'gender', 'female']
SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { ?m property:gender resource:male . ?m rdf:type ontology:common_name . ?m property:gender resource:female . ?m rdf:type ontology:common_name }
[]