Simple Question (Direct)
Simple Question
Q1465824
P19
Q56061
USER
Which administrative territory was Fausto Braga born in ?
(Q1465824,P19,c(Q56061))
action filter_type
action find
entity Q1465824
relation P19
type Q56061
['Q1465824', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q1465824 property:P19 ?p . ?p rdf:type ontology:Q56061 }
Fausto Braga
action filter_type
action find
entity Fausto Braga
relation place of birth
type administrative territorial entity
['Fausto Braga', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Fausto_Braga property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q490
SYSTEM
Milan
Q490
(Q1465824,P19,c(Q56061))
action filter_type
action find
entity Q1465824
relation P19
type Q56061
Fausto Braga was born in [ANSWER]
['Q1465824', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q1465824 property:P19 ?p . ?p rdf:type ontology:Q56061 }
Milan
Fausto Braga was born in Milan
Milan
action filter_type
action find
entity Fausto Braga
relation place of birth
type administrative territorial entity
['Fausto Braga', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Fausto_Braga property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1465824
P21
Q290
USER
Which sex does that person have ?
(Q490,P21,c(Q290))
action filter_type
action find
entity Q1465824
relation P21
type Q290
['Q490', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q290 . resource:Q1465824 property:P21 ?s }
Fausto Braga
action filter_type
action find
entity Fausto Braga
relation gender
type sex
['Milan', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:sex . resource:Fausto_Braga property:gender ?s }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q490,P21,c(Q290))
action filter_type
action find
entity Q1465824
relation P21
type Q290
That person has a [ANSWER]
['Q490', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q290 . resource:Q1465824 property:P21 ?s }
male
That person has a male
male
action filter_type
action find
entity Fausto Braga
relation gender
type sex
['Milan', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:sex . resource:Fausto_Braga property:gender ?s }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q6581097 Q6581072
P21
Q502895
USER
How many people have the gender as 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 ( ?g ) AS ?p ) WHERE { ?g property:P21 resource:Q6581072 . ?g rdf:type ontology:Q502895 . ?g property:P21 resource:Q6581097 . ?g 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 ( ?g ) AS ?p ) WHERE { ?g property:gender resource:female . ?g rdf:type ontology:common_name . ?g property:gender resource:male . ?g 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 ( ?g ) AS ?p ) WHERE { ?g property:P21 resource:Q6581072 . ?g rdf:type ontology:Q502895 . ?g property:P21 resource:Q6581097 . ?g 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 ( ?g ) AS ?p ) WHERE { ?g property:gender resource:female . ?g rdf:type ontology:common_name . ?g property:gender resource:male . ?g rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q490
P417
Q502895
USER
Which person is the patron saint of Milan ?
(Q490,P417,c(Q502895))
action filter_type
action find
entity Q490
relation P417
type Q502895
['Q490', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q490 property:P417 ?o . ?o rdf:type ontology:Q502895 }
Milan
action filter_type
action find
entity Milan
relation patron saint
type common name
['Milan', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Milan property:patron_saint ?o . ?o rdf:type ontology:common_name }
[]
common name
Q43689
SYSTEM
Ambrose
Q43689
(Q490,P417,c(Q502895))
action filter_type
action find
entity Q490
relation P417
type Q502895
[ANSWER] is the patron saint of Milan
['Q490', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q490 property:P417 ?o . ?o rdf:type ontology:Q502895 }
Ambrose
Ambrose is the patron saint of Milan
Ambrose
action filter_type
action find
entity Milan
relation patron saint
type common name
['Milan', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Milan property:patron_saint ?o . ?o rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1408855
Q502895
USER
And how about St. Nikolaus?
(Q1408855,P417,c(Q502895))
action filter_type
action find
entity Q1408855
relation P417
type Q502895
['Q1408855', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . resource:Q1408855 property:P417 ?l }
St. Nikolaus
action filter_type
action find
entity St. Nikolaus
relation patron saint
type common name
['St. Nikolaus', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . resource:St._Nikolaus property:patron_saint ?l }
[]
common name
Q44269
SYSTEM
Saint Nicholas
Q44269
(Q1408855,P417,c(Q502895))
action filter_type
action find
entity Q1408855
relation P417
type Q502895
[ANSWER]
['Q1408855', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . resource:Q1408855 property:P417 ?l }
Saint Nicholas
Saint Nicholas
action filter_type
action find
entity St. Nikolaus
relation patron saint
type common name
['St. Nikolaus', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . resource:St._Nikolaus property:patron_saint ?l }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q44269 Q4867395
P138
Q44539
USER
Is Basilica of St. Stanislaus the eponym of that person ?
(Q4867395,P138,Q44269)
action is_in
entity Q4867395
action find
entity Q44269
relation P138
['Q4867395', 'P138', 'Q44269']
ASK WHERE { resource:Q44269 property:P138 resource:Q4867395 }
Saint Nicholas Basilica of St. Stanislaus
action is_in
entity Basilica of St. Stanislaus
action find
entity Saint Nicholas
relation named after
['Basilica of St. Stanislaus', 'named after', 'Saint Nicholas']
ASK WHERE { resource:Saint_Nicholas property:named_after resource:Basilica_of_St._Stanislaus }
[]
temple
SYSTEM
NO
(Q4867395,P138,Q44269)
action is_in
entity Q4867395
action find
entity Q44269
relation P138
[ANSWER]
['Q4867395', 'P138', 'Q44269']
ASK WHERE { resource:Q44269 property:P138 resource:Q4867395 }
No
action is_in
entity Basilica of St. Stanislaus
action find
entity Saint Nicholas
relation named after
['Basilica of St. Stanislaus', 'named after', 'Saint Nicholas']
ASK WHERE { resource:Saint_Nicholas property:named_after resource:Basilica_of_St._Stanislaus }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1465824 Q38
P27
Q15617994
USER
Is Fausto Braga a civilian of Italy ?
(Q1465824,P27,Q38)
action is_in
entity Q38
action find
entity Q1465824
relation P27
['Q1465824', 'P27', 'Q38']
ASK WHERE { resource:Q1465824 property:P27 resource:Q38 }
Fausto Braga Italy
action is_in
entity Italy
action find
entity Fausto Braga
relation country of citizenship
['Fausto Braga', 'country of citizenship', 'Italy']
ASK WHERE { resource:Fausto_Braga property:country_of_citizenship resource:Italy }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q1465824,P27,Q38)
action is_in
entity Q38
action find
entity Q1465824
relation P27
[ANSWER]
['Q1465824', 'P27', 'Q38']
ASK WHERE { resource:Q1465824 property:P27 resource:Q38 }
Yes
action is_in
entity Italy
action find
entity Fausto Braga
relation country of citizenship
['Fausto Braga', 'country of citizenship', 'Italy']
ASK WHERE { resource:Fausto_Braga property:country_of_citizenship resource:Italy }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q43689 Q3440565
P19
Q56061
USER
Was Ambrose born in Romac ?
(Q43689,P19,Q3440565)
action is_in
entity Q3440565
action find
entity Q43689
relation P19
['Q43689', 'P19', 'Q3440565']
ASK WHERE { resource:Q43689 property:P19 resource:Q3440565 }
Ambrose Romac
action is_in
entity Romac
action find
entity Ambrose
relation place of birth
['Ambrose', 'place of birth', 'Romac']
ASK WHERE { resource:Ambrose property:place_of_birth resource:Romac }
[]
administrative territorial entity
SYSTEM
NO
(Q43689,P19,Q3440565)
action is_in
entity Q3440565
action find
entity Q43689
relation P19
[ANSWER]
['Q43689', 'P19', 'Q3440565']
ASK WHERE { resource:Q43689 property:P19 resource:Q3440565 }
No
action is_in
entity Romac
action find
entity Ambrose
relation place of birth
['Ambrose', 'place of birth', 'Romac']
ASK WHERE { resource:Ambrose property:place_of_birth resource:Romac }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q16155191
P1303
Q34379 Q502895
USER
Which musical instruments can approximately the same number of people perform with as Saraswati veena ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q16155191
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?w ) WHERE { ?k property:P1303 ?y . ?y rdf:type ontology:Q34379 . ?k rdf:type ontology:Q502895 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { resource:Q16155191 property:P1303 ?p . ?p rdf:type ontology:Q34379 } } . FILTER ( ?w = ?h ) }
Saraswati veena
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Saraswati veena
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?w ) WHERE { ?k property:instrument ?y . ?y rdf:type ontology:musical_instrument . ?k rdf:type ontology:common_name } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { resource:Saraswati_veena property:instrument ?p . ?p rdf:type ontology:musical_instrument } } . FILTER ( ?w = ?h ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 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 approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q16155191
relation P1303
type Q34379
[ANSWERS] can approximately the same number of people perform with as Saraswati veena
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?w ) WHERE { ?k property:P1303 ?y . ?y rdf:type ontology:Q34379 . ?k rdf:type ontology:Q502895 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { resource:Q16155191 property:P1303 ?p . ?p rdf:type ontology:Q34379 } } . FILTER ( ?w = ?h ) }
viola 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 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
Davul, harpsichord and Wurlitzer electric piano can approximately the same number of people perform with as Saraswati veena
davul harpsichord Wurlitzer electric piano
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Saraswati veena
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?w ) WHERE { ?k property:instrument ?y . ?y rdf:type ontology:musical_instrument . ?k rdf:type ontology:common_name } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { resource:Saraswati_veena property:instrument ?p . ?p rdf:type ontology:musical_instrument } } . FILTER ( ?w = ?h ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q220971
P1303
Q34379 Q502895
USER
And also tell me about marimba?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q220971
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { ?f rdf:type ontology:Q34379 . resource:Q220971 property:P1303 ?f } } . FILTER ( ?v = ?n ) . { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?v ) WHERE { ?b property:P1303 ?j . ?j rdf:type ontology:Q34379 . ?b rdf:type ontology:Q502895 } GROUP BY ?j } }
marimba
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity marimba
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { ?f rdf:type ontology:musical_instrument . resource:marimba property:instrument ?f } } . FILTER ( ?v = ?n ) . { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?v ) WHERE { ?b property:instrument ?j . ?j rdf:type ontology:musical_instrument . ?b rdf:type ontology:common_name } GROUP BY ?j } }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 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 approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q220971
relation P1303
type Q34379
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { ?f rdf:type ontology:Q34379 . resource:Q220971 property:P1303 ?f } } . FILTER ( ?v = ?n ) . { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?v ) WHERE { ?b property:P1303 ?j . ?j rdf:type ontology:Q34379 . ?b rdf:type ontology:Q502895 } GROUP BY ?j } }
viola 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 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
davul harpsichord Wurlitzer electric piano
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity marimba
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { ?f rdf:type ontology:musical_instrument . resource:marimba property:instrument ?f } } . FILTER ( ?v = ?n ) . { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?v ) WHERE { ?b property:instrument ?j . ?j rdf:type ontology:musical_instrument . ?b rdf:type ontology:common_name } GROUP BY ?j } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q490
P190
Q56061
USER
Which administrative territories are the sister cities of Milan ?
(Q490,P190,c(Q56061))
action filter_type
action find
entity Q490
relation P190
type Q56061
['Q490', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q490 property:P190 ?p . ?p rdf:type ontology:Q56061 }
Milan
action filter_type
action find
entity Milan
relation sister city
type administrative territorial entity
['Milan', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Milan property:sister_city ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q8686 Q956 Q5776
SYSTEM
Shanghai, Beijing, Bethlehem
Q546 Q3718 Q174 Q8686 Q172 Q3141 Q340 Q33935 Q34820 Q193289 Q472 Q185289 Q956 Q3130 Q3805 Q121157 Q5776 Q1297 Q2634
(Q490,P190,c(Q56061))
action filter_type
action find
entity Q490
relation P190
type Q56061
[ANSWERS] are the sister cities of Milan
['Q490', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q490 property:P190 ?p . ?p rdf:type ontology:Q56061 }
Trieste Dakar São Paulo Shanghai Toronto Melbourne Montreal Tel Aviv Santo Domingo Iquitos Sofia Pernik Beijing Sydney Amman Mashhad Bethlehem Chicago Naples
Shanghai, Beijing and Bethlehem are the sister cities of Milan
Shanghai Beijing Bethlehem
action filter_type
action find
entity Milan
relation sister city
type administrative territorial entity
['Milan', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Milan property:sister_city ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q360069
Q56061
USER
And also tell me about Bengbu?
(Q360069,P190,c(Q56061))
action filter_type
action find
entity Q360069
relation P190
type Q56061
['Q360069', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q360069 property:P190 ?s . ?s rdf:type ontology:Q56061 }
Bengbu
action filter_type
action find
entity Bengbu
relation sister city
type administrative territorial entity
['Bengbu', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Bengbu property:sister_city ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q628
SYSTEM
Bergamo
Q628
(Q360069,P190,c(Q56061))
action filter_type
action find
entity Q360069
relation P190
type Q56061
[ANSWER]
['Q360069', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q360069 property:P190 ?s . ?s rdf:type ontology:Q56061 }
Bergamo
Bergamo
action filter_type
action find
entity Bengbu
relation sister city
type administrative territorial entity
['Bengbu', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Bengbu property:sister_city ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P532
Q56061 Q2235308
USER
How many ship types are the registry port of approximately 3 administrative territories ?
(c(Q2235308),P532,c(Q56061))
action count
action approx
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 3
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?t ) AS ?m ) WHERE { ?v property:P532 ?t . ?v rdf:type ontology:Q2235308 . ?t rdf:type ontology:Q56061 } GROUP BY ?v } . FILTER ( ?m = 3 ) }
action count
action approx
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 3
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?t ) AS ?m ) WHERE { ?v property:port_of_registry ?t . ?v rdf:type ontology:ship_type . ?t rdf:type ontology:administrative_territorial_entity } GROUP BY ?v } . FILTER ( ?m = 3 ) }
[]
administrative territorial entity ship type
SYSTEM
1
Q11707059
(c(Q2235308),P532,c(Q56061))
action count
action approx
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 3
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?t ) AS ?m ) WHERE { ?v property:P532 ?t . ?v rdf:type ontology:Q2235308 . ?t rdf:type ontology:Q56061 } GROUP BY ?v } . FILTER ( ?m = 3 ) }
MS Arrow
1
action count
action approx
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 3
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?t ) AS ?m ) WHERE { ?v property:port_of_registry ?t . ?v rdf:type ontology:ship_type . ?t rdf:type ontology:administrative_territorial_entity } GROUP BY ?v } . FILTER ( ?m = 3 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P532
Q56061 Q2235308
USER
Which ship types have approximately 1 administrative territory as their base harbour ?
(c(Q2235308),P532,c(Q56061))
action approx
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 1
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?b ) AS ?l ) WHERE { ?i property:P532 ?b . ?i rdf:type ontology:Q2235308 . ?b rdf:type ontology:Q56061 } GROUP BY ?i } . FILTER ( ?l = 1 ) }
action approx
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 1
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?b ) AS ?l ) WHERE { ?i property:port_of_registry ?b . ?i rdf:type ontology:ship_type . ?b rdf:type ontology:administrative_territorial_entity } GROUP BY ?i } . FILTER ( ?l = 1 ) }
[]
administrative territorial entity ship type
Q35462 Q192381 Q983141
SYSTEM
RMS Aquitania, MS Oasis of the Seas, MY Sam Simon
Q2992316 Q2301456 Q983141 Q133606 Q26988086 Q168474 Q300311 Q20489530 Q5338632 Q7499755 Q2124429 Q1293488 Q1017179 Q7120838 Q7393546 Q25173 Q14493958 Q18128240 Q664284 Q26988094 Q21196329 Q10659251 Q477173 Q130373 Q19608222 Q1026780 Q22342351 Q15662618 Q16854668 Q1325547 Q761593 Q26883829 Q2124449 Q778649 Q3952367 Q11705702 Q24039469 Q751584 Q6930211 Q16629249 Q497065 Q3053251 Q1439419 Q23579589 Q4686475 Q26987769 Q11891639 Q321007 Q6720006 Q741803 Q338340 Q7120888 Q215692 Q917188 Q18213370 Q1129910 Q2714360 Q16852551 Q1514126 Q18711004 Q1339472 Q3558075 Q192381 Q493616 Q35462
(c(Q2235308),P532,c(Q56061))
action approx
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 1
[ANSWERS] have approximately 1 administrative territory as their base harbour
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?b ) AS ?l ) WHERE { ?i property:P532 ?b . ?i rdf:type ontology:Q2235308 . ?b rdf:type ontology:Q56061 } GROUP BY ?i } . FILTER ( ?l = 1 ) }
HSC Condor Rapide MS Viking XPRS MY Sam Simon MS Star Meteora MV Arctic Sunrise A MS Harmony of the Seas Edith Mærsk Shoalway RMS Samaria MV Esperanza SS Burutu PS Empress Queen SS Empire Airman RMS Titanic Mærsk Mc-Kinney Møller MS Quantum of the Seas Pioneering Spirit Emma Victory SS Argentina S/S Drottningholm Emma Mærsk Admiral Makarov HSC Condor Liberation SS California Modern Express Djurgården 8 Mein Schiff 4 MT Mastera CMA CGM Marco Polo VOS Sympathy RMS St Helena Eclipse MS Norman Atlantic MV Ascension HSC Highspeed 5 MS Express Samina msy Wind Song Varnek (ship, 1974-2010) MV Baltic Ace Empire Sandy Vitus Bering MV Christinaki Adventure British Explorer SS Coccolita RMS Olympic MV Royal Daffodil RMS Mauretania MV Boudicca SS Prince of Wales HMHS Britannic MS Brilliance of the Seas Anthem of the Seas SS Potsdam MS Empress MS Epsilon MS Marco Polo MV Hoegh Osaka RMS Empress of Ireland Vieux Crabe MS Oasis of the Seas Royal Clipper RMS Aquitania
RMS Aquitania, MS Oasis of the Seas and MY Sam Simon have approximately 1 administrative territory as their base harbour
RMS Aquitania MS Oasis of the Seas MY Sam Simon
action approx
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 1
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?b ) AS ?l ) WHERE { ?i property:port_of_registry ?b . ?i rdf:type ontology:ship_type . ?b rdf:type ontology:administrative_territorial_entity } GROUP BY ?i } . FILTER ( ?l = 1 ) }
[]