Simple Question (Direct)
Simple Question
Q4363107
P106
Q12737077
USER
Which occupation has Laurindo Furlani as his/her 's career ?
(Q4363107,P106,c(Q12737077))
action filter_type
action find
entity Q4363107
relation P106
type Q12737077
['Q4363107', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q12737077 . resource:Q4363107 property:P106 ?y }
Laurindo Furlani
action filter_type
action find
entity Laurindo Furlani
relation occupation
type occupation
['Laurindo Furlani', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:occupation . resource:Laurindo_Furlani property:occupation ?y }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q4363107,P106,c(Q12737077))
action filter_type
action find
entity Q4363107
relation P106
type Q12737077
As [ANSWER] has Laurindo Furlani as his/her 's career
['Q4363107', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q12737077 . resource:Q4363107 property:P106 ?y }
association football player
As association football player has Laurindo Furlani as his/her 's career
association football player
action filter_type
action find
entity Laurindo Furlani
relation occupation
type occupation
['Laurindo Furlani', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:occupation . resource:Laurindo_Furlani property:occupation ?y }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4363107
P641
Q349
USER
Which sport was that person a part of ?
(Q937857,P641,c(Q349))
action filter_type
action find
entity Q4363107
relation P641
type Q349
['Q937857', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q349 . resource:Q4363107 property:P641 ?y }
Laurindo Furlani
action filter_type
action find
entity Laurindo Furlani
relation sport
type sport
['association football player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:sport . resource:Laurindo_Furlani property:sport ?y }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q937857,P641,c(Q349))
action filter_type
action find
entity Q4363107
relation P641
type Q349
Football [ANSWER] was that person a part of
['Q937857', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q349 . resource:Q4363107 property:P641 ?y }
association football
Football association football was that person a part of
association football
action filter_type
action find
entity Laurindo Furlani
relation sport
type sport
['association football player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:sport . resource:Laurindo_Furlani property:sport ?y }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P417
Q502895 Q12737077
USER
Which people are the names of the patron saint of approximately 3 occupations ?
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 3
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?x ) AS ?f ) WHERE { ?x property:P417 ?q . ?q rdf:type ontology:Q502895 . ?x rdf:type ontology:Q12737077 } GROUP BY ?q } . FILTER ( ?f = 3 ) }
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 3
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?x ) AS ?f ) WHERE { ?x property:patron_saint ?q . ?q rdf:type ontology:common_name . ?x rdf:type ontology:occupation } GROUP BY ?q } . FILTER ( ?f = 3 ) }
[]
common name occupation
Q128538 Q192816 Q200895
SYSTEM
Luke the Evangelist, Saint Barbara, Agatha of Sicily
Q128538 Q192816 Q200895
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 3
[ANSWERS] are the names of the patron saint of approximately 3 occupations
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?x ) AS ?f ) WHERE { ?x property:P417 ?q . ?q rdf:type ontology:Q502895 . ?x rdf:type ontology:Q12737077 } GROUP BY ?q } . FILTER ( ?f = 3 ) }
Luke the Evangelist Saint Barbara Agatha of Sicily
Luke the Evangelist, Saint Barbara and Agatha of Sicily are the names of the patron saint of approximately 3 occupations
Luke the Evangelist Saint Barbara Agatha of Sicily
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 3
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?x ) AS ?f ) WHERE { ?x property:patron_saint ?q . ?q rdf:type ontology:common_name . ?x rdf:type ontology:occupation } GROUP BY ?q } . FILTER ( ?f = 3 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q18073923
P725
Q502895 Q6619679
USER
Which fictional humanoids had greater number of people as the dubbing artist than Sunset Shimmer ?
(c(Q6619679),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q6619679
type Q502895
action count
action filter_type
action find
entity Q18073923
relation P725
type Q6619679
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?d ) AS ?q ) WHERE { ?c property:P725 ?d . ?c rdf:type ontology:Q6619679 . ?d rdf:type ontology:Q502895 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { resource:Q18073923 property:P725 ?o . ?o rdf:type ontology:Q6619679 } } . FILTER ( ?q > ?w ) }
Sunset Shimmer
action greater
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
action count
action filter_type
action find
entity Sunset Shimmer
relation voice actor
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?d ) AS ?q ) WHERE { ?c property:voice_actor ?d . ?c rdf:type ontology:fictional_humanoid . ?d rdf:type ontology:common_name } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { resource:Sunset_Shimmer property:voice_actor ?o . ?o rdf:type ontology:fictional_humanoid } } . FILTER ( ?q > ?w ) }
[]
common name fictional humanoid
Q15711517 Q15707554 Q994344
SYSTEM
Granny Smith, Apple Bloom, Ezio Auditore da Firenze
Q15707554 Q994344 Q11677249 Q11382982 Q11514862 Q931 Q15711517
(c(Q6619679),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q6619679
type Q502895
action count
action filter_type
action find
entity Q18073923
relation P725
type Q6619679
[ANSWERS] had greater number of people as the dubbing artist than Sunset Shimmer
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?d ) AS ?q ) WHERE { ?c property:P725 ?d . ?c rdf:type ontology:Q6619679 . ?d rdf:type ontology:Q502895 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { resource:Q18073923 property:P725 ?o . ?o rdf:type ontology:Q6619679 } } . FILTER ( ?q > ?w ) }
Apple Bloom Ezio Auditore da Firenze Madoka Kaname Kyoko Sakura Homura Akemi Naruto Uzumaki Granny Smith
Granny Smith, Apple Bloom and Ezio Auditore da Firenze had greater number of people as the dubbing artist than Sunset Shimmer
Granny Smith Apple Bloom Ezio Auditore da Firenze
action greater
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
action count
action filter_type
action find
entity Sunset Shimmer
relation voice actor
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?d ) AS ?q ) WHERE { ?c property:voice_actor ?d . ?c rdf:type ontology:fictional_humanoid . ?d rdf:type ontology:common_name } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { resource:Sunset_Shimmer property:voice_actor ?o . ?o rdf:type ontology:fictional_humanoid } } . FILTER ( ?q > ?w ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4681258 Q994344
P20
Q56061
USER
Which administrative territories did the expiration of Ezio Auditore da Firenze or Addison Hiatt Sanders occur ?
OR((Q994344,P20,c(Q56061)), (Q4681258,P20,c(Q56061)))
action filter_type
action union
action find
entity Q994344
relation P20
action find
entity Q4681258
relation P20
type Q56061
{'OR': [['Q994344', 'P20', {'concept': 'Q56061'}], ['Q4681258', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q994344 property:P20 ?z } UNION { resource:Q4681258 property:P20 ?z } } . ?z rdf:type ontology:Q56061 }
Addison Hiatt Sanders Ezio Auditore da Firenze
action filter_type
action union
action find
entity Ezio Auditore da Firenze
relation place of death
action find
entity Addison Hiatt Sanders
relation place of death
type administrative territorial entity
{'OR': [['Ezio Auditore da Firenze', 'place of death', {'concept': 'administrative territorial entity'}], ['Addison Hiatt Sanders', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Ezio_Auditore_da_Firenze property:place_of_death ?z } UNION { resource:Addison_Hiatt_Sanders property:place_of_death ?z } } . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q913495 Q2044
SYSTEM
Marshalltown, Florence
Q913495 Q2044
OR((Q994344,P20,c(Q56061)), (Q4681258,P20,c(Q56061)))
action filter_type
action union
action find
entity Q994344
relation P20
action find
entity Q4681258
relation P20
type Q56061
The expiration of Ezio Auditore da Firenze or Addison Hiatt Sanders occurred in [ANSWERS]
{'OR': [['Q994344', 'P20', {'concept': 'Q56061'}], ['Q4681258', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q994344 property:P20 ?z } UNION { resource:Q4681258 property:P20 ?z } } . ?z rdf:type ontology:Q56061 }
Marshalltown Florence
The expiration of Ezio Auditore da Firenze or Addison Hiatt Sanders occurred in Marshalltown and Florence
Marshalltown Florence
action filter_type
action union
action find
entity Ezio Auditore da Firenze
relation place of death
action find
entity Addison Hiatt Sanders
relation place of death
type administrative territorial entity
{'OR': [['Ezio Auditore da Firenze', 'place of death', {'concept': 'administrative territorial entity'}], ['Addison Hiatt Sanders', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Ezio_Auditore_da_Firenze property:place_of_death ?z } UNION { resource:Addison_Hiatt_Sanders property:place_of_death ?z } } . ?z rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P417
Q502895 Q1445650 Q56061
USER
How many administrative territories have greater number of people and holidays as their patron saint than that administrative territory ?
(c(Q56061),P417,c(Q502895)|c(Q1445650))
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:Q28914 ?y } UNION { ?z property:Q28914 ?x } } . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q502895 . ?x rdf:type ontology:Q1445650 }
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:patron_saint ?y } UNION { ?z property:patron_saint ?x } } . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:common_name . ?x rdf:type ontology:holiday }
[]
common name holiday administrative territorial entity
Comparative|Count over More/Less|Mult. entity type|Clarification
Q913495
SYSTEM
Did you mean Marshalltown ?
(c(Q56061),P417,c(Q502895)|c(Q1445650))
[ANSWER]
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:Q28914 ?y } UNION { ?z property:Q28914 ?x } } . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q502895 . ?x rdf:type ontology:Q1445650 }
Did you mean Marshalltown ?
Marshalltown
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:patron_saint ?y } UNION { ?z property:patron_saint ?x } } . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:common_name . ?x rdf:type ontology:holiday }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Florence. Could you tell me the answer for that?
(c(Q56061),P417,c(Q502895)|c(Q1445650))
Q2044
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
[]
SYSTEM
97
Q5818 Q187352 Q11974 Q40801 Q212841 Q454875 Q14209773 Q34111 Q81004 Q6737 Q13364 Q46844 Q73450 Q15468 Q490 Q41329 Q495 Q2044 Q1492 Q2028 Q929022 Q641 Q46165 Q649 Q58463 Q491588 Q3395964 Q73489 Q53825 Q200908 Q15090 Q36647 Q13375 Q15088 Q10305 Q53265 Q6340 Q101229 Q50135 Q2090 Q695550 Q53850 Q6285 Q9920 Q6046 Q3739344 Q2807 Q72279 Q133123 Q139595 Q3415 Q39519 Q495798 Q82208 Q3557616 Q374108 Q3562704 Q428018 Q220 Q90 Q431389 Q5991813 Q380189 Q617 Q470461 Q733574 Q932648 Q100143 Q100065 Q13121 Q465078 Q3947670 Q100772 Q71935 Q51400 Q504216 Q51315 Q210470 Q11959 Q52215 Q15095 Q3740507 Q2634 Q51929 Q8356 Q47281 Q58581 Q119066 Q1155 Q200036 Q15487 Q244207 Q1957 Q50074 Q1897 Q433066 Q46864
(c(Q56061),P417,c(Q502895)|c(Q1445650))
[ANSWER]
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:Q28914 ?y } UNION { ?z property:Q28914 ?x } } . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q502895 . ?x rdf:type ontology:Q1445650 }
Córdoba Kavala Las Palmas de Gran Canaria Borca di Cadore Drama Amarante Municipality San Lorenzo de' Picenardi Pozzallo Laviano Castellammare di Stabia Ravenna Roana Caldarola Badalona Milan Linz Turin Florence Barcelona Verona Giannitsa Venice Montecchio Maggiore Moscow Cancello e Arnone Camporeale Koufalia Camerino Altilia Rethymno Lleida Cork Pisa Tarragona Zaragoza Gemona del Friuli Castel Giorgio Martinengo Rocca di Cambio Nuremberg Huécija Cariati Varese Haarlem Novara Neokaisareia Madrid Mugnano di Napoli Patras Zacharo Ancona Brinzio Brolo Kastritsa Platres Altrei Molista Mölten Rome Paris Welsberg-Taisten Mansilla del Páramo Toblach Padua Amfilochia Istiaia Didymoteicho Caprino Bergamasco Mirandola Aalst Astorga San Mauro Mare Busseto Casamarciano Spoltore St. Martin in Passeier Villamagna Katerini Alicante Tuglie Albacete Favrio Naples Ischitella Valladolid Jesolo Curti, Campania Latera Busto Arsizio Volos Berga Campione d'Italia Vologda Castellafiume Cagliari Moos in Passeier Arcugnano
97
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:patron_saint ?y } UNION { ?z property:patron_saint ?x } } . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:common_name . ?x rdf:type ontology:holiday }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q5105311 Q4363107
P27 P17
Q15617994
USER
Which administrative territories are Laurindo Furlani an inhabitant of and do Choró River belong to ?
AND((Q4363107,P27,c(Q15617994)), (Q5105311,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q4363107
relation P27
action find
entity Q5105311
relation P17
type Q15617994
{'AND': [['Q4363107', 'P27', {'concept': 'Q15617994'}], ['Q5105311', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { resource:Q5105311 property:P17 ?i . resource:Q4363107 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Choró River Laurindo Furlani
action filter_type
action intersection
action find
entity Laurindo Furlani
relation country of citizenship
action find
entity Choró River
relation country
type designation for an administrative territorial entity
{'AND': [['Laurindo Furlani', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Choró River', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { resource:Choró_River property:country ?i . resource:Laurindo_Furlani property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155
SYSTEM
Brazil
Q155
AND((Q4363107,P27,c(Q15617994)), (Q5105311,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q4363107
relation P27
action find
entity Q5105311
relation P17
type Q15617994
[ANSWER] is Laurindo Furlani an inhabitant of and do Choró River belong to
{'AND': [['Q4363107', 'P27', {'concept': 'Q15617994'}], ['Q5105311', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { resource:Q5105311 property:P17 ?i . resource:Q4363107 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Brazil
Brazil is Laurindo Furlani an inhabitant of and do Choró River belong to
Brazil
action filter_type
action intersection
action find
entity Laurindo Furlani
relation country of citizenship
action find
entity Choró River
relation country
type designation for an administrative territorial entity
{'AND': [['Laurindo Furlani', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Choró River', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { resource:Choró_River property:country ?i . resource:Laurindo_Furlani property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q155 Q2595746
P27
Q502895
USER
Is Wysel Gyr a native of that administrative territory ?
(Q2595746,P27,Q155)
action is_in
entity Q2595746
action find
entity Q155
relation P27
['Q2595746', 'P27', 'Q155']
ASK WHERE { resource:Q155 property:P27 resource:Q2595746 }
Brazil Wysel Gyr
action is_in
entity Wysel Gyr
action find
entity Brazil
relation country of citizenship
['Wysel Gyr', 'country of citizenship', 'Brazil']
ASK WHERE { resource:Brazil property:country_of_citizenship resource:Wysel_Gyr }
[]
common name
SYSTEM
NO
(Q2595746,P27,Q155)
action is_in
entity Q2595746
action find
entity Q155
relation P27
[ANSWER]
['Q2595746', 'P27', 'Q155']
ASK WHERE { resource:Q155 property:P27 resource:Q2595746 }
No
action is_in
entity Wysel Gyr
action find
entity Brazil
relation country of citizenship
['Wysel Gyr', 'country of citizenship', 'Brazil']
ASK WHERE { resource:Brazil property:country_of_citizenship resource:Wysel_Gyr }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q155
P937
Q502895
USER
Who works at that administrative territory ?
action filter_type
action find_reverse
entity Q155
relation P937
type Q502895
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . ?t property:P937 resource:Q155 }
Brazil
action filter_type
action find_reverse
entity Brazil
relation work location
type common name
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . ?t property:work_location resource:Brazil }
[]
common name
Q21705837
SYSTEM
Eliana Machado Meugé
Q21705837
action filter_type
action find_reverse
entity Q155
relation P937
type Q502895
[ANSWER] works at that administrative territory
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . ?t property:P937 resource:Q155 }
Eliana Machado Meugé
Eliana Machado Meugé works at that administrative territory
Eliana Machado Meugé
action filter_type
action find_reverse
entity Brazil
relation work location
type common name
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . ?t property:work_location resource:Brazil }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by exactly 1 person ?
(c(Q502895),P1303,c(Q34379))
action equal
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?f ) AS ?m ) WHERE { ?f property:P1303 ?o . ?o rdf:type ontology:Q34379 . ?f rdf:type ontology:Q502895 } GROUP BY ?o } . FILTER ( ?m = 1 ) }
action equal
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?f ) AS ?m ) WHERE { ?f property:instrument ?o . ?o rdf:type ontology:musical_instrument . ?f rdf:type ontology:common_name } GROUP BY ?o } . FILTER ( ?m = 1 ) }
[]
musical instrument common name
Q1178361 Q1759986 Q816793
SYSTEM
davul, Wurlitzer electric piano, Bendir
Q890073 Q1178361 Q604538 Q2660670 Q39777 Q678090 Q490054 Q873588 Q593995 Q1327500 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q1024685 Q816793 Q244976 Q1179017 Q320341 Q669370 Q290951 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q744831 Q963150 Q16155191 Q644440 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action equal
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1
[ANSWERS] are played by exactly 1 person
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?f ) AS ?m ) WHERE { ?f property:P1303 ?o . ?o rdf:type ontology:Q34379 . ?f rdf:type ontology:Q502895 } GROUP BY ?o } . FILTER ( ?m = 1 ) }
Body percussion davul Temple block Irish bouzouki maraca Twelve-string guitar Ondioline Jinghu player piano electronic musical instrument Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cabasa Bendir bodhrán Daxophone celesta gusle Kamancheh Hardanger fiddle transverse flute baritone horn morin khuur Timbales Mridangam tenor guitar Saraswati veena Lap steel guitar Kayamb Paraguayan harp
Davul, Wurlitzer electric piano and Bendir are played by exactly 1 person
davul Wurlitzer electric piano Bendir
action equal
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?f ) AS ?m ) WHERE { ?f property:instrument ?o . ?o rdf:type ontology:musical_instrument . ?f rdf:type ontology:common_name } GROUP BY ?o } . FILTER ( ?m = 1 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1178361 Q1759986 Q816793
P1303
Q502895
USER
Who play those musical instruments ?
(c(Q502895),P1303,Q1178361) (c(Q502895),P1303,Q1759986) (c(Q502895),P1303,Q816793)
action filter_type
action find_reverse
entity prev_answer
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', 'Q1178361'] [{'concept': 'Q502895'}, 'P1303', 'Q1759986'] [{'concept': 'Q502895'}, 'P1303', 'Q816793']
SELECT DISTINCT ?n WHERE { ?n property:P1303 ?v . ?n rdf:type ontology:Q502895 . VALUES ( ?v ) { ( resource:Q890073 ) ( resource:Q1178361 ) ( resource:Q604538 ) } }
davul Wurlitzer electric piano Bendir
action filter_type
action find_reverse
entity prev_answer
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', 'davul'] [{'concept': 'common name'}, 'instrument', 'Wurlitzer electric piano'] [{'concept': 'common name'}, 'instrument', 'Bendir']
SELECT DISTINCT ?n WHERE { ?n property:instrument ?v . ?n rdf:type ontology:common_name . VALUES ( ?v ) { ( resource:Body_percussion ) ( resource:davul ) ( resource:Temple_block ) } }
[]
common name
Q343394 Q7281591 Q452186
SYSTEM
İbrahim Tatlıses, Radoslav Lorković, Cheikha Rimitti
Q343394 Q7281591 Q452186
(c(Q502895),P1303,Q1178361) (c(Q502895),P1303,Q1759986) (c(Q502895),P1303,Q816793)
action filter_type
action find_reverse
entity prev_answer
relation P1303
type Q502895
[ANSWERS] play those musical instruments
[{'concept': 'Q502895'}, 'P1303', 'Q1178361'] [{'concept': 'Q502895'}, 'P1303', 'Q1759986'] [{'concept': 'Q502895'}, 'P1303', 'Q816793']
SELECT DISTINCT ?n WHERE { ?n property:P1303 ?v . ?n rdf:type ontology:Q502895 . VALUES ( ?v ) { ( resource:Q890073 ) ( resource:Q1178361 ) ( resource:Q604538 ) } }
İbrahim Tatlıses Radoslav Lorković Cheikha Rimitti
İbrahim Tatlıses, Radoslav Lorković and Cheikha Rimitti play those musical instruments
İbrahim Tatlıses Radoslav Lorković Cheikha Rimitti
action filter_type
action find_reverse
entity prev_answer
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', 'davul'] [{'concept': 'common name'}, 'instrument', 'Wurlitzer electric piano'] [{'concept': 'common name'}, 'instrument', 'Bendir']
SELECT DISTINCT ?n WHERE { ?n property:instrument ?v . ?n rdf:type ontology:common_name . VALUES ( ?v ) { ( resource:Body_percussion ) ( resource:davul ) ( resource:Temple_block ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q343394 Q7281591 Q452186
P136
Q151885
USER
What are the genre of those people ?
(Q343394,P136,c(Q151885)) (Q7281591,P136,c(Q151885)) (Q452186,P136,c(Q151885))
action filter_type
action find
entity prev_answer
relation P136
type Q151885
['Q343394', 'P136', {'concept': 'Q151885'}] ['Q7281591', 'P136', {'concept': 'Q151885'}] ['Q452186', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?i WHERE { ?l property:P136 ?i . VALUES ( ?l ) { ( resource:Q343394 ) ( resource:Q7281591 ) ( resource:Q452186 ) } . ?i rdf:type ontology:Q151885 }
İbrahim Tatlıses Radoslav Lorković Cheikha Rimitti
action filter_type
action find
entity prev_answer
relation genre
type concept
['İbrahim Tatlıses', 'genre', {'concept': 'concept'}] ['Radoslav Lorković', 'genre', {'concept': 'concept'}] ['Cheikha Rimitti', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?i WHERE { ?l property:genre ?i . VALUES ( ?l ) { ( resource:İbrahim_Tatlıses ) ( resource:Radoslav_Lorković ) ( resource:Cheikha_Rimitti ) } . ?i rdf:type ontology:concept }
[]
concept
Q373342 Q43343 Q9759
SYSTEM
popular music, contemporary folk music, blues
Q373342 Q43343 Q9759 Q839029
(Q343394,P136,c(Q151885)) (Q7281591,P136,c(Q151885)) (Q452186,P136,c(Q151885))
action filter_type
action find
entity prev_answer
relation P136
type Q151885
The genre of those people are [ANSWERS]
['Q343394', 'P136', {'concept': 'Q151885'}] ['Q7281591', 'P136', {'concept': 'Q151885'}] ['Q452186', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?i WHERE { ?l property:P136 ?i . VALUES ( ?l ) { ( resource:Q343394 ) ( resource:Q7281591 ) ( resource:Q452186 ) } . ?i rdf:type ontology:Q151885 }
popular music contemporary folk music blues Raï
The genre of those people are popular music, contemporary folk music and blues
popular music contemporary folk music blues
action filter_type
action find
entity prev_answer
relation genre
type concept
['İbrahim Tatlıses', 'genre', {'concept': 'concept'}] ['Radoslav Lorković', 'genre', {'concept': 'concept'}] ['Cheikha Rimitti', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?i WHERE { ?l property:genre ?i . VALUES ( ?l ) { ( resource:İbrahim_Tatlıses ) ( resource:Radoslav_Lorković ) ( resource:Cheikha_Rimitti ) } . ?i rdf:type ontology:concept }
[]