Simple Question (Direct)
Simple Question
Q3367466
P40
Q502895
USER
Which people are a successors of Pascal Jardin ?
(Q3367466,P40,c(Q502895))
action filter_type
action find
entity Q3367466
relation P40
type Q502895
['Q3367466', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q3367466 property:P40 ?d . ?d rdf:type ontology:Q502895 }
Pascal Jardin
action filter_type
action find
entity Pascal Jardin
relation child
type common name
['Pascal Jardin', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Pascal_Jardin property:child ?d . ?d rdf:type ontology:common_name }
[]
common name
Q982361 Q3089919
SYSTEM
Alexandre Jardin, Frédéric Jardin
Q982361 Q3089919
(Q3367466,P40,c(Q502895))
action filter_type
action find
entity Q3367466
relation P40
type Q502895
[ANSWERS] are a successors of Pascal Jardin
['Q3367466', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q3367466 property:P40 ?d . ?d rdf:type ontology:Q502895 }
Alexandre Jardin Frédéric Jardin
Alexandre Jardin and Frédéric Jardin are a successors of Pascal Jardin
Alexandre Jardin Frédéric Jardin
action filter_type
action find
entity Pascal Jardin
relation child
type common name
['Pascal Jardin', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Pascal_Jardin property:child ?d . ?d rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q982361
P7
Q502895
USER
Which person is the brother of Alexandre Jardin ?
(Q982361,P7,c(Q502895))
action filter_type
action find
entity Q982361
relation P7
type Q502895
['Q982361', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q982361 property:P7 ?n . ?n rdf:type ontology:Q502895 }
Alexandre Jardin
action filter_type
action find
entity Alexandre Jardin
relation brother
type common name
['Alexandre Jardin', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Alexandre_Jardin property:brother ?n . ?n rdf:type ontology:common_name }
[]
common name
Q3089919
SYSTEM
Frédéric Jardin
Q3089919
(Q982361,P7,c(Q502895))
action filter_type
action find
entity Q982361
relation P7
type Q502895
[ANSWER] is the brother of Alexandre Jardin
['Q982361', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q982361 property:P7 ?n . ?n rdf:type ontology:Q502895 }
Frédéric Jardin
Frédéric Jardin is the brother of Alexandre Jardin
Frédéric Jardin
action filter_type
action find
entity Alexandre Jardin
relation brother
type common name
['Alexandre Jardin', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Alexandre_Jardin property:brother ?n . ?n rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3089919
P57
Q838948
USER
Which works of art are that person a director of ?
(c(Q838948),P57,Q3089919)
action filter_type
action find_reverse
entity Q3089919
relation P57
type Q838948
[{'concept': 'Q838948'}, 'P57', 'Q3089919']
SELECT DISTINCT ?x WHERE { ?x property:P57 resource:Q3089919 . ?x rdf:type ontology:Q838948 }
Frédéric Jardin
action filter_type
action find_reverse
entity Frédéric Jardin
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Frédéric Jardin']
SELECT DISTINCT ?x WHERE { ?x property:director resource:Frédéric_Jardin . ?x rdf:type ontology:work_of_art }
[]
work of art
Q5182708 Q3346111
SYSTEM
Cravate club, Sleepless Night
Q5182708 Q3346111
(c(Q838948),P57,Q3089919)
action filter_type
action find_reverse
entity Q3089919
relation P57
type Q838948
[ANSWERS] are that person a director of
[{'concept': 'Q838948'}, 'P57', 'Q3089919']
SELECT DISTINCT ?x WHERE { ?x property:P57 resource:Q3089919 . ?x rdf:type ontology:Q838948 }
Cravate club Sleepless Night
Cravate club and Sleepless Night are that person a director of
Cravate club Sleepless Night
action filter_type
action find_reverse
entity Frédéric Jardin
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Frédéric Jardin']
SELECT DISTINCT ?x WHERE { ?x property:director resource:Frédéric_Jardin . ?x rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q982361
P106
Q28640 Q12737077
USER
How many professions and occupations have Alexandre Jardin as his/her as a career ?
(Q982361,P106,c(Q28640)) (Q982361,P106,c(Q12737077))
action count
action union
action filter_type
action find
entity Q982361
relation P106
type Q28640
action filter_type
action find
entity Q982361
relation P106
type Q12737077
['Q982361', 'P106', {'concept': 'Q28640'}] ['Q982361', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) WHERE { ?e rdf:type ?m . VALUES ( ?m ) { ( ontology:Q28640 ) ( ontology:Q12737077 ) } }
Alexandre Jardin
action count
action union
action filter_type
action find
entity Alexandre Jardin
relation occupation
type profession
action filter_type
action find
entity Alexandre Jardin
relation occupation
type occupation
['Alexandre Jardin', 'occupation', {'concept': 'profession'}] ['Alexandre Jardin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) WHERE { ?e rdf:type ?m . VALUES ( ?m ) { ( ontology:profession ) ( ontology:occupation ) } }
[]
profession occupation
SYSTEM
2 professions and 2 occupations
Q3282637 Q28389 Q6625963 Q36180
(Q982361,P106,c(Q28640)) (Q982361,P106,c(Q12737077))
action count
action union
action filter_type
action find
entity Q982361
relation P106
type Q28640
action filter_type
action find
entity Q982361
relation P106
type Q12737077
[ANSWER]
['Q982361', 'P106', {'concept': 'Q28640'}] ['Q982361', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) WHERE { ?e rdf:type ?m . VALUES ( ?m ) { ( ontology:Q28640 ) ( ontology:Q12737077 ) } }
film producer screenwriter novelist writer
2 professions and 2 occupations
action count
action union
action filter_type
action find
entity Alexandre Jardin
relation occupation
type profession
action filter_type
action find
entity Alexandre Jardin
relation occupation
type occupation
['Alexandre Jardin', 'occupation', {'concept': 'profession'}] ['Alexandre Jardin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) WHERE { ?e rdf:type ?m . VALUES ( ?m ) { ( ontology:profession ) ( ontology:occupation ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q982361
P22
Q502895
USER
Which male person has a child named Alexandre Jardin ?
(Q982361,P22,c(Q502895))
action filter_type
action find
entity Q982361
relation P22
type Q502895
['Q982361', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . resource:Q982361 property:P22 ?d }
Alexandre Jardin
action filter_type
action find
entity Alexandre Jardin
relation father
type common name
['Alexandre Jardin', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . resource:Alexandre_Jardin property:father ?d }
[]
common name
Q3367466
SYSTEM
Pascal Jardin
Q3367466
(Q982361,P22,c(Q502895))
action filter_type
action find
entity Q982361
relation P22
type Q502895
Is [ANSWER] has a child named Alexandre Jardin
['Q982361', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . resource:Q982361 property:P22 ?d }
Pascal Jardin
Is Pascal Jardin has a child named Alexandre Jardin
Pascal Jardin
action filter_type
action find
entity Alexandre Jardin
relation father
type common name
['Alexandre Jardin', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . resource:Alexandre_Jardin property:father ?d }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q612436
Q502895
USER
And how about Jordan Bridges?
(Q612436,P22,c(Q502895))
action filter_type
action find
entity Q612436
relation P22
type Q502895
['Q612436', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . resource:Q612436 property:P22 ?a }
Jordan Bridges
action filter_type
action find
entity Jordan Bridges
relation father
type common name
['Jordan Bridges', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . resource:Jordan_Bridges property:father ?a }
[]
common name
Q309640
SYSTEM
Beau Bridges
Q309640
(Q612436,P22,c(Q502895))
action filter_type
action find
entity Q612436
relation P22
type Q502895
[ANSWER]
['Q612436', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . resource:Q612436 property:P22 ?a }
Beau Bridges
Beau Bridges
action filter_type
action find
entity Jordan Bridges
relation father
type common name
['Jordan Bridges', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . resource:Jordan_Bridges property:father ?a }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q157443 Q982361
P136 P58
Q838948
USER
Which works of art are Alexandre Jardin a screenwriter of and have comedy film as genre ?
AND((c(Q838948),P58,Q982361), (c(Q838948),P136,Q157443))
action filter_type
action intersection
action find_reverse
entity Q982361
relation P58
action find_reverse
entity Q157443
relation P136
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P58', 'Q982361'], [{'concept': 'Q838948'}, 'P136', 'Q157443']]}
SELECT DISTINCT ?o WHERE { ?o property:P58 resource:Q982361 . ?o property:P136 resource:Q157443 . ?o rdf:type ontology:Q838948 }
comedy film Alexandre Jardin
action filter_type
action intersection
action find_reverse
entity Alexandre Jardin
relation screenwriter
action find_reverse
entity comedy film
relation genre
type work of art
{'AND': [[{'concept': 'work of art'}, 'screenwriter', 'Alexandre Jardin'], [{'concept': 'work of art'}, 'genre', 'comedy film']]}
SELECT DISTINCT ?o WHERE { ?o property:screenwriter resource:Alexandre_Jardin . ?o property:genre resource:comedy_film . ?o rdf:type ontology:work_of_art }
[]
work of art
Q3066368
SYSTEM
Fanfan
Q3066368
AND((c(Q838948),P58,Q982361), (c(Q838948),P136,Q157443))
action filter_type
action intersection
action find_reverse
entity Q982361
relation P58
action find_reverse
entity Q157443
relation P136
type Q838948
[ANSWER] is Alexandre Jardin a screenwriter of and have comedy film as genre
{'AND': [[{'concept': 'Q838948'}, 'P58', 'Q982361'], [{'concept': 'Q838948'}, 'P136', 'Q157443']]}
SELECT DISTINCT ?o WHERE { ?o property:P58 resource:Q982361 . ?o property:P136 resource:Q157443 . ?o rdf:type ontology:Q838948 }
Fanfan
Fanfan is Alexandre Jardin a screenwriter of and have comedy film as genre
Fanfan
action filter_type
action intersection
action find_reverse
entity Alexandre Jardin
relation screenwriter
action find_reverse
entity comedy film
relation genre
type work of art
{'AND': [[{'concept': 'work of art'}, 'screenwriter', 'Alexandre Jardin'], [{'concept': 'work of art'}, 'genre', 'comedy film']]}
SELECT DISTINCT ?o WHERE { ?o property:screenwriter resource:Alexandre_Jardin . ?o property:genre resource:comedy_film . ?o rdf:type ontology:work_of_art }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3066368 Q1590859
P161
Q502895
USER
Is Paolo Enrico Massimo Lancellotti in Fanfan ?
(Q3066368,P161,Q1590859)
action is_in
entity Q1590859
action find
entity Q3066368
relation P161
['Q3066368', 'P161', 'Q1590859']
ASK WHERE { resource:Q3066368 property:P161 resource:Q1590859 }
Fanfan Paolo Enrico Massimo Lancellotti
action is_in
entity Paolo Enrico Massimo Lancellotti
action find
entity Fanfan
relation cast member
['Fanfan', 'cast member', 'Paolo Enrico Massimo Lancellotti']
ASK WHERE { resource:Fanfan property:cast_member resource:Paolo_Enrico_Massimo_Lancellotti }
[]
common name
SYSTEM
NO
(Q3066368,P161,Q1590859)
action is_in
entity Q1590859
action find
entity Q3066368
relation P161
[ANSWER]
['Q3066368', 'P161', 'Q1590859']
ASK WHERE { resource:Q3066368 property:P161 resource:Q1590859 }
No
action is_in
entity Paolo Enrico Massimo Lancellotti
action find
entity Fanfan
relation cast member
['Fanfan', 'cast member', 'Paolo Enrico Massimo Lancellotti']
ASK WHERE { resource:Fanfan property:cast_member resource:Paolo_Enrico_Massimo_Lancellotti }
[]