Simple Question (Direct)
Simple Question
Q1344114
P106
Q12737077
USER
What are the job of Enrique Sarmiento Angulo ?
(Q1344114,P106,c(Q12737077))
action filter_type
action find
entity Q1344114
relation P106
type Q12737077
['Q1344114', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q1344114 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
Enrique Sarmiento Angulo
action filter_type
action find
entity Enrique Sarmiento Angulo
relation occupation
type occupation
['Enrique Sarmiento Angulo', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Enrique_Sarmiento_Angulo property:occupation ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q1234713 Q250867
SYSTEM
theologian, Catholic priest
Q1234713 Q250867
(Q1344114,P106,c(Q12737077))
action filter_type
action find
entity Q1344114
relation P106
type Q12737077
The job of Enrique Sarmiento Angulo are a [ANSWERS]
['Q1344114', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q1344114 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
theologian Catholic priest
The job of Enrique Sarmiento Angulo are a theologian and Catholic priest
theologian Catholic priest
action filter_type
action find
entity Enrique Sarmiento Angulo
relation occupation
type occupation
['Enrique Sarmiento Angulo', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Enrique_Sarmiento_Angulo property:occupation ?f . ?f rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1344114
P21
Q290
USER
What is the sex of Enrique Sarmiento Angulo ?
(Q1344114,P21,c(Q290))
action filter_type
action find
entity Q1344114
relation P21
type Q290
['Q1344114', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q1344114 property:P21 ?q . ?q rdf:type ontology:Q290 }
Enrique Sarmiento Angulo
action filter_type
action find
entity Enrique Sarmiento Angulo
relation gender
type sex
['Enrique Sarmiento Angulo', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Enrique_Sarmiento_Angulo property:gender ?q . ?q rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1344114,P21,c(Q290))
action filter_type
action find
entity Q1344114
relation P21
type Q290
The sex of Enrique Sarmiento Angulo is the [ANSWER]
['Q1344114', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q1344114 property:P21 ?q . ?q rdf:type ontology:Q290 }
male
The sex of Enrique Sarmiento Angulo is the male
male
action filter_type
action find
entity Enrique Sarmiento Angulo
relation gender
type sex
['Enrique Sarmiento Angulo', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Enrique_Sarmiento_Angulo property:gender ?q . ?q rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1344114
P551
Q13220204
USER
Which administrative country subdivision was that person a resident of ?
(Q6581097,P551,c(Q13220204))
action filter_type
action find
entity Q1344114
relation P551
type Q13220204
['Q6581097', 'P551', {'concept': 'Q13220204'}]
SELECT DISTINCT ?v WHERE { resource:Q1344114 property:P551 ?v . ?v rdf:type ontology:Q13220204 }
Enrique Sarmiento Angulo
action filter_type
action find
entity Enrique Sarmiento Angulo
relation residence
type second-level administrative country subdivision
['male', 'residence', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?v WHERE { resource:Enrique_Sarmiento_Angulo property:residence ?v . ?v rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q2841
SYSTEM
Bogotá
Q2841
(Q6581097,P551,c(Q13220204))
action filter_type
action find
entity Q1344114
relation P551
type Q13220204
[ANSWER] was that person a resident of
['Q6581097', 'P551', {'concept': 'Q13220204'}]
SELECT DISTINCT ?v WHERE { resource:Q1344114 property:P551 ?v . ?v rdf:type ontology:Q13220204 }
Bogotá
Bogotá was that person a resident of
Bogotá
action filter_type
action find
entity Enrique Sarmiento Angulo
relation residence
type second-level administrative country subdivision
['male', 'residence', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?v WHERE { resource:Enrique_Sarmiento_Angulo property:residence ?v . ?v rdf:type ontology:second-level_administrative_country_subdivision }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q2841
P190
Q56061
USER
How many administrative territories are partner towns of Bogotá ?
(Q2841,P190,c(Q56061))
action count
action filter_type
action find
entity Q2841
relation P190
type Q56061
['Q2841', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { resource:Q2841 property:P190 ?c . ?c rdf:type ontology:Q56061 }
Bogotá
action count
action filter_type
action find
entity Bogotá
relation sister city
type administrative territorial entity
['Bogotá', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { resource:Bogotá property:sister_city ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
11
Q3579 Q1489 Q727 Q15682 Q612 Q1524 Q2807 Q3238 Q495 Q84 Q1297
(Q2841,P190,c(Q56061))
action count
action filter_type
action find
entity Q2841
relation P190
type Q56061
[ANSWER]
['Q2841', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { resource:Q2841 property:P190 ?c . ?c rdf:type ontology:Q56061 }
Tripoli Mexico City Amsterdam Cádiz Dubai Athens Madrid Tegucigalpa Turin London Chicago
11
action count
action filter_type
action find
entity Bogotá
relation sister city
type administrative territorial entity
['Bogotá', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { resource:Bogotá property:sister_city ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2841
P36
Q15617994
USER
Which administrative territory contains Bogotá as its capital ?
(c(Q15617994),P36,Q2841)
action filter_type
action find_reverse
entity Q2841
relation P36
type Q15617994
[{'concept': 'Q15617994'}, 'P36', 'Q2841']
SELECT DISTINCT ?p WHERE { ?p property:P36 resource:Q2841 . ?p rdf:type ontology:Q15617994 }
Bogotá
action filter_type
action find_reverse
entity Bogotá
relation capital
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', 'Bogotá']
SELECT DISTINCT ?p WHERE { ?p property:capital resource:Bogotá . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q739
SYSTEM
Colombia
Q739
(c(Q15617994),P36,Q2841)
action filter_type
action find_reverse
entity Q2841
relation P36
type Q15617994
[ANSWER] contains Bogotá as its capital
[{'concept': 'Q15617994'}, 'P36', 'Q2841']
SELECT DISTINCT ?p WHERE { ?p property:P36 resource:Q2841 . ?p rdf:type ontology:Q15617994 }
Colombia
Colombia contains Bogotá as its capital
Colombia
action filter_type
action find_reverse
entity Bogotá
relation capital
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', 'Bogotá']
SELECT DISTINCT ?p WHERE { ?p property:capital resource:Bogotá . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2841
P190
Q56061
USER
Which administrative territories are twin cities of Bogotá ?
(Q2841,P190,c(Q56061))
action filter_type
action find
entity Q2841
relation P190
type Q56061
['Q2841', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q2841 property:P190 ?d . ?d rdf:type ontology:Q56061 }
Bogotá
action filter_type
action find
entity Bogotá
relation sister city
type administrative territorial entity
['Bogotá', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Bogotá property:sister_city ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2807 Q1524 Q1489
SYSTEM
Madrid, Athens, Mexico City
Q3579 Q84 Q727 Q15682 Q612 Q1524 Q2807 Q3238 Q495 Q1489 Q1297
(Q2841,P190,c(Q56061))
action filter_type
action find
entity Q2841
relation P190
type Q56061
[ANSWERS] are twin cities of Bogotá
['Q2841', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q2841 property:P190 ?d . ?d rdf:type ontology:Q56061 }
Tripoli London Amsterdam Cádiz Dubai Athens Madrid Tegucigalpa Turin Mexico City Chicago
Madrid, Athens and Mexico City are twin cities of Bogotá
Madrid Athens Mexico City
action filter_type
action find
entity Bogotá
relation sister city
type administrative territorial entity
['Bogotá', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Bogotá property:sister_city ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q2807 Q1524 Q1489
P159
Q4830453
USER
Which business enterprises have their HQ location at those administrative territories ?
(c(Q4830453),P159,Q2807) (c(Q4830453),P159,Q1524) (c(Q4830453),P159,Q1489)
action filter_type
action find_reverse
entity prev_answer
relation P159
type Q4830453
[{'concept': 'Q4830453'}, 'P159', 'Q2807'] [{'concept': 'Q4830453'}, 'P159', 'Q1524'] [{'concept': 'Q4830453'}, 'P159', 'Q1489']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q4830453 . ?l property:P159 ?a . VALUES ( ?a ) { ( resource:Q3579 ) ( resource:Q84 ) ( resource:Q727 ) } }
Madrid Athens Mexico City
action filter_type
action find_reverse
entity prev_answer
relation headquarters location
type business enterprise
[{'concept': 'business enterprise'}, 'headquarters location', 'Madrid'] [{'concept': 'business enterprise'}, 'headquarters location', 'Athens'] [{'concept': 'business enterprise'}, 'headquarters location', 'Mexico City']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:business_enterprise . ?l property:headquarters_location ?a . VALUES ( ?a ) { ( resource:Tripoli ) ( resource:London ) ( resource:Amsterdam ) } }
[]
business enterprise
Q571833 Q1479099 Q1143007
SYSTEM
Antena 3, Mansilla+Tuñón, Renfe Feve
Q5864366 Q2990395 Q2990397 Q1479099 Q1165360 Q571833 Q1143007 Q1329630 Q16849546 Q632923 Q1881193 Q2359677 Q1959647 Q1153669 Q4320605 Q4320654 Q4320587 Q7533771 Q4320539 Q2278494
(c(Q4830453),P159,Q2807) (c(Q4830453),P159,Q1524) (c(Q4830453),P159,Q1489)
action filter_type
action find_reverse
entity prev_answer
relation P159
type Q4830453
[ANSWERS] have their HQ location at those administrative territories
[{'concept': 'Q4830453'}, 'P159', 'Q2807'] [{'concept': 'Q4830453'}, 'P159', 'Q1524'] [{'concept': 'Q4830453'}, 'P159', 'Q1489']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q4830453 . ?l property:P159 ?a . VALUES ( ?a ) { ( resource:Q3579 ) ( resource:Q84 ) ( resource:Q727 ) } }
Foster's Hollywood Compañía de los caminos de hierro del Norte Compañía de los Ferrocarriles de Madrid a Zaragoza y Alicante Mansilla+Tuñón laSexta Antena 3 Renfe Feve Elipsos Investing.com Biotechnia Ellinikon Trikyklon MAVA-Renault Styl Kar Theologou DIM Autokinitoviomihania Ellados YMC Emporiki Autokiniton Skai 100.3 Petropoulos Grupo Sanborns
Antena 3, Mansilla+Tuñón and Renfe Feve have their HQ location at those administrative territories
Antena 3 Mansilla+Tuñón Renfe Feve
action filter_type
action find_reverse
entity prev_answer
relation headquarters location
type business enterprise
[{'concept': 'business enterprise'}, 'headquarters location', 'Madrid'] [{'concept': 'business enterprise'}, 'headquarters location', 'Athens'] [{'concept': 'business enterprise'}, 'headquarters location', 'Mexico City']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:business_enterprise . ?l property:headquarters_location ?a . VALUES ( ?a ) { ( resource:Tripoli ) ( resource:London ) ( resource:Amsterdam ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q571833
P127
Q43229
USER
Which organization does that business enterprise belong to ?
(Q571833,P127,c(Q43229))
action filter_type
action find
entity Q571833
relation P127
type Q43229
['Q571833', 'P127', {'concept': 'Q43229'}]
SELECT DISTINCT ?y WHERE { resource:Q571833 property:P127 ?y . ?y rdf:type ontology:Q43229 }
Antena 3
action filter_type
action find
entity Antena 3
relation owned by
type organization
['Antena 3', 'owned by', {'concept': 'organization'}]
SELECT DISTINCT ?y WHERE { resource:Antena_3 property:owned_by ?y . ?y rdf:type ontology:organization }
[]
organization
Clarification for simple ques.
Q1143007
SYSTEM
Did you mean Renfe Feve ?
Q571833 Q1479099 Q1143007
(Q571833,P127,c(Q43229)) (Q1479099,P127,c(Q43229)) (Q1143007,P127,c(Q43229))
[ANSWER]
['Q571833', 'P127', {'concept': 'Q43229'}] ['Q1479099', 'P127', {'concept': 'Q43229'}] ['Q1143007', 'P127', {'concept': 'Q43229'}]
SELECT DISTINCT ?y WHERE { resource:Q571833 property:P127 ?y . ?y rdf:type ontology:Q43229 }
Antena 3 Mansilla+Tuñón Renfe Feve
Did you mean Renfe Feve ?
Renfe Feve
['Antena 3', 'owned by', {'concept': 'organization'}] ['Mansilla+Tuñón', 'owned by', {'concept': 'organization'}] ['Renfe Feve', 'owned by', {'concept': 'organization'}]
SELECT DISTINCT ?y WHERE { resource:Antena_3 property:owned_by ?y . ?y rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
USER
No, I meant Antena 3. Could you tell me the answer for that?
(Q571833,P127,c(Q43229))
Q571833
['Q571833', 'P127', {'concept': 'Q43229'}]
['Antena 3', 'owned by', {'concept': 'organization'}]
[]
Q5886050
SYSTEM
Atresmedia Corporation
Q5886050
(Q571833,P127,c(Q43229))
action filter_type
action find
entity Q571833
relation P127
type Q43229
That business enterprise belongs to [ANSWER]
['Q571833', 'P127', {'concept': 'Q43229'}]
SELECT DISTINCT ?y WHERE { resource:Q571833 property:P127 ?y . ?y rdf:type ontology:Q43229 }
Atresmedia Corporation
That business enterprise belongs to Atresmedia Corporation
Atresmedia Corporation
action filter_type
action find
entity Antena 3
relation owned by
type organization
['Antena 3', 'owned by', {'concept': 'organization'}]
SELECT DISTINCT ?y WHERE { resource:Antena_3 property:owned_by ?y . ?y rdf:type ontology:organization }
[]