Simple Question (Direct)
Simple Question
Q4831866
P162
Q502895
USER
Which person is the produced of Ayya ?
(Q4831866,P162,c(Q502895))
action filter_type
action find
entity Q4831866
relation P162
type Q502895
['Q4831866', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q4831866 property:P162 ?r . ?r rdf:type ontology:Q502895 }
Ayya
action filter_type
action find
entity Ayya
relation producer
type common name
['Ayya', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Ayya property:producer ?r . ?r rdf:type ontology:common_name }
[]
common name
Q3520369
SYSTEM
K. Balachander
Q3520369
(Q4831866,P162,c(Q502895))
action filter_type
action find
entity Q4831866
relation P162
type Q502895
[ANSWER] is the produced of Ayya
['Q4831866', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q4831866 property:P162 ?r . ?r rdf:type ontology:Q502895 }
K. Balachander
K. Balachander is the produced of Ayya
K. Balachander
action filter_type
action find
entity Ayya
relation producer
type common name
['Ayya', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Ayya property:producer ?r . ?r rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3520369
P735
Q82799
USER
What is the firstname of that person ?
(Q3520369,P735,c(Q82799))
action filter_type
action find
entity Q3520369
relation P735
type Q82799
['Q3520369', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?w WHERE { resource:Q3520369 property:P735 ?w . ?w rdf:type ontology:Q82799 }
K. Balachander
action filter_type
action find
entity K. Balachander
relation given name
type name
['K. Balachander', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?w WHERE { resource:K._Balachander property:given_name ?w . ?w rdf:type ontology:name }
[]
name
Q19803508
SYSTEM
K.
Q19803508
(Q3520369,P735,c(Q82799))
action filter_type
action find
entity Q3520369
relation P735
type Q82799
The firstname of that person is a [ANSWER]
['Q3520369', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?w WHERE { resource:Q3520369 property:P735 ?w . ?w rdf:type ontology:Q82799 }
K.
The firstname of that person is a K.
K.
action filter_type
action find
entity K. Balachander
relation given name
type name
['K. Balachander', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?w WHERE { resource:K._Balachander property:given_name ?w . ?w rdf:type ontology:name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3793290 Q4831866
P86
Q502895
USER
Which people composed Ayya or The Three-Cornered Hat ?
OR((Q4831866,P86,c(Q502895)), (Q3793290,P86,c(Q502895)))
action filter_type
action union
action find
entity Q4831866
relation P86
action find
entity Q3793290
relation P86
type Q502895
{'OR': [['Q4831866', 'P86', {'concept': 'Q502895'}], ['Q3793290', 'P86', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q4831866 property:P86 ?w } UNION { resource:Q3793290 property:P86 ?w } } . ?w rdf:type ontology:Q502895 }
The Three-Cornered Hat Ayya
action filter_type
action union
action find
entity Ayya
relation composer
action find
entity The Three-Cornered Hat
relation composer
type common name
{'OR': [['Ayya', 'composer', {'concept': 'common name'}], ['The Three-Cornered Hat', 'composer', {'concept': 'common name'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Ayya property:composer ?w } UNION { resource:The_Three-Cornered_Hat property:composer ?w } } . ?w rdf:type ontology:common_name }
[]
common name
Q4901203 Q577320
SYSTEM
Bharathwaj, Ernesto Tagliaferri
Q4901203 Q577320
OR((Q4831866,P86,c(Q502895)), (Q3793290,P86,c(Q502895)))
action filter_type
action union
action find
entity Q4831866
relation P86
action find
entity Q3793290
relation P86
type Q502895
[ANSWERS] composed Ayya or The Three-Cornered Hat
{'OR': [['Q4831866', 'P86', {'concept': 'Q502895'}], ['Q3793290', 'P86', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q4831866 property:P86 ?w } UNION { resource:Q3793290 property:P86 ?w } } . ?w rdf:type ontology:Q502895 }
Bharathwaj Ernesto Tagliaferri
Bharathwaj and Ernesto Tagliaferri composed Ayya or The Three-Cornered Hat
Bharathwaj Ernesto Tagliaferri
action filter_type
action union
action find
entity Ayya
relation composer
action find
entity The Three-Cornered Hat
relation composer
type common name
{'OR': [['Ayya', 'composer', {'concept': 'common name'}], ['The Three-Cornered Hat', 'composer', {'concept': 'common name'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Ayya property:composer ?w } UNION { resource:The_Three-Cornered_Hat property:composer ?w } } . ?w rdf:type ontology:common_name }
[]