Simple Question (Direct)
Simple Question
Q3479221
P9
Q502895
USER
Who is the sister of Serge Bozon ?
(Q3479221,P9,c(Q502895))
action filter_type
action find
entity Q3479221
relation P9
type Q502895
['Q3479221', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q3479221 property:P9 ?f . ?f rdf:type ontology:Q502895 }
Serge Bozon
action filter_type
action find
entity Serge Bozon
relation sister
type common name
['Serge Bozon', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Serge_Bozon property:sister ?f . ?f rdf:type ontology:common_name }
[]
common name
Q1150385
SYSTEM
Céline Bozon
Q1150385
(Q3479221,P9,c(Q502895))
action filter_type
action find
entity Q3479221
relation P9
type Q502895
The sister of Serge Bozon is the [ANSWER]
['Q3479221', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q3479221 property:P9 ?f . ?f rdf:type ontology:Q502895 }
Céline Bozon
The sister of Serge Bozon is the Céline Bozon
Céline Bozon
action filter_type
action find
entity Serge Bozon
relation sister
type common name
['Serge Bozon', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Serge_Bozon property:sister ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1150385
P344
Q838948
USER
Which works of art are that person the cinematographer of ?
(c(Q838948),P344,Q1150385)
action filter_type
action find_reverse
entity Q1150385
relation P344
type Q838948
[{'concept': 'Q838948'}, 'P344', 'Q1150385']
SELECT DISTINCT ?h WHERE { ?h property:P344 resource:Q1150385 . ?h rdf:type ontology:Q838948 }
Céline Bozon
action filter_type
action find_reverse
entity Céline Bozon
relation director of photography
type work of art
[{'concept': 'work of art'}, 'director of photography', 'Céline Bozon']
SELECT DISTINCT ?h WHERE { ?h property:director_of_photography resource:Céline_Bozon . ?h rdf:type ontology:work_of_art }
[]
work of art
Q391840 Q19810823 Q249422
SYSTEM
All the Fine Promises, Marguerite and Julien, À travers la forêt
Q249422 Q1383800 Q391840 Q19810823 Q575325 Q1757117
(c(Q838948),P344,Q1150385)
action filter_type
action find_reverse
entity Q1150385
relation P344
type Q838948
[ANSWERS] are that person the cinematographer of
[{'concept': 'Q838948'}, 'P344', 'Q1150385']
SELECT DISTINCT ?h WHERE { ?h property:P344 resource:Q1150385 . ?h rdf:type ontology:Q838948 }
À travers la forêt Exils All the Fine Promises Marguerite and Julien L'autre monde Transylvania
All the Fine Promises, Marguerite and Julien and À travers la forêt are that person the cinematographer of
All the Fine Promises Marguerite and Julien À travers la forêt
action filter_type
action find_reverse
entity Céline Bozon
relation director of photography
type work of art
[{'concept': 'work of art'}, 'director of photography', 'Céline Bozon']
SELECT DISTINCT ?h WHERE { ?h property:director_of_photography resource:Céline_Bozon . ?h rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19810823
P58
Q502895
USER
Who wrote the script for Marguerite and Julien ?
(Q19810823,P58,c(Q502895))
action filter_type
action find
entity Q19810823
relation P58
type Q502895
['Q19810823', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q19810823 property:P58 ?q . ?q rdf:type ontology:Q502895 }
Marguerite and Julien
action filter_type
action find
entity Marguerite and Julien
relation screenwriter
type common name
['Marguerite and Julien', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Marguerite_and_Julien property:screenwriter ?q . ?q rdf:type ontology:common_name }
[]
common name
Q1059668 Q1351652 Q130092
SYSTEM
Jean Gruault, Jérémie Elkaïm, Valérie Donzelli
Q1059668 Q1351652 Q130092
(Q19810823,P58,c(Q502895))
action filter_type
action find
entity Q19810823
relation P58
type Q502895
[ANSWERS] wrote the script for Marguerite and Julien
['Q19810823', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q19810823 property:P58 ?q . ?q rdf:type ontology:Q502895 }
Jean Gruault Jérémie Elkaïm Valérie Donzelli
Jean Gruault, Jérémie Elkaïm and Valérie Donzelli wrote the script for Marguerite and Julien
Jean Gruault Jérémie Elkaïm Valérie Donzelli
action filter_type
action find
entity Marguerite and Julien
relation screenwriter
type common name
['Marguerite and Julien', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Marguerite_and_Julien property:screenwriter ?q . ?q rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1059668
P20
Q56061
USER
Where did the expiration of that person occur ?
(Q1059668,P20,c(Q56061))
action filter_type
action find
entity Q1059668
relation P20
type Q56061
['Q1059668', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q1059668 property:P20 ?d . ?d rdf:type ontology:Q56061 }
Jean Gruault
action filter_type
action find
entity Jean Gruault
relation place of death
type administrative territorial entity
['Jean Gruault', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Jean_Gruault property:place_of_death ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q1059668
SYSTEM
Did you mean Jean Gruault ?
Q1059668 Q1351652 Q130092
(Q1059668,P20,c(Q56061)) (Q1351652,P20,c(Q56061)) (Q130092,P20,c(Q56061))
[ANSWER]
['Q1059668', 'P20', {'concept': 'Q56061'}] ['Q1351652', 'P20', {'concept': 'Q56061'}] ['Q130092', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q1059668 property:P20 ?d . ?d rdf:type ontology:Q56061 }
Jean Gruault Jérémie Elkaïm Valérie Donzelli
Did you mean Jean Gruault ?
Jean Gruault
['Jean Gruault', 'place of death', {'concept': 'administrative territorial entity'}] ['Jérémie Elkaïm', 'place of death', {'concept': 'administrative territorial entity'}] ['Valérie Donzelli', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Jean_Gruault property:place_of_death ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q1059668,P20,c(Q56061))
['Q1059668', 'P20', {'concept': 'Q56061'}]
['Jean Gruault', 'place of death', {'concept': 'administrative territorial entity'}]
[]
Q90
SYSTEM
Paris
Q90
(Q1059668,P20,c(Q56061))
action filter_type
action find
entity Q1059668
relation P20
type Q56061
The expiration of that person occurred in [ANSWER]
['Q1059668', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q1059668 property:P20 ?d . ?d rdf:type ontology:Q56061 }
Paris
The expiration of that person occurred in Paris
Paris
action filter_type
action find
entity Jean Gruault
relation place of death
type administrative territorial entity
['Jean Gruault', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Jean_Gruault property:place_of_death ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1059668
P1411
Q4220917
USER
Which film awards were Jean Gruault nominated for ?
(Q1059668,P1411,c(Q4220917))
action filter_type
action find
entity Q1059668
relation P1411
type Q4220917
['Q1059668', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?o WHERE { resource:Q1059668 property:P1411 ?o . ?o rdf:type ontology:Q4220917 }
Jean Gruault
action filter_type
action find
entity Jean Gruault
relation nominated for
type film award
['Jean Gruault', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?o WHERE { resource:Jean_Gruault property:nominated_for ?o . ?o rdf:type ontology:film_award }
[]
film award
Q41417 Q6978541
SYSTEM
Academy Award for Best Writing, Original Screenplay, National Society of Film Critics Award for Best Screenplay
Q41417 Q6978541
(Q1059668,P1411,c(Q4220917))
action filter_type
action find
entity Q1059668
relation P1411
type Q4220917
Jean Gruault were nominated for [ANSWERS]
['Q1059668', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?o WHERE { resource:Q1059668 property:P1411 ?o . ?o rdf:type ontology:Q4220917 }
Academy Award for Best Writing, Original Screenplay National Society of Film Critics Award for Best Screenplay
Jean Gruault were nominated for Academy Award for Best Writing, Original Screenplay and National Society of Film Critics Award for Best Screenplay
Academy Award for Best Writing, Original Screenplay National Society of Film Critics Award for Best Screenplay
action filter_type
action find
entity Jean Gruault
relation nominated for
type film award
['Jean Gruault', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?o WHERE { resource:Jean_Gruault property:nominated_for ?o . ?o rdf:type ontology:film_award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1059668
P161
Q838948
USER
What are the name of works of art staring that person ?
(c(Q838948),P161,Q41417) (c(Q838948),P161,Q6978541)
action filter_type
action find_reverse
entity Q1059668
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q41417'] [{'concept': 'Q838948'}, 'P161', 'Q6978541']
SELECT DISTINCT ?x WHERE { ?x property:P161 resource:Q1059668 . ?x rdf:type ontology:Q838948 }
Jean Gruault
action filter_type
action find_reverse
entity Jean Gruault
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Academy Award for Best Writing, Original Screenplay'] [{'concept': 'work of art'}, 'cast member', 'National Society of Film Critics Award for Best Screenplay']
SELECT DISTINCT ?x WHERE { ?x property:cast_member resource:Jean_Gruault . ?x rdf:type ontology:work_of_art }
[]
work of art
Q1212205 Q3554609 Q3231270
SYSTEM
Le Beau Serge, Vanina Vanini, The Carabineers
Q1212205 Q3554609 Q3231270
(c(Q838948),P161,Q41417) (c(Q838948),P161,Q6978541)
action filter_type
action find_reverse
entity Q1059668
relation P161
type Q838948
The name of works of art staring that person are [ANSWERS]
[{'concept': 'Q838948'}, 'P161', 'Q41417'] [{'concept': 'Q838948'}, 'P161', 'Q6978541']
SELECT DISTINCT ?x WHERE { ?x property:P161 resource:Q1059668 . ?x rdf:type ontology:Q838948 }
Le Beau Serge Vanina Vanini The Carabineers
The name of works of art staring that person are Le Beau Serge, Vanina Vanini and The Carabineers
Le Beau Serge Vanina Vanini The Carabineers
action filter_type
action find_reverse
entity Jean Gruault
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Academy Award for Best Writing, Original Screenplay'] [{'concept': 'work of art'}, 'cast member', 'National Society of Film Critics Award for Best Screenplay']
SELECT DISTINCT ?x WHERE { ?x property:cast_member resource:Jean_Gruault . ?x rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1059668 Q522474
P22
Q502895
USER
How many people have Jean Gruault or Löwenstein as a parent ?
(c(Q502895),P22,Q1059668) (c(Q502895),P22,Q522474)
action count
action union
action filter_type
action find_reverse
entity Q1059668
relation P22
type Q502895
action filter_type
action find_reverse
entity Q522474
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q1059668'] [{'concept': 'Q502895'}, 'P22', 'Q522474']
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { ?j property:P22 ?h . VALUES ( ?h ) { ( resource:Q1059668 ) ( resource:Q522474 ) } }
Jean Gruault Löwenstein
action count
action union
action filter_type
action find_reverse
entity Jean Gruault
relation father
type common name
action filter_type
action find_reverse
entity Löwenstein
relation father
type common name
[{'concept': 'common name'}, 'father', 'Jean Gruault'] [{'concept': 'common name'}, 'father', 'Löwenstein']
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { ?j property:father ?h . VALUES ( ?h ) { ( resource:Jean_Gruault ) ( resource:Löwenstein ) } }
[]
common name
SYSTEM
2
Q3154933 Q1913999
(c(Q502895),P22,Q1059668) (c(Q502895),P22,Q522474)
action count
action union
action filter_type
action find_reverse
entity Q1059668
relation P22
type Q502895
action filter_type
action find_reverse
entity Q522474
relation P22
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P22', 'Q1059668'] [{'concept': 'Q502895'}, 'P22', 'Q522474']
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { ?j property:P22 ?h . VALUES ( ?h ) { ( resource:Q1059668 ) ( resource:Q522474 ) } }
Isabelle Gruault Maximilian Carl, Prince of Löwenstein-Wertheim-Rochefort
2
action count
action union
action filter_type
action find_reverse
entity Jean Gruault
relation father
type common name
action filter_type
action find_reverse
entity Löwenstein
relation father
type common name
[{'concept': 'common name'}, 'father', 'Jean Gruault'] [{'concept': 'common name'}, 'father', 'Löwenstein']
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { ?j property:father ?h . VALUES ( ?h ) { ( resource:Jean_Gruault ) ( resource:Löwenstein ) } }
[]