Simple Question (Direct)
Simple Question
Q11698889
P102
Q7278
USER
Which political party is Pere Macias a member of ?
(Q11698889,P102,c(Q7278))
action filter_type
action find
entity Q11698889
relation P102
type Q7278
['Q11698889', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?o WHERE { resource:Q11698889 property:P102 ?o . ?o rdf:type ontology:Q7278 }
Pere Macias
action filter_type
action find
entity Pere Macias
relation member of political party
type political party
['Pere Macias', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?o WHERE { resource:Pere_Macias property:member_of_political_party ?o . ?o rdf:type ontology:political_party }
[]
political party
Q1129443
SYSTEM
Democratic Convergence of Catalonia
Q1129443
(Q11698889,P102,c(Q7278))
action filter_type
action find
entity Q11698889
relation P102
type Q7278
The [ANSWER] is Pere Macias a member of
['Q11698889', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?o WHERE { resource:Q11698889 property:P102 ?o . ?o rdf:type ontology:Q7278 }
Democratic Convergence of Catalonia
The Democratic Convergence of Catalonia is Pere Macias a member of
Democratic Convergence of Catalonia
action filter_type
action find
entity Pere Macias
relation member of political party
type political party
['Pere Macias', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?o WHERE { resource:Pere_Macias property:member_of_political_party ?o . ?o rdf:type ontology:political_party }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11698889
P937
Q56061
USER
Which administrative territories are the work locations of Pere Macias ?
(Q11698889,P937,c(Q56061))
action filter_type
action find
entity Q11698889
relation P937
type Q56061
['Q11698889', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q11698889 property:P937 ?l . ?l rdf:type ontology:Q56061 }
Pere Macias
action filter_type
action find
entity Pere Macias
relation work location
type administrative territorial entity
['Pere Macias', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Pere_Macias property:work_location ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2807 Q1492
SYSTEM
Madrid, Barcelona
Q2807 Q1492
(Q11698889,P937,c(Q56061))
action filter_type
action find
entity Q11698889
relation P937
type Q56061
[ANSWERS] are the work locations of Pere Macias
['Q11698889', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q11698889 property:P937 ?l . ?l rdf:type ontology:Q56061 }
Madrid Barcelona
Madrid and Barcelona are the work locations of Pere Macias
Madrid Barcelona
action filter_type
action find
entity Pere Macias
relation work location
type administrative territorial entity
['Pere Macias', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Pere_Macias property:work_location ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7526332
Q56061
USER
And what about Sir Christopher Peto, 3rd Baronet?
(Q7526332,P937,c(Q56061))
action filter_type
action find
entity Q7526332
relation P937
type Q56061
['Q7526332', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q7526332 property:P937 ?c . ?c rdf:type ontology:Q56061 }
Sir Christopher Peto, 3rd Baronet
action filter_type
action find
entity Sir Christopher Peto, 3rd Baronet
relation work location
type administrative territorial entity
['Sir Christopher Peto, 3rd Baronet', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Sir_Christopher_Peto,_3rd_Baronet property:work_location ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q7526332,P937,c(Q56061))
action filter_type
action find
entity Q7526332
relation P937
type Q56061
[ANSWER]
['Q7526332', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q7526332 property:P937 ?c . ?c rdf:type ontology:Q56061 }
London
London
action filter_type
action find
entity Sir Christopher Peto, 3rd Baronet
relation work location
type administrative territorial entity
['Sir Christopher Peto, 3rd Baronet', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Sir_Christopher_Peto,_3rd_Baronet property:work_location ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7526332
P21
Q290
USER
Which sex does that person possess ?
(Q84,P21,c(Q290))
action filter_type
action find
entity Q7526332
relation P21
type Q290
['Q84', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q7526332 property:P21 ?a . ?a rdf:type ontology:Q290 }
Sir Christopher Peto, 3rd Baronet
action filter_type
action find
entity Sir Christopher Peto, 3rd Baronet
relation gender
type sex
['London', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Sir_Christopher_Peto,_3rd_Baronet property:gender ?a . ?a rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q84,P21,c(Q290))
action filter_type
action find
entity Q7526332
relation P21
type Q290
That person possesses a [ANSWER]
['Q84', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q7526332 property:P21 ?a . ?a rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Sir Christopher Peto, 3rd Baronet
relation gender
type sex
['London', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Sir_Christopher_Peto,_3rd_Baronet property:gender ?a . ?a rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q356014
P21
Q502895
USER
Does Harry Kellar have the gender as that sex ?
(Q356014,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q356014
relation P21
['Q356014', 'P21', 'Q6581097']
ASK WHERE { resource:Q356014 property:P21 resource:Q6581097 }
male Harry Kellar
action is_in
entity male
action find
entity Harry Kellar
relation gender
['Harry Kellar', 'gender', 'male']
ASK WHERE { resource:Harry_Kellar property:gender resource:male }
[]
common name
SYSTEM
YES
(Q356014,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q356014
relation P21
[ANSWER]
['Q356014', 'P21', 'Q6581097']
ASK WHERE { resource:Q356014 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Harry Kellar
relation gender
['Harry Kellar', 'gender', 'male']
ASK WHERE { resource:Harry_Kellar property:gender resource:male }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16078
P190
Q20667921
USER
Which french administrative division is twin town of Georgsmarienhütte ?
(c(Q20667921),P190,Q16078)
action filter_type
action find
entity Q16078
relation P190
type Q20667921
[{'concept': 'Q20667921'}, 'P190', 'Q16078']
SELECT DISTINCT ?r WHERE { resource:Q16078 property:P190 ?r . ?r rdf:type ontology:Q20667921 }
Georgsmarienhütte
action filter_type
action find
entity Georgsmarienhütte
relation sister city
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'sister city', 'Georgsmarienhütte']
SELECT DISTINCT ?r WHERE { resource:Georgsmarienhütte property:sister_city ?r . ?r rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q752503
SYSTEM
Saint-Macaire-en-Mauges
Q752503
(c(Q20667921),P190,Q16078)
action filter_type
action find
entity Q16078
relation P190
type Q20667921
[ANSWER] is twin town of Georgsmarienhütte
[{'concept': 'Q20667921'}, 'P190', 'Q16078']
SELECT DISTINCT ?r WHERE { resource:Q16078 property:P190 ?r . ?r rdf:type ontology:Q20667921 }
Saint-Macaire-en-Mauges
Saint-Macaire-en-Mauges is twin town of Georgsmarienhütte
Saint-Macaire-en-Mauges
action filter_type
action find
entity Georgsmarienhütte
relation sister city
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'sister city', 'Georgsmarienhütte']
SELECT DISTINCT ?r WHERE { resource:Georgsmarienhütte property:sister_city ?r . ?r rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q752503
P36
Q20667921
USER
Which french administrative division consists of that one as its capital ?
(c(Q20667921),P36,Q752503)
action filter_type
action find_reverse
entity Q752503
relation P36
type Q20667921
[{'concept': 'Q20667921'}, 'P36', 'Q752503']
SELECT DISTINCT ?p WHERE { ?p property:P36 resource:Q752503 . ?p rdf:type ontology:Q20667921 }
Saint-Macaire-en-Mauges
action filter_type
action find_reverse
entity Saint-Macaire-en-Mauges
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', 'Saint-Macaire-en-Mauges']
SELECT DISTINCT ?p WHERE { ?p property:capital resource:Saint-Macaire-en-Mauges . ?p rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q17623176
SYSTEM
canton of Saint-Macaire-en-Mauges
Q17623176
(c(Q20667921),P36,Q752503)
action filter_type
action find_reverse
entity Q752503
relation P36
type Q20667921
The [ANSWER] consists of that one as its capital
[{'concept': 'Q20667921'}, 'P36', 'Q752503']
SELECT DISTINCT ?p WHERE { ?p property:P36 resource:Q752503 . ?p rdf:type ontology:Q20667921 }
canton of Saint-Macaire-en-Mauges
The canton of Saint-Macaire-en-Mauges consists of that one as its capital
canton of Saint-Macaire-en-Mauges
action filter_type
action find_reverse
entity Saint-Macaire-en-Mauges
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', 'Saint-Macaire-en-Mauges']
SELECT DISTINCT ?p WHERE { ?p property:capital resource:Saint-Macaire-en-Mauges . ?p rdf:type ontology:type_of_french_administrative_division }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q17623176 Q142
P17
Q15617994
USER
Is that french administrative division present in France ?
(Q17623176,P17,Q142)
action is_in
entity Q142
action find
entity Q17623176
relation P17
['Q17623176', 'P17', 'Q142']
ASK WHERE { resource:Q17623176 property:P17 resource:Q142 }
canton of Saint-Macaire-en-Mauges France
action is_in
entity France
action find
entity canton of Saint-Macaire-en-Mauges
relation country
['canton of Saint-Macaire-en-Mauges', 'country', 'France']
ASK WHERE { resource:canton_of_Saint-Macaire-en-Mauges property:country resource:France }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q17623176,P17,Q142)
action is_in
entity Q142
action find
entity Q17623176
relation P17
[ANSWER]
['Q17623176', 'P17', 'Q142']
ASK WHERE { resource:Q17623176 property:P17 resource:Q142 }
Yes
action is_in
entity France
action find
entity canton of Saint-Macaire-en-Mauges
relation country
['canton of Saint-Macaire-en-Mauges', 'country', 'France']
ASK WHERE { resource:canton_of_Saint-Macaire-en-Mauges property:country resource:France }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q2807 Q1563 Q34820
P190
Q56061
USER
Is Madrid sister town of Havana and Santo Domingo ?
(Q2807,P190,Q1563) (Q2807,P190,Q34820)
action is_in
entity Q2807
action intersection
action find_reverse
entity Q1563
relation P190
action find_reverse
entity Q34820
relation P190
['Q2807', 'P190', 'Q1563'] ['Q2807', 'P190', 'Q34820']
ASK WHERE { resource:Q2807 property:P190 resource:Q34820 . resource:Q2807 property:P190 resource:Q1563 }
Madrid Havana Santo Domingo
action is_in
entity Madrid
action intersection
action find_reverse
entity Havana
relation sister city
action find_reverse
entity Santo Domingo
relation sister city
['Madrid', 'sister city', 'Havana'] ['Madrid', 'sister city', 'Santo Domingo']
ASK WHERE { resource:Madrid property:sister_city resource:Santo_Domingo . resource:Madrid property:sister_city resource:Havana }
[]
administrative territorial entity
SYSTEM
YES
(Q2807,P190,Q1563) (Q2807,P190,Q34820)
action is_in
entity Q2807
action intersection
action find_reverse
entity Q1563
relation P190
action find_reverse
entity Q34820
relation P190
[ANSWER]
['Q2807', 'P190', 'Q1563'] ['Q2807', 'P190', 'Q34820']
ASK WHERE { resource:Q2807 property:P190 resource:Q34820 . resource:Q2807 property:P190 resource:Q1563 }
Yes
action is_in
entity Madrid
action intersection
action find_reverse
entity Havana
relation sister city
action find_reverse
entity Santo Domingo
relation sister city
['Madrid', 'sister city', 'Havana'] ['Madrid', 'sister city', 'Santo Domingo']
ASK WHERE { resource:Madrid property:sister_city resource:Santo_Domingo . resource:Madrid property:sister_city resource:Havana }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q752503 Q142
P17
Q15617994
USER
Is Saint-Macaire-en-Mauges situated in France ?
(Q752503,P17,Q142)
action is_in
entity Q142
action find
entity Q752503
relation P17
['Q752503', 'P17', 'Q142']
ASK WHERE { resource:Q752503 property:P17 resource:Q142 }
Saint-Macaire-en-Mauges France
action is_in
entity France
action find
entity Saint-Macaire-en-Mauges
relation country
['Saint-Macaire-en-Mauges', 'country', 'France']
ASK WHERE { resource:Saint-Macaire-en-Mauges property:country resource:France }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q752503,P17,Q142)
action is_in
entity Q142
action find
entity Q752503
relation P17
[ANSWER]
['Q752503', 'P17', 'Q142']
ASK WHERE { resource:Q752503 property:P17 resource:Q142 }
Yes
action is_in
entity France
action find
entity Saint-Macaire-en-Mauges
relation country
['Saint-Macaire-en-Mauges', 'country', 'France']
ASK WHERE { resource:Saint-Macaire-en-Mauges property:country resource:France }
[]