Simple Question (Direct)
Simple Question
Q6002812
P1412
Q34770
USER
Which language is Martín Ortega capable of writing ?
(Q6002812,P1412,c(Q34770))
action filter_type
action find
entity Q6002812
relation P1412
type Q34770
['Q6002812', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { resource:Q6002812 property:P1412 ?p . ?p rdf:type ontology:Q34770 }
Martín Ortega
action filter_type
action find
entity Martín Ortega
relation languages spoken, written or signed
type language
['Martín Ortega', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { resource:Martín_Ortega property:languages_spoken,_written_or_signed ?p . ?p rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q6002812,P1412,c(Q34770))
action filter_type
action find
entity Q6002812
relation P1412
type Q34770
[ANSWER] is Martín Ortega capable of writing
['Q6002812', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { resource:Q6002812 property:P1412 ?p . ?p rdf:type ontology:Q34770 }
Spanish
Spanish is Martín Ortega capable of writing
Spanish
action filter_type
action find
entity Martín Ortega
relation languages spoken, written or signed
type language
['Martín Ortega', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { resource:Martín_Ortega property:languages_spoken,_written_or_signed ?p . ?p rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6002812
P21
Q290
USER
Which sex does that person possess ?
(Q1321,P21,c(Q290))
action filter_type
action find
entity Q6002812
relation P21
type Q290
['Q1321', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q290 . resource:Q6002812 property:P21 ?c }
Martín Ortega
action filter_type
action find
entity Martín Ortega
relation gender
type sex
['Spanish', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:sex . resource:Martín_Ortega property:gender ?c }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1321,P21,c(Q290))
action filter_type
action find
entity Q6002812
relation P21
type Q290
That person possesses a [ANSWER]
['Q1321', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q290 . resource:Q6002812 property:P21 ?c }
male
That person possesses a male
male
action filter_type
action find
entity Martín Ortega
relation gender
type sex
['Spanish', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:sex . resource:Martín_Ortega property:gender ?c }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q20090687 Q6002812
P21
Q290
USER
Or Felipe Saturnino Gomes?
OR((Q6002812,P21,c(Q290)), (Q20090687,P21,c(Q290)))
action filter_type
action union
action find
entity Q6002812
relation P21
action find
entity Q20090687
relation P21
type Q290
{'OR': [['Q6002812', 'P21', {'concept': 'Q290'}], ['Q20090687', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q6002812 property:P21 ?m } UNION { resource:Q20090687 property:P21 ?m } } . ?m rdf:type ontology:Q290 }
Felipe Saturnino Gomes Martín Ortega
action filter_type
action union
action find
entity Martín Ortega
relation gender
action find
entity Felipe Saturnino Gomes
relation gender
type sex
{'OR': [['Martín Ortega', 'gender', {'concept': 'sex'}], ['Felipe Saturnino Gomes', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Martín_Ortega property:gender ?m } UNION { resource:Felipe_Saturnino_Gomes property:gender ?m } } . ?m rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
OR((Q6002812,P21,c(Q290)), (Q20090687,P21,c(Q290)))
action filter_type
action union
action find
entity Q6002812
relation P21
action find
entity Q20090687
relation P21
type Q290
[ANSWER]
{'OR': [['Q6002812', 'P21', {'concept': 'Q290'}], ['Q20090687', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q6002812 property:P21 ?m } UNION { resource:Q20090687 property:P21 ?m } } . ?m rdf:type ontology:Q290 }
male
male
action filter_type
action union
action find
entity Martín Ortega
relation gender
action find
entity Felipe Saturnino Gomes
relation gender
type sex
{'OR': [['Martín Ortega', 'gender', {'concept': 'sex'}], ['Felipe Saturnino Gomes', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Martín_Ortega property:gender ?m } UNION { resource:Felipe_Saturnino_Gomes property:gender ?m } } . ?m rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6002812
P19
Q56061
USER
Which administrative territory was Martín Ortega born in ?
(Q6002812,P19,c(Q56061))
action filter_type
action find
entity Q6002812
relation P19
type Q56061
['Q6002812', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q6002812 property:P19 ?u . ?u rdf:type ontology:Q56061 }
Martín Ortega
action filter_type
action find
entity Martín Ortega
relation place of birth
type administrative territorial entity
['Martín Ortega', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Martín_Ortega property:place_of_birth ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q12225
SYSTEM
Murcia
Q12225
(Q6002812,P19,c(Q56061))
action filter_type
action find
entity Q6002812
relation P19
type Q56061
Martín Ortega was born in [ANSWER]
['Q6002812', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q6002812 property:P19 ?u . ?u rdf:type ontology:Q56061 }
Murcia
Martín Ortega was born in Murcia
Murcia
action filter_type
action find
entity Martín Ortega
relation place of birth
type administrative territorial entity
['Martín Ortega', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Martín_Ortega property:place_of_birth ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12225
P6
Q502895
USER
Which person does that administrative territory serve as the head of government for ?
(Q12225,P6,c(Q502895))
action filter_type
action find
entity Q12225
relation P6
type Q502895
['Q12225', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . resource:Q12225 property:P6 ?d }
Murcia
action filter_type
action find
entity Murcia
relation head of government
type common name
['Murcia', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . resource:Murcia property:head_of_government ?d }
[]
common name
Q259273
SYSTEM
Miguel Ángel Cámara
Q259273
(Q12225,P6,c(Q502895))
action filter_type
action find
entity Q12225
relation P6
type Q502895
[ANSWER] that administrative territory serves as the head of government for
['Q12225', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . resource:Q12225 property:P6 ?d }
Miguel Ángel Cámara
Miguel Ángel Cámara that administrative territory serves as the head of government for
Miguel Ángel Cámara
action filter_type
action find
entity Murcia
relation head of government
type common name
['Murcia', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . resource:Murcia property:head_of_government ?d }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12225
P127
Q483110
USER
Which stadia belongs to Murcia ?
(c(Q483110),P127,Q12225)
action filter_type
action find_reverse
entity Q12225
relation P127
type Q483110
[{'concept': 'Q483110'}, 'P127', 'Q12225']
SELECT DISTINCT ?o WHERE { ?o property:P127 resource:Q12225 . ?o rdf:type ontology:Q483110 }
Murcia
action filter_type
action find_reverse
entity Murcia
relation owned by
type stadium
[{'concept': 'stadium'}, 'owned by', 'Murcia']
SELECT DISTINCT ?o WHERE { ?o property:owned_by resource:Murcia . ?o rdf:type ontology:stadium }
[]
stadium
Q643155 Q770946
SYSTEM
Estadio de La Condomina, Estadio Nueva Condomina
Q643155 Q770946
(c(Q483110),P127,Q12225)
action filter_type
action find_reverse
entity Q12225
relation P127
type Q483110
[ANSWERS] belong to Murcia
[{'concept': 'Q483110'}, 'P127', 'Q12225']
SELECT DISTINCT ?o WHERE { ?o property:P127 resource:Q12225 . ?o rdf:type ontology:Q483110 }
Estadio de La Condomina Estadio Nueva Condomina
Estadio de La Condomina and Estadio Nueva Condomina belong to Murcia
Estadio de La Condomina Estadio Nueva Condomina
action filter_type
action find_reverse
entity Murcia
relation owned by
type stadium
[{'concept': 'stadium'}, 'owned by', 'Murcia']
SELECT DISTINCT ?o WHERE { ?o property:owned_by resource:Murcia . ?o rdf:type ontology:stadium }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q643155
P17
Q15617994
USER
Which administrative territory is Estadio de La Condomina situated in ?
(Q643155,P17,c(Q15617994))
action filter_type
action find
entity Q643155
relation P17
type Q15617994
['Q643155', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q643155 property:P17 ?s . ?s rdf:type ontology:Q15617994 }
Estadio de La Condomina
action filter_type
action find
entity Estadio de La Condomina
relation country
type designation for an administrative territorial entity
['Estadio de La Condomina', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Estadio_de_La_Condomina property:country ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q643155,P17,c(Q15617994))
action filter_type
action find
entity Q643155
relation P17
type Q15617994
Estadio de La Condomina is situated in [ANSWER]
['Q643155', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q643155 property:P17 ?s . ?s rdf:type ontology:Q15617994 }
Spain
Estadio de La Condomina is situated in Spain
Spain
action filter_type
action find
entity Estadio de La Condomina
relation country
type designation for an administrative territorial entity
['Estadio de La Condomina', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Estadio_de_La_Condomina property:country ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q12225
P1376
Q7275 Q13220204
USER
How many states or administrative country subdivisions have Murcia as their capital ?
(Q12225,P1376,c(Q7275)) (Q12225,P1376,c(Q13220204))
action count
action union
action filter_type
action find
entity Q12225
relation P1376
type Q7275
action filter_type
action find
entity Q12225
relation P1376
type Q13220204
['Q12225', 'P1376', {'concept': 'Q7275'}] ['Q12225', 'P1376', {'concept': 'Q13220204'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) WHERE { { resource:Q12225 property:P1376 ?d . ?d rdf:type ontology:Q7275 } UNION { resource:Q12225 property:P1376 ?d . ?d rdf:type ontology:Q13220204 } }
Murcia
action count
action union
action filter_type
action find
entity Murcia
relation capital of
type state
action filter_type
action find
entity Murcia
relation capital of
type second-level administrative country subdivision
['Murcia', 'capital of', {'concept': 'state'}] ['Murcia', 'capital of', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) WHERE { { resource:Murcia property:capital_of ?d . ?d rdf:type ontology:state } UNION { resource:Murcia property:capital_of ?d . ?d rdf:type ontology:second-level_administrative_country_subdivision } }
[]
state second-level administrative country subdivision
SYSTEM
2
Q1164500 Q3330258
(Q12225,P1376,c(Q7275)) (Q12225,P1376,c(Q13220204))
action count
action union
action filter_type
action find
entity Q12225
relation P1376
type Q7275
action filter_type
action find
entity Q12225
relation P1376
type Q13220204
[ANSWER]
['Q12225', 'P1376', {'concept': 'Q7275'}] ['Q12225', 'P1376', {'concept': 'Q13220204'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) WHERE { { resource:Q12225 property:P1376 ?d . ?d rdf:type ontology:Q7275 } UNION { resource:Q12225 property:P1376 ?d . ?d rdf:type ontology:Q13220204 } }
Kingdom of Murcia Region of Murcia
2
action count
action union
action filter_type
action find
entity Murcia
relation capital of
type state
action filter_type
action find
entity Murcia
relation capital of
type second-level administrative country subdivision
['Murcia', 'capital of', {'concept': 'state'}] ['Murcia', 'capital of', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) WHERE { { resource:Murcia property:capital_of ?d . ?d rdf:type ontology:state } UNION { resource:Murcia property:capital_of ?d . ?d rdf:type ontology:second-level_administrative_country_subdivision } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q29
P138
Q41176 Q2221906
USER
How many buildings or geographic locations are the eponym of Spain ?
(c(Q41176),P138,Q29) (c(Q2221906),P138,Q29)
action count
action union
action filter_type
action find_reverse
entity Q29
relation P138
type Q41176
action filter_type
action find_reverse
entity Q29
relation P138
type Q2221906
[{'concept': 'Q41176'}, 'P138', 'Q29'] [{'concept': 'Q2221906'}, 'P138', 'Q29']
SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { ?x rdf:type ?p . VALUES ( ?p ) { ( ontology:Q41176 ) ( ontology:Q2221906 ) } }
Spain
action count
action union
action filter_type
action find_reverse
entity Spain
relation named after
type building
action filter_type
action find_reverse
entity Spain
relation named after
type geographic location
[{'concept': 'building'}, 'named after', 'Spain'] [{'concept': 'geographic location'}, 'named after', 'Spain']
SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { ?x rdf:type ?p . VALUES ( ?p ) { ( ontology:building ) ( ontology:geographic_location ) } }
[]
building geographic location
SYSTEM
2
Q9055890 Q7203678
(c(Q41176),P138,Q29) (c(Q2221906),P138,Q29)
action count
action union
action filter_type
action find_reverse
entity Q29
relation P138
type Q41176
action filter_type
action find_reverse
entity Q29
relation P138
type Q2221906
[ANSWER]
[{'concept': 'Q41176'}, 'P138', 'Q29'] [{'concept': 'Q2221906'}, 'P138', 'Q29']
SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { ?x rdf:type ?p . VALUES ( ?p ) { ( ontology:Q41176 ) ( ontology:Q2221906 ) } }
Parque de España Plaza de España
2
action count
action union
action filter_type
action find_reverse
entity Spain
relation named after
type building
action filter_type
action find_reverse
entity Spain
relation named after
type geographic location
[{'concept': 'building'}, 'named after', 'Spain'] [{'concept': 'geographic location'}, 'named after', 'Spain']
SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { ?x rdf:type ?p . VALUES ( ?p ) { ( ontology:building ) ( ontology:geographic_location ) } }
[]