Simple Question (Direct)
Simple Question
Q9093260
P106
Q12737077
USER
What is the profession of Vicente Chapa Olmos ?
(Q9093260,P106,c(Q12737077))
action filter_type
action find
entity Q9093260
relation P106
type Q12737077
['Q9093260', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q12737077 . resource:Q9093260 property:P106 ?m }
Vicente Chapa Olmos
action filter_type
action find
entity Vicente Chapa Olmos
relation occupation
type occupation
['Vicente Chapa Olmos', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:occupation . resource:Vicente_Chapa_Olmos property:occupation ?m }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q9093260,P106,c(Q12737077))
action filter_type
action find
entity Q9093260
relation P106
type Q12737077
The profession of Vicente Chapa Olmos is a [ANSWER]
['Q9093260', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q12737077 . resource:Q9093260 property:P106 ?m }
politician
The profession of Vicente Chapa Olmos is a politician
politician
action filter_type
action find
entity Vicente Chapa Olmos
relation occupation
type occupation
['Vicente Chapa Olmos', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:occupation . resource:Vicente_Chapa_Olmos property:occupation ?m }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9093260
P937
Q56061
USER
What is the work location of that person ?
(Q82955,P937,c(Q56061))
action filter_type
action find
entity Q9093260
relation P937
type Q56061
['Q82955', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q9093260 property:P937 ?r . ?r rdf:type ontology:Q56061 }
Vicente Chapa Olmos
action filter_type
action find
entity Vicente Chapa Olmos
relation work location
type administrative territorial entity
['politician', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Vicente_Chapa_Olmos property:work_location ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2807
SYSTEM
Madrid
Q2807
(Q82955,P937,c(Q56061))
action filter_type
action find
entity Q9093260
relation P937
type Q56061
The work location of that person is in [ANSWER]
['Q82955', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q9093260 property:P937 ?r . ?r rdf:type ontology:Q56061 }
Madrid
The work location of that person is in Madrid
Madrid
action filter_type
action find
entity Vicente Chapa Olmos
relation work location
type administrative territorial entity
['politician', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Vicente_Chapa_Olmos property:work_location ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2807
P276
Q41176
USER
Which buildings are located at that administrative territory ?
(c(Q41176),P276,Q2807)
action filter_type
action find_reverse
entity Q2807
relation P276
type Q41176
[{'concept': 'Q41176'}, 'P276', 'Q2807']
SELECT DISTINCT ?n WHERE { ?n property:P276 resource:Q2807 . ?n rdf:type ontology:Q41176 }
Madrid
action filter_type
action find_reverse
entity Madrid
relation location
type building
[{'concept': 'building'}, 'location', 'Madrid']
SELECT DISTINCT ?n WHERE { ?n property:location resource:Madrid . ?n rdf:type ontology:building }
[]
building
Q6139667 Q7691940 Q15788195
SYSTEM
Coliseum Building, Teatro Pavón, Teatro El Dorado
Q15788195 Q7691940 Q6139667 Q17358260 Q15640791 Q15640802 Q9051124 Q18340776
(c(Q41176),P276,Q2807)
action filter_type
action find_reverse
entity Q2807
relation P276
type Q41176
[ANSWERS] are located at that administrative territory
[{'concept': 'Q41176'}, 'P276', 'Q2807']
SELECT DISTINCT ?n WHERE { ?n property:P276 resource:Q2807 . ?n rdf:type ontology:Q41176 }
Teatro El Dorado Teatro Pavón Coliseum Building Palacio del Duque de Uceda Teatro Circo de Rivas Teatro del Circo Nuevo Teatro Alcalá Palacio del Marqués de Casa-Riera
Coliseum Building, Teatro Pavón and Teatro El Dorado are located at that administrative territory
Coliseum Building Teatro Pavón Teatro El Dorado
action filter_type
action find_reverse
entity Madrid
relation location
type building
[{'concept': 'building'}, 'location', 'Madrid']
SELECT DISTINCT ?n WHERE { ?n property:location resource:Madrid . ?n rdf:type ontology:building }
[]
Clarification
Simple Question|Single Entity|Indirect
Q6139667
P84
Q502895
USER
Who architectured that building ?
(Q6139667,P84,c(Q502895))
action filter_type
action find
entity Q6139667
relation P84
type Q502895
['Q6139667', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q6139667 property:P84 ?s . ?s rdf:type ontology:Q502895 }
Coliseum Building
action filter_type
action find
entity Coliseum Building
relation architect
type common name
['Coliseum Building', 'architect', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Coliseum_Building property:architect ?s . ?s rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q7691940
SYSTEM
Did you mean Teatro Pavón ?
Q6139667 Q7691940 Q15788195
(Q6139667,P84,c(Q502895)) (Q7691940,P84,c(Q502895)) (Q15788195,P84,c(Q502895))
[ANSWER]
['Q6139667', 'P84', {'concept': 'Q502895'}] ['Q7691940', 'P84', {'concept': 'Q502895'}] ['Q15788195', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q6139667 property:P84 ?s . ?s rdf:type ontology:Q502895 }
Coliseum Building Teatro Pavón Teatro El Dorado
Did you mean Teatro Pavón ?
Teatro Pavón
['Coliseum Building', 'architect', {'concept': 'common name'}] ['Teatro Pavón', 'architect', {'concept': 'common name'}] ['Teatro El Dorado', 'architect', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Coliseum_Building property:architect ?s . ?s rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Coliseum Building. Could you tell me the answer for that?
(Q6139667,P84,c(Q502895))
Q6139667
['Q6139667', 'P84', {'concept': 'Q502895'}]
['Coliseum Building', 'architect', {'concept': 'common name'}]
[]
Q3374095 Q5757849
SYSTEM
Pedro Muguruza, Casto Fernández Shaw
Q3374095 Q5757849
(Q6139667,P84,c(Q502895))
action filter_type
action find
entity Q6139667
relation P84
type Q502895
[ANSWERS] architectured that building
['Q6139667', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q6139667 property:P84 ?s . ?s rdf:type ontology:Q502895 }
Pedro Muguruza Casto Fernández Shaw
Pedro Muguruza and Casto Fernández Shaw architectured that building
Pedro Muguruza Casto Fernández Shaw
action filter_type
action find
entity Coliseum Building
relation architect
type common name
['Coliseum Building', 'architect', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Coliseum_Building property:architect ?s . ?s rdf:type ontology:common_name }
[]