Simple Question (Direct)
Simple Question
Q5386351
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Eric Darius ?
(Q5386351,P27,c(Q15617994))
action filter_type
action find
entity Q5386351
relation P27
type Q15617994
['Q5386351', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q5386351 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
Eric Darius
action filter_type
action find
entity Eric Darius
relation country of citizenship
type designation for an administrative territorial entity
['Eric Darius', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Eric_Darius property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q5386351,P27,c(Q15617994))
action filter_type
action find
entity Q5386351
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Eric Darius
['Q5386351', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q5386351 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
United States of America
United States of America is the country of citizenship of Eric Darius
United States of America
action filter_type
action find
entity Eric Darius
relation country of citizenship
type designation for an administrative territorial entity
['Eric Darius', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Eric_Darius property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5386351
P106
Q12737077
USER
Which occupations have that person as his/her 's career ?
(Q30,P106,c(Q12737077))
action filter_type
action find
entity Q5386351
relation P106
type Q12737077
['Q30', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q5386351 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
Eric Darius
action filter_type
action find
entity Eric Darius
relation occupation
type occupation
['United States of America', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Eric_Darius property:occupation ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q15981151 Q36834 Q12800682
SYSTEM
jazz musician, composer, saxophonist
Q15981151 Q36834 Q12800682
(Q30,P106,c(Q12737077))
action filter_type
action find
entity Q5386351
relation P106
type Q12737077
Record [ANSWERS] have that person as his/her 's career
['Q30', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q5386351 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
jazz musician composer saxophonist
Record jazz musician, composer and saxophonist have that person as his/her 's career
jazz musician composer saxophonist
action filter_type
action find
entity Eric Darius
relation occupation
type occupation
['United States of America', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Eric_Darius property:occupation ?s . ?s rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1065516
P106
Q502895
USER
Do Charles McPherson have those occupations as his/her means of employment ?
(Q1065516,P106,Q15981151) (Q1065516,P106,Q36834) (Q1065516,P106,Q12800682)
action is_in
entity prev_answer
action find
entity Q1065516
relation P106
['Q1065516', 'P106', 'Q15981151'] ['Q1065516', 'P106', 'Q36834'] ['Q1065516', 'P106', 'Q12800682']
ASK WHERE { resource:Q1065516 property:P106 ?i . VALUES ( ?i ) { ( resource:Q15981151 ) ( resource:Q36834 ) ( resource:Q12800682 ) } }
Charles McPherson
action is_in
entity prev_answer
action find
entity Charles McPherson
relation occupation
['Charles McPherson', 'occupation', 'jazz musician'] ['Charles McPherson', 'occupation', 'composer'] ['Charles McPherson', 'occupation', 'saxophonist']
ASK WHERE { resource:Charles_McPherson property:occupation ?i . VALUES ( ?i ) { ( resource:jazz_musician ) ( resource:composer ) ( resource:saxophonist ) } }
[]
common name
SYSTEM
YES
(Q1065516,P106,Q15981151) (Q1065516,P106,Q36834) (Q1065516,P106,Q12800682)
action is_in
entity prev_answer
action find
entity Q1065516
relation P106
[ANSWER]
['Q1065516', 'P106', 'Q15981151'] ['Q1065516', 'P106', 'Q36834'] ['Q1065516', 'P106', 'Q12800682']
ASK WHERE { resource:Q1065516 property:P106 ?i . VALUES ( ?i ) { ( resource:Q15981151 ) ( resource:Q36834 ) ( resource:Q12800682 ) } }
Yes
action is_in
entity prev_answer
action find
entity Charles McPherson
relation occupation
['Charles McPherson', 'occupation', 'jazz musician'] ['Charles McPherson', 'occupation', 'composer'] ['Charles McPherson', 'occupation', 'saxophonist']
ASK WHERE { resource:Charles_McPherson property:occupation ?i . VALUES ( ?i ) { ( resource:jazz_musician ) ( resource:composer ) ( resource:saxophonist ) } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q212499 Q1065516
P737 P802
Q502895
USER
Which people had an influence on Charles McPherson or were the teachers of Jean-Léon Gérôme ?
OR((Q1065516,P737,c(Q502895)), (Q212499,P802,c(Q502895)))
action filter_type
action union
action find
entity Q1065516
relation P737
action find
entity Q212499
relation P802
type Q502895
{'OR': [['Q1065516', 'P737', {'concept': 'Q502895'}], ['Q212499', 'P802', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q1065516 property:P737 ?w } UNION { resource:Q212499 property:P802 ?w } } . ?w rdf:type ontology:Q502895 }
Jean-Léon Gérôme Charles McPherson
action filter_type
action union
action find
entity Charles McPherson
relation influenced by
action find
entity Jean-Léon Gérôme
relation student
type common name
{'OR': [['Charles McPherson', 'influenced by', {'concept': 'common name'}], ['Jean-Léon Gérôme', 'student', {'concept': 'common name'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Charles_McPherson property:influenced_by ?w } UNION { resource:Jean-Léon_Gérôme property:student ?w } } . ?w rdf:type ontology:common_name }
[]
common name
Q306759 Q2061725 Q3370362 Q2830928 Q8020800 Q2076864 Q214666 Q8040148 Q214905 Q3383448
SYSTEM
Some of them are Abbott Handerson Thayer, Gustave-Claude-Etienne Courtois, Paul-Maurice Duthoit, Albert Aublet, William de Leftwich Dodge, Henry Moret, Léon Bakst, Wynford Dewhurst, Thomas Eakins, Pierre-Paul-Léon Glaize
Q17452640 Q2580668 Q1291980 Q611082 Q3185784 Q3121143 Q214666 Q1606851 Q3174411 Q173223 Q8040148 Q15147708 Q8020800 Q17425798 Q1252545 Q15970042 Q517663 Q4734709 Q16637681 Q3083640 Q3588675 Q3103336 Q214905 Q3103333 Q3069291 Q749982 Q2076864 Q733576 Q306759 Q707904 Q325568 Q2833473 Q933739 Q3146372 Q2052021 Q16867109 Q1263915 Q2121507 Q3735411 Q2205989 Q1605989 Q17621651 Q663837 Q15407031 Q3184554 Q5040163 Q1306009 Q1284220 Q3169934 Q1615451 Q3261180 Q3094924 Q5733870 Q2861766 Q3588322 Q3370362 Q2830928 Q3184522 Q1135613 Q2430551 Q8014260 Q681448 Q711698 Q154349 Q2061725 Q16873463 Q239394 Q3158987 Q295144 Q103767 Q6305835 Q3820539 Q609959 Q3099162 Q1190012 Q5537247 Q2958819 Q3083580 Q983573 Q127017 Q3383448 Q1452786 Q328020 Q3407781 Q3059877 Q3188579
OR((Q1065516,P737,c(Q502895)), (Q212499,P802,c(Q502895)))
action filter_type
action union
action find
entity Q1065516
relation P737
action find
entity Q212499
relation P802
type Q502895
[ANSWERS] had an influence on Charles McPherson or were the teachers of Jean-Léon Gérôme
{'OR': [['Q1065516', 'P737', {'concept': 'Q502895'}], ['Q212499', 'P802', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q1065516 property:P737 ?w } UNION { resource:Q212499 property:P802 ?w } } . ?w rdf:type ontology:Q502895 }
Gabriel Guay William Stott Edward Cucuel Léon Coutil Joseph Wencker Gustave Corlin Léon Bakst Henry Herbert La Thangue Jean Roque Mary Cassatt Wynford Dewhurst Théophile Poilpot William de Leftwich Dodge Lucien Lantier Douglas Volk Maurice Réalier-Dumas André Castaigne Aloysius O'Kelly Félix Desgranges François-Raoul Larche Émile Nickels Georges Picard Thomas Eakins Georges Picard Fernand Pelez de Cordova Charles Albert Waltner Henry Moret Delphin Enjolras Abbott Handerson Thayer Jean-Jules-Antoine Lecomte du Nouÿ Dennis Miller Bunker Alexandre Bloch Kenyon Cox Hosui Yamamoto William McGregor Paxton Eugène Vincent Vidal Wyatt Eaton Stanisław Chlebowski Edwin Lord Weeks Julius LeBlanc Stewart Henri Rapin Auguste Alleaume Pascal Dagnan-Bouveret Saint-Elme Gautier Joseph Bail Carl Frederick von Saltza Frank Myers Boggs J. Alden Weir Jean Richard Goubie Thomas Millie Dow Louis Barillet Alexandre Gamba de Preydour Herbert Cyrus Farnum Armand Beauvais Émile Barau Paul-Maurice Duthoit Albert Aublet Joseph Apoux Georges Ferdinand Bigot Théodore Ralli William Lamb Picknell Eugène Burnand Henry Siddons Mowbray Odilon Redon Gustave-Claude-Etienne Courtois Franc-Lamy Édouard Vuillard Jacques Gay Gustave Caillebotte Charlie Parker Jules Ernest Renoux Laureano Barrau Paul Peel Gaston Simoes de Fonseca Osman Hamdi Bey George Bridgman Charles Crès François-Maurice Roganeau Eugeniusz Żak Vasily Vereshchagin Pierre-Paul-Léon Glaize Frederick Arthur Bridgman Lawton S. Parker Prosper Henri Wirth Eugène François Deshayes Jules Flour
Abbott Handerson Thayer, Gustave-Claude-Etienne Courtois, Paul-Maurice Duthoit, Albert Aublet, William de Leftwich Dodge, Henry Moret, Léon Bakst, Wynford Dewhurst, Thomas Eakins and Pierre-Paul-Léon Glaize had an influence on Charles McPherson or were the teachers of Jean-Léon Gérôme
Abbott Handerson Thayer Gustave-Claude-Etienne Courtois Paul-Maurice Duthoit Albert Aublet William de Leftwich Dodge Henry Moret Léon Bakst Wynford Dewhurst Thomas Eakins Pierre-Paul-Léon Glaize
action filter_type
action union
action find
entity Charles McPherson
relation influenced by
action find
entity Jean-Léon Gérôme
relation student
type common name
{'OR': [['Charles McPherson', 'influenced by', {'concept': 'common name'}], ['Jean-Léon Gérôme', 'student', {'concept': 'common name'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Charles_McPherson property:influenced_by ?w } UNION { resource:Jean-Léon_Gérôme property:student ?w } } . ?w rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q306759 Q2061725 Q3370362 Q2830928 Q8020800 Q2076864 Q214666 Q8040148 Q214905 Q3383448
P21
Q290
USER
What are the sex of those people ?
(Q306759,P21,c(Q290)) (Q2061725,P21,c(Q290)) (Q3370362,P21,c(Q290)) (Q2830928,P21,c(Q290)) (Q8020800,P21,c(Q290)) (Q2076864,P21,c(Q290)) (Q214666,P21,c(Q290)) (Q8040148,P21,c(Q290)) (Q214905,P21,c(Q290)) (Q3383448,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q306759', 'P21', {'concept': 'Q290'}] ['Q2061725', 'P21', {'concept': 'Q290'}] ['Q3370362', 'P21', {'concept': 'Q290'}] ['Q2830928', 'P21', {'concept': 'Q290'}] ['Q8020800', 'P21', {'concept': 'Q290'}] ['Q2076864', 'P21', {'concept': 'Q290'}] ['Q214666', 'P21', {'concept': 'Q290'}] ['Q8040148', 'P21', {'concept': 'Q290'}] ['Q214905', 'P21', {'concept': 'Q290'}] ['Q3383448', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { ?z property:P21 ?x . ?x rdf:type ontology:Q290 . VALUES ( ?z ) { ( resource:Q17452640 ) ( resource:Q2580668 ) ( resource:Q1291980 ) } }
Abbott Handerson Thayer Gustave-Claude-Etienne Courtois Paul-Maurice Duthoit Albert Aublet William de Leftwich Dodge Henry Moret Léon Bakst Wynford Dewhurst Thomas Eakins Pierre-Paul-Léon Glaize
action filter_type
action find
entity prev_answer
relation gender
type sex
['Abbott Handerson Thayer', 'gender', {'concept': 'sex'}] ['Gustave-Claude-Etienne Courtois', 'gender', {'concept': 'sex'}] ['Paul-Maurice Duthoit', 'gender', {'concept': 'sex'}] ['Albert Aublet', 'gender', {'concept': 'sex'}] ['William de Leftwich Dodge', 'gender', {'concept': 'sex'}] ['Henry Moret', 'gender', {'concept': 'sex'}] ['Léon Bakst', 'gender', {'concept': 'sex'}] ['Wynford Dewhurst', 'gender', {'concept': 'sex'}] ['Thomas Eakins', 'gender', {'concept': 'sex'}] ['Pierre-Paul-Léon Glaize', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { ?z property:gender ?x . ?x rdf:type ontology:sex . VALUES ( ?z ) { ( resource:Gabriel_Guay ) ( resource:William_Stott ) ( resource:Edward_Cucuel ) } }
[]
sex
Q6581097 Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097 Q6581097 Q6581097 Q6581097 Q6581097 Q6581097 Q6581097 Q6581097 Q6581097
(Q306759,P21,c(Q290)) (Q2061725,P21,c(Q290)) (Q3370362,P21,c(Q290)) (Q2830928,P21,c(Q290)) (Q8020800,P21,c(Q290)) (Q2076864,P21,c(Q290)) (Q214666,P21,c(Q290)) (Q8040148,P21,c(Q290)) (Q214905,P21,c(Q290)) (Q3383448,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
The sex of those people are [ANSWER], [ANSWER] and [ANSWER]
['Q306759', 'P21', {'concept': 'Q290'}] ['Q2061725', 'P21', {'concept': 'Q290'}] ['Q3370362', 'P21', {'concept': 'Q290'}] ['Q2830928', 'P21', {'concept': 'Q290'}] ['Q8020800', 'P21', {'concept': 'Q290'}] ['Q2076864', 'P21', {'concept': 'Q290'}] ['Q214666', 'P21', {'concept': 'Q290'}] ['Q8040148', 'P21', {'concept': 'Q290'}] ['Q214905', 'P21', {'concept': 'Q290'}] ['Q3383448', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { ?z property:P21 ?x . ?x rdf:type ontology:Q290 . VALUES ( ?z ) { ( resource:Q17452640 ) ( resource:Q2580668 ) ( resource:Q1291980 ) } }
male male male male male male male male male male
The sex of those people are male, male and male
male male male
action filter_type
action find
entity prev_answer
relation gender
type sex
['Abbott Handerson Thayer', 'gender', {'concept': 'sex'}] ['Gustave-Claude-Etienne Courtois', 'gender', {'concept': 'sex'}] ['Paul-Maurice Duthoit', 'gender', {'concept': 'sex'}] ['Albert Aublet', 'gender', {'concept': 'sex'}] ['William de Leftwich Dodge', 'gender', {'concept': 'sex'}] ['Henry Moret', 'gender', {'concept': 'sex'}] ['Léon Bakst', 'gender', {'concept': 'sex'}] ['Wynford Dewhurst', 'gender', {'concept': 'sex'}] ['Thomas Eakins', 'gender', {'concept': 'sex'}] ['Pierre-Paul-Léon Glaize', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { ?z property:gender ?x . ?x rdf:type ontology:sex . VALUES ( ?z ) { ( resource:Gabriel_Guay ) ( resource:William_Stott ) ( resource:Edward_Cucuel ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5386351
P172
Q2472587
USER
Which people does Eric Darius have as his/her race ?
(Q5386351,P172,c(Q2472587))
action filter_type
action find
entity Q5386351
relation P172
type Q2472587
['Q5386351', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?c WHERE { resource:Q5386351 property:P172 ?c . ?c rdf:type ontology:Q2472587 }
Eric Darius
action filter_type
action find
entity Eric Darius
relation ethnic group
type people
['Eric Darius', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?c WHERE { resource:Eric_Darius property:ethnic_group ?c . ?c rdf:type ontology:people }
[]
people
Q49085
SYSTEM
African Americans
Q49085
(Q5386351,P172,c(Q2472587))
action filter_type
action find
entity Q5386351
relation P172
type Q2472587
Eric Darius has raised [ANSWER] as his / her race
['Q5386351', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?c WHERE { resource:Q5386351 property:P172 ?c . ?c rdf:type ontology:Q2472587 }
African Americans
Eric Darius has raised African Americans as his / her race
African Americans
action filter_type
action find
entity Eric Darius
relation ethnic group
type people
['Eric Darius', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?c WHERE { resource:Eric_Darius property:ethnic_group ?c . ?c rdf:type ontology:people }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5137011
Q2472587
USER
And also tell me about Clyde S. Cahill Jr.?
(Q5137011,P172,c(Q2472587))
action filter_type
action find
entity Q5137011
relation P172
type Q2472587
['Q5137011', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q2472587 . resource:Q5137011 property:P172 ?o }
Clyde S. Cahill Jr.
action filter_type
action find
entity Clyde S. Cahill Jr.
relation ethnic group
type people
['Clyde S. Cahill Jr.', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:people . resource:Clyde_S._Cahill_Jr. property:ethnic_group ?o }
[]
people
Q49085
SYSTEM
African Americans
Q49085
(Q5137011,P172,c(Q2472587))
action filter_type
action find
entity Q5137011
relation P172
type Q2472587
[ANSWER]
['Q5137011', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q2472587 . resource:Q5137011 property:P172 ?o }
African Americans
African Americans
action filter_type
action find
entity Clyde S. Cahill Jr.
relation ethnic group
type people
['Clyde S. Cahill Jr.', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:people . resource:Clyde_S._Cahill_Jr. property:ethnic_group ?o }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q49085 Q16084693
P172
Q502895
USER
Does Irv Williams have that people as his/her race ?
(Q16084693,P172,Q49085)
action is_in
entity Q49085
action find
entity Q16084693
relation P172
['Q16084693', 'P172', 'Q49085']
ASK WHERE { resource:Q16084693 property:P172 resource:Q49085 }
African Americans Irv Williams
action is_in
entity African Americans
action find
entity Irv Williams
relation ethnic group
['Irv Williams', 'ethnic group', 'African Americans']
ASK WHERE { resource:Irv_Williams property:ethnic_group resource:African_Americans }
[]
common name
SYSTEM
YES
(Q16084693,P172,Q49085)
action is_in
entity Q49085
action find
entity Q16084693
relation P172
[ANSWER]
['Q16084693', 'P172', 'Q49085']
ASK WHERE { resource:Q16084693 property:P172 resource:Q49085 }
Yes
action is_in
entity African Americans
action find
entity Irv Williams
relation ethnic group
['Irv Williams', 'ethnic group', 'African Americans']
ASK WHERE { resource:Irv_Williams property:ethnic_group resource:African_Americans }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can atleast 499 people perform with ?
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 499
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?d ) AS ?s ) WHERE { ?d rdf:type ontology:Q502895 . ?l rdf:type ontology:Q34379 . ?d property:P1303 ?l } GROUP BY ?l } . FILTER ( ?s >= 499 ) }
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 499
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?d ) AS ?s ) WHERE { ?d rdf:type ontology:common_name . ?l rdf:type ontology:musical_instrument . ?d property:instrument ?l } GROUP BY ?l } . FILTER ( ?s >= 499 ) }
[]
musical instrument common name
Q5994 Q46185 Q80019
SYSTEM
piano, bass guitar, double bass
Q46185 Q80019 Q5994 Q8338 Q8371 Q8355 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 499
[ANSWERS] can atleast 499 people perform with
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?d ) AS ?s ) WHERE { ?d rdf:type ontology:Q502895 . ?l rdf:type ontology:Q34379 . ?d property:P1303 ?l } GROUP BY ?l } . FILTER ( ?s >= 499 ) }
bass guitar double bass piano trumpet cello violin organ drum kit
Piano, bass guitar and double bass can atleast 499 people perform with
piano bass guitar double bass
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 499
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?d ) AS ?s ) WHERE { ?d rdf:type ontology:common_name . ?l rdf:type ontology:musical_instrument . ?d property:instrument ?l } GROUP BY ?l } . FILTER ( ?s >= 499 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q5994 Q46185 Q80019
P106
Q502895
USER
Which people have those musical instruments as his/her means of employment ?
(c(Q502895),P106,Q5994) (c(Q502895),P106,Q46185) (c(Q502895),P106,Q80019)
action filter_type
action find_reverse
entity prev_answer
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q5994'] [{'concept': 'Q502895'}, 'P106', 'Q46185'] [{'concept': 'Q502895'}, 'P106', 'Q80019']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . VALUES ( ?p ) { ( resource:Q46185 ) ( resource:Q80019 ) ( resource:Q5994 ) } . ?n property:P106 ?p }
piano bass guitar double bass
action filter_type
action find_reverse
entity prev_answer
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'piano'] [{'concept': 'common name'}, 'occupation', 'bass guitar'] [{'concept': 'common name'}, 'occupation', 'double bass']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . VALUES ( ?p ) { ( resource:bass_guitar ) ( resource:double_bass ) ( resource:piano ) } . ?n property:occupation ?p }
[]
common name
Q4155751 Q16184786 Q20754977
SYSTEM
Vyacheslav Dvinin, Eliseu Carbó i Parals, Roland Bergmann
Q12261098 Q4155751 Q20754977 Q19300645 Q16184786
(c(Q502895),P106,Q5994) (c(Q502895),P106,Q46185) (c(Q502895),P106,Q80019)
action filter_type
action find_reverse
entity prev_answer
relation P106
type Q502895
[ANSWERS] have those musical instruments as his/her means of employment
[{'concept': 'Q502895'}, 'P106', 'Q5994'] [{'concept': 'Q502895'}, 'P106', 'Q46185'] [{'concept': 'Q502895'}, 'P106', 'Q80019']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . VALUES ( ?p ) { ( resource:Q46185 ) ( resource:Q80019 ) ( resource:Q5994 ) } . ?n property:P106 ?p }
Judith Jauregi Vyacheslav Dvinin Roland Bergmann Josep Quer Agustí Eliseu Carbó i Parals
Vyacheslav Dvinin, Eliseu Carbó i Parals and Roland Bergmann have those musical instruments as his/her means of employment
Vyacheslav Dvinin Eliseu Carbó i Parals Roland Bergmann
action filter_type
action find_reverse
entity prev_answer
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'piano'] [{'concept': 'common name'}, 'occupation', 'bass guitar'] [{'concept': 'common name'}, 'occupation', 'double bass']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . VALUES ( ?p ) { ( resource:bass_guitar ) ( resource:double_bass ) ( resource:piano ) } . ?n property:occupation ?p }
[]