Simple Question (Direct)
Simple Question
Q5483410
P937
Q56061
USER
What is the work location of Francisco Gaviña Ribelles ?
(Q5483410,P937,c(Q56061))
action filter_type
action find
entity Q5483410
relation P937
type Q56061
['Q5483410', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q5483410 property:P937 ?q . ?q rdf:type ontology:Q56061 }
Francisco Gaviña Ribelles
action filter_type
action find
entity Francisco Gaviña Ribelles
relation work location
type administrative territorial entity
['Francisco Gaviña Ribelles', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Francisco_Gaviña_Ribelles property:work_location ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2807
SYSTEM
Madrid
Q2807
(Q5483410,P937,c(Q56061))
action filter_type
action find
entity Q5483410
relation P937
type Q56061
The work location of Francisco Gaviña Ribelles is in [ANSWER]
['Q5483410', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q5483410 property:P937 ?q . ?q rdf:type ontology:Q56061 }
Madrid
The work location of Francisco Gaviña Ribelles is in Madrid
Madrid
action filter_type
action find
entity Francisco Gaviña Ribelles
relation work location
type administrative territorial entity
['Francisco Gaviña Ribelles', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Francisco_Gaviña_Ribelles property:work_location ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5483410
P19
Q56061
USER
Which administrative territory was that person born in ?
(Q2807,P19,c(Q56061))
action filter_type
action find
entity Q5483410
relation P19
type Q56061
['Q2807', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q5483410 property:P19 ?h . ?h rdf:type ontology:Q56061 }
Francisco Gaviña Ribelles
action filter_type
action find
entity Francisco Gaviña Ribelles
relation place of birth
type administrative territorial entity
['Madrid', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Francisco_Gaviña_Ribelles property:place_of_birth ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q8818
SYSTEM
Valencia
Q8818
(Q2807,P19,c(Q56061))
action filter_type
action find
entity Q5483410
relation P19
type Q56061
That person was born in [ANSWER]
['Q2807', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q5483410 property:P19 ?h . ?h rdf:type ontology:Q56061 }
Valencia
That person was born in Valencia
Valencia
action filter_type
action find
entity Francisco Gaviña Ribelles
relation place of birth
type administrative territorial entity
['Madrid', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Francisco_Gaviña_Ribelles property:place_of_birth ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q8818 Q173270
P190
Q486972
USER
Is Veracruz twin town of Valencia ?
(Q8818,P190,Q173270)
action is_in
entity Q173270
action find
entity Q8818
relation P190
['Q8818', 'P190', 'Q173270']
ASK WHERE { resource:Q8818 property:P190 resource:Q173270 }
Valencia Veracruz
action is_in
entity Veracruz
action find
entity Valencia
relation sister city
['Valencia', 'sister city', 'Veracruz']
ASK WHERE { resource:Valencia property:sister_city resource:Veracruz }
[]
human settlement
SYSTEM
YES
(Q8818,P190,Q173270)
action is_in
entity Q173270
action find
entity Q8818
relation P190
[ANSWER]
['Q8818', 'P190', 'Q173270']
ASK WHERE { resource:Q8818 property:P190 resource:Q173270 }
Yes
action is_in
entity Veracruz
action find
entity Valencia
relation sister city
['Valencia', 'sister city', 'Veracruz']
ASK WHERE { resource:Valencia property:sister_city resource:Veracruz }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q2807 Q4985564 Q3455515
P190
Q56061
USER
Is Madrid a sister city of Buerat and Palumäe ?
(Q2807,P190,Q4985564) (Q2807,P190,Q3455515)
action is_in
entity Q2807
action intersection
action find_reverse
entity Q4985564
relation P190
action find_reverse
entity Q3455515
relation P190
['Q2807', 'P190', 'Q4985564'] ['Q2807', 'P190', 'Q3455515']
ASK WHERE { resource:Q2807 property:P190 resource:Q4985564 . resource:Q2807 property:P190 resource:Q3455515 }
Madrid Buerat Palumäe
action is_in
entity Madrid
action intersection
action find_reverse
entity Buerat
relation sister city
action find_reverse
entity Palumäe
relation sister city
['Madrid', 'sister city', 'Buerat'] ['Madrid', 'sister city', 'Palumäe']
ASK WHERE { resource:Madrid property:sister_city resource:Buerat . resource:Madrid property:sister_city resource:Palumäe }
[]
administrative territorial entity
SYSTEM
NO
(Q2807,P190,Q4985564) (Q2807,P190,Q3455515)
action is_in
entity Q2807
action intersection
action find_reverse
entity Q4985564
relation P190
action find_reverse
entity Q3455515
relation P190
[ANSWER]
['Q2807', 'P190', 'Q4985564'] ['Q2807', 'P190', 'Q3455515']
ASK WHERE { resource:Q2807 property:P190 resource:Q4985564 . resource:Q2807 property:P190 resource:Q3455515 }
No
action is_in
entity Madrid
action intersection
action find_reverse
entity Buerat
relation sister city
action find_reverse
entity Palumäe
relation sister city
['Madrid', 'sister city', 'Buerat'] ['Madrid', 'sister city', 'Palumäe']
ASK WHERE { resource:Madrid property:sister_city resource:Buerat . resource:Madrid property:sister_city resource:Palumäe }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q2807
P47
Q1048835
USER
How many political territories share the border with Madrid ?
(Q2807,P47,c(Q1048835))
action count
action filter_type
action find
entity Q2807
relation P47
type Q1048835
['Q2807', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { resource:Q2807 property:P47 ?h . ?h rdf:type ontology:Q1048835 }
Madrid
action count
action filter_type
action find
entity Madrid
relation shares border with
type political territorial entity
['Madrid', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { resource:Madrid property:shares_border_with ?h . ?h rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
14
Q77433 Q664769 Q484717 Q427505 Q592747 Q55480 Q644481 Q639422 Q10372 Q2046249 Q164197 Q842211 Q542958 Q910410
(Q2807,P47,c(Q1048835))
action count
action filter_type
action find
entity Q2807
relation P47
type Q1048835
[ANSWER]
['Q2807', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { resource:Q2807 property:P47 ?h . ?h rdf:type ontology:Q1048835 }
Leganés Hoyo de Manzanares San Sebastián de los Reyes Majadahonda Las Rozas de Madrid Colmenar Viejo Rivas-Vaciamadrid Pozuelo de Alarcón Alcorcón Paracuellos de Jarama Coslada San Fernando de Henares Torrelodones Tres Cantos
14
action count
action filter_type
action find
entity Madrid
relation shares border with
type political territorial entity
['Madrid', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { resource:Madrid property:shares_border_with ?h . ?h rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q132418
P47
Q1048835
USER
And how about Northern Cape?
(Q132418,P47,c(Q1048835))
action count
action filter_type
action find
entity Q132418
relation P47
type Q1048835
['Q132418', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { resource:Q132418 property:P47 ?k . ?k rdf:type ontology:Q1048835 }
Northern Cape
action count
action filter_type
action find
entity Northern Cape
relation shares border with
type political territorial entity
['Northern Cape', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { resource:Northern_Cape property:shares_border_with ?k . ?k rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
4
Q127167 Q165956 Q130840 Q160284
(Q132418,P47,c(Q1048835))
action count
action filter_type
action find
entity Q132418
relation P47
type Q1048835
[ANSWER]
['Q132418', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { resource:Q132418 property:P47 ?k . ?k rdf:type ontology:Q1048835 }
Western Cape North West Eastern Cape Free State
4
action count
action filter_type
action find
entity Northern Cape
relation shares border with
type political territorial entity
['Northern Cape', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { resource:Northern_Cape property:shares_border_with ?k . ?k rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q230368
Q1048835
USER
And what about Caravaca de la Cruz?
(Q230368,P47,c(Q1048835))
action count
action filter_type
action find
entity Q230368
relation P47
type Q1048835
['Q230368', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { resource:Q230368 property:P47 ?t . ?t rdf:type ontology:Q1048835 }
Caravaca de la Cruz
action count
action filter_type
action find
entity Caravaca de la Cruz
relation shares border with
type political territorial entity
['Caravaca de la Cruz', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { resource:Caravaca_de_la_Cruz property:shares_border_with ?t . ?t rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
4
(Q230368,P47,c(Q1048835))
action count
action filter_type
action find
entity Q230368
relation P47
type Q1048835
[ANSWER]
['Q230368', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { resource:Q230368 property:P47 ?t . ?t rdf:type ontology:Q1048835 }
4
action count
action filter_type
action find
entity Caravaca de la Cruz
relation shares border with
type political territorial entity
['Caravaca de la Cruz', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { resource:Caravaca_de_la_Cruz property:shares_border_with ?t . ?t rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P609
Q56061 Q34442 Q83620
USER
Which administrative territories are the destinations of max number of roads or thoroughfares ?
(c(Q34442)|c(Q83620),P609,c(Q56061))
action argmax
action union
action find_reverse_tuple_counts
relation P609
type Q56061
type Q34442
action find_reverse_tuple_counts
relation P609
type Q56061
type Q83620
[[{'concept': 'Q34442'}, {'concept': 'Q83620'}], 'P609', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MAX ( ?m ) AS ?x ) { SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) ?t WHERE { VALUES ( ?s ) { ( ontology:Q34442 ) ( ontology:Q83620 ) } . ?p rdf:type ?s } GROUP BY ?t } } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) ?o WHERE { ?h rdf:type ?c . VALUES ( ?c ) { ( ontology:Q34442 ) ( ontology:Q83620 ) } } GROUP BY ?o } . FILTER ( ?l = ?x ) }
action argmax
action union
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type road
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type thoroughfare
[[{'concept': 'road'}, {'concept': 'thoroughfare'}], 'terminus location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MAX ( ?m ) AS ?x ) { SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) ?t WHERE { VALUES ( ?s ) { ( ontology:road ) ( ontology:thoroughfare ) } . ?p rdf:type ?s } GROUP BY ?t } } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) ?o WHERE { ?h rdf:type ?c . VALUES ( ?c ) { ( ontology:road ) ( ontology:thoroughfare ) } } GROUP BY ?o } . FILTER ( ?l = ?x ) }
[]
administrative territorial entity road thoroughfare
Q727
SYSTEM
Amsterdam
Q727
(c(Q34442)|c(Q83620),P609,c(Q56061))
action argmax
action union
action find_reverse_tuple_counts
relation P609
type Q56061
type Q34442
action find_reverse_tuple_counts
relation P609
type Q56061
type Q83620
[ANSWER] is the destinations of max number of roads or thoroughfares
[[{'concept': 'Q34442'}, {'concept': 'Q83620'}], 'P609', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MAX ( ?m ) AS ?x ) { SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) ?t WHERE { VALUES ( ?s ) { ( ontology:Q34442 ) ( ontology:Q83620 ) } . ?p rdf:type ?s } GROUP BY ?t } } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) ?o WHERE { ?h rdf:type ?c . VALUES ( ?c ) { ( ontology:Q34442 ) ( ontology:Q83620 ) } } GROUP BY ?o } . FILTER ( ?l = ?x ) }
Amsterdam
Amsterdam is the destinations of max number of roads or thoroughfares
Amsterdam
action argmax
action union
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type road
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type thoroughfare
[[{'concept': 'road'}, {'concept': 'thoroughfare'}], 'terminus location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MAX ( ?m ) AS ?x ) { SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) ?t WHERE { VALUES ( ?s ) { ( ontology:road ) ( ontology:thoroughfare ) } . ?p rdf:type ?s } GROUP BY ?t } } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) ?o WHERE { ?h rdf:type ?c . VALUES ( ?c ) { ( ontology:road ) ( ontology:thoroughfare ) } } GROUP BY ?o } . FILTER ( ?l = ?x ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P190
Q56061
USER
How many administrative territories are partner towns of that administrative territory ?
(Q727,P190,c(Q56061))
action count
action filter_type
action find
entity Q727
relation P190
type Q56061
['Q727', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { resource:Q727 property:P190 ?w . ?w rdf:type ontology:Q56061 }
action count
action filter_type
action find
entity Amsterdam
relation sister city
type administrative territorial entity
['Amsterdam', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { resource:Amsterdam property:sister_city ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
15
Q3856 Q3630 Q340 Q6506 Q18125 Q8678 Q649 Q132679 Q51103 Q3561 Q1524 Q3274 Q956 Q211563 Q406
(Q727,P190,c(Q56061))
action count
action filter_type
action find
entity Q727
relation P190
type Q56061
[ANSWER]
['Q727', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { resource:Q727 property:P190 ?w . ?w rdf:type ontology:Q56061 }
Nicosia Jakarta Montreal Varna Manchester Rio de Janeiro Moscow Willemstad Cali Algiers Athens Managua Beijing Beira Istanbul
15
action count
action filter_type
action find
entity Amsterdam
relation sister city
type administrative territorial entity
['Amsterdam', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { resource:Amsterdam property:sister_city ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q173270
P931
Q62447
USER
Which aerodrome is served by Veracruz ?
(c(Q62447),P931,Q173270)
action filter_type
action find_reverse
entity Q173270
relation P931
type Q62447
[{'concept': 'Q62447'}, 'P931', 'Q173270']
SELECT DISTINCT ?z WHERE { ?z property:P931 resource:Q173270 . ?z rdf:type ontology:Q62447 }
Veracruz
action filter_type
action find_reverse
entity Veracruz
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Veracruz']
SELECT DISTINCT ?z WHERE { ?z property:place_served_by_airport resource:Veracruz . ?z rdf:type ontology:aerodrome }
[]
aerodrome
Q3274799
SYSTEM
General Heriberto Jara International Airport
Q3274799
(c(Q62447),P931,Q173270)
action filter_type
action find_reverse
entity Q173270
relation P931
type Q62447
[ANSWER] is served by Veracruz
[{'concept': 'Q62447'}, 'P931', 'Q173270']
SELECT DISTINCT ?z WHERE { ?z property:P931 resource:Q173270 . ?z rdf:type ontology:Q62447 }
General Heriberto Jara International Airport
General Heriberto Jara International Airport is served by Veracruz
General Heriberto Jara International Airport
action filter_type
action find_reverse
entity Veracruz
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Veracruz']
SELECT DISTINCT ?z WHERE { ?z property:place_served_by_airport resource:Veracruz . ?z rdf:type ontology:aerodrome }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q173270
P17
Q15617994
USER
Which administrative territory does that human settlement belong to ?
(Q3274799,P17,c(Q15617994))
action filter_type
action find
entity Q173270
relation P17
type Q15617994
['Q3274799', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q173270 property:P17 ?y . ?y rdf:type ontology:Q15617994 }
Veracruz
action filter_type
action find
entity Veracruz
relation country
type designation for an administrative territorial entity
['General Heriberto Jara International Airport', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Veracruz property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q96
SYSTEM
Mexico
Q96
(Q3274799,P17,c(Q15617994))
action filter_type
action find
entity Q173270
relation P17
type Q15617994
That human settlement belongs to New [ANSWER]
['Q3274799', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q173270 property:P17 ?y . ?y rdf:type ontology:Q15617994 }
Mexico
That human settlement belongs to New Mexico
Mexico
action filter_type
action find
entity Veracruz
relation country
type designation for an administrative territorial entity
['General Heriberto Jara International Airport', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Veracruz property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]