Simple Question (Direct)
Simple Question
Q2562884
P161
Q502895
USER
Which people starred in Pepe ?
(Q2562884,P161,c(Q502895))
action filter_type
action find
entity Q2562884
relation P161
type Q502895
['Q2562884', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q2562884 property:P161 ?r . ?r rdf:type ontology:Q502895 }
Pepe
action filter_type
action find
entity Pepe
relation cast member
type common name
['Pepe', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Pepe property:cast_member ?r . ?r rdf:type ontology:common_name }
[]
common name
Q230218 Q205314 Q1159045
SYSTEM
Shirley Jones, Janet Leigh, Dan Dailey
Q1159045 Q3299524 Q230218 Q205314 Q195371 Q1707377
(Q2562884,P161,c(Q502895))
action filter_type
action find
entity Q2562884
relation P161
type Q502895
[ANSWERS] starred in Pepe
['Q2562884', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q2562884 property:P161 ?r . ?r rdf:type ontology:Q502895 }
Dan Dailey Matt Mattox Shirley Jones Janet Leigh Cantinflas Suzanne Lloyd
Shirley Jones, Janet Leigh and Dan Dailey starred in Pepe
Shirley Jones Janet Leigh Dan Dailey
action filter_type
action find
entity Pepe
relation cast member
type common name
['Pepe', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Pepe property:cast_member ?r . ?r rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q230218
P26
Q502895
USER
Who are the spouses of that one ?
(Q230218,P26,c(Q502895))
action filter_type
action find
entity Q230218
relation P26
type Q502895
['Q230218', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q230218 property:P26 ?f . ?f rdf:type ontology:Q502895 }
Shirley Jones
action filter_type
action find
entity Shirley Jones
relation spouse
type common name
['Shirley Jones', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Shirley_Jones property:spouse ?f . ?f rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q230218
SYSTEM
Did you mean Shirley Jones ?
Q230218 Q205314 Q1159045
(Q230218,P26,c(Q502895)) (Q205314,P26,c(Q502895)) (Q1159045,P26,c(Q502895))
[ANSWER]
['Q230218', 'P26', {'concept': 'Q502895'}] ['Q205314', 'P26', {'concept': 'Q502895'}] ['Q1159045', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q230218 property:P26 ?f . ?f rdf:type ontology:Q502895 }
Shirley Jones Janet Leigh Dan Dailey
Did you mean Shirley Jones ?
Shirley Jones
['Shirley Jones', 'spouse', {'concept': 'common name'}] ['Janet Leigh', 'spouse', {'concept': 'common name'}] ['Dan Dailey', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Shirley_Jones property:spouse ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(Q230218,P26,c(Q502895))
['Q230218', 'P26', {'concept': 'Q502895'}]
['Shirley Jones', 'spouse', {'concept': 'common name'}]
[]
Q6777444 Q1350489
SYSTEM
Marty Ingels, Jack Cassidy
Q6777444 Q1350489
(Q230218,P26,c(Q502895))
action filter_type
action find
entity Q230218
relation P26
type Q502895
The spouses of that one are the [ANSWERS]
['Q230218', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q230218 property:P26 ?f . ?f rdf:type ontology:Q502895 }
Marty Ingels Jack Cassidy
The spouses of that one are the Marty Ingels and Jack Cassidy
Marty Ingels Jack Cassidy
action filter_type
action find
entity Shirley Jones
relation spouse
type common name
['Shirley Jones', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Shirley_Jones property:spouse ?f . ?f rdf:type ontology:common_name }
[]