Simple Question (Direct)
Simple Question
Q3749781
P19
Q15617994
USER
Which administrative territory is the birthplace of Francesco Chiappelli ?
(Q3749781,P19,c(Q15617994))
action filter_type
action find
entity Q3749781
relation P19
type Q15617994
['Q3749781', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q3749781 property:P19 ?a . ?a rdf:type ontology:Q15617994 }
Francesco Chiappelli
action filter_type
action find
entity Francesco Chiappelli
relation place of birth
type designation for an administrative territorial entity
['Francesco Chiappelli', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Francesco_Chiappelli property:place_of_birth ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q13376
SYSTEM
Pistoia
Q13376
(Q3749781,P19,c(Q15617994))
action filter_type
action find
entity Q3749781
relation P19
type Q15617994
[ANSWER] is the birthplace of Francesco Chiappelli
['Q3749781', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q3749781 property:P19 ?a . ?a rdf:type ontology:Q15617994 }
Pistoia
Pistoia is the birthplace of Francesco Chiappelli
Pistoia
action filter_type
action find
entity Francesco Chiappelli
relation place of birth
type designation for an administrative territorial entity
['Francesco Chiappelli', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Francesco_Chiappelli property:place_of_birth ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3749781
P20
Q56061
USER
Where did the expiration of Francesco Chiappelli occur ?
(Q3749781,P20,c(Q56061))
action filter_type
action find
entity Q3749781
relation P20
type Q56061
['Q3749781', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q3749781 property:P20 ?r . ?r rdf:type ontology:Q56061 }
Francesco Chiappelli
action filter_type
action find
entity Francesco Chiappelli
relation place of death
type administrative territorial entity
['Francesco Chiappelli', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Francesco_Chiappelli property:place_of_death ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2044
SYSTEM
Florence
Q2044
(Q3749781,P20,c(Q56061))
action filter_type
action find
entity Q3749781
relation P20
type Q56061
The expiration of Francesco Chiappelli occurred in [ANSWER]
['Q3749781', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q3749781 property:P20 ?r . ?r rdf:type ontology:Q56061 }
Florence
The expiration of Francesco Chiappelli occurred in Florence
Florence
action filter_type
action find
entity Francesco Chiappelli
relation place of death
type administrative territorial entity
['Francesco Chiappelli', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Francesco_Chiappelli property:place_of_death ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3749781
P21
Q290
USER
What is the sex of that person ?
(Q2044,P21,c(Q290))
action filter_type
action find
entity Q3749781
relation P21
type Q290
['Q2044', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q3749781 property:P21 ?a . ?a rdf:type ontology:Q290 }
Francesco Chiappelli
action filter_type
action find
entity Francesco Chiappelli
relation gender
type sex
['Florence', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Francesco_Chiappelli property:gender ?a . ?a rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2044,P21,c(Q290))
action filter_type
action find
entity Q3749781
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q2044', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q3749781 property:P21 ?a . ?a rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Francesco Chiappelli
relation gender
type sex
['Florence', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Francesco_Chiappelli property:gender ?a . ?a rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q13376
P19 P21
Q502895
USER
Which people were born at Pistoia and are a male ?
AND((c(Q502895),P19,Q13376), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q13376
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q13376'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?u WHERE { ?u property:P19 resource:Q13376 . ?u property:P21 resource:Q6581097 . ?u rdf:type ontology:Q502895 }
male Pistoia
action filter_type
action intersection
action find_reverse
entity Pistoia
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Pistoia'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?u WHERE { ?u property:place_of_birth resource:Pistoia . ?u property:gender resource:male . ?u rdf:type ontology:common_name }
[]
common name
Q16531280 Q3894359 Q16525002 Q3710215 Q3848270 Q174282 Q3647117 Q3720436 Q3838056 Q3105019
SYSTEM
Some of them are Bartolomeo Sestini, Paolo Perugi, Aldo Melani, Giovanni Antonelli, Mario Allorini, Emanuele Bindi, Buonaccorso da Montemagno il Giovane, Egisto Betti, Luca Bracali, Giacinto Gimignani
Q3745255 Q1405518 Q25768307 Q2279575 Q1069850 Q4822260 Q16578244 Q16586905 Q3695117 Q16525002 Q3609294 Q3751099 Q23829569 Q17466502 Q2943252 Q3875993 Q1084621 Q16163015 Q3104075 Q3960638 Q3853054 Q20028188 Q3531245 Q3725422 Q1526323 Q3720407 Q18337858 Q16559403 Q3742616 Q4013369 Q3338342 Q19561535 Q2622497 Q4002860 Q7351622 Q322022 Q3845661 Q3615824 Q16597380 Q20675938 Q16599882 Q1415383 Q3710215 Q3852826 Q6764865 Q720350 Q1588520 Q4003351 Q711089 Q3720436 Q3220072 Q3745150 Q19409733 Q3615462 Q174282 Q3750739 Q3703571 Q3615899 Q7002234 Q2386181 Q774494 Q984203 Q3848270 Q3488815 Q3763162 Q1042048 Q12788424 Q3882754 Q2897491 Q3846567 Q2831791 Q3870623 Q3963942 Q3768322 Q3475912 Q1445496 Q3939943 Q3934509 Q2857188 Q250920 Q1644506 Q6999673 Q5162677 Q3880932 Q1528408 Q3902913 Q1541321 Q1388981 Q3838056 Q3838050 Q16575844 Q2958666 Q3745369 Q16557327 Q634239 Q4748242 Q3299619 Q3943007 Q4002445 Q3938824 Q2525761 Q1539001 Q3619859 Q3830469 Q3726472 Q3938603 Q2939145 Q3618852 Q3609110 Q3875164 Q925767 Q27019789 Q740094 Q15616064 Q2442674 Q3932673 Q3946669 Q17453121 Q3953745 Q2910127 Q23649308 Q3766113 Q3961286 Q15090952 Q3756628 Q338850 Q3722909 Q18714140 Q3845633 Q1839503 Q53008 Q21196719 Q3606408 Q3929256 Q3929255 Q3932995 Q16531280 Q3830589 Q1449585 Q631304 Q3635338 Q3609863 Q3904041 Q3837166 Q928954 Q1528359 Q3804920 Q3766122 Q4009034 Q3624594 Q3105088 Q19937015 Q3761616 Q3809902 Q3629338 Q639372 Q19670724 Q736348 Q16562178 Q1110001 Q1093502 Q1399712 Q3939063 Q3894173 Q3770904 Q3749781 Q1124406 Q172499 Q3929263 Q3619347 Q3956003 Q3983927 Q3873478 Q5222845 Q1830707 Q3768475 Q3297761 Q1505154 Q17620073 Q17651872 Q1338303 Q3750249 Q3554631 Q3616141 Q3801742 Q3854784 Q3894359 Q15110933 Q3856454 Q3929274 Q3713109 Q21832828 Q3934635 Q3939035 Q3992831 Q3771519 Q3960294 Q3605457 Q3838077 Q2430295 Q703980 Q1380791 Q2188861 Q3647117 Q17627923 Q4008635 Q21619585 Q3749183 Q26828283 Q3939918 Q3750015 Q4013912 Q3702340 Q3839965 Q3934633 Q16066390 Q3105019 Q3600953 Q1144994 Q16830146 Q3932822 Q3836927 Q16562350 Q3339581 Q155961 Q116337 Q3770439 Q551521 Q3960932
AND((c(Q502895),P19,Q13376), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q13376
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] were born at Pistoia and are a male
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q13376'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?u WHERE { ?u property:P19 resource:Q13376 . ?u property:P21 resource:Q6581097 . ?u rdf:type ontology:Q502895 }
Filippo Maria Gherardeschi Leonardo da Pistoia Paolo Fabrizio Iacuzzi Francesco Valiani Augusto Del Noce Aurelio Lenzi Michelangelo Giacomelli Paolo Ricci Cosimo Gheri Aldo Melani Aldo Querci Franco Adducci Vittorio Capecchi Gabriele Moncini Giovanni Francesco Banchieri Nick Becattini Niccolò Fortiguerra Alberto Aiardi Gerino da Pistoia Silvano Fedi Max Laudadio Andreas Franchi Tommaso Ammanati Enio Drovandi Giovanni Pietro Pinamonti Egidio Turchi Alessandro Chiappelli Gino Frascari Ferdinando Innocenti Vincenzo Manni Neri di Fioravante Giovanni Mezzani Alessandro Melani Ugo Pagliai Roberto Carifi Francesco Bracciolini Marcello Pagnini Andrea Mangoni Roberto Ulivi Giorgio Ballati Samuel Katarro Serafino Biagioni Giovanni Antonelli Mauro Fondi Mario Pantaleo Domenico Rosselli Manuele Spadi Umberto Cecchi Lodovico Giustini Egisto Betti Lazzaro Baldi Filippo Civinini Niccolò Puccini Andrea Agresti Emanuele Bindi Francesco Tolomei Davide Lucarelli Andrea Niccolai Libero Simonatti Franco Petracchi Sergio Bazzini Giovanni Michelucci Mario Allorini Soffredo Gianfranco Venturi Carlo Chiti Enrico Francisci Onorato Bacchetti Jacopo Melani Marco Venturini Alberto Malusci Natale Rauty Soffredi del Grazia Giovanni Vannucci Carteromaco Giovanni Battista Tolomei Rodolfo Doni Riccardo Mannelli Antonio Banchieri Enrico Betti Alfio Caltabiano Elio Civinini Conradus de Pistoria Odoardo Baldi Giuseppe Manfredini Pier Luigi Zollo Stefano Carobbi Francesco Andreini Luca Bracali Luca Boschi Marco Furfaro Leonardo di Francesco di Lazzaro Malatesta Filippo di Lorenzo Paladini Francesco Maria Gatteschi Atto Melani Alberto Barni Matteo Fedi Ruy Blas Biagi Ubaldo Bianchi Roberto Galeotti Benedetto Grazzini Renato Cappellini Antonio Matani Leonardo da Pistoia Enzo Capecchi Roberto Becheri Agostino Fabroni Anton Francesco Menchi Aldo Baldi Nevol Querci Luciano Giovannetti Giorgio Vanucci Sebastiano Ciampi Nicola Mónti Luigi Garzi Renato Fondi Samuele Bertinelli Francesco Toni Sebastiano Cherici Bonifacio Ammanati Artidoro Berti Giovan Carlo Iozzelli Simone da Pantano Raffaello Pacini Gabriele Magni Pietro Fanfani Elia Puccini Alfredo Melani Marcello Melani Massimo Freccia Mauro Bolognini Sergio Civinini Agenore Fabbri Raffaello Melani Raffaello Melani Renzo Berti Bartolomeo Sestini Leonello Casucci Renzo Soldani Filippo Pacini Bartolomeo Bononi Alessandro Bonan Pietro Marchesini Loris Nannini Vincenzo Manfredini Giuseppe Gherardeschi Ivo Tesi Giovan Francesco Boccacini Vauro Senesi Arturo Stanghellini Giacomo Rospigliosi Umberto Somma Gherardo Nerucci Jonatan Bartoletti Atto Tigri Ardico Magnini Francesco Franchini Cino da Pistoia Gualtiero Nativi Policarpo Petrocchi Vanni Fucci Umberto Calvello Roberto Poli Paolo Lanfranchi da Pistoia Giuseppe Maria Bartaletti Francesco Chiappelli Felice Rospigliosi Roberto Bussinello Raffaello Niccolai Antonio Cammelli Sergio Albelli Teodulo Mabellini Nazareno Fabbretti Dario Fedi Loretto Petrucci Giovanni di Bartolomeo Cristiani Massimo Olmi Marco Osella Adolfo Chiti Renzo Innocenti Ippolito Desideri Francesco Marrassini Vannino Chiti Andrea di Jacopo di Ognibene Ippolito Niccolini Meo Abbracciavacca Paolo Perugi Luigi Gherardeschi Michelangelo Salvi Raffaello Silvestrini Domenico Manni Giuseppe Corsini Riccardo Tesi Roberto Papini Tommaso Puccini Giuseppe Tigri Sigfrido Bartolini Adolfo Natalini Luca Cellesi Stefano Giraldi Marino Marini Giuseppe Mariani Roberto Barni Buonaccorso da Montemagno il Giovane Ernest Siben Vanni de' Cancellieri Raffaello Baldi Papini Fra Paolo da Pistoia Silvano Ravagli Rodolfo Baldini Francesco Frosini Virgilio Gozzoli Dante Biagioni Luigi Pacinotti Riccardo Tesi Teodoro Matteini Giacinto Gimignani AG Fronzoni Mario Nigro Francesco Henrion Renato Vignolini Lorenzo D'Ercole Guido Carobbi Niccolò Forteguerri Clement IX Francesco Manfredini Giuseppe De Michelis Licio Gelli Silvio Pucci
Bartolomeo Sestini, Paolo Perugi, Aldo Melani, Giovanni Antonelli, Mario Allorini, Emanuele Bindi, Buonaccorso da Montemagno il Giovane, Egisto Betti, Luca Bracali and Giacinto Gimignani were born at Pistoia and are a male
Bartolomeo Sestini Paolo Perugi Aldo Melani Giovanni Antonelli Mario Allorini Emanuele Bindi Buonaccorso da Montemagno il Giovane Egisto Betti Luca Bracali Giacinto Gimignani
action filter_type
action intersection
action find_reverse
entity Pistoia
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Pistoia'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?u WHERE { ?u property:place_of_birth resource:Pistoia . ?u property:gender resource:male . ?u rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q744831
P1303
Q34379 Q502895
USER
How many musical instruments can approximately the same number of people perform with as Mridangam ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q744831
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) WHERE { resource:Q744831 property:P1303 ?z . ?z rdf:type ontology:Q34379 } } . FILTER ( ?y = ?g ) . { SELECT DISTINCT ?k ( COUNT ( ?v ) AS ?y ) WHERE { ?v property:P1303 ?k . ?k rdf:type ontology:Q34379 . ?v rdf:type ontology:Q502895 } GROUP BY ?k } }
Mridangam
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Mridangam
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) WHERE { resource:Mridangam property:instrument ?z . ?z rdf:type ontology:musical_instrument } } . FILTER ( ?y = ?g ) . { SELECT DISTINCT ?k ( COUNT ( ?v ) AS ?y ) WHERE { ?v property:instrument ?k . ?k rdf:type ontology:musical_instrument . ?v rdf:type ontology:common_name } GROUP BY ?k } }
[]
musical instrument common name
SYSTEM
60
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 count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q744831
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) WHERE { resource:Q744831 property:P1303 ?z . ?z rdf:type ontology:Q34379 } } . FILTER ( ?y = ?g ) . { SELECT DISTINCT ?k ( COUNT ( ?v ) AS ?y ) WHERE { ?v property:P1303 ?k . ?k rdf:type ontology:Q34379 . ?v rdf:type ontology:Q502895 } GROUP BY ?k } }
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
60
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Mridangam
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) WHERE { resource:Mridangam property:instrument ?z . ?z rdf:type ontology:musical_instrument } } . FILTER ( ?y = ?g ) . { SELECT DISTINCT ?k ( COUNT ( ?v ) AS ?y ) WHERE { ?v property:instrument ?k . ?k rdf:type ontology:musical_instrument . ?v rdf:type ontology:common_name } GROUP BY ?k } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q748455
P1303
Q34379 Q502895
USER
And what about cajón?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q748455
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?q ) AS ?l ) WHERE { ?q property:P1303 ?v . ?v rdf:type ontology:Q34379 . ?q rdf:type ontology:Q502895 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { ?i rdf:type ontology:Q34379 . resource:Q748455 property:P1303 ?i } } . FILTER ( ?l = ?h ) }
cajón
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity cajón
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?q ) AS ?l ) WHERE { ?q property:instrument ?v . ?v rdf:type ontology:musical_instrument . ?q rdf:type ontology:common_name } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { ?i rdf:type ontology:musical_instrument . resource:cajón property:instrument ?i } } . FILTER ( ?l = ?h ) }
[]
musical instrument common name
SYSTEM
60
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 count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q748455
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?q ) AS ?l ) WHERE { ?q property:P1303 ?v . ?v rdf:type ontology:Q34379 . ?q rdf:type ontology:Q502895 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { ?i rdf:type ontology:Q34379 . resource:Q748455 property:P1303 ?i } } . FILTER ( ?l = ?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
60
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity cajón
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?q ) AS ?l ) WHERE { ?q property:instrument ?v . ?v rdf:type ontology:musical_instrument . ?q rdf:type ontology:common_name } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { ?i rdf:type ontology:musical_instrument . resource:cajón property:instrument ?i } } . FILTER ( ?l = ?h ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q178933
P1303
Q34379 Q502895
USER
How many musical instruments can less number of people perform with than Hardanger fiddle ?
(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 Q178933
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?i ) AS ?d ) WHERE { ?p rdf:type ontology:Q34379 . ?i rdf:type ontology:Q502895 . ?i property:P1303 ?p } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { ?l property:P1303 resource:Q178933 . ?l rdf:type ontology:Q502895 } } . FILTER ( ?d < ?b ) }
Hardanger fiddle
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 Hardanger fiddle
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?i ) AS ?d ) WHERE { ?p rdf:type ontology:musical_instrument . ?i rdf:type ontology:common_name . ?i property:instrument ?p } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { ?l property:instrument resource:Hardanger_fiddle . ?l rdf:type ontology:common_name } } . FILTER ( ?d < ?b ) }
[]
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 Q178933
relation P1303
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?i ) AS ?d ) WHERE { ?p rdf:type ontology:Q34379 . ?i rdf:type ontology:Q502895 . ?i property:P1303 ?p } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { ?l property:P1303 resource:Q178933 . ?l rdf:type ontology:Q502895 } } . FILTER ( ?d < ?b ) }
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 Hardanger fiddle
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?i ) AS ?d ) WHERE { ?p rdf:type ontology:musical_instrument . ?i rdf:type ontology:common_name . ?i property:instrument ?p } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { ?l property:instrument resource:Hardanger_fiddle . ?l rdf:type ontology:common_name } } . FILTER ( ?d < ?b ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q862501
P1303
Q34379 Q502895
USER
And what about ondes Martenot?
(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 Q862501
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?k ) AS ?s ) WHERE { ?k property:P1303 ?o . ?k rdf:type ontology:Q502895 . ?o rdf:type ontology:Q34379 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { ?f property:P1303 resource:Q862501 . ?f rdf:type ontology:Q502895 } } . FILTER ( ?s < ?r ) }
ondes Martenot
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 ondes Martenot
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?k ) AS ?s ) WHERE { ?k property:instrument ?o . ?k rdf:type ontology:common_name . ?o rdf:type ontology:musical_instrument } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { ?f property:instrument resource:ondes_Martenot . ?f rdf:type ontology:common_name } } . FILTER ( ?s < ?r ) }
[]
musical instrument common name
SYSTEM
36
Q890073 Q1178361 Q604538 Q2660670 Q39777 Q678090 Q490054 Q873588 Q593995 Q1327500 Q1879664 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q1024685 Q816793 Q244976 Q1179017 Q320341 Q748455 Q669370 Q290951 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q173453 Q744831 Q963150 Q16155191 Q644440 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 Q862501
relation P1303
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?k ) AS ?s ) WHERE { ?k property:P1303 ?o . ?k rdf:type ontology:Q502895 . ?o rdf:type ontology:Q34379 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { ?f property:P1303 resource:Q862501 . ?f rdf:type ontology:Q502895 } } . FILTER ( ?s < ?r ) }
Body percussion davul Temple block Irish bouzouki maraca Twelve-string guitar Ondioline Jinghu player piano electronic musical instrument spoon Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cabasa Bendir bodhrán Daxophone celesta cajón gusle Kamancheh Hardanger fiddle transverse flute baritone horn morin khuur Timbales wind instrument Mridangam tenor guitar Saraswati veena Lap steel guitar Kayamb Paraguayan harp
36
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 ondes Martenot
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?k ) AS ?s ) WHERE { ?k property:instrument ?o . ?k rdf:type ontology:common_name . ?o rdf:type ontology:musical_instrument } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { ?f property:instrument resource:ondes_Martenot . ?f rdf:type ontology:common_name } } . FILTER ( ?s < ?r ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q13376
P190
Q20667921
USER
Which french administrative division is twin city of Pistoia ?
(Q13376,P190,c(Q20667921))
action filter_type
action find
entity Q13376
relation P190
type Q20667921
['Q13376', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ?h WHERE { resource:Q13376 property:P190 ?h . ?h rdf:type ontology:Q20667921 }
Pistoia
action filter_type
action find
entity Pistoia
relation sister city
type type of french administrative division
['Pistoia', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?h WHERE { resource:Pistoia property:sister_city ?h . ?h rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q132671
SYSTEM
Pau
Q132671
(Q13376,P190,c(Q20667921))
action filter_type
action find
entity Q13376
relation P190
type Q20667921
[ANSWER] is twin city of Pistoia
['Q13376', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ?h WHERE { resource:Q13376 property:P190 ?h . ?h rdf:type ontology:Q20667921 }
Pau
Pau is twin city of Pistoia
Pau
action filter_type
action find
entity Pistoia
relation sister city
type type of french administrative division
['Pistoia', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?h WHERE { resource:Pistoia property:sister_city ?h . ?h rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q219444
Q20667921
USER
And how about Porcari?
(Q219444,P190,c(Q20667921))
action filter_type
action find
entity Q219444
relation P190
type Q20667921
['Q219444', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ?h WHERE { resource:Q219444 property:P190 ?h . ?h rdf:type ontology:Q20667921 }
Porcari
action filter_type
action find
entity Porcari
relation sister city
type type of french administrative division
['Porcari', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?h WHERE { resource:Porcari property:sister_city ?h . ?h rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q637499
SYSTEM
Carmaux
Q637499
(Q219444,P190,c(Q20667921))
action filter_type
action find
entity Q219444
relation P190
type Q20667921
[ANSWER]
['Q219444', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ?h WHERE { resource:Q219444 property:P190 ?h . ?h rdf:type ontology:Q20667921 }
Carmaux
Carmaux
action filter_type
action find
entity Porcari
relation sister city
type type of french administrative division
['Porcari', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?h WHERE { resource:Porcari property:sister_city ?h . ?h rdf:type ontology:type_of_french_administrative_division }
[]