Simple Question (Direct)
Simple Question
Q97227
P27
Q1048835
USER
Which political territory is the native country of Arno Herzig ?
(Q97227,P27,c(Q1048835))
action filter_type
action find
entity Q97227
relation P27
type Q1048835
['Q97227', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q1048835 . resource:Q97227 property:P27 ?x }
Arno Herzig
action filter_type
action find
entity Arno Herzig
relation country of citizenship
type political territorial entity
['Arno Herzig', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:political_territorial_entity . resource:Arno_Herzig property:country_of_citizenship ?x }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q97227,P27,c(Q1048835))
action filter_type
action find
entity Q97227
relation P27
type Q1048835
The [ANSWER] is the native country of Arno Herzig
['Q97227', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q1048835 . resource:Q97227 property:P27 ?x }
Germany
The Germany is the native country of Arno Herzig
Germany
action filter_type
action find
entity Arno Herzig
relation country of citizenship
type political territorial entity
['Arno Herzig', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:political_territorial_entity . resource:Arno_Herzig property:country_of_citizenship ?x }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q97227
P21
Q290
USER
Which sex does that person belong to ?
(Q183,P21,c(Q290))
action filter_type
action find
entity Q97227
relation P21
type Q290
['Q183', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q97227 property:P21 ?d . ?d rdf:type ontology:Q290 }
Arno Herzig
action filter_type
action find
entity Arno Herzig
relation gender
type sex
['Germany', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Arno_Herzig property:gender ?d . ?d rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q183,P21,c(Q290))
action filter_type
action find
entity Q97227
relation P21
type Q290
That person belongs to [ANSWER]
['Q183', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q97227 property:P21 ?d . ?d rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Arno Herzig
relation gender
type sex
['Germany', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Arno_Herzig property:gender ?d . ?d rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581097
P106
Q502895
USER
Which person has career as that sex ?
(c(Q502895),P106,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q6581097']
SELECT DISTINCT ?k WHERE { ?k property:P106 resource:Q6581097 . ?k rdf:type ontology:Q502895 }
male
action filter_type
action find_reverse
entity male
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'male']
SELECT DISTINCT ?k WHERE { ?k property:occupation resource:male . ?k rdf:type ontology:common_name }
[]
common name
Q24877298
SYSTEM
Antonín Straka
Q24877298
(c(Q502895),P106,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P106
type Q502895
[ANSWER] has career as that sex
[{'concept': 'Q502895'}, 'P106', 'Q6581097']
SELECT DISTINCT ?k WHERE { ?k property:P106 resource:Q6581097 . ?k rdf:type ontology:Q502895 }
Antonín Straka
Antonín Straka has career as that sex
Antonín Straka
action filter_type
action find_reverse
entity male
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'male']
SELECT DISTINCT ?k WHERE { ?k property:occupation resource:male . ?k rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q24877298 Q888865
P19
Q486972
USER
Is Bobrová the place of birth of Antonín Straka ?
(Q24877298,P19,Q888865)
action is_in
entity Q888865
action find
entity Q24877298
relation P19
['Q24877298', 'P19', 'Q888865']
ASK WHERE { resource:Q24877298 property:P19 resource:Q888865 }
Antonín Straka Bobrová
action is_in
entity Bobrová
action find
entity Antonín Straka
relation place of birth
['Antonín Straka', 'place of birth', 'Bobrová']
ASK WHERE { resource:Antonín_Straka property:place_of_birth resource:Bobrová }
[]
human settlement
SYSTEM
YES
(Q24877298,P19,Q888865)
action is_in
entity Q888865
action find
entity Q24877298
relation P19
[ANSWER]
['Q24877298', 'P19', 'Q888865']
ASK WHERE { resource:Q24877298 property:P19 resource:Q888865 }
Yes
action is_in
entity Bobrová
action find
entity Antonín Straka
relation place of birth
['Antonín Straka', 'place of birth', 'Bobrová']
ASK WHERE { resource:Antonín_Straka property:place_of_birth resource:Bobrová }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q97227 Q201788
P106
Q12737077
USER
Is historian the job of Arno Herzig ?
(Q97227,P106,Q201788)
action is_in
entity Q201788
action find
entity Q97227
relation P106
['Q97227', 'P106', 'Q201788']
ASK WHERE { resource:Q97227 property:P106 resource:Q201788 }
Arno Herzig historian
action is_in
entity historian
action find
entity Arno Herzig
relation occupation
['Arno Herzig', 'occupation', 'historian']
ASK WHERE { resource:Arno_Herzig property:occupation resource:historian }
[]
occupation
SYSTEM
YES
(Q97227,P106,Q201788)
action is_in
entity Q201788
action find
entity Q97227
relation P106
[ANSWER]
['Q97227', 'P106', 'Q201788']
ASK WHERE { resource:Q97227 property:P106 resource:Q201788 }
Yes
action is_in
entity historian
action find
entity Arno Herzig
relation occupation
['Arno Herzig', 'occupation', 'historian']
ASK WHERE { resource:Arno_Herzig property:occupation resource:historian }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q24877298 Q888865
P19
Q486972
USER
Is Bobrová the birthplace of Antonín Straka ?
(Q24877298,P19,Q888865)
action is_in
entity Q888865
action find
entity Q24877298
relation P19
['Q24877298', 'P19', 'Q888865']
ASK WHERE { resource:Q24877298 property:P19 resource:Q888865 }
Antonín Straka Bobrová
action is_in
entity Bobrová
action find
entity Antonín Straka
relation place of birth
['Antonín Straka', 'place of birth', 'Bobrová']
ASK WHERE { resource:Antonín_Straka property:place_of_birth resource:Bobrová }
[]
human settlement
SYSTEM
YES
(Q24877298,P19,Q888865)
action is_in
entity Q888865
action find
entity Q24877298
relation P19
[ANSWER]
['Q24877298', 'P19', 'Q888865']
ASK WHERE { resource:Q24877298 property:P19 resource:Q888865 }
Yes
action is_in
entity Bobrová
action find
entity Antonín Straka
relation place of birth
['Antonín Straka', 'place of birth', 'Bobrová']
ASK WHERE { resource:Antonín_Straka property:place_of_birth resource:Bobrová }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q183 Q11522128
P6
Q502895
USER
Is Yoshio Sugimoto the head of government of Germany ?
(Q183,P6,Q11522128)
action is_in
entity Q11522128
action find
entity Q183
relation P6
['Q183', 'P6', 'Q11522128']
ASK WHERE { resource:Q183 property:P6 resource:Q11522128 }
Germany Yoshio Sugimoto
action is_in
entity Yoshio Sugimoto
action find
entity Germany
relation head of government
['Germany', 'head of government', 'Yoshio Sugimoto']
ASK WHERE { resource:Germany property:head_of_government resource:Yoshio_Sugimoto }
[]
common name
SYSTEM
NO
(Q183,P6,Q11522128)
action is_in
entity Q11522128
action find
entity Q183
relation P6
[ANSWER]
['Q183', 'P6', 'Q11522128']
ASK WHERE { resource:Q183 property:P6 resource:Q11522128 }
No
action is_in
entity Yoshio Sugimoto
action find
entity Germany
relation head of government
['Germany', 'head of government', 'Yoshio Sugimoto']
ASK WHERE { resource:Germany property:head_of_government resource:Yoshio_Sugimoto }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q183
P530
Q15617994
USER
How many administrative territories have diplomatic relationships with Germany ?
(Q183,P530,c(Q15617994))
action count
action filter_type
action find
entity Q183
relation P530
type Q15617994
['Q183', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { resource:Q183 property:P530 ?u . ?u rdf:type ontology:Q15617994 }
Germany
action count
action filter_type
action find
entity Germany
relation diplomatic relation
type designation for an administrative territorial entity
['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { resource:Germany property:diplomatic_relation ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
124
Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q833 Q711 Q717 Q252 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q739 Q241 Q242 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q929 Q39 Q38 Q986 Q423 Q983 Q851 Q733 Q734 Q736 Q730 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q29 Q1049 Q189 Q843 Q184 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q1008 Q1032 Q1033 Q1030 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1009 Q974 Q971 Q79 Q77 Q878 Q774 Q948 Q810 Q1019 Q1016 Q1011 Q945 Q869 Q953
(Q183,P530,c(Q15617994))
action count
action filter_type
action find
entity Q183
relation P530
type Q15617994
[ANSWER]
['Q183', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { resource:Q183 property:P530 ?u . ?u rdf:type ontology:Q15617994 }
Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Malaysia Mongolia Venezuela Indonesia Serbia Chad South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Colombia Cuba Belize Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Central African Republic Switzerland Italy Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Ecuador Suriname Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Spain Sudan Iceland Pakistan Belarus Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Côte d'Ivoire Niger Nigeria Namibia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Cameroon Democratic Republic of the Congo Republic of the Congo Egypt Uruguay United Arab Emirates Guatemala Tunisia Jordan Madagascar Libya Cape Verde Togo Thailand Zambia
124
action count
action filter_type
action find
entity Germany
relation diplomatic relation
type designation for an administrative territorial entity
['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { resource:Germany property:diplomatic_relation ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q155
Q15617994
USER
And how about Brazil?
(Q155,P530,c(Q15617994))
action count
action filter_type
action find
entity Q155
relation P530
type Q15617994
['Q155', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { resource:Q155 property:P530 ?f . ?f rdf:type ontology:Q15617994 }
Brazil
action count
action filter_type
action find
entity Brazil
relation diplomatic relation
type designation for an administrative territorial entity
['Brazil', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { resource:Brazil property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
53
(Q155,P530,c(Q15617994))
action count
action filter_type
action find
entity Q155
relation P530
type Q15617994
[ANSWER]
['Q155', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { resource:Q155 property:P530 ?f . ?f rdf:type ontology:Q15617994 }
53
action count
action filter_type
action find
entity Brazil
relation diplomatic relation
type designation for an administrative territorial entity
['Brazil', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { resource:Brazil property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q80019
P1303
Q34379 Q502895
USER
Which musical instruments are played by less number of people than double bass ?
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q80019
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { ?i property:P1303 resource:Q80019 . ?i rdf:type ontology:Q502895 } } . FILTER ( ?s < ?k ) . { SELECT DISTINCT ?x ( COUNT ( ?y ) AS ?s ) WHERE { ?y property:P1303 ?x . ?x rdf:type ontology:Q34379 . ?y rdf:type ontology:Q502895 } GROUP BY ?x } }
double bass
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity double bass
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { ?i property:instrument resource:double_bass . ?i rdf:type ontology:common_name } } . FILTER ( ?s < ?k ) . { SELECT DISTINCT ?x ( COUNT ( ?y ) AS ?s ) WHERE { ?y property:instrument ?x . ?x rdf:type ontology:musical_instrument . ?y rdf:type ontology:common_name } GROUP BY ?x } }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q201129 Q424017 Q890073 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 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 less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q80019
relation P1303
type Q502895
[ANSWERS] are played by less number of people than double bass
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { ?i property:P1303 resource:Q80019 . ?i rdf:type ontology:Q502895 } } . FILTER ( ?s < ?k ) . { SELECT DISTINCT ?x ( COUNT ( ?y ) AS ?s ) WHERE { ?y property:P1303 ?x . ?x rdf:type ontology:Q34379 . ?y rdf:type ontology:Q502895 } GROUP BY ?x } }
viola lyre acoustic bass guitar Body percussion 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 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 are played by less number of people than double bass
davul harpsichord Wurlitzer electric piano
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity double bass
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { ?i property:instrument resource:double_bass . ?i rdf:type ontology:common_name } } . FILTER ( ?s < ?k ) . { SELECT DISTINCT ?x ( COUNT ( ?y ) AS ?s ) WHERE { ?y property:instrument ?x . ?x rdf:type ontology:musical_instrument . ?y rdf:type ontology:common_name } GROUP BY ?x } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q713298
P1303
Q34379 Q502895
USER
And what about geomungo?
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q713298
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?g ) AS ?e ) WHERE { ?g property:P1303 ?t . ?t rdf:type ontology:Q34379 . ?g rdf:type ontology:Q502895 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { ?v property:P1303 resource:Q713298 . ?v rdf:type ontology:Q502895 } } . FILTER ( ?e < ?d ) }
geomungo
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity geomungo
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?g ) AS ?e ) WHERE { ?g property:instrument ?t . ?t rdf:type ontology:musical_instrument . ?g rdf:type ontology:common_name } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { ?v property:instrument resource:geomungo . ?v rdf:type ontology:common_name } } . FILTER ( ?e < ?d ) }
[]
musical instrument common name
Q1879664 Q748455 Q173453
SYSTEM
spoon, cajón, wind instrument
Q1879664 Q748455 Q173453
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q713298
relation P1303
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?g ) AS ?e ) WHERE { ?g property:P1303 ?t . ?t rdf:type ontology:Q34379 . ?g rdf:type ontology:Q502895 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { ?v property:P1303 resource:Q713298 . ?v rdf:type ontology:Q502895 } } . FILTER ( ?e < ?d ) }
spoon cajón wind instrument
spoon cajón wind instrument
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity geomungo
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?g ) AS ?e ) WHERE { ?g property:instrument ?t . ?t rdf:type ontology:musical_instrument . ?g rdf:type ontology:common_name } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { ?v property:instrument resource:geomungo . ?v rdf:type ontology:common_name } } . FILTER ( ?e < ?d ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q173453
P361
Q15989253
USER
Which part is a component of that musical instrument ?
(c(Q15989253),P361,Q173453)
action filter_type
action find_reverse
entity Q173453
relation P361
type Q15989253
[{'concept': 'Q15989253'}, 'P361', 'Q173453']
SELECT DISTINCT ?k WHERE { ?k property:P361 resource:Q173453 . ?k rdf:type ontology:Q15989253 }
wind instrument
action filter_type
action find_reverse
entity wind instrument
relation part of
type part
[{'concept': 'part'}, 'part of', 'wind instrument']
SELECT DISTINCT ?k WHERE { ?k property:part_of resource:wind_instrument . ?k rdf:type ontology:part }
[]
part
Clarification for simple ques.
Q173453
SYSTEM
Did you mean wind instrument ?
Q1879664 Q748455 Q173453
(c(Q15989253),P361,Q1879664) (c(Q15989253),P361,Q748455) (c(Q15989253),P361,Q173453)
[ANSWER]
[{'concept': 'Q15989253'}, 'P361', 'Q1879664'] [{'concept': 'Q15989253'}, 'P361', 'Q748455'] [{'concept': 'Q15989253'}, 'P361', 'Q173453']
SELECT DISTINCT ?k WHERE { ?k property:P361 resource:Q173453 . ?k rdf:type ontology:Q15989253 }
spoon cajón wind instrument
Did you mean wind instrument ?
wind instrument
[{'concept': 'part'}, 'part of', 'spoon'] [{'concept': 'part'}, 'part of', 'cajón'] [{'concept': 'part'}, 'part of', 'wind instrument']
SELECT DISTINCT ?k WHERE { ?k property:part_of resource:wind_instrument . ?k rdf:type ontology:part }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q15989253),P361,Q173453)
[{'concept': 'Q15989253'}, 'P361', 'Q173453']
[{'concept': 'part'}, 'part of', 'wind instrument']
[]
Q26823384
SYSTEM
mouthpiece
Q26823384
(c(Q15989253),P361,Q173453)
action filter_type
action find_reverse
entity Q173453
relation P361
type Q15989253
[ANSWER] is a component of that musical instrument
[{'concept': 'Q15989253'}, 'P361', 'Q173453']
SELECT DISTINCT ?k WHERE { ?k property:P361 resource:Q173453 . ?k rdf:type ontology:Q15989253 }
mouthpiece
Mouthpiece is a component of that musical instrument
mouthpiece
action filter_type
action find_reverse
entity wind instrument
relation part of
type part
[{'concept': 'part'}, 'part of', 'wind instrument']
SELECT DISTINCT ?k WHERE { ?k property:part_of resource:wind_instrument . ?k rdf:type ontology:part }
[]