Simple Question (Direct)
Simple Question
Q16027135
P106
Q12737077
USER
What does Joseph Eugène Persil do for a living ?
(Q16027135,P106,c(Q12737077))
action filter_type
action find
entity Q16027135
relation P106
type Q12737077
['Q16027135', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q16027135 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
Joseph Eugène Persil
action filter_type
action find
entity Joseph Eugène Persil
relation occupation
type occupation
['Joseph Eugène Persil', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Joseph_Eugène_Persil property:occupation ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q16027135,P106,c(Q12737077))
action filter_type
action find
entity Q16027135
relation P106
type Q12737077
Joseph Eugène Persil does for a living a [ANSWER]
['Q16027135', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q16027135 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
politician
Joseph Eugène Persil does for a living a politician
politician
action filter_type
action find
entity Joseph Eugène Persil
relation occupation
type occupation
['Joseph Eugène Persil', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Joseph_Eugène_Persil property:occupation ?m . ?m rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16027135
P21
Q290
USER
Which sex does Joseph Eugène Persil belong to ?
(Q16027135,P21,c(Q290))
action filter_type
action find
entity Q16027135
relation P21
type Q290
['Q16027135', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q16027135 property:P21 ?p . ?p rdf:type ontology:Q290 }
Joseph Eugène Persil
action filter_type
action find
entity Joseph Eugène Persil
relation gender
type sex
['Joseph Eugène Persil', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Joseph_Eugène_Persil property:gender ?p . ?p rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q16027135,P21,c(Q290))
action filter_type
action find
entity Q16027135
relation P21
type Q290
Joseph Eugène Persil belongs to [ANSWER]
['Q16027135', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q16027135 property:P21 ?p . ?p rdf:type ontology:Q290 }
male
Joseph Eugène Persil belongs to male
male
action filter_type
action find
entity Joseph Eugène Persil
relation gender
type sex
['Joseph Eugène Persil', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Joseph_Eugène_Persil property:gender ?p . ?p rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q82955
P106
Q16521 Q7163
USER
How many taxons and politicss have the profession of politician ?
(c(Q16521),P106,Q82955) (c(Q7163),P106,Q82955)
action count
action union
action filter_type
action find_reverse
entity Q82955
relation P106
type Q16521
action filter_type
action find_reverse
entity Q82955
relation P106
type Q7163
[{'concept': 'Q16521'}, 'P106', 'Q82955'] [{'concept': 'Q7163'}, 'P106', 'Q82955']
SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { VALUES ( ?f ) { ( ontology:Q16521 ) ( ontology:Q7163 ) } . ?v rdf:type ?f }
politician
action count
action union
action filter_type
action find_reverse
entity politician
relation occupation
type taxon
action filter_type
action find_reverse
entity politician
relation occupation
type politics
[{'concept': 'taxon'}, 'occupation', 'politician'] [{'concept': 'politics'}, 'occupation', 'politician']
SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { VALUES ( ?f ) { ( ontology:taxon ) ( ontology:politics ) } . ?v rdf:type ?f }
[]
taxon politics
SYSTEM
2 taxons and 1 politicss
Q2475279 Q1050083 Q3101359
(c(Q16521),P106,Q82955) (c(Q7163),P106,Q82955)
action count
action union
action filter_type
action find_reverse
entity Q82955
relation P106
type Q16521
action filter_type
action find_reverse
entity Q82955
relation P106
type Q7163
[ANSWER]
[{'concept': 'Q16521'}, 'P106', 'Q82955'] [{'concept': 'Q7163'}, 'P106', 'Q82955']
SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { VALUES ( ?f ) { ( ontology:Q16521 ) ( ontology:Q7163 ) } . ?v rdf:type ?f }
Ullrich Sierau Catmando Pigasus
2 taxons and 1 politicss
action count
action union
action filter_type
action find_reverse
entity politician
relation occupation
type taxon
action filter_type
action find_reverse
entity politician
relation occupation
type politics
[{'concept': 'taxon'}, 'occupation', 'politician'] [{'concept': 'politics'}, 'occupation', 'politician']
SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { VALUES ( ?f ) { ( ontology:taxon ) ( ontology:politics ) } . ?v rdf:type ?f }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16027135
P39
Q12737077
USER
What was the position held by Joseph Eugène Persil ?
(Q16027135,P39,c(Q12737077))
action filter_type
action find
entity Q16027135
relation P39
type Q12737077
['Q16027135', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q16027135 property:P39 ?v . ?v rdf:type ontology:Q12737077 }
Joseph Eugène Persil
action filter_type
action find
entity Joseph Eugène Persil
relation position held
type occupation
['Joseph Eugène Persil', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Joseph_Eugène_Persil property:position_held ?v . ?v rdf:type ontology:occupation }
[]
occupation
Q3044918
SYSTEM
member of the French National Assembly
Q3044918
(Q16027135,P39,c(Q12737077))
action filter_type
action find
entity Q16027135
relation P39
type Q12737077
The position held by Joseph Eugène Persil was a member of the French National Assembly
['Q16027135', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q16027135 property:P39 ?v . ?v rdf:type ontology:Q12737077 }
member of the French National Assembly
The position held by Joseph Eugène Persil was a member of the French National Assembly
member of the French National Assembly
action filter_type
action find
entity Joseph Eugène Persil
relation position held
type occupation
['Joseph Eugène Persil', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Joseph_Eugène_Persil property:position_held ?v . ?v rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q3044918 Q3197941
P39
Q502895
USER
Did Kléber Loustau hold the position of that occupation ?
(Q3197941,P39,Q3044918)
action is_in
entity Q3044918
action find
entity Q3197941
relation P39
['Q3197941', 'P39', 'Q3044918']
ASK WHERE { resource:Q3197941 property:P39 resource:Q3044918 }
member of the French National Assembly Kléber Loustau
action is_in
entity member of the French National Assembly
action find
entity Kléber Loustau
relation position held
['Kléber Loustau', 'position held', 'member of the French\xa0National Assembly']
ASK WHERE { resource:Kléber_Loustau property:position_held resource:member_of_the_French National_Assembly }
[]
common name
SYSTEM
YES
(Q3197941,P39,Q3044918)
action is_in
entity Q3044918
action find
entity Q3197941
relation P39
[ANSWER]
['Q3197941', 'P39', 'Q3044918']
ASK WHERE { resource:Q3197941 property:P39 resource:Q3044918 }
Yes
action is_in
entity member of the French National Assembly
action find
entity Kléber Loustau
relation position held
['Kléber Loustau', 'position held', 'member of the French\xa0National Assembly']
ASK WHERE { resource:Kléber_Loustau property:position_held resource:member_of_the_French National_Assembly }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16027135
P20
Q56061
USER
Where did Joseph Eugène Persil die ?
(Q16027135,P20,c(Q56061))
action filter_type
action find
entity Q16027135
relation P20
type Q56061
['Q16027135', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q16027135 property:P20 ?c . ?c rdf:type ontology:Q56061 }
Joseph Eugène Persil
action filter_type
action find
entity Joseph Eugène Persil
relation place of death
type administrative territorial entity
['Joseph Eugène Persil', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Joseph_Eugène_Persil property:place_of_death ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q16027135,P20,c(Q56061))
action filter_type
action find
entity Q16027135
relation P20
type Q56061
Joseph Eugène Persil died à [ANSWER]
['Q16027135', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q16027135 property:P20 ?c . ?c rdf:type ontology:Q56061 }
Paris
Joseph Eugène Persil died à Paris
Paris
action filter_type
action find
entity Joseph Eugène Persil
relation place of death
type administrative territorial entity
['Joseph Eugène Persil', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Joseph_Eugène_Persil property:place_of_death ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16027135
P19
Q56061
USER
Where was that person born ?
(Q90,P19,c(Q56061))
action filter_type
action find
entity Q16027135
relation P19
type Q56061
['Q90', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q16027135 property:P19 ?n . ?n rdf:type ontology:Q56061 }
Joseph Eugène Persil
action filter_type
action find
entity Joseph Eugène Persil
relation place of birth
type administrative territorial entity
['Paris', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Joseph_Eugène_Persil property:place_of_birth ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q90,P19,c(Q56061))
action filter_type
action find
entity Q16027135
relation P19
type Q56061
That person was born in [ANSWER]
['Q90', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q16027135 property:P19 ?n . ?n rdf:type ontology:Q56061 }
Paris
That person was born in Paris
Paris
action filter_type
action find
entity Joseph Eugène Persil
relation place of birth
type administrative territorial entity
['Paris', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Joseph_Eugène_Persil property:place_of_birth ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16027135
P27
Q15617994
USER
Which administrative territory is Joseph Eugène Persil a civilian of ?
(Q16027135,P27,c(Q15617994))
action filter_type
action find
entity Q16027135
relation P27
type Q15617994
['Q16027135', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q16027135 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
Joseph Eugène Persil
action filter_type
action find
entity Joseph Eugène Persil
relation country of citizenship
type designation for an administrative territorial entity
['Joseph Eugène Persil', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Joseph_Eugène_Persil property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q16027135,P27,c(Q15617994))
action filter_type
action find
entity Q16027135
relation P27
type Q15617994
[ANSWER] is Joseph Eugène Persil a civilian of
['Q16027135', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q16027135 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
France
France is Joseph Eugène Persil a civilian of
France
action filter_type
action find
entity Joseph Eugène Persil
relation country of citizenship
type designation for an administrative territorial entity
['Joseph Eugène Persil', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Joseph_Eugène_Persil property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]