Simple Question (Direct)
Simple Question
Q9368590
P19
Q56061
USER
Where was Vicente Poleró y Toledo born ?
(Q9368590,P19,c(Q56061))
action filter_type
action find
entity Q9368590
relation P19
type Q56061
['Q9368590', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q56061 . resource:Q9368590 property:P19 ?c }
Vicente Poleró y Toledo
action filter_type
action find
entity Vicente Poleró y Toledo
relation place of birth
type administrative territorial entity
['Vicente Poleró y Toledo', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:administrative_territorial_entity . resource:Vicente_Poleró_y_Toledo property:place_of_birth ?c }
[]
administrative territorial entity
Q15682
SYSTEM
Cádiz
Q15682
(Q9368590,P19,c(Q56061))
action filter_type
action find
entity Q9368590
relation P19
type Q56061
Vicente Poleró y Toledo was born in [ANSWER]
['Q9368590', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q56061 . resource:Q9368590 property:P19 ?c }
Cádiz
Vicente Poleró y Toledo was born in Cádiz
Cádiz
action filter_type
action find
entity Vicente Poleró y Toledo
relation place of birth
type administrative territorial entity
['Vicente Poleró y Toledo', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:administrative_territorial_entity . resource:Vicente_Poleró_y_Toledo property:place_of_birth ?c }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9368590
P1412
Q34770
USER
Which language is that person capable of writing ?
(Q15682,P1412,c(Q34770))
action filter_type
action find
entity Q9368590
relation P1412
type Q34770
['Q15682', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?b WHERE { resource:Q9368590 property:P1412 ?b . ?b rdf:type ontology:Q34770 }
Vicente Poleró y Toledo
action filter_type
action find
entity Vicente Poleró y Toledo
relation languages spoken, written or signed
type language
['Cádiz', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?b WHERE { resource:Vicente_Poleró_y_Toledo property:languages_spoken,_written_or_signed ?b . ?b rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q15682,P1412,c(Q34770))
action filter_type
action find
entity Q9368590
relation P1412
type Q34770
[ANSWER] is that person capable of writing
['Q15682', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?b WHERE { resource:Q9368590 property:P1412 ?b . ?b rdf:type ontology:Q34770 }
Spanish
Spanish is that person capable of writing
Spanish
action filter_type
action find
entity Vicente Poleró y Toledo
relation languages spoken, written or signed
type language
['Cádiz', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?b WHERE { resource:Vicente_Poleró_y_Toledo property:languages_spoken,_written_or_signed ?b . ?b rdf:type ontology:language }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q15682
P190
Q515 Q56061
USER
How many cities and administrative territories are partner town of Cádiz ?
(c(Q515),P190,Q15682) (c(Q56061),P190,Q15682)
action count
action union
action filter_type
action find_reverse
entity Q15682
relation P190
type Q515
action filter_type
action find_reverse
entity Q15682
relation P190
type Q56061
[{'concept': 'Q515'}, 'P190', 'Q15682'] [{'concept': 'Q56061'}, 'P190', 'Q15682']
SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) WHERE { { ?s property:P190 resource:Q15682 . ?s rdf:type ontology:Q515 } UNION { ?s property:P190 resource:Q15682 . ?s rdf:type ontology:Q56061 } }
Cádiz
action count
action union
action filter_type
action find_reverse
entity Cádiz
relation sister city
type city
action filter_type
action find_reverse
entity Cádiz
relation sister city
type administrative territorial entity
[{'concept': 'city'}, 'sister city', 'Cádiz'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Cádiz']
SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) WHERE { { ?s property:sister_city resource:Cádiz . ?s rdf:type ontology:city } UNION { ?s property:sister_city resource:Cádiz . ?s rdf:type ontology:administrative_territorial_entity } }
[]
city administrative territorial entity
SYSTEM
1 cities and 15 administrative territories
Q11974 Q14328 Q12246 Q345204 Q81882 Q126148 Q173532 Q5823 Q838789 Q1335 Q41211 Q8757 Q1486 Q1563 Q48320 Q5092
(c(Q515),P190,Q15682) (c(Q56061),P190,Q15682)
action count
action union
action filter_type
action find_reverse
entity Q15682
relation P190
type Q515
action filter_type
action find_reverse
entity Q15682
relation P190
type Q56061
[ANSWER]
[{'concept': 'Q515'}, 'P190', 'Q15682'] [{'concept': 'Q56061'}, 'P190', 'Q15682']
SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) WHERE { { ?s property:P190 resource:Q15682 . ?s rdf:type ontology:Q515 } UNION { ?s property:P190 resource:Q15682 . ?s rdf:type ontology:Q56061 } }
Las Palmas de Gran Canaria Santa Cruz de Tenerife Huelva Dakhla Santos Tangier Byblos Ceuta Indio Montevideo San Juan A Coruña Buenos Aires Havana Kōbe Baltimore
1 cities and 15 administrative territories
action count
action union
action filter_type
action find_reverse
entity Cádiz
relation sister city
type city
action filter_type
action find_reverse
entity Cádiz
relation sister city
type administrative territorial entity
[{'concept': 'city'}, 'sister city', 'Cádiz'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Cádiz']
SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) WHERE { { ?s property:sister_city resource:Cádiz . ?s rdf:type ontology:city } UNION { ?s property:sister_city resource:Cádiz . ?s rdf:type ontology:administrative_territorial_entity } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15682
P1071
Q2235308
USER
Which ship type has that administrative territory as its terminal assembly location ?
action filter_type
action find_reverse
entity Q15682
relation P1071
type Q2235308
SELECT DISTINCT ?q WHERE { ?q property:P1071 resource:Q15682 . ?q rdf:type ontology:Q2235308 }
Cádiz
action filter_type
action find_reverse
entity Cádiz
relation location of final assembly
type ship type
SELECT DISTINCT ?q WHERE { ?q property:location_of_final_assembly resource:Cádiz . ?q rdf:type ontology:ship_type }
[]
ship type
Q3211202
SYSTEM
Aragon-class cruiser
Q3211202
action filter_type
action find_reverse
entity Q15682
relation P1071
type Q2235308
[ANSWER] has that administrative territory as its terminal assembly location
SELECT DISTINCT ?q WHERE { ?q property:P1071 resource:Q15682 . ?q rdf:type ontology:Q2235308 }
Aragon-class cruiser
Aragon-class cruiser has that administrative territory as its terminal assembly location
Aragon-class cruiser
action filter_type
action find_reverse
entity Cádiz
relation location of final assembly
type ship type
SELECT DISTINCT ?q WHERE { ?q property:location_of_final_assembly resource:Cádiz . ?q rdf:type ontology:ship_type }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15682
P190
Q56061
USER
Which administrative territories are a sister city of Cádiz ?
(c(Q56061),P190,Q15682)
action filter_type
action find
entity Q15682
relation P190
type Q56061
[{'concept': 'Q56061'}, 'P190', 'Q15682']
SELECT DISTINCT ?y WHERE { resource:Q15682 property:P190 ?y . ?y rdf:type ontology:Q56061 }
Cádiz
action filter_type
action find
entity Cádiz
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Cádiz']
SELECT DISTINCT ?y WHERE { resource:Cádiz property:sister_city ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1563 Q5092 Q11974
SYSTEM
Havana, Baltimore, Las Palmas de Gran Canaria
Q11974 Q14328 Q5092 Q5823 Q81882 Q173532 Q345204 Q838789 Q1335 Q41211 Q8757 Q126148 Q1563 Q48320 Q12246
(c(Q56061),P190,Q15682)
action filter_type
action find
entity Q15682
relation P190
type Q56061
[ANSWERS] are a sister city of Cádiz
[{'concept': 'Q56061'}, 'P190', 'Q15682']
SELECT DISTINCT ?y WHERE { resource:Q15682 property:P190 ?y . ?y rdf:type ontology:Q56061 }
Las Palmas de Gran Canaria Santa Cruz de Tenerife Baltimore Ceuta Santos Byblos Dakhla Indio Montevideo San Juan A Coruña Tangier Havana Kōbe Huelva
Havana, Baltimore and Las Palmas de Gran Canaria are a sister city of Cádiz
Havana Baltimore Las Palmas de Gran Canaria
action filter_type
action find
entity Cádiz
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Cádiz']
SELECT DISTINCT ?y WHERE { resource:Cádiz property:sister_city ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5092
P276
Q15275719
USER
Which recurring event has its location as Baltimore ?
(c(Q15275719),P276,Q5092)
action filter_type
action find_reverse
entity Q5092
relation P276
type Q15275719
[{'concept': 'Q15275719'}, 'P276', 'Q5092']
SELECT DISTINCT ?y WHERE { ?y property:P276 resource:Q5092 . ?y rdf:type ontology:Q15275719 }
Baltimore
action filter_type
action find_reverse
entity Baltimore
relation location
type recurring event
[{'concept': 'recurring event'}, 'location', 'Baltimore']
SELECT DISTINCT ?y WHERE { ?y property:location resource:Baltimore . ?y rdf:type ontology:recurring_event }
[]
recurring event
Q6781324
SYSTEM
Maryland Film Festival
Q6781324
(c(Q15275719),P276,Q5092)
action filter_type
action find_reverse
entity Q5092
relation P276
type Q15275719
[ANSWER] has its location as Baltimore
[{'concept': 'Q15275719'}, 'P276', 'Q5092']
SELECT DISTINCT ?y WHERE { ?y property:P276 resource:Q5092 . ?y rdf:type ontology:Q15275719 }
Maryland Film Festival
Maryland Film Festival has its location as Baltimore
Maryland Film Festival
action filter_type
action find_reverse
entity Baltimore
relation location
type recurring event
[{'concept': 'recurring event'}, 'location', 'Baltimore']
SELECT DISTINCT ?y WHERE { ?y property:location resource:Baltimore . ?y rdf:type ontology:recurring_event }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5092
P931
Q62447
USER
Which aerodromes are served by Baltimore ?
(c(Q62447),P931,Q5092)
action filter_type
action find_reverse
entity Q5092
relation P931
type Q62447
[{'concept': 'Q62447'}, 'P931', 'Q5092']
SELECT DISTINCT ?e WHERE { ?e property:P931 resource:Q5092 . ?e rdf:type ontology:Q62447 }
Baltimore
action filter_type
action find_reverse
entity Baltimore
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Baltimore']
SELECT DISTINCT ?e WHERE { ?e property:place_served_by_airport resource:Baltimore . ?e rdf:type ontology:aerodrome }
[]
aerodrome
Q14692132 Q652112
SYSTEM
Logan Field (Airport), Martin State Airport
Q14692132 Q652112
(c(Q62447),P931,Q5092)
action filter_type
action find_reverse
entity Q5092
relation P931
type Q62447
And [ANSWERS] are served by Baltimore
[{'concept': 'Q62447'}, 'P931', 'Q5092']
SELECT DISTINCT ?e WHERE { ?e property:P931 resource:Q5092 . ?e rdf:type ontology:Q62447 }
Logan Field (Airport) Martin State Airport
And Logan Field (Airport) and Martin State Airport are served by Baltimore
Logan Field (Airport) Martin State Airport
action filter_type
action find_reverse
entity Baltimore
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Baltimore']
SELECT DISTINCT ?e WHERE { ?e property:place_served_by_airport resource:Baltimore . ?e rdf:type ontology:aerodrome }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q14692132 Q652112
P17
Q15617994
USER
Which administrative territories are Logan Field (Airport) and Martin State Airport located in ?
(Q14692132,P17,c(Q15617994)) (Q652112,P17,c(Q15617994))
action union
action filter_type
action find
entity Q14692132
relation P17
type Q15617994
action filter_type
action find
entity Q652112
relation P17
type Q15617994
['Q14692132', 'P17', {'concept': 'Q15617994'}] ['Q652112', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { resource:Q652112 property:P17 ?y . ?y rdf:type ontology:Q15617994 } UNION { resource:Q14692132 property:P17 ?y . ?y rdf:type ontology:Q15617994 } }
Logan Field (Airport) Martin State Airport
action union
action filter_type
action find
entity Logan Field (Airport)
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Martin State Airport
relation country
type designation for an administrative territorial entity
['Logan Field (Airport)', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Martin State Airport', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { resource:Martin_State_Airport property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Logan_Field_(Airport) property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q30 Q30
SYSTEM
United States of America
Q30 Q30
(Q14692132,P17,c(Q15617994)) (Q652112,P17,c(Q15617994))
action union
action filter_type
action find
entity Q14692132
relation P17
type Q15617994
action filter_type
action find
entity Q652112
relation P17
type Q15617994
Which administrative territories are Logan Field (Airport) and Martin State Airport located in
['Q14692132', 'P17', {'concept': 'Q15617994'}] ['Q652112', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { resource:Q652112 property:P17 ?y . ?y rdf:type ontology:Q15617994 } UNION { resource:Q14692132 property:P17 ?y . ?y rdf:type ontology:Q15617994 } }
United States of America United States of America
Which administrative territories are Logan Field (Airport) and Martin State Airport located in
United States of America United States of America
action union
action filter_type
action find
entity Logan Field (Airport)
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Martin State Airport
relation country
type designation for an administrative territorial entity
['Logan Field (Airport)', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Martin State Airport', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { resource:Martin_State_Airport property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Logan_Field_(Airport) property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]