Simple Question (Direct)
Simple Question
Q3816000
P20
Q56061
USER
Where did José Garnelo i Alda die ?
(Q3816000,P20,c(Q56061))
action filter_type
action find
entity Q3816000
relation P20
type Q56061
['Q3816000', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q3816000 property:P20 ?p . ?p rdf:type ontology:Q56061 }
José Garnelo i Alda
action filter_type
action find
entity José Garnelo i Alda
relation place of death
type administrative territorial entity
['José Garnelo i Alda', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:José_Garnelo_i_Alda property:place_of_death ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q5818
SYSTEM
Córdoba
Q5818
(Q3816000,P20,c(Q56061))
action filter_type
action find
entity Q3816000
relation P20
type Q56061
José Garnelo i Alda died in [ANSWER]
['Q3816000', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q3816000 property:P20 ?p . ?p rdf:type ontology:Q56061 }
Córdoba
José Garnelo i Alda died in Córdoba
Córdoba
action filter_type
action find
entity José Garnelo i Alda
relation place of death
type administrative territorial entity
['José Garnelo i Alda', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:José_Garnelo_i_Alda property:place_of_death ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5818
P417
Q502895
USER
What is the name of the patron saint of that administrative territory ?
(Q5818,P417,c(Q502895))
action filter_type
action find
entity Q5818
relation P417
type Q502895
['Q5818', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q5818 property:P417 ?c . ?c rdf:type ontology:Q502895 }
Córdoba
action filter_type
action find
entity Córdoba
relation patron saint
type common name
['Córdoba', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Córdoba property:patron_saint ?c . ?c rdf:type ontology:common_name }
[]
common name
Q3561124
SYSTEM
Acisclus
Q3561124
(Q5818,P417,c(Q502895))
action filter_type
action find
entity Q5818
relation P417
type Q502895
The name of the patron saint of that administrative territory is the [ANSWER]
['Q5818', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q5818 property:P417 ?c . ?c rdf:type ontology:Q502895 }
Acisclus
The name of the patron saint of that administrative territory is the Acisclus
Acisclus
action filter_type
action find
entity Córdoba
relation patron saint
type common name
['Córdoba', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Córdoba property:patron_saint ?c . ?c rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5818
P291
Q1002697
USER
Which periodical literature was published in Córdoba ?
(c(Q1002697),P291,Q5818)
action filter_type
action find_reverse
entity Q5818
relation P291
type Q1002697
[{'concept': 'Q1002697'}, 'P291', 'Q5818']
SELECT DISTINCT ?w WHERE { ?w property:P291 resource:Q5818 . ?w rdf:type ontology:Q1002697 }
Córdoba
action filter_type
action find_reverse
entity Córdoba
relation place of publication
type periodical literature
[{'concept': 'periodical literature'}, 'place of publication', 'Córdoba']
SELECT DISTINCT ?w WHERE { ?w property:place_of_publication resource:Córdoba . ?w rdf:type ontology:periodical_literature }
[]
periodical literature
Q5821804
SYSTEM
El Día de Córdoba
Q5821804
(c(Q1002697),P291,Q5818)
action filter_type
action find_reverse
entity Q5818
relation P291
type Q1002697
[ANSWER] was published in Córdoba
[{'concept': 'Q1002697'}, 'P291', 'Q5818']
SELECT DISTINCT ?w WHERE { ?w property:P291 resource:Q5818 . ?w rdf:type ontology:Q1002697 }
El Día de Córdoba
El Día de Córdoba was published in Córdoba
El Día de Córdoba
action filter_type
action find_reverse
entity Córdoba
relation place of publication
type periodical literature
[{'concept': 'periodical literature'}, 'place of publication', 'Córdoba']
SELECT DISTINCT ?w WHERE { ?w property:place_of_publication resource:Córdoba . ?w rdf:type ontology:periodical_literature }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5818
P276
Q132241
USER
Which festival is situated at Córdoba ?
(c(Q132241),P276,Q5818)
action filter_type
action find_reverse
entity Q5818
relation P276
type Q132241
[{'concept': 'Q132241'}, 'P276', 'Q5818']
SELECT DISTINCT ?v WHERE { ?v property:P276 resource:Q5818 . ?v rdf:type ontology:Q132241 }
Córdoba
action filter_type
action find_reverse
entity Córdoba
relation location
type festival
[{'concept': 'festival'}, 'location', 'Córdoba']
SELECT DISTINCT ?v WHERE { ?v property:location resource:Córdoba . ?v rdf:type ontology:festival }
[]
festival
Q9075868
SYSTEM
Holy Week in Córdoba
Q9075868
(c(Q132241),P276,Q5818)
action filter_type
action find_reverse
entity Q5818
relation P276
type Q132241
[ANSWER] is situated at Córdoba
[{'concept': 'Q132241'}, 'P276', 'Q5818']
SELECT DISTINCT ?v WHERE { ?v property:P276 resource:Q5818 . ?v rdf:type ontology:Q132241 }
Holy Week in Córdoba
Holy Week in Córdoba is situated at Córdoba
Holy Week in Córdoba
action filter_type
action find_reverse
entity Córdoba
relation location
type festival
[{'concept': 'festival'}, 'location', 'Córdoba']
SELECT DISTINCT ?v WHERE { ?v property:location resource:Córdoba . ?v rdf:type ontology:festival }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9075868
P17
Q15617994
USER
Which administrative territory is that festival situated in ?
(Q9075868,P17,c(Q15617994))
action filter_type
action find
entity Q9075868
relation P17
type Q15617994
['Q9075868', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q9075868 property:P17 ?t . ?t rdf:type ontology:Q15617994 }
Holy Week in Córdoba
action filter_type
action find
entity Holy Week in Córdoba
relation country
type designation for an administrative territorial entity
['Holy Week in Córdoba', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Holy_Week_in_Córdoba property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q9075868,P17,c(Q15617994))
action filter_type
action find
entity Q9075868
relation P17
type Q15617994
That festival is situated in [ANSWER]
['Q9075868', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q9075868 property:P17 ?t . ?t rdf:type ontology:Q15617994 }
Spain
That festival is situated in Spain
Spain
action filter_type
action find
entity Holy Week in Córdoba
relation country
type designation for an administrative territorial entity
['Holy Week in Córdoba', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Holy_Week_in_Córdoba property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q18964647 Q9075868
P276
Q56061
USER
Which administrative territories are the place where Holy Week in Córdoba or Bouwmeesterstraat are located ?
OR((Q9075868,P276,c(Q56061)), (Q18964647,P276,c(Q56061)))
action filter_type
action union
action find
entity Q9075868
relation P276
action find
entity Q18964647
relation P276
type Q56061
{'OR': [['Q9075868', 'P276', {'concept': 'Q56061'}], ['Q18964647', 'P276', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q56061 . { { resource:Q9075868 property:P276 ?o } UNION { resource:Q18964647 property:P276 ?o } } }
Bouwmeesterstraat Holy Week in Córdoba
action filter_type
action union
action find
entity Holy Week in Córdoba
relation location
action find
entity Bouwmeesterstraat
relation location
type administrative territorial entity
{'OR': [['Holy Week in Córdoba', 'location', {'concept': 'administrative territorial entity'}], ['Bouwmeesterstraat', 'location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:administrative_territorial_entity . { { resource:Holy_Week_in_Córdoba property:location ?o } UNION { resource:Bouwmeesterstraat property:location ?o } } }
[]
administrative territorial entity
Q5818 Q1850290
SYSTEM
Córdoba, Nijverdal
Q5818 Q1850290
OR((Q9075868,P276,c(Q56061)), (Q18964647,P276,c(Q56061)))
action filter_type
action union
action find
entity Q9075868
relation P276
action find
entity Q18964647
relation P276
type Q56061
[ANSWERS] are the place where Holy Week in Córdoba or Bouwmeesterstraat are located
{'OR': [['Q9075868', 'P276', {'concept': 'Q56061'}], ['Q18964647', 'P276', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q56061 . { { resource:Q9075868 property:P276 ?o } UNION { resource:Q18964647 property:P276 ?o } } }
Córdoba Nijverdal
Córdoba and Nijverdal are the place where Holy Week in Córdoba or Bouwmeesterstraat are located
Córdoba Nijverdal
action filter_type
action union
action find
entity Holy Week in Córdoba
relation location
action find
entity Bouwmeesterstraat
relation location
type administrative territorial entity
{'OR': [['Holy Week in Córdoba', 'location', {'concept': 'administrative territorial entity'}], ['Bouwmeesterstraat', 'location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:administrative_territorial_entity . { { resource:Holy_Week_in_Córdoba property:location ?o } UNION { resource:Bouwmeesterstraat property:location ?o } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q579216 Q5818
P47
Q1048835
USER
Which political territories share the border with Córdoba or Brenes ?
OR((Q5818,P47,c(Q1048835)), (Q579216,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q5818
relation P47
action find
entity Q579216
relation P47
type Q1048835
{'OR': [['Q5818', 'P47', {'concept': 'Q1048835'}], ['Q579216', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q579216 property:P47 ?v } UNION { resource:Q5818 property:P47 ?v } } . ?v rdf:type ontology:Q1048835 }
Brenes Córdoba
action filter_type
action union
action find
entity Córdoba
relation shares border with
action find
entity Brenes
relation shares border with
type political territorial entity
{'OR': [['Córdoba', 'shares border with', {'concept': 'political territorial entity'}], ['Brenes', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Brenes property:shares_border_with ?v } UNION { resource:Córdoba property:shares_border_with ?v } } . ?v rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1645517 Q1447425 Q1448408 Q546596 Q1617311 Q975711 Q749022 Q63038 Q794492 Q1386351
SYSTEM
Some of them are La Rambla, Cañete de las Torres, El Carpio, Villafranca de Córdoba, Fernán Núñez, Bujalance, La Carlota, Spain, Villaverde del Río, Adamuz, Alcalá del Río
Q854460 Q1386351 Q63038 Q975711 Q878655 Q794492 Q1447425 Q546596 Q1606495 Q1146785 Q1617311 Q854424 Q970724 Q1645517 Q1447412 Q683023 Q749022 Q1451125 Q675298 Q1448408
OR((Q5818,P47,c(Q1048835)), (Q579216,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q5818
relation P47
action find
entity Q579216
relation P47
type Q1048835
[ANSWERS] share the border with Córdoba or Brenes
{'OR': [['Q5818', 'P47', {'concept': 'Q1048835'}], ['Q579216', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q579216 property:P47 ?v } UNION { resource:Q5818 property:P47 ?v } } . ?v rdf:type ontology:Q1048835 }
Guadalcázar Alcalá del Río Villaverde del Río Bujalance Villaviciosa de Córdoba Adamuz Cañete de las Torres Villafranca de Córdoba Montemayor La Rinconada Fernán Núñez Almodóvar del Río La Victoria La Rambla Castro del Río Cantillana La Carlota, Spain Obejo Espejo, Spain El Carpio
La Rambla, Cañete de las Torres, El Carpio, Villafranca de Córdoba, Fernán Núñez, Bujalance, La Carlota, Spain, Villaverde del Río, Adamuz and Alcalá del Río share the border with Córdoba or Brenes
La Rambla Cañete de las Torres El Carpio Villafranca de Córdoba Fernán Núñez Bujalance La Carlota, Spain Villaverde del Río Adamuz Alcalá del Río
action filter_type
action union
action find
entity Córdoba
relation shares border with
action find
entity Brenes
relation shares border with
type political territorial entity
{'OR': [['Córdoba', 'shares border with', {'concept': 'political territorial entity'}], ['Brenes', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Brenes property:shares_border_with ?v } UNION { resource:Córdoba property:shares_border_with ?v } } . ?v rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1028181 Q1617311
P19 P106
Q502895
USER
Which people have place of birth as Fernán Núñez and have painter as his/her means of employment ?
AND((c(Q502895),P19,Q1617311), (c(Q502895),P106,Q1028181))
action filter_type
action intersection
action find_reverse
entity Q1617311
relation P19
action find_reverse
entity Q1028181
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q1617311'], [{'concept': 'Q502895'}, 'P106', 'Q1028181']]}
SELECT DISTINCT ?u WHERE { ?u property:P19 resource:Q1617311 . ?u property:P106 resource:Q1028181 . ?u rdf:type ontology:Q502895 }
painter Fernán Núñez
action filter_type
action intersection
action find_reverse
entity Fernán Núñez
relation place of birth
action find_reverse
entity painter
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Fernán Núñez'], [{'concept': 'common name'}, 'occupation', 'painter']]}
SELECT DISTINCT ?u WHERE { ?u property:place_of_birth resource:Fernán_Núñez . ?u property:occupation resource:painter . ?u rdf:type ontology:common_name }
[]
common name
Q6056951
SYSTEM
Paco Serrano
Q6056951
AND((c(Q502895),P19,Q1617311), (c(Q502895),P106,Q1028181))
action filter_type
action intersection
action find_reverse
entity Q1617311
relation P19
action find_reverse
entity Q1028181
relation P106
type Q502895
[ANSWER] have place of birth as Fernán Núñez and have painter as his/her means of employment
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q1617311'], [{'concept': 'Q502895'}, 'P106', 'Q1028181']]}
SELECT DISTINCT ?u WHERE { ?u property:P19 resource:Q1617311 . ?u property:P106 resource:Q1028181 . ?u rdf:type ontology:Q502895 }
Paco Serrano
Paco Serrano have place of birth as Fernán Núñez and have painter as his/her means of employment
Paco Serrano
action filter_type
action intersection
action find_reverse
entity Fernán Núñez
relation place of birth
action find_reverse
entity painter
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Fernán Núñez'], [{'concept': 'common name'}, 'occupation', 'painter']]}
SELECT DISTINCT ?u WHERE { ?u property:place_of_birth resource:Fernán_Núñez . ?u property:occupation resource:painter . ?u rdf:type ontology:common_name }
[]