Simple Question (Direct)
Simple Question
Q728173
P802
Q502895
USER
Which person was Achille Devéria a notable student of ?
(Q728173,P802,c(Q502895))
action filter_type
action find
entity Q728173
relation P802
type Q502895
['Q728173', 'P802', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q728173 property:P802 ?c . ?c rdf:type ontology:Q502895 }
Achille Devéria
action filter_type
action find
entity Achille Devéria
relation student
type common name
['Achille Devéria', 'student', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Achille_Devéria property:student ?c . ?c rdf:type ontology:common_name }
[]
common name
Q719990
SYSTEM
Auguste-Barthélemy Glaize
Q719990
(Q728173,P802,c(Q502895))
action filter_type
action find
entity Q728173
relation P802
type Q502895
De [ANSWER] was Achille Devéria a notable student of
['Q728173', 'P802', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q728173 property:P802 ?c . ?c rdf:type ontology:Q502895 }
Auguste-Barthélemy Glaize
De Auguste-Barthélemy Glaize was Achille Devéria a notable student of
Auguste-Barthélemy Glaize
action filter_type
action find
entity Achille Devéria
relation student
type common name
['Achille Devéria', 'student', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Achille_Devéria property:student ?c . ?c rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q728173
P1066
Q502895
USER
Which people were the teachers of Achille Devéria ?
(Q728173,P1066,c(Q502895))
action filter_type
action find
entity Q728173
relation P1066
type Q502895
['Q728173', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q728173 property:P1066 ?v . ?v rdf:type ontology:Q502895 }
Achille Devéria
action filter_type
action find
entity Achille Devéria
relation student of
type common name
['Achille Devéria', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Achille_Devéria property:student_of ?v . ?v rdf:type ontology:common_name }
[]
common name
Q3262424 Q433434 Q719990
SYSTEM
Louis Lafitte, Anne-Louis Girodet de Roussy-Trioson, Auguste-Barthélemy Glaize
Q3262424 Q433434 Q719990
(Q728173,P1066,c(Q502895))
action filter_type
action find
entity Q728173
relation P1066
type Q502895
[ANSWERS] were the teachers of Achille Devéria
['Q728173', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q728173 property:P1066 ?v . ?v rdf:type ontology:Q502895 }
Louis Lafitte Anne-Louis Girodet de Roussy-Trioson Auguste-Barthélemy Glaize
Louis Lafitte, Anne-Louis Girodet de Roussy-Trioson and Auguste-Barthélemy Glaize were the teachers of Achille Devéria
Louis Lafitte Anne-Louis Girodet de Roussy-Trioson Auguste-Barthélemy Glaize
action filter_type
action find
entity Achille Devéria
relation student of
type common name
['Achille Devéria', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Achille_Devéria property:student_of ?v . ?v rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3102203
Q502895
USER
And what about Georges Arnoux?
(Q3102203,P1066,c(Q502895))
action filter_type
action find
entity Q3102203
relation P1066
type Q502895
['Q3102203', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q3102203 property:P1066 ?j . ?j rdf:type ontology:Q502895 }
Georges Arnoux
action filter_type
action find
entity Georges Arnoux
relation student of
type common name
['Georges Arnoux', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Georges_Arnoux property:student_of ?j . ?j rdf:type ontology:common_name }
[]
common name
Q313584
SYSTEM
Vincent d'Indy
Q313584
(Q3102203,P1066,c(Q502895))
action filter_type
action find
entity Q3102203
relation P1066
type Q502895
[ANSWER]
['Q3102203', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q3102203 property:P1066 ?j . ?j rdf:type ontology:Q502895 }
Vincent d'Indy
Vincent d'Indy
action filter_type
action find
entity Georges Arnoux
relation student of
type common name
['Georges Arnoux', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Georges_Arnoux property:student_of ?j . ?j rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q4835467 Q313584
P802 P1346
Q502895
USER
Which people were the teachers of Vincent d'Indy or were the winners of BET Award for Best Collaboration ?
OR((Q313584,P802,c(Q502895)), (Q4835467,P1346,c(Q502895)))
action filter_type
action union
action find
entity Q313584
relation P802
action find
entity Q4835467
relation P1346
type Q502895
{'OR': [['Q313584', 'P802', {'concept': 'Q502895'}], ['Q4835467', 'P1346', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . { { resource:Q313584 property:P802 ?u } UNION { resource:Q4835467 property:P1346 ?u } } }
BET Award for Best Collaboration Vincent d'Indy
action filter_type
action union
action find
entity Vincent d'Indy
relation student
action find
entity BET Award for Best Collaboration
relation winner
type common name
{'OR': [["Vincent d'Indy", 'student', {'concept': 'common name'}], ['BET Award for Best Collaboration', 'winner', {'concept': 'common name'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . { { resource:Vincent_d'Indy property:student ?u } UNION { resource:BET_Award_for_Best_Collaboration property:winner ?u } } }
[]
common name
Q15615 Q2134206 Q123164 Q59185 Q458519 Q73463 Q33240 Q4968368 Q14313 Q1067043
SYSTEM
Some of them are Lil Wayne, Raymond Loucheur, Arthur Honegger, Busta Rhymes, Wale, Miguel, Drake, Helena Munktell, Pharrell Williams, Charlie Wilson
Q121507 Q15615 Q171905 Q59185 Q155700 Q62766 Q193676 Q4968368 Q458519 Q129910 Q228909 Q130798 Q155079 Q203223 Q129668 Q15935 Q36153 Q2134206 Q221155 Q956324 Q119957 Q33240 Q1067043 Q14313 Q73463 Q123164 Q6096
OR((Q313584,P802,c(Q502895)), (Q4835467,P1346,c(Q502895)))
action filter_type
action union
action find
entity Q313584
relation P802
action find
entity Q4835467
relation P1346
type Q502895
[ANSWERS] were the teachers of Vincent d'Indy or were the winners of BET Award for Best Collaboration
{'OR': [['Q313584', 'P802', {'concept': 'Q502895'}], ['Q4835467', 'P1346', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . { { resource:Q313584 property:P802 ?u } UNION { resource:Q4835467 property:P1346 ?u } } }
Alicia Keys Lil Wayne Jamie Foxx Busta Rhymes Chris Brown Jay Z Ludacris Helena Munktell Wale ASAP Rocky Mary J. Blige Kendrick Lamar Missy Elliott Ciara 2 Chainz Kanye West Beyoncé Raymond Loucheur T-Pain László Lajtha Alexis Roland-Manuel Drake Charlie Wilson Pharrell Williams Miguel Arthur Honegger Snoop Dogg
Lil Wayne, Raymond Loucheur, Arthur Honegger, Busta Rhymes, Wale, Miguel, Drake, Helena Munktell, Pharrell Williams and Charlie Wilson were the teachers of Vincent d'Indy or were the winners of BET Award for Best Collaboration
Lil Wayne Raymond Loucheur Arthur Honegger Busta Rhymes Wale Miguel Drake Helena Munktell Pharrell Williams Charlie Wilson
action filter_type
action union
action find
entity Vincent d'Indy
relation student
action find
entity BET Award for Best Collaboration
relation winner
type common name
{'OR': [["Vincent d'Indy", 'student', {'concept': 'common name'}], ['BET Award for Best Collaboration', 'winner', {'concept': 'common name'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . { { resource:Vincent_d'Indy property:student ?u } UNION { resource:BET_Award_for_Best_Collaboration property:winner ?u } } }
[]