Simple Question (Direct)
Simple Question
Q730556
P21
Q290
USER
What is the sex of Marco Frisina ?
(Q730556,P21,c(Q290))
action filter_type
action find
entity Q730556
relation P21
type Q290
['Q730556', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q290 . resource:Q730556 property:P21 ?o }
Marco Frisina
action filter_type
action find
entity Marco Frisina
relation gender
type sex
['Marco Frisina', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:sex . resource:Marco_Frisina property:gender ?o }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q730556,P21,c(Q290))
action filter_type
action find
entity Q730556
relation P21
type Q290
[ANSWER]
['Q730556', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q290 . resource:Q730556 property:P21 ?o }
male
male
action filter_type
action find
entity Marco Frisina
relation gender
type sex
['Marco Frisina', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:sex . resource:Marco_Frisina property:gender ?o }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q730556
P86
Q15416
USER
Which television programs have Marco Frisina as the composer ?
(c(Q15416),P86,Q730556)
action filter_type
action find_reverse
entity Q730556
relation P86
type Q15416
[{'concept': 'Q15416'}, 'P86', 'Q730556']
SELECT DISTINCT ?a WHERE { ?a property:P86 resource:Q730556 . ?a rdf:type ontology:Q15416 }
Marco Frisina
action filter_type
action find_reverse
entity Marco Frisina
relation composer
type television program
[{'concept': 'television program'}, 'composer', 'Marco Frisina']
SELECT DISTINCT ?a WHERE { ?a property:composer resource:Marco_Frisina . ?a rdf:type ontology:television_program }
[]
television program
Q455784 Q3910119 Q381992
SYSTEM
Joseph, Saint Philip Neri: I Prefer Heaven, Samson and Delilah
Q1718741 Q3910119 Q630496 Q881573 Q1211352 Q384037 Q732862 Q3283238 Q3937252 Q455784 Q3907848 Q1691672 Q381992 Q130627
(c(Q15416),P86,Q730556)
action filter_type
action find_reverse
entity Q730556
relation P86
type Q15416
[ANSWERS]
[{'concept': 'Q15416'}, 'P86', 'Q730556']
SELECT DISTINCT ?a WHERE { ?a property:P86 resource:Q730556 . ?a rdf:type ontology:Q15416 }
Papa Luciani - Il sorriso di Dio Saint Philip Neri: I Prefer Heaven Abraham Jacob Moses Apocalypse Revelation John XXIII: The Pope of Peace Saint John Bosco: Mission to Love Saint Rita Joseph Imperium: Pompeii Judas Samson and Delilah Pope John Paul II
Joseph Saint Philip Neri: I Prefer Heaven Samson and Delilah
action filter_type
action find_reverse
entity Marco Frisina
relation composer
type television program
[{'concept': 'television program'}, 'composer', 'Marco Frisina']
SELECT DISTINCT ?a WHERE { ?a property:composer resource:Marco_Frisina . ?a rdf:type ontology:television_program }
[]
Clarification
Simple Question|Single Entity|Indirect
Q455784
P57
Q502895
USER
Which person served as the directed of that television program ?
(Q455784,P57,c(Q502895))
action filter_type
action find
entity Q455784
relation P57
type Q502895
['Q455784', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . resource:Q455784 property:P57 ?o }
Joseph
action filter_type
action find
entity Joseph
relation director
type common name
['Joseph', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . resource:Joseph property:director ?o }
[]
common name
Clarification for simple ques.
Q381992
SYSTEM
Did you mean Samson and Delilah ?
Q455784 Q3910119 Q381992
(Q455784,P57,c(Q502895)) (Q3910119,P57,c(Q502895)) (Q381992,P57,c(Q502895))
[ANSWER]
['Q455784', 'P57', {'concept': 'Q502895'}] ['Q3910119', 'P57', {'concept': 'Q502895'}] ['Q381992', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . resource:Q455784 property:P57 ?o }
Joseph Saint Philip Neri: I Prefer Heaven Samson and Delilah
Did you mean Samson and Delilah ?
Samson and Delilah
['Joseph', 'director', {'concept': 'common name'}] ['Saint Philip Neri: I Prefer Heaven', 'director', {'concept': 'common name'}] ['Samson and Delilah', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . resource:Joseph property:director ?o }
[]
Simple Question (Coreferenced)
USER
No, I meant Joseph. Could you tell me the answer for that?
(Q455784,P57,c(Q502895))
Q455784
['Q455784', 'P57', {'concept': 'Q502895'}]
['Joseph', 'director', {'concept': 'common name'}]
[]
Q2036181
SYSTEM
Roger Young
Q2036181
(Q455784,P57,c(Q502895))
action filter_type
action find
entity Q455784
relation P57
type Q502895
[ANSWER]
['Q455784', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . resource:Q455784 property:P57 ?o }
Roger Young
Roger Young
action filter_type
action find
entity Joseph
relation director
type common name
['Joseph', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . resource:Joseph property:director ?o }
[]