Simple Question (Direct)
Simple Question
Q626382
P6
Q502895
USER
Which people are the head of government of Somain ?
(Q626382,P6,c(Q502895))
action filter_type
action find
entity Q626382
relation P6
type Q502895
['Q626382', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q626382 property:P6 ?u . ?u rdf:type ontology:Q502895 }
Somain
action filter_type
action find
entity Somain
relation head of government
type common name
['Somain', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Somain property:head_of_government ?u . ?u rdf:type ontology:common_name }
[]
common name
Q23044535 Q21403097
SYSTEM
Julien Quennesson, Jean-Claude Quennesson
Q23044535 Q21403097
(Q626382,P6,c(Q502895))
action filter_type
action find
entity Q626382
relation P6
type Q502895
And [ANSWERS] are the head of government of Somain
['Q626382', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q626382 property:P6 ?u . ?u rdf:type ontology:Q502895 }
Julien Quennesson Jean-Claude Quennesson
And Julien Quennesson and Jean-Claude Quennesson are the head of government of Somain
Julien Quennesson Jean-Claude Quennesson
action filter_type
action find
entity Somain
relation head of government
type common name
['Somain', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Somain property:head_of_government ?u . ?u rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23044535
P40
Q502895
USER
Who has Julien Quennesson as a child ?
(c(Q502895),P40,Q23044535)
action filter_type
action find_reverse
entity Q23044535
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q23044535']
SELECT DISTINCT ?z WHERE { ?z property:P40 resource:Q23044535 . ?z rdf:type ontology:Q502895 }
Julien Quennesson
action filter_type
action find_reverse
entity Julien Quennesson
relation child
type common name
[{'concept': 'common name'}, 'child', 'Julien Quennesson']
SELECT DISTINCT ?z WHERE { ?z property:child resource:Julien_Quennesson . ?z rdf:type ontology:common_name }
[]
common name
Q21403097
SYSTEM
Jean-Claude Quennesson
Q21403097
(c(Q502895),P40,Q23044535)
action filter_type
action find_reverse
entity Q23044535
relation P40
type Q502895
[ANSWER] has Julien Quennesson as a child
[{'concept': 'Q502895'}, 'P40', 'Q23044535']
SELECT DISTINCT ?z WHERE { ?z property:P40 resource:Q23044535 . ?z rdf:type ontology:Q502895 }
Jean-Claude Quennesson
Jean-Claude Quennesson has Julien Quennesson as a child
Jean-Claude Quennesson
action filter_type
action find_reverse
entity Julien Quennesson
relation child
type common name
[{'concept': 'common name'}, 'child', 'Julien Quennesson']
SELECT DISTINCT ?z WHERE { ?z property:child resource:Julien_Quennesson . ?z rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21403097
P22
Q502895
USER
Which person has that one as a parent ?
(c(Q502895),P22,Q21403097)
action filter_type
action find_reverse
entity Q21403097
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q21403097']
SELECT DISTINCT ?n WHERE { ?n property:P22 resource:Q21403097 . ?n rdf:type ontology:Q502895 }
Jean-Claude Quennesson
action filter_type
action find_reverse
entity Jean-Claude Quennesson
relation father
type common name
[{'concept': 'common name'}, 'father', 'Jean-Claude Quennesson']
SELECT DISTINCT ?n WHERE { ?n property:father resource:Jean-Claude_Quennesson . ?n rdf:type ontology:common_name }
[]
common name
Q23044535
SYSTEM
Julien Quennesson
Q23044535
(c(Q502895),P22,Q21403097)
action filter_type
action find_reverse
entity Q21403097
relation P22
type Q502895
[ANSWER] has that one as a parent
[{'concept': 'Q502895'}, 'P22', 'Q21403097']
SELECT DISTINCT ?n WHERE { ?n property:P22 resource:Q21403097 . ?n rdf:type ontology:Q502895 }
Julien Quennesson
Julien Quennesson has that one as a parent
Julien Quennesson
action filter_type
action find_reverse
entity Jean-Claude Quennesson
relation father
type common name
[{'concept': 'common name'}, 'father', 'Jean-Claude Quennesson']
SELECT DISTINCT ?n WHERE { ?n property:father resource:Jean-Claude_Quennesson . ?n rdf:type ontology:common_name }
[]