Simple Question (Direct)
Simple Question
Q3369582
P1196
Q1190554
USER
What situation did Patrick Lancelot die in ?
(Q3369582,P1196,c(Q1190554))
action filter_type
action find
entity Q3369582
relation P1196
type Q1190554
['Q3369582', 'P1196', {'concept': 'Q1190554'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q1190554 . resource:Q3369582 property:P1196 ?x }
Patrick Lancelot
action filter_type
action find
entity Patrick Lancelot
relation manner of death
type event
['Patrick Lancelot', 'manner of death', {'concept': 'event'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:event . resource:Patrick_Lancelot property:manner_of_death ?x }
[]
event
Q171558
SYSTEM
accident
Q171558
(Q3369582,P1196,c(Q1190554))
action filter_type
action find
entity Q3369582
relation P1196
type Q1190554
Patrick Lancelot died an [ANSWER]
['Q3369582', 'P1196', {'concept': 'Q1190554'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q1190554 . resource:Q3369582 property:P1196 ?x }
accident
Patrick Lancelot died an accident
accident
action filter_type
action find
entity Patrick Lancelot
relation manner of death
type event
['Patrick Lancelot', 'manner of death', {'concept': 'event'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:event . resource:Patrick_Lancelot property:manner_of_death ?x }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3369582
P161
Q838948
USER
Which works of art have Patrick Lancelot as actor ?
(c(Q838948),P161,Q3369582)
action filter_type
action find_reverse
entity Q3369582
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q3369582']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q838948 . ?h property:P161 resource:Q3369582 }
Patrick Lancelot
action filter_type
action find_reverse
entity Patrick Lancelot
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Patrick Lancelot']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:work_of_art . ?h property:cast_member resource:Patrick_Lancelot }
[]
work of art
Q471445 Q1340986 Q1754723
SYSTEM
The Phantom of Liberty, Two Men in Town, The Confession
Q471445 Q1340986 Q2547866 Q1754723 Q1918052 Q2862422
(c(Q838948),P161,Q3369582)
action filter_type
action find_reverse
entity Q3369582
relation P161
type Q838948
[ANSWERS] have Patrick Lancelot as actor
[{'concept': 'Q838948'}, 'P161', 'Q3369582']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q838948 . ?h property:P161 resource:Q3369582 }
The Phantom of Liberty Two Men in Town Artemisia The Confession Belle maman The Monk
The Phantom of Liberty, Two Men in Town and The Confession have Patrick Lancelot as actor
The Phantom of Liberty Two Men in Town The Confession
action filter_type
action find_reverse
entity Patrick Lancelot
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Patrick Lancelot']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:work_of_art . ?h property:cast_member resource:Patrick_Lancelot }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1754723
P57
Q502895
USER
Which person served as the directed of that work of art ?
(Q1754723,P57,c(Q502895))
action filter_type
action find
entity Q1754723
relation P57
type Q502895
['Q1754723', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q1754723 property:P57 ?u . ?u rdf:type ontology:Q502895 }
The Confession
action filter_type
action find
entity The Confession
relation director
type common name
['The Confession', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:The_Confession property:director ?u . ?u rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q1340986
SYSTEM
Did you mean Two Men in Town ?
Q471445 Q1340986 Q1754723
(Q471445,P57,c(Q502895)) (Q1340986,P57,c(Q502895)) (Q1754723,P57,c(Q502895))
[ANSWER]
['Q471445', 'P57', {'concept': 'Q502895'}] ['Q1340986', 'P57', {'concept': 'Q502895'}] ['Q1754723', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q1754723 property:P57 ?u . ?u rdf:type ontology:Q502895 }
The Phantom of Liberty Two Men in Town The Confession
Did you mean Two Men in Town ?
Two Men in Town
['The Phantom of Liberty', 'director', {'concept': 'common name'}] ['Two Men in Town', 'director', {'concept': 'common name'}] ['The Confession', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:The_Confession property:director ?u . ?u rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant The Confession. Could you tell me the answer for that?
(Q1754723,P57,c(Q502895))
Q1754723
['Q1754723', 'P57', {'concept': 'Q502895'}]
['The Confession', 'director', {'concept': 'common name'}]
[]
Q296698
SYSTEM
Costa-Gavras
Q296698
(Q1754723,P57,c(Q502895))
action filter_type
action find
entity Q1754723
relation P57
type Q502895
[ANSWER] served as the directed of that work of art
['Q1754723', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q1754723 property:P57 ?u . ?u rdf:type ontology:Q502895 }
Costa-Gavras
Costa-Gavras served as the directed of that work of art
Costa-Gavras
action filter_type
action find
entity The Confession
relation director
type common name
['The Confession', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:The_Confession property:director ?u . ?u rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P27
Q15617994
USER
How many administrative territories are the native countriesof that person ?
(Q296698,P27,c(Q15617994))
action count
action filter_type
action find
entity Q296698
relation P27
type Q15617994
['Q296698', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { resource:Q296698 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
action count
action filter_type
action find
entity Costa-Gavras
relation country of citizenship
type designation for an administrative territorial entity
['Costa-Gavras', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { resource:Costa-Gavras property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
2
Q142 Q41
(Q296698,P27,c(Q15617994))
action count
action filter_type
action find
entity Q296698
relation P27
type Q15617994
[ANSWER]
['Q296698', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { resource:Q296698 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
France Greece
2
action count
action filter_type
action find
entity Costa-Gavras
relation country of citizenship
type designation for an administrative territorial entity
['Costa-Gavras', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { resource:Costa-Gavras property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q296698
P106
Q28640 Q12737077
USER
How many professions or occupations have Costa-Gavras as his/her as a career ?
(Q296698,P106,c(Q28640)) (Q296698,P106,c(Q12737077))
action count
action union
action filter_type
action find
entity Q296698
relation P106
type Q28640
action filter_type
action find
entity Q296698
relation P106
type Q12737077
['Q296698', 'P106', {'concept': 'Q28640'}] ['Q296698', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { { ?t rdf:type ontology:Q28640 . resource:Q296698 property:P106 ?t } UNION { ?t rdf:type ontology:Q12737077 . resource:Q296698 property:P106 ?t } }
Costa-Gavras
action count
action union
action filter_type
action find
entity Costa-Gavras
relation occupation
type profession
action filter_type
action find
entity Costa-Gavras
relation occupation
type occupation
['Costa-Gavras', 'occupation', {'concept': 'profession'}] ['Costa-Gavras', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { { ?t rdf:type ontology:profession . resource:Costa-Gavras property:occupation ?t } UNION { ?t rdf:type ontology:occupation . resource:Costa-Gavras property:occupation ?t } }
[]
profession occupation
SYSTEM
4
Q33999 Q2526255 Q3282637 Q28389
(Q296698,P106,c(Q28640)) (Q296698,P106,c(Q12737077))
action count
action union
action filter_type
action find
entity Q296698
relation P106
type Q28640
action filter_type
action find
entity Q296698
relation P106
type Q12737077
[ANSWER]
['Q296698', 'P106', {'concept': 'Q28640'}] ['Q296698', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { { ?t rdf:type ontology:Q28640 . resource:Q296698 property:P106 ?t } UNION { ?t rdf:type ontology:Q12737077 . resource:Q296698 property:P106 ?t } }
actor film director film producer screenwriter
4
action count
action union
action filter_type
action find
entity Costa-Gavras
relation occupation
type profession
action filter_type
action find
entity Costa-Gavras
relation occupation
type occupation
['Costa-Gavras', 'occupation', {'concept': 'profession'}] ['Costa-Gavras', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { { ?t rdf:type ontology:profession . resource:Costa-Gavras property:occupation ?t } UNION { ?t rdf:type ontology:occupation . resource:Costa-Gavras property:occupation ?t } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q296698
P166
Q618779
USER
How many awards were received by Costa-Gavras ?
(Q296698,P166,c(Q618779))
action count
action filter_type
action find
entity Q296698
relation P166
type Q618779
['Q296698', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { resource:Q296698 property:P166 ?j . ?j rdf:type ontology:Q618779 }
Costa-Gavras
action count
action filter_type
action find
entity Costa-Gavras
relation award received
type award
['Costa-Gavras', 'award received', {'concept': 'award'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { resource:Costa-Gavras property:award_received ?j . ?j rdf:type ontology:award }
[]
award
SYSTEM
6
Q154590 Q900369 Q734335 Q10855195 Q1328249 Q833154
(Q296698,P166,c(Q618779))
action count
action filter_type
action find
entity Q296698
relation P166
type Q618779
[ANSWER]
['Q296698', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { resource:Q296698 property:P166 ?j . ?j rdf:type ontology:Q618779 }
Golden Bear César Award for Best Writing Louis Delluc Prize Officer of the Legion of Honour National Board of Review Award for Best Foreign Language Film Edgar Award
6
action count
action filter_type
action find
entity Costa-Gavras
relation award received
type award
['Costa-Gavras', 'award received', {'concept': 'award'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { resource:Costa-Gavras property:award_received ?j . ?j rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q296698
P40
Q502895
USER
Which people are an offsprings of that one ?
action filter_type
action find
entity Q296698
relation P40
type Q502895
SELECT DISTINCT ?u WHERE { resource:Q296698 property:P40 ?u . ?u rdf:type ontology:Q502895 }
Costa-Gavras
action filter_type
action find
entity Costa-Gavras
relation child
type common name
SELECT DISTINCT ?u WHERE { resource:Costa-Gavras property:child ?u . ?u rdf:type ontology:common_name }
[]
common name
Q2833696 Q959087 Q458785
SYSTEM
Alexandre Gavras, Romain Gavras, Julie Gavras
Q2833696 Q959087 Q458785
action filter_type
action find
entity Q296698
relation P40
type Q502895
[ANSWERS] are an offsprings of that one
SELECT DISTINCT ?u WHERE { resource:Q296698 property:P40 ?u . ?u rdf:type ontology:Q502895 }
Alexandre Gavras Romain Gavras Julie Gavras
Alexandre Gavras, Romain Gavras and Julie Gavras are an offsprings of that one
Alexandre Gavras Romain Gavras Julie Gavras
action filter_type
action find
entity Costa-Gavras
relation child
type common name
SELECT DISTINCT ?u WHERE { resource:Costa-Gavras property:child ?u . ?u rdf:type ontology:common_name }
[]