Simple Question (Direct)
Simple Question
Q21292544
P1412
Q34770
USER
Which language is Juan Carlos Suárez-Quiñones capable of writing ?
(Q21292544,P1412,c(Q34770))
action filter_type
action find
entity Q21292544
relation P1412
type Q34770
['Q21292544', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?w WHERE { resource:Q21292544 property:P1412 ?w . ?w rdf:type ontology:Q34770 }
Juan Carlos Suárez-Quiñones
action filter_type
action find
entity Juan Carlos Suárez-Quiñones
relation languages spoken, written or signed
type language
['Juan Carlos Suárez-Quiñones', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?w WHERE { resource:Juan_Carlos_Suárez-Quiñones property:languages_spoken,_written_or_signed ?w . ?w rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q21292544,P1412,c(Q34770))
action filter_type
action find
entity Q21292544
relation P1412
type Q34770
[ANSWER] is Juan Carlos Suárez-Quiñones capable of writing
['Q21292544', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?w WHERE { resource:Q21292544 property:P1412 ?w . ?w rdf:type ontology:Q34770 }
Spanish
Spanish is Juan Carlos Suárez-Quiñones capable of writing
Spanish
action filter_type
action find
entity Juan Carlos Suárez-Quiñones
relation languages spoken, written or signed
type language
['Juan Carlos Suárez-Quiñones', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?w WHERE { resource:Juan_Carlos_Suárez-Quiñones property:languages_spoken,_written_or_signed ?w . ?w rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21292544
P19
Q56061
USER
Which administrative territory was that person born at ?
(Q1321,P19,c(Q56061))
action filter_type
action find
entity Q21292544
relation P19
type Q56061
['Q1321', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q56061 . resource:Q21292544 property:P19 ?l }
Juan Carlos Suárez-Quiñones
action filter_type
action find
entity Juan Carlos Suárez-Quiñones
relation place of birth
type administrative territorial entity
['Spanish', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:administrative_territorial_entity . resource:Juan_Carlos_Suárez-Quiñones property:place_of_birth ?l }
[]
administrative territorial entity
Q15699
SYSTEM
León
Q15699
(Q1321,P19,c(Q56061))
action filter_type
action find
entity Q21292544
relation P19
type Q56061
That person was born in [ANSWER]
['Q1321', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q56061 . resource:Q21292544 property:P19 ?l }
León
That person was born in León
León
action filter_type
action find
entity Juan Carlos Suárez-Quiñones
relation place of birth
type administrative territorial entity
['Spanish', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:administrative_territorial_entity . resource:Juan_Carlos_Suárez-Quiñones property:place_of_birth ?l }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15699
P276
Q200538
USER
Which party is located at that administrative territory ?
(c(Q200538),P276,Q15699)
action filter_type
action find_reverse
entity Q15699
relation P276
type Q200538
[{'concept': 'Q200538'}, 'P276', 'Q15699']
SELECT DISTINCT ?n WHERE { ?n property:P276 resource:Q15699 . ?n rdf:type ontology:Q200538 }
León
action filter_type
action find_reverse
entity León
relation location
type party
[{'concept': 'party'}, 'location', 'León']
SELECT DISTINCT ?n WHERE { ?n property:location resource:León . ?n rdf:type ontology:party }
[]
party
Q9075874
SYSTEM
Holy Week in León
Q9075874
(c(Q200538),P276,Q15699)
action filter_type
action find_reverse
entity Q15699
relation P276
type Q200538
[ANSWER] is located at that administrative territory
[{'concept': 'Q200538'}, 'P276', 'Q15699']
SELECT DISTINCT ?n WHERE { ?n property:P276 resource:Q15699 . ?n rdf:type ontology:Q200538 }
Holy Week in León
Holy Week in León is located at that administrative territory
Holy Week in León
action filter_type
action find_reverse
entity León
relation location
type party
[{'concept': 'party'}, 'location', 'León']
SELECT DISTINCT ?n WHERE { ?n property:location resource:León . ?n rdf:type ontology:party }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15699
P931
Q62447
USER
Which aerodrome serves León ?
(c(Q62447),P931,Q15699)
action filter_type
action find_reverse
entity Q15699
relation P931
type Q62447
[{'concept': 'Q62447'}, 'P931', 'Q15699']
SELECT DISTINCT ?j WHERE { ?j property:P931 resource:Q15699 . ?j rdf:type ontology:Q62447 }
León
action filter_type
action find_reverse
entity León
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'León']
SELECT DISTINCT ?j WHERE { ?j property:place_served_by_airport resource:León . ?j rdf:type ontology:aerodrome }
[]
aerodrome
Q836666
SYSTEM
León Airport
Q836666
(c(Q62447),P931,Q15699)
action filter_type
action find_reverse
entity Q15699
relation P931
type Q62447
Airport [ANSWER] serves León
[{'concept': 'Q62447'}, 'P931', 'Q15699']
SELECT DISTINCT ?j WHERE { ?j property:P931 resource:Q15699 . ?j rdf:type ontology:Q62447 }
León Airport
Airport León Airport serves León
León Airport
action filter_type
action find_reverse
entity León
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'León']
SELECT DISTINCT ?j WHERE { ?j property:place_served_by_airport resource:León . ?j rdf:type ontology:aerodrome }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15699
P159
Q1002697
USER
Which periodical literature has its head office location at León ?
(c(Q1002697),P159,Q15699)
action filter_type
action find_reverse
entity Q15699
relation P159
type Q1002697
[{'concept': 'Q1002697'}, 'P159', 'Q15699']
SELECT DISTINCT ?s WHERE { ?s property:P159 resource:Q15699 . ?s rdf:type ontology:Q1002697 }
León
action filter_type
action find_reverse
entity León
relation headquarters location
type periodical literature
[{'concept': 'periodical literature'}, 'headquarters location', 'León']
SELECT DISTINCT ?s WHERE { ?s property:headquarters_location resource:León . ?s rdf:type ontology:periodical_literature }
[]
periodical literature
Q21209373
SYSTEM
Claraboya
Q21209373
(c(Q1002697),P159,Q15699)
action filter_type
action find_reverse
entity Q15699
relation P159
type Q1002697
[ANSWER] has its head office location at León
[{'concept': 'Q1002697'}, 'P159', 'Q15699']
SELECT DISTINCT ?s WHERE { ?s property:P159 resource:Q15699 . ?s rdf:type ontology:Q1002697 }
Claraboya
Claraboya has its head office location at León
Claraboya
action filter_type
action find_reverse
entity León
relation headquarters location
type periodical literature
[{'concept': 'periodical literature'}, 'headquarters location', 'León']
SELECT DISTINCT ?s WHERE { ?s property:headquarters_location resource:León . ?s rdf:type ontology:periodical_literature }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15699
P6
Q502895
USER
Which person has León as its head of government ?
(Q15699,P6,c(Q502895))
action filter_type
action find
entity Q15699
relation P6
type Q502895
['Q15699', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q15699 property:P6 ?y . ?y rdf:type ontology:Q502895 }
León
action filter_type
action find
entity León
relation head of government
type common name
['León', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:León property:head_of_government ?y . ?y rdf:type ontology:common_name }
[]
common name
Q5831134
SYSTEM
Emilio Gutiérrez Fernández
Q5831134
(Q15699,P6,c(Q502895))
action filter_type
action find
entity Q15699
relation P6
type Q502895
[ANSWER] has León as its head of government
['Q15699', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q15699 property:P6 ?y . ?y rdf:type ontology:Q502895 }
Emilio Gutiérrez Fernández
Emilio Gutiérrez Fernández has León as its head of government
Emilio Gutiérrez Fernández
action filter_type
action find
entity León
relation head of government
type common name
['León', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:León property:head_of_government ?y . ?y rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1995192
Q502895
USER
And how about Palo?
(Q1995192,P6,c(Q502895))
action filter_type
action find
entity Q1995192
relation P6
type Q502895
['Q1995192', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q1995192 property:P6 ?f . ?f rdf:type ontology:Q502895 }
Palo
action filter_type
action find
entity Palo
relation head of government
type common name
['Palo', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Palo property:head_of_government ?f . ?f rdf:type ontology:common_name }
[]
common name
Q14084751
SYSTEM
María Antonia Arnal Espinosa
Q14084751
(Q1995192,P6,c(Q502895))
action filter_type
action find
entity Q1995192
relation P6
type Q502895
[ANSWER]
['Q1995192', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q1995192 property:P6 ?f . ?f rdf:type ontology:Q502895 }
María Antonia Arnal Espinosa
María Antonia Arnal Espinosa
action filter_type
action find
entity Palo
relation head of government
type common name
['Palo', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Palo property:head_of_government ?f . ?f rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q14084751 Q1651555
P6
Q1048835
USER
Is that person the head of the goverment of El Castellar ?
(Q1651555,P6,Q14084751)
action is_in
entity Q1651555
action find
entity Q14084751
relation P6
['Q1651555', 'P6', 'Q14084751']
ASK WHERE { resource:Q14084751 property:P6 resource:Q1651555 }
María Antonia Arnal Espinosa El Castellar
action is_in
entity El Castellar
action find
entity María Antonia Arnal Espinosa
relation head of government
['El Castellar', 'head of government', 'María Antonia Arnal Espinosa']
ASK WHERE { resource:María_Antonia_Arnal_Espinosa property:head_of_government resource:El_Castellar }
[]
political territorial entity
SYSTEM
NO
(Q1651555,P6,Q14084751)
action is_in
entity Q1651555
action find
entity Q14084751
relation P6
[ANSWER]
['Q1651555', 'P6', 'Q14084751']
ASK WHERE { resource:Q14084751 property:P6 resource:Q1651555 }
No
action is_in
entity El Castellar
action find
entity María Antonia Arnal Espinosa
relation head of government
['El Castellar', 'head of government', 'María Antonia Arnal Espinosa']
ASK WHERE { resource:María_Antonia_Arnal_Espinosa property:head_of_government resource:El_Castellar }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q5831134 Q122338
P6
Q56061
USER
How many administrative territories have Emilio Gutiérrez Fernández or Albert Hofmann as their administrative leader ?
(c(Q56061),P6,Q5831134) (c(Q56061),P6,Q122338)
action count
action union
action filter_type
action find_reverse
entity Q5831134
relation P6
type Q56061
action filter_type
action find_reverse
entity Q122338
relation P6
type Q56061
[{'concept': 'Q56061'}, 'P6', 'Q5831134'] [{'concept': 'Q56061'}, 'P6', 'Q122338']
SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { { ?u property:P6 resource:Q5831134 . ?u rdf:type ontology:Q56061 } UNION { ?u property:P6 resource:Q122338 . ?u rdf:type ontology:Q56061 } }
Emilio Gutiérrez Fernández Albert Hofmann
action count
action union
action filter_type
action find_reverse
entity Emilio Gutiérrez Fernández
relation head of government
type administrative territorial entity
action filter_type
action find_reverse
entity Albert Hofmann
relation head of government
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'head of government', 'Emilio Gutiérrez Fernández'] [{'concept': 'administrative territorial entity'}, 'head of government', 'Albert Hofmann']
SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { { ?u property:head_of_government resource:Emilio_Gutiérrez_Fernández . ?u rdf:type ontology:administrative_territorial_entity } UNION { ?u property:head_of_government resource:Albert_Hofmann . ?u rdf:type ontology:administrative_territorial_entity } }
[]
administrative territorial entity
SYSTEM
2
Q15699 Q64032
(c(Q56061),P6,Q5831134) (c(Q56061),P6,Q122338)
action count
action union
action filter_type
action find_reverse
entity Q5831134
relation P6
type Q56061
action filter_type
action find_reverse
entity Q122338
relation P6
type Q56061
[ANSWER]
[{'concept': 'Q56061'}, 'P6', 'Q5831134'] [{'concept': 'Q56061'}, 'P6', 'Q122338']
SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { { ?u property:P6 resource:Q5831134 . ?u rdf:type ontology:Q56061 } UNION { ?u property:P6 resource:Q122338 . ?u rdf:type ontology:Q56061 } }
León Uster
2
action count
action union
action filter_type
action find_reverse
entity Emilio Gutiérrez Fernández
relation head of government
type administrative territorial entity
action filter_type
action find_reverse
entity Albert Hofmann
relation head of government
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'head of government', 'Emilio Gutiérrez Fernández'] [{'concept': 'administrative territorial entity'}, 'head of government', 'Albert Hofmann']
SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { { ?u property:head_of_government resource:Emilio_Gutiérrez_Fernández . ?u rdf:type ontology:administrative_territorial_entity } UNION { ?u property:head_of_government resource:Albert_Hofmann . ?u rdf:type ontology:administrative_territorial_entity } }
[]