Simple Question (Direct)
Simple Question
Q14473974
P39
Q12737077
USER
What was the position for which Prosper André was appointed ?
(Q14473974,P39,c(Q12737077))
action filter_type
action find
entity Q14473974
relation P39
type Q12737077
['Q14473974', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q12737077 . resource:Q14473974 property:P39 ?p }
Prosper André
action filter_type
action find
entity Prosper André
relation position held
type occupation
['Prosper André', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:occupation . resource:Prosper_André property:position_held ?p }
[]
occupation
Q3044918
SYSTEM
member of the French National Assembly
Q3044918
(Q14473974,P39,c(Q12737077))
action filter_type
action find
entity Q14473974
relation P39
type Q12737077
Member of the French National Assembly
['Q14473974', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q12737077 . resource:Q14473974 property:P39 ?p }
member of the French National Assembly
Member of the French National Assembly
member of the French National Assembly
action filter_type
action find
entity Prosper André
relation position held
type occupation
['Prosper André', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:occupation . resource:Prosper_André property:position_held ?p }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q14473974
P734
Q82799
USER
Who has the surname that person ?
(Q3044918,P734,c(Q82799))
action filter_type
action find
entity Q14473974
relation P734
type Q82799
['Q3044918', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?g WHERE { resource:Q14473974 property:P734 ?g . ?g rdf:type ontology:Q82799 }
Prosper André
action filter_type
action find
entity Prosper André
relation family name
type name
['member of the French\xa0National Assembly', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?g WHERE { resource:Prosper_André property:family_name ?g . ?g rdf:type ontology:name }
[]
name
Q18643446
SYSTEM
André
Q18643446
(Q3044918,P734,c(Q82799))
action filter_type
action find
entity Q14473974
relation P734
type Q82799
[ANSWER] has the surname that person
['Q3044918', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?g WHERE { resource:Q14473974 property:P734 ?g . ?g rdf:type ontology:Q82799 }
André
André has the surname that person
André
action filter_type
action find
entity Prosper André
relation family name
type name
['member of the French\xa0National Assembly', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?g WHERE { resource:Prosper_André property:family_name ?g . ?g rdf:type ontology:name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q18643446 Q3811340
P734
Q502895
USER
Does Junko Onishi have that one as family name ?
(Q3811340,P734,Q18643446)
action is_in
entity Q3811340
action find
entity Q18643446
relation P734
['Q3811340', 'P734', 'Q18643446']
ASK WHERE { resource:Q18643446 property:P734 resource:Q3811340 }
André Junko Onishi
action is_in
entity Junko Onishi
action find
entity André
relation family name
['Junko Onishi', 'family name', 'André']
ASK WHERE { resource:André property:family_name resource:Junko_Onishi }
[]
common name
SYSTEM
NO
(Q3811340,P734,Q18643446)
action is_in
entity Q3811340
action find
entity Q18643446
relation P734
[ANSWER]
['Q3811340', 'P734', 'Q18643446']
ASK WHERE { resource:Q18643446 property:P734 resource:Q3811340 }
No
action is_in
entity Junko Onishi
action find
entity André
relation family name
['Junko Onishi', 'family name', 'André']
ASK WHERE { resource:André property:family_name resource:Junko_Onishi }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q14473974
P20
Q56061
USER
Which administrative territory is the place of death of Prosper André ?
(Q14473974,P20,c(Q56061))
action filter_type
action find
entity Q14473974
relation P20
type Q56061
['Q14473974', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q14473974 property:P20 ?h . ?h rdf:type ontology:Q56061 }
Prosper André
action filter_type
action find
entity Prosper André
relation place of death
type administrative territorial entity
['Prosper André', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Prosper_André property:place_of_death ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2721859
SYSTEM
Saint-Servan
Q2721859
(Q14473974,P20,c(Q56061))
action filter_type
action find
entity Q14473974
relation P20
type Q56061
[ANSWER] is the place of death of Prosper André
['Q14473974', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q14473974 property:P20 ?h . ?h rdf:type ontology:Q56061 }
Saint-Servan
Saint-Servan is the place of death of Prosper André
Saint-Servan
action filter_type
action find
entity Prosper André
relation place of death
type administrative territorial entity
['Prosper André', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Prosper_André property:place_of_death ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q14473974
P19
Q20667921
USER
Which french administrative division was Prosper André born in ?
(Q14473974,P19,c(Q20667921))
action filter_type
action find
entity Q14473974
relation P19
type Q20667921
['Q14473974', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?o WHERE { resource:Q14473974 property:P19 ?o . ?o rdf:type ontology:Q20667921 }
Prosper André
action filter_type
action find
entity Prosper André
relation place of birth
type type of french administrative division
['Prosper André', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?o WHERE { resource:Prosper_André property:place_of_birth ?o . ?o rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1062214
SYSTEM
Fillières
Q1062214
(Q14473974,P19,c(Q20667921))
action filter_type
action find
entity Q14473974
relation P19
type Q20667921
Prosper André was born à [ANSWER]
['Q14473974', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?o WHERE { resource:Q14473974 property:P19 ?o . ?o rdf:type ontology:Q20667921 }
Fillières
Prosper André was born à Fillières
Fillières
action filter_type
action find
entity Prosper André
relation place of birth
type type of french administrative division
['Prosper André', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?o WHERE { resource:Prosper_André property:place_of_birth ?o . ?o rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q22210411
Q20667921
USER
And how about Adèle Daminois?
(Q22210411,P19,c(Q20667921))
action filter_type
action find
entity Q22210411
relation P19
type Q20667921
['Q22210411', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?c WHERE { resource:Q22210411 property:P19 ?c . ?c rdf:type ontology:Q20667921 }
Adèle Daminois
action filter_type
action find
entity Adèle Daminois
relation place of birth
type type of french administrative division
['Adèle Daminois', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?c WHERE { resource:Adèle_Daminois property:place_of_birth ?c . ?c rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q462534
SYSTEM
Clermont
Q462534
(Q22210411,P19,c(Q20667921))
action filter_type
action find
entity Q22210411
relation P19
type Q20667921
[ANSWER]
['Q22210411', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?c WHERE { resource:Q22210411 property:P19 ?c . ?c rdf:type ontology:Q20667921 }
Clermont
Clermont
action filter_type
action find
entity Adèle Daminois
relation place of birth
type type of french administrative division
['Adèle Daminois', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?c WHERE { resource:Adèle_Daminois property:place_of_birth ?c . ?c rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q462534
P47
Q20667921
USER
Which french administrative divisions are bordered by that one ?
(c(Q20667921),P47,Q462534)
action filter_type
action find
entity Q462534
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q462534']
SELECT DISTINCT ?h WHERE { resource:Q462534 property:P47 ?h . ?h rdf:type ontology:Q20667921 }
Clermont
action filter_type
action find
entity Clermont
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Clermont']
SELECT DISTINCT ?h WHERE { resource:Clermont property:shares_border_with ?h . ?h rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1346647 Q1346743 Q602066
SYSTEM
Breuil-le-Sec, Agnetz, Neuilly-sous-Clermont
Q943707 Q1346647 Q602066 Q1346743 Q690520
(c(Q20667921),P47,Q462534)
action filter_type
action find
entity Q462534
relation P47
type Q20667921
[ANSWERS] are bordered by that one
[{'concept': 'Q20667921'}, 'P47', 'Q462534']
SELECT DISTINCT ?h WHERE { resource:Q462534 property:P47 ?h . ?h rdf:type ontology:Q20667921 }
Breuil-le-Vert Breuil-le-Sec Neuilly-sous-Clermont Agnetz Fitz-James
Breuil-le-Sec, Agnetz and Neuilly-sous-Clermont are bordered by that one
Breuil-le-Sec Agnetz Neuilly-sous-Clermont
action filter_type
action find
entity Clermont
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Clermont']
SELECT DISTINCT ?h WHERE { resource:Clermont property:shares_border_with ?h . ?h rdf:type ontology:type_of_french_administrative_division }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q1075872 Q462534
P47
Q20667921
USER
Or Recoubeau-Jansac?
OR((c(Q20667921),P47,Q462534), (c(Q20667921),P47,Q1075872))
action filter_type
action union
action find_reverse
entity Q462534
relation P47
action find_reverse
entity Q1075872
relation P47
type Q20667921
{'OR': [[{'concept': 'Q20667921'}, 'P47', 'Q462534'], [{'concept': 'Q20667921'}, 'P47', 'Q1075872']]}
SELECT DISTINCT ?f WHERE { { VALUES ( ?n ) { ( resource:Q462534 ) ( resource:Q1075872 ) } . ?f property:P47 ?n } . ?f rdf:type ontology:Q20667921 }
Recoubeau-Jansac Clermont
action filter_type
action union
action find_reverse
entity Clermont
relation shares border with
action find_reverse
entity Recoubeau-Jansac
relation shares border with
type type of french administrative division
{'OR': [[{'concept': 'type of french administrative division'}, 'shares border with', 'Clermont'], [{'concept': 'type of french administrative division'}, 'shares border with', 'Recoubeau-Jansac']]}
SELECT DISTINCT ?f WHERE { { VALUES ( ?n ) { ( resource:Clermont ) ( resource:Recoubeau-Jansac ) } . ?f property:shares_border_with ?n } . ?f rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q943707 Q672159 Q690520 Q1009463 Q767581 Q602066 Q1009344 Q1346647 Q782469 Q1346743
SYSTEM
Breuil-le-Vert, Montlaur-en-Diois, Fitz-James, Barnave, Aucelon, Neuilly-sous-Clermont, Menglon, Breuil-le-Sec, Luc-en-Diois, Agnetz
Q943707 Q672159 Q690520 Q1009463 Q767581 Q602066 Q1009344 Q1346647 Q782469 Q1346743
OR((c(Q20667921),P47,Q462534), (c(Q20667921),P47,Q1075872))
action filter_type
action union
action find_reverse
entity Q462534
relation P47
action find_reverse
entity Q1075872
relation P47
type Q20667921
[ANSWERS]
{'OR': [[{'concept': 'Q20667921'}, 'P47', 'Q462534'], [{'concept': 'Q20667921'}, 'P47', 'Q1075872']]}
SELECT DISTINCT ?f WHERE { { VALUES ( ?n ) { ( resource:Q462534 ) ( resource:Q1075872 ) } . ?f property:P47 ?n } . ?f rdf:type ontology:Q20667921 }
Breuil-le-Vert Montlaur-en-Diois Fitz-James Barnave Aucelon Neuilly-sous-Clermont Menglon Breuil-le-Sec Luc-en-Diois Agnetz
Breuil-le-Vert Montlaur-en-Diois Fitz-James Barnave Aucelon Neuilly-sous-Clermont Menglon Breuil-le-Sec Luc-en-Diois Agnetz
action filter_type
action union
action find_reverse
entity Clermont
relation shares border with
action find_reverse
entity Recoubeau-Jansac
relation shares border with
type type of french administrative division
{'OR': [[{'concept': 'type of french administrative division'}, 'shares border with', 'Clermont'], [{'concept': 'type of french administrative division'}, 'shares border with', 'Recoubeau-Jansac']]}
SELECT DISTINCT ?f WHERE { { VALUES ( ?n ) { ( resource:Clermont ) ( resource:Recoubeau-Jansac ) } . ?f property:shares_border_with ?n } . ?f rdf:type ontology:type_of_french_administrative_division }
[]