Simple Question (Direct)
Simple Question
Q973862
P19
Q56061
USER
Which administrative territory is the place of birth of Paulino Martínez Soria ?
(Q973862,P19,c(Q56061))
action filter_type
action find
entity Q973862
relation P19
type Q56061
['Q973862', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q56061 . resource:Q973862 property:P19 ?g }
Paulino Martínez Soria
action filter_type
action find
entity Paulino Martínez Soria
relation place of birth
type administrative territorial entity
['Paulino Martínez Soria', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:administrative_territorial_entity . resource:Paulino_Martínez_Soria property:place_of_birth ?g }
[]
administrative territorial entity
Q15095
SYSTEM
Albacete
Q15095
(Q973862,P19,c(Q56061))
action filter_type
action find
entity Q973862
relation P19
type Q56061
[ANSWER] is the place of birth of Paulino Martínez Soria
['Q973862', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q56061 . resource:Q973862 property:P19 ?g }
Albacete
Albacete is the place of birth of Paulino Martínez Soria
Albacete
action filter_type
action find
entity Paulino Martínez Soria
relation place of birth
type administrative territorial entity
['Paulino Martínez Soria', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:administrative_territorial_entity . resource:Paulino_Martínez_Soria property:place_of_birth ?g }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15095
P1313
Q12737077
USER
Which occupation is fulfilled by that administrative territory ?
(Q15095,P1313,c(Q12737077))
action filter_type
action find
entity Q15095
relation P1313
type Q12737077
['Q15095', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q15095 property:P1313 ?n . ?n rdf:type ontology:Q12737077 }
Albacete
action filter_type
action find
entity Albacete
relation office held by head of government
type occupation
['Albacete', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Albacete property:office_held_by_head_of_government ?n . ?n rdf:type ontology:occupation }
[]
occupation
Q26691574
SYSTEM
mayor of Albacete
Q26691574
(Q15095,P1313,c(Q12737077))
action filter_type
action find
entity Q15095
relation P1313
type Q12737077
The [ANSWER] is fulfilled by that administrative territory
['Q15095', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q15095 property:P1313 ?n . ?n rdf:type ontology:Q12737077 }
mayor of Albacete
The mayor of Albacete is fulfilled by that administrative territory
mayor of Albacete
action filter_type
action find
entity Albacete
relation office held by head of government
type occupation
['Albacete', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Albacete property:office_held_by_head_of_government ?n . ?n rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q15095
P47
Q1048835 Q56061
USER
How many political territories and administrative territories share border with Albacete ?
(c(Q1048835),P47,Q15095) (c(Q56061),P47,Q15095)
action count
action union
action filter_type
action find_reverse
entity Q15095
relation P47
type Q1048835
action filter_type
action find_reverse
entity Q15095
relation P47
type Q56061
[{'concept': 'Q1048835'}, 'P47', 'Q15095'] [{'concept': 'Q56061'}, 'P47', 'Q15095']
SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { ?u rdf:type ?a . VALUES ( ?a ) { ( ontology:Q1048835 ) ( ontology:Q56061 ) } }
Albacete
action count
action union
action filter_type
action find_reverse
entity Albacete
relation shares border with
type political territorial entity
action filter_type
action find_reverse
entity Albacete
relation shares border with
type administrative territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Albacete'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Albacete']
SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { ?u rdf:type ?a . VALUES ( ?a ) { ( ontology:political_territorial_entity ) ( ontology:administrative_territorial_entity ) } }
[]
political territorial entity administrative territorial entity
SYSTEM
15 political territories and 1 administrative territories
Q1606184 Q1623146 Q54878 Q842652 Q605265 Q593895 Q1623065 Q605218 Q582784 Q582891 Q630706 Q1614683 Q611263 Q1622986 Q54877 Q575893
(c(Q1048835),P47,Q15095) (c(Q56061),P47,Q15095)
action count
action union
action filter_type
action find_reverse
entity Q15095
relation P47
type Q1048835
action filter_type
action find_reverse
entity Q15095
relation P47
type Q56061
[ANSWER]
[{'concept': 'Q1048835'}, 'P47', 'Q15095'] [{'concept': 'Q56061'}, 'P47', 'Q15095']
SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { ?u rdf:type ?a . VALUES ( ?a ) { ( ontology:Q1048835 ) ( ontology:Q56061 ) } }
Barrax Pozohondo Mahora Hellín Pozo Cañada Motilleja Peñas de San Pedro Pozuelo La Herrera Madrigueras La Roda La Gineta Tarazona de la Mancha Tobarra Valdeganga Chinchilla de Monte-Aragón
15 political territories and 1 administrative territories
action count
action union
action filter_type
action find_reverse
entity Albacete
relation shares border with
type political territorial entity
action filter_type
action find_reverse
entity Albacete
relation shares border with
type administrative territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Albacete'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Albacete']
SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { ?u rdf:type ?a . VALUES ( ?a ) { ( ontology:political_territorial_entity ) ( ontology:administrative_territorial_entity ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15095
P6
Q502895
USER
Which person is Albacete the head of goverment of ?
(Q15095,P6,c(Q502895))
action filter_type
action find
entity Q15095
relation P6
type Q502895
['Q15095', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q15095 property:P6 ?i . ?i rdf:type ontology:Q502895 }
Albacete
action filter_type
action find
entity Albacete
relation head of government
type common name
['Albacete', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Albacete property:head_of_government ?i . ?i rdf:type ontology:common_name }
[]
common name
Q20644681
SYSTEM
Javier Cuenca
Q20644681
(Q15095,P6,c(Q502895))
action filter_type
action find
entity Q15095
relation P6
type Q502895
[ANSWER] is Albacete the head of goverment of
['Q15095', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q15095 property:P6 ?i . ?i rdf:type ontology:Q502895 }
Javier Cuenca
Javier Cuenca is Albacete the head of goverment of
Javier Cuenca
action filter_type
action find
entity Albacete
relation head of government
type common name
['Albacete', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Albacete property:head_of_government ?i . ?i rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2911326
Q502895
USER
And how about Boroșneu Mare?
(Q2911326,P6,c(Q502895))
action filter_type
action find
entity Q2911326
relation P6
type Q502895
['Q2911326', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q2911326 property:P6 ?v . ?v rdf:type ontology:Q502895 }
Boroșneu Mare
action filter_type
action find
entity Boroșneu Mare
relation head of government
type common name
['Boroșneu Mare', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Boroșneu_Mare property:head_of_government ?v . ?v rdf:type ontology:common_name }
[]
common name
Q23925504 Q25998053
SYSTEM
Levente Szőcs, Nicolae Ilie
Q23925504 Q25998053
(Q2911326,P6,c(Q502895))
action filter_type
action find
entity Q2911326
relation P6
type Q502895
[ANSWERS]
['Q2911326', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q2911326 property:P6 ?v . ?v rdf:type ontology:Q502895 }
Levente Szőcs Nicolae Ilie
Levente Szőcs Nicolae Ilie
action filter_type
action find
entity Boroșneu Mare
relation head of government
type common name
['Boroșneu Mare', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Boroșneu_Mare property:head_of_government ?v . ?v rdf:type ontology:common_name }
[]