Simple Question (Direct)
Simple Question
Q382393
P25
Q502895
USER
Who was the mother of Louis Garrel ?
(Q382393,P25,c(Q502895))
action filter_type
action find
entity Q382393
relation P25
type Q502895
['Q382393', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q382393 property:P25 ?b . ?b rdf:type ontology:Q502895 }
Louis Garrel
action filter_type
action find
entity Louis Garrel
relation mother
type common name
['Louis Garrel', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Louis_Garrel property:mother ?b . ?b rdf:type ontology:common_name }
[]
common name
Q2925490
SYSTEM
Brigitte Sy
Q2925490
(Q382393,P25,c(Q502895))
action filter_type
action find
entity Q382393
relation P25
type Q502895
The mother of Louis Garrel was the [ANSWER]
['Q382393', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q382393 property:P25 ?b . ?b rdf:type ontology:Q502895 }
Brigitte Sy
The mother of Louis Garrel was the Brigitte Sy
Brigitte Sy
action filter_type
action find
entity Louis Garrel
relation mother
type common name
['Louis Garrel', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Louis_Garrel property:mother ?b . ?b rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q382393
P106
Q28640
USER
What are the job of Louis Garrel ?
(Q382393,P106,c(Q28640))
action filter_type
action find
entity Q382393
relation P106
type Q28640
['Q382393', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?t WHERE { resource:Q382393 property:P106 ?t . ?t rdf:type ontology:Q28640 }
Louis Garrel
action filter_type
action find
entity Louis Garrel
relation occupation
type profession
['Louis Garrel', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?t WHERE { resource:Louis_Garrel property:occupation ?t . ?t rdf:type ontology:profession }
[]
profession
Q2526255 Q28389 Q222344
SYSTEM
film director, screenwriter, cinematographer
Q2526255 Q28389 Q222344
(Q382393,P106,c(Q28640))
action filter_type
action find
entity Q382393
relation P106
type Q28640
The job of Louis Garrel are a [ANSWERS]
['Q382393', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?t WHERE { resource:Q382393 property:P106 ?t . ?t rdf:type ontology:Q28640 }
film director screenwriter cinematographer
The job of Louis Garrel are a film director, screenwriter and cinematographer
film director screenwriter cinematographer
action filter_type
action find
entity Louis Garrel
relation occupation
type profession
['Louis Garrel', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?t WHERE { resource:Louis_Garrel property:occupation ?t . ?t rdf:type ontology:profession }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q382393
Q12737077
USER
And which occupation?
(Q382393,P106,c(Q12737077))
action filter_type
action find
entity Q382393
relation P106
type Q12737077
['Q382393', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q12737077 . resource:Q382393 property:P106 ?t }
Louis Garrel
action filter_type
action find
entity Louis Garrel
relation occupation
type occupation
['Louis Garrel', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:occupation . resource:Louis_Garrel property:occupation ?t }
[]
occupation
Q33999
SYSTEM
actor
Q33999
(Q382393,P106,c(Q12737077))
action filter_type
action find
entity Q382393
relation P106
type Q12737077
[ANSWER]
['Q382393', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q12737077 . resource:Q382393 property:P106 ?t }
actor
actor
action filter_type
action find
entity Louis Garrel
relation occupation
type occupation
['Louis Garrel', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:occupation . resource:Louis_Garrel property:occupation ?t }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q33999 Q1697788
P106
Q502895
USER
Does Johannes Joner have the profession of that occupation ?
(Q1697788,P106,Q33999)
action is_in
entity Q33999
action find
entity Q1697788
relation P106
['Q1697788', 'P106', 'Q33999']
ASK WHERE { resource:Q1697788 property:P106 resource:Q33999 }
actor Johannes Joner
action is_in
entity actor
action find
entity Johannes Joner
relation occupation
['Johannes Joner', 'occupation', 'actor']
ASK WHERE { resource:Johannes_Joner property:occupation resource:actor }
[]
common name
SYSTEM
YES
(Q1697788,P106,Q33999)
action is_in
entity Q33999
action find
entity Q1697788
relation P106
[ANSWER]
['Q1697788', 'P106', 'Q33999']
ASK WHERE { resource:Q1697788 property:P106 resource:Q33999 }
Yes
action is_in
entity actor
action find
entity Johannes Joner
relation occupation
['Johannes Joner', 'occupation', 'actor']
ASK WHERE { resource:Johannes_Joner property:occupation resource:actor }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q382393
P22
Q502895
USER
Which person was the father of Louis Garrel ?
(Q382393,P22,c(Q502895))
action filter_type
action find
entity Q382393
relation P22
type Q502895
['Q382393', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q382393 property:P22 ?e . ?e rdf:type ontology:Q502895 }
Louis Garrel
action filter_type
action find
entity Louis Garrel
relation father
type common name
['Louis Garrel', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Louis_Garrel property:father ?e . ?e rdf:type ontology:common_name }
[]
common name
Q433979
SYSTEM
Philippe Garrel
Q433979
(Q382393,P22,c(Q502895))
action filter_type
action find
entity Q382393
relation P22
type Q502895
De [ANSWER] was the father of Louis Garrel
['Q382393', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q382393 property:P22 ?e . ?e rdf:type ontology:Q502895 }
Philippe Garrel
De Philippe Garrel was the father of Louis Garrel
Philippe Garrel
action filter_type
action find
entity Louis Garrel
relation father
type common name
['Louis Garrel', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Louis_Garrel property:father ?e . ?e rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q27430441
Q502895
USER
And what about Samuele Abarbanel?
(Q27430441,P22,c(Q502895))
action filter_type
action find
entity Q27430441
relation P22
type Q502895
['Q27430441', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q27430441 property:P22 ?k . ?k rdf:type ontology:Q502895 }
Samuele Abarbanel
action filter_type
action find
entity Samuele Abarbanel
relation father
type common name
['Samuele Abarbanel', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Samuele_Abarbanel property:father ?k . ?k rdf:type ontology:common_name }
[]
common name
Q319902
SYSTEM
Isaac Abrabanel
Q319902
(Q27430441,P22,c(Q502895))
action filter_type
action find
entity Q27430441
relation P22
type Q502895
[ANSWER]
['Q27430441', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q27430441 property:P22 ?k . ?k rdf:type ontology:Q502895 }
Isaac Abrabanel
Isaac Abrabanel
action filter_type
action find
entity Samuele Abarbanel
relation father
type common name
['Samuele Abarbanel', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Samuele_Abarbanel property:father ?k . ?k rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2065893
P161
Q838948
USER
What are the name of works of art staring Elliott Reid ?
(c(Q838948),P161,Q2065893)
action filter_type
action find_reverse
entity Q2065893
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q2065893']
SELECT DISTINCT ?m WHERE { ?m property:P161 resource:Q2065893 . ?m rdf:type ontology:Q838948 }
Elliott Reid
action filter_type
action find_reverse
entity Elliott Reid
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Elliott Reid']
SELECT DISTINCT ?m WHERE { ?m property:cast_member resource:Elliott_Reid . ?m rdf:type ontology:work_of_art }
[]
work of art
Q637180 Q1196177 Q1198611
SYSTEM
Heaven Can Wait, Son of Flubber, The Absent-Minded Professor
Q3279033 Q1495195 Q948836 Q2252577 Q637180 Q3236345 Q1198611 Q383355 Q1459325 Q898684 Q1232912 Q1500395 Q3572849 Q1254094 Q2276203 Q1196177 Q2248985 Q3794394 Q7559439
(c(Q838948),P161,Q2065893)
action filter_type
action find_reverse
entity Q2065893
relation P161
type Q838948
The name of works of art staring Elliott Reid are [ANSWERS]
[{'concept': 'Q838948'}, 'P161', 'Q2065893']
SELECT DISTINCT ?m WHERE { ?m property:P161 resource:Q2065893 . ?m rdf:type ontology:Q838948 }
Who's Been Sleeping in My Bed? Blackbeard's Ghost Move Over, Darling Sierra Heaven Can Wait Woman's World The Absent-Minded Professor Gentlemen Prefer Blondes The Thrill of It All Young Einstein A Double Life Inherit the Wind Young Ideas The Story of Dr. Wassell Vicki Son of Flubber Follow Me, Boys! The Whip Hand Some Kind of a Nut
The name of works of art staring Elliott Reid are Heaven Can Wait, Son of Flubber and The Absent-Minded Professor
Heaven Can Wait Son of Flubber The Absent-Minded Professor
action filter_type
action find_reverse
entity Elliott Reid
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Elliott Reid']
SELECT DISTINCT ?m WHERE { ?m property:cast_member resource:Elliott_Reid . ?m rdf:type ontology:work_of_art }
[]
Clarification
Simple Question|Single Entity|Indirect
Q637180
P57
Q502895
USER
Who were that work of art directed by ?
(Q637180,P57,c(Q502895))
action filter_type
action find
entity Q637180
relation P57
type Q502895
['Q637180', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . resource:Q637180 property:P57 ?c }
Heaven Can Wait
action filter_type
action find
entity Heaven Can Wait
relation director
type common name
['Heaven Can Wait', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . resource:Heaven_Can_Wait property:director ?c }
[]
common name
Clarification for simple ques.
Q1196177
SYSTEM
Did you mean Son of Flubber ?
Q637180 Q1196177 Q1198611
(Q637180,P57,c(Q502895)) (Q1196177,P57,c(Q502895)) (Q1198611,P57,c(Q502895))
[ANSWER]
['Q637180', 'P57', {'concept': 'Q502895'}] ['Q1196177', 'P57', {'concept': 'Q502895'}] ['Q1198611', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . resource:Q637180 property:P57 ?c }
Heaven Can Wait Son of Flubber The Absent-Minded Professor
Did you mean Son of Flubber ?
Son of Flubber
['Heaven Can Wait', 'director', {'concept': 'common name'}] ['Son of Flubber', 'director', {'concept': 'common name'}] ['The Absent-Minded Professor', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . resource:Heaven_Can_Wait property:director ?c }
[]
Simple Question (Coreferenced)
USER
No, I meant Heaven Can Wait. Could you tell me the answer for that?
(Q637180,P57,c(Q502895))
Q637180
['Q637180', 'P57', {'concept': 'Q502895'}]
['Heaven Can Wait', 'director', {'concept': 'common name'}]
[]
Q95030 Q999332
SYSTEM
Warren Beatty, Buck Henry
Q95030 Q999332
(Q637180,P57,c(Q502895))
action filter_type
action find
entity Q637180
relation P57
type Q502895
By that work of art directed were by [ANSWERS]
['Q637180', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . resource:Q637180 property:P57 ?c }
Warren Beatty Buck Henry
By that work of art directed were by Warren Beatty and Buck Henry
Warren Beatty Buck Henry
action filter_type
action find
entity Heaven Can Wait
relation director
type common name
['Heaven Can Wait', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . resource:Heaven_Can_Wait property:director ?c }
[]