Simple Question (Direct)
Simple Question
Q1751781
P1313
Q12737077
USER
What is the occupation held by Rus ?
(Q1751781,P1313,c(Q12737077))
action filter_type
action find
entity Q1751781
relation P1313
type Q12737077
['Q1751781', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q12737077 . resource:Q1751781 property:P1313 ?h }
Rus
action filter_type
action find
entity Rus
relation office held by head of government
type occupation
['Rus', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:occupation . resource:Rus property:office_held_by_head_of_government ?h }
[]
occupation
Q26695267
SYSTEM
mayor of Rus
Q26695267
(Q1751781,P1313,c(Q12737077))
action filter_type
action find
entity Q1751781
relation P1313
type Q12737077
The occupation held by Rus is the [ANSWER]
['Q1751781', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q12737077 . resource:Q1751781 property:P1313 ?h }
mayor of Rus
The occupation held by Rus is the mayor of Rus
mayor of Rus
action filter_type
action find
entity Rus
relation office held by head of government
type occupation
['Rus', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:occupation . resource:Rus property:office_held_by_head_of_government ?h }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1751781
P47
Q1048835
USER
Which political territories share border with that one ?
(c(Q1048835),P47,Q26695267)
action filter_type
action find_reverse
entity Q1751781
relation P47
type Q1048835
[{'concept': 'Q1048835'}, 'P47', 'Q26695267']
SELECT DISTINCT ?g WHERE { ?g property:P47 resource:Q1751781 . ?g rdf:type ontology:Q1048835 }
Rus
action filter_type
action find_reverse
entity Rus
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'mayor of Rus']
SELECT DISTINCT ?g WHERE { ?g property:shares_border_with resource:Rus . ?g rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1641651 Q684071 Q488555
SYSTEM
Ibros, Vilches, Spain, Baeza
Q1641651 Q684071 Q488555
(c(Q1048835),P47,Q26695267)
action filter_type
action find_reverse
entity Q1751781
relation P47
type Q1048835
[ANSWERS] share border with that one
[{'concept': 'Q1048835'}, 'P47', 'Q26695267']
SELECT DISTINCT ?g WHERE { ?g property:P47 resource:Q1751781 . ?g rdf:type ontology:Q1048835 }
Ibros Vilches, Spain Baeza
Ibros, Vilches, Spain and Baeza share border with that one
Ibros Vilches, Spain Baeza
action filter_type
action find_reverse
entity Rus
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'mayor of Rus']
SELECT DISTINCT ?g WHERE { ?g property:shares_border_with resource:Rus . ?g rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15470
P6
Q502895
USER
Which person is the head of government of L'Hospitalet de Llobregat ?
(Q15470,P6,c(Q502895))
action filter_type
action find
entity Q15470
relation P6
type Q502895
['Q15470', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . resource:Q15470 property:P6 ?q }
L'Hospitalet de Llobregat
action filter_type
action find
entity L'Hospitalet de Llobregat
relation head of government
type common name
["L'Hospitalet de Llobregat", 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . resource:L'Hospitalet_de_Llobregat property:head_of_government ?q }
[]
common name
Q2329526
SYSTEM
Núria Marín Martínez
Q2329526
(Q15470,P6,c(Q502895))
action filter_type
action find
entity Q15470
relation P6
type Q502895
[ANSWER] is the head of government of L'Hospitalet de Llobregat
['Q15470', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . resource:Q15470 property:P6 ?q }
Núria Marín Martínez
Núria Marín Martínez is the head of government of L'Hospitalet de Llobregat
Núria Marín Martínez
action filter_type
action find
entity L'Hospitalet de Llobregat
relation head of government
type common name
["L'Hospitalet de Llobregat", 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . resource:L'Hospitalet_de_Llobregat property:head_of_government ?q }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1641499
Q502895
USER
And how about Villaquirán de la Puebla?
(Q1641499,P6,c(Q502895))
action filter_type
action find
entity Q1641499
relation P6
type Q502895
['Q1641499', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q1641499 property:P6 ?c . ?c rdf:type ontology:Q502895 }
Villaquirán de la Puebla
action filter_type
action find
entity Villaquirán de la Puebla
relation head of government
type common name
['Villaquirán de la Puebla', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Villaquirán_de_la_Puebla property:head_of_government ?c . ?c rdf:type ontology:common_name }
[]
common name
Q14053847
SYSTEM
Julian Diez Delgado
Q14053847
(Q1641499,P6,c(Q502895))
action filter_type
action find
entity Q1641499
relation P6
type Q502895
[ANSWER]
['Q1641499', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q1641499 property:P6 ?c . ?c rdf:type ontology:Q502895 }
Julian Diez Delgado
Julian Diez Delgado
action filter_type
action find
entity Villaquirán de la Puebla
relation head of government
type common name
['Villaquirán de la Puebla', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Villaquirán_de_la_Puebla property:head_of_government ?c . ?c rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q14053847 Q29
P27
Q15617994
USER
Is Julian Diez Delgado a civilian of Spain ?
(Q14053847,P27,Q29)
action is_in
entity Q29
action find
entity Q14053847
relation P27
['Q14053847', 'P27', 'Q29']
ASK WHERE { resource:Q14053847 property:P27 resource:Q29 }
Julian Diez Delgado Spain
action is_in
entity Spain
action find
entity Julian Diez Delgado
relation country of citizenship
['Julian Diez Delgado', 'country of citizenship', 'Spain']
ASK WHERE { resource:Julian_Diez_Delgado property:country_of_citizenship resource:Spain }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q14053847,P27,Q29)
action is_in
entity Q29
action find
entity Q14053847
relation P27
[ANSWER]
['Q14053847', 'P27', 'Q29']
ASK WHERE { resource:Q14053847 property:P27 resource:Q29 }
Yes
action is_in
entity Spain
action find
entity Julian Diez Delgado
relation country of citizenship
['Julian Diez Delgado', 'country of citizenship', 'Spain']
ASK WHERE { resource:Julian_Diez_Delgado property:country_of_citizenship resource:Spain }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1641651 Q686804 Q552390
P17
Q15617994
USER
Is Ibros located in Halenbeck-Rohlsdorf and Wittingen ?
(Q1641651,P17,Q686804) (Q1641651,P17,Q552390)
action is_in
entity Q1641651
action intersection
action find_reverse
entity Q686804
relation P17
action find_reverse
entity Q552390
relation P17
['Q1641651', 'P17', 'Q686804'] ['Q1641651', 'P17', 'Q552390']
ASK WHERE { resource:Q1641651 property:P17 resource:Q686804 . resource:Q1641651 property:P17 resource:Q552390 }
Ibros Halenbeck-Rohlsdorf Wittingen
action is_in
entity Ibros
action intersection
action find_reverse
entity Halenbeck-Rohlsdorf
relation country
action find_reverse
entity Wittingen
relation country
['Ibros', 'country', 'Halenbeck-Rohlsdorf'] ['Ibros', 'country', 'Wittingen']
ASK WHERE { resource:Ibros property:country resource:Halenbeck-Rohlsdorf . resource:Ibros property:country resource:Wittingen }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q1641651,P17,Q686804) (Q1641651,P17,Q552390)
action is_in
entity Q1641651
action intersection
action find_reverse
entity Q686804
relation P17
action find_reverse
entity Q552390
relation P17
[ANSWER]
['Q1641651', 'P17', 'Q686804'] ['Q1641651', 'P17', 'Q552390']
ASK WHERE { resource:Q1641651 property:P17 resource:Q686804 . resource:Q1641651 property:P17 resource:Q552390 }
No
action is_in
entity Ibros
action intersection
action find_reverse
entity Halenbeck-Rohlsdorf
relation country
action find_reverse
entity Wittingen
relation country
['Ibros', 'country', 'Halenbeck-Rohlsdorf'] ['Ibros', 'country', 'Wittingen']
ASK WHERE { resource:Ibros property:country resource:Halenbeck-Rohlsdorf . resource:Ibros property:country resource:Wittingen }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1641651
P47
Q1048835
USER
How many political territories have a shared border with Ibros ?
(Q1641651,P47,c(Q1048835))
action count
action filter_type
action find
entity Q1641651
relation P47
type Q1048835
['Q1641651', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { resource:Q1641651 property:P47 ?p . ?p rdf:type ontology:Q1048835 }
Ibros
action count
action filter_type
action find
entity Ibros
relation shares border with
type political territorial entity
['Ibros', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { resource:Ibros property:shares_border_with ?p . ?p rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
6
Q1611920 Q1641680 Q684071 Q488555 Q281272 Q1751781
(Q1641651,P47,c(Q1048835))
action count
action filter_type
action find
entity Q1641651
relation P47
type Q1048835
[ANSWER]
['Q1641651', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { resource:Q1641651 property:P47 ?p . ?p rdf:type ontology:Q1048835 }
Canena Lupión Vilches, Spain Baeza Linares Rus
6
action count
action filter_type
action find
entity Ibros
relation shares border with
type political territorial entity
['Ibros', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { resource:Ibros property:shares_border_with ?p . ?p rdf:type ontology:political_territorial_entity }
[]