Simple Question (Direct)
Simple Question
Q442277
P1303
Q34379
USER
Which musical instrument can Sebastian Lee perform with ?
(Q442277,P1303,c(Q34379))
action filter_type
action find
entity Q442277
relation P1303
type Q34379
['Q442277', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?l WHERE { resource:Q442277 property:P1303 ?l . ?l rdf:type ontology:Q34379 }
Sebastian Lee
action filter_type
action find
entity Sebastian Lee
relation instrument
type musical instrument
['Sebastian Lee', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?l WHERE { resource:Sebastian_Lee property:instrument ?l . ?l rdf:type ontology:musical_instrument }
[]
musical instrument
Q8371
SYSTEM
cello
Q8371
(Q442277,P1303,c(Q34379))
action filter_type
action find
entity Q442277
relation P1303
type Q34379
Sebastian Lee can perform [ANSWER]
['Q442277', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?l WHERE { resource:Q442277 property:P1303 ?l . ?l rdf:type ontology:Q34379 }
cello
Sebastian Lee can perform cello
cello
action filter_type
action find
entity Sebastian Lee
relation instrument
type musical instrument
['Sebastian Lee', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?l WHERE { resource:Sebastian_Lee property:instrument ?l . ?l rdf:type ontology:musical_instrument }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8371
P870
Q2308166
USER
Which Sonatas for cello and piano use that musical instrument as a musical instrument ?
(c(Q2308166),P870,Q8371)
action filter_type
action find_reverse
entity Q8371
relation P870
type Q2308166
[{'concept': 'Q2308166'}, 'P870', 'Q8371']
SELECT DISTINCT ?s WHERE { ?s property:P870 resource:Q8371 . ?s rdf:type ontology:Q2308166 }
cello
action filter_type
action find_reverse
entity cello
relation instrumentation
type Sonata for cello and piano
[{'concept': 'Sonata for cello and piano'}, 'instrumentation', 'cello']
SELECT DISTINCT ?s WHERE { ?s property:instrumentation resource:cello . ?s rdf:type ontology:Sonata_for_cello_and_piano }
[]
Sonata for cello and piano
Q2631105 Q2747188 Q2616121
SYSTEM
Cello Sonata, Cello Sonata, Sonata for Cello and Piano in G minor, Op. 65
Q2631105 Q2747188 Q2616121
(c(Q2308166),P870,Q8371)
action filter_type
action find_reverse
entity Q8371
relation P870
type Q2308166
[ANSWERS]
[{'concept': 'Q2308166'}, 'P870', 'Q8371']
SELECT DISTINCT ?s WHERE { ?s property:P870 resource:Q8371 . ?s rdf:type ontology:Q2308166 }
Cello Sonata Cello Sonata Sonata for Cello and Piano in G minor, Op. 65
Cello Sonata, Cello Sonata and Sonata for Cello and Piano in G minor, Op. 65 use that musical instrument as a musical instrument
Cello Sonata Cello Sonata Sonata for Cello and Piano in G minor, Op. 65
action filter_type
action find_reverse
entity cello
relation instrumentation
type Sonata for cello and piano
[{'concept': 'Sonata for cello and piano'}, 'instrumentation', 'cello']
SELECT DISTINCT ?s WHERE { ?s property:instrumentation resource:cello . ?s rdf:type ontology:Sonata_for_cello_and_piano }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2616121
P86
Q502895
USER
Which person composed Sonata for Cello and Piano in G minor, Op. 65 ?
(Q2616121,P86,c(Q502895))
action filter_type
action find
entity Q2616121
relation P86
type Q502895
['Q2616121', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . resource:Q2616121 property:P86 ?m }
Sonata for Cello and Piano in G minor, Op. 65
action filter_type
action find
entity Sonata for Cello and Piano in G minor, Op. 65
relation composer
type common name
['Sonata for Cello and Piano in G minor, Op. 65', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . resource:Sonata_for_Cello_and_Piano_in_G_minor,_Op._65 property:composer ?m }
[]
common name
Q1268
SYSTEM
Frédéric Chopin
Q1268
(Q2616121,P86,c(Q502895))
action filter_type
action find
entity Q2616121
relation P86
type Q502895
[ANSWER] composed Sonata for Cello and Piano in G minor, Op. 65
['Q2616121', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . resource:Q2616121 property:P86 ?m }
Frédéric Chopin
Frédéric Chopin composed Sonata for Cello and Piano in G minor, Op. 65
Frédéric Chopin
action filter_type
action find
entity Sonata for Cello and Piano in G minor, Op. 65
relation composer
type common name
['Sonata for Cello and Piano in G minor, Op. 65', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . resource:Sonata_for_Cello_and_Piano_in_G_minor,_Op._65 property:composer ?m }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2616121
P361
Q207628
USER
Which musical composition is that Sonata for cello and piano a component of ?
(Q1268,P361,c(Q207628))
action filter_type
action find
entity Q2616121
relation P361
type Q207628
['Q1268', 'P361', {'concept': 'Q207628'}]
SELECT DISTINCT ?w WHERE { resource:Q2616121 property:P361 ?w . ?w rdf:type ontology:Q207628 }
Sonata for Cello and Piano in G minor, Op. 65
action filter_type
action find
entity Sonata for Cello and Piano in G minor, Op. 65
relation part of
type musical composition
['Frédéric Chopin', 'part of', {'concept': 'musical composition'}]
SELECT DISTINCT ?w WHERE { resource:Sonata_for_Cello_and_Piano_in_G_minor,_Op._65 property:part_of ?w . ?w rdf:type ontology:musical_composition }
[]
musical composition
Q16766346
SYSTEM
Chamber Music by Chopin
Q16766346
(Q1268,P361,c(Q207628))
action filter_type
action find
entity Q2616121
relation P361
type Q207628
[ANSWER] is that Sonata for cello and piano a component of
['Q1268', 'P361', {'concept': 'Q207628'}]
SELECT DISTINCT ?w WHERE { resource:Q2616121 property:P361 ?w . ?w rdf:type ontology:Q207628 }
Chamber Music by Chopin
Chamber Music by Chopin is that Sonata for cello and piano a component of
Chamber Music by Chopin
action filter_type
action find
entity Sonata for Cello and Piano in G minor, Op. 65
relation part of
type musical composition
['Frédéric Chopin', 'part of', {'concept': 'musical composition'}]
SELECT DISTINCT ?w WHERE { resource:Sonata_for_Cello_and_Piano_in_G_minor,_Op._65 property:part_of ?w . ?w rdf:type ontology:musical_composition }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2293410
Q502895
USER
And also tell me about Beaumarchais?
(Q2293410,P86,c(Q502895))
action filter_type
action find
entity Q2293410
relation P86
type Q502895
['Q2293410', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q2293410 property:P86 ?h . ?h rdf:type ontology:Q502895 }
Beaumarchais
action filter_type
action find
entity Beaumarchais
relation composer
type common name
['Beaumarchais', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Beaumarchais property:composer ?h . ?h rdf:type ontology:common_name }
[]
common name
Q327866
SYSTEM
Jean-Claude Petit
Q327866
(Q2293410,P86,c(Q502895))
action filter_type
action find
entity Q2293410
relation P86
type Q502895
[ANSWER]
['Q2293410', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q2293410 property:P86 ?h . ?h rdf:type ontology:Q502895 }
Jean-Claude Petit
Jean-Claude Petit
action filter_type
action find
entity Beaumarchais
relation composer
type common name
['Beaumarchais', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Beaumarchais property:composer ?h . ?h rdf:type ontology:common_name }
[]