Simple Question (Direct)
Simple Question
Q36989
P6
Q502895
USER
Which person has Pardubice as its head of government ?
(Q36989,P6,c(Q502895))
action filter_type
action find
entity Q36989
relation P6
type Q502895
['Q36989', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q36989 property:P6 ?t . ?t rdf:type ontology:Q502895 }
Pardubice
action filter_type
action find
entity Pardubice
relation head of government
type common name
['Pardubice', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Pardubice property:head_of_government ?t . ?t rdf:type ontology:common_name }
[]
common name
Q10498553
SYSTEM
Štěpánka Fraňková
Q10498553
(Q36989,P6,c(Q502895))
action filter_type
action find
entity Q36989
relation P6
type Q502895
[ANSWER] has Pardubice as its head of government
['Q36989', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q36989 property:P6 ?t . ?t rdf:type ontology:Q502895 }
Štěpánka Fraňková
Štěpánka Fraňková has Pardubice as its head of government
Štěpánka Fraňková
action filter_type
action find
entity Pardubice
relation head of government
type common name
['Pardubice', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Pardubice property:head_of_government ?t . ?t rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q36989
P190
Q56061
USER
Which administrative territories are twin cities of that one ?
(Q10498553,P190,c(Q56061))
action filter_type
action find
entity Q36989
relation P190
type Q56061
['Q10498553', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q36989 property:P190 ?f . ?f rdf:type ontology:Q56061 }
Pardubice
action filter_type
action find
entity Pardubice
relation sister city
type administrative territorial entity
['Štěpánka Fraňková', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Pardubice property:sister_city ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q16020 Q185289
SYSTEM
Schönebeck, Pernik
Q16020 Q185289
(Q10498553,P190,c(Q56061))
action filter_type
action find
entity Q36989
relation P190
type Q56061
[ANSWERS] are twin cities of that one
['Q10498553', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q36989 property:P190 ?f . ?f rdf:type ontology:Q56061 }
Schönebeck Pernik
Schönebeck and Pernik are twin cities of that one
Schönebeck Pernik
action filter_type
action find
entity Pardubice
relation sister city
type administrative territorial entity
['Štěpánka Fraňková', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Pardubice property:sister_city ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1645091 Q16020
P47 P17
Q1048835
USER
Which political territories are Schönebeck located in or share the border with Santiago-Pontones ?
OR((Q16020,P17,c(Q1048835)), (Q1645091,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q16020
relation P17
action find
entity Q1645091
relation P47
type Q1048835
{'OR': [['Q16020', 'P17', {'concept': 'Q1048835'}], ['Q1645091', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q16020 property:P17 ?k } UNION { resource:Q1645091 property:P47 ?k } } . ?k rdf:type ontology:Q1048835 }
Santiago-Pontones Schönebeck
action filter_type
action union
action find
entity Schönebeck
relation country
action find
entity Santiago-Pontones
relation shares border with
type political territorial entity
{'OR': [['Schönebeck', 'country', {'concept': 'political territorial entity'}], ['Santiago-Pontones', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Schönebeck property:country ?k } UNION { resource:Santiago-Pontones property:shares_border_with ?k } } . ?k rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q555913 Q183 Q1751217 Q1756689 Q575709 Q1631853 Q618586 Q1641667 Q1645527 Q1756730
SYSTEM
Some of them are Castril, Germany, Villacarrillo, Hornos, Huéscar, Benatae, Yeste, Villanueva del Arzobispo, La Iruela, Iznatoraf
Q1641667 Q518339 Q1645527 Q183 Q593528 Q575709 Q1645054 Q618586 Q1756689 Q1986483 Q1631853 Q555913 Q1756730 Q1751217
OR((Q16020,P17,c(Q1048835)), (Q1645091,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q16020
relation P17
action find
entity Q1645091
relation P47
type Q1048835
[ANSWERS] are Schönebeck located in or share the border with Santiago-Pontones
{'OR': [['Q16020', 'P17', {'concept': 'Q1048835'}], ['Q1645091', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q16020 property:P17 ?k } UNION { resource:Q1645091 property:P47 ?k } } . ?k rdf:type ontology:Q1048835 }
Villanueva del Arzobispo Cazorla La Iruela Germany Nerpio Huéscar Segura de la Sierra Yeste Hornos Santo Tomé Benatae Castril Iznatoraf Villacarrillo
Castril, Germany, Villacarrillo, Hornos, Huéscar, Benatae, Yeste, Villanueva del Arzobispo, La Iruela and Iznatoraf are Schönebeck located in or share the border with Santiago-Pontones
Castril Germany Villacarrillo Hornos Huéscar Benatae Yeste Villanueva del Arzobispo La Iruela Iznatoraf
action filter_type
action union
action find
entity Schönebeck
relation country
action find
entity Santiago-Pontones
relation shares border with
type political territorial entity
{'OR': [['Schönebeck', 'country', {'concept': 'political territorial entity'}], ['Santiago-Pontones', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Schönebeck property:country ?k } UNION { resource:Santiago-Pontones property:shares_border_with ?k } } . ?k rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q185289
P190
Q56061
USER
How many administrative territories are sister town of Pernik ?
(c(Q56061),P190,Q185289)
action count
action filter_type
action find_reverse
entity Q185289
relation P190
type Q56061
[{'concept': 'Q56061'}, 'P190', 'Q185289']
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { ?n property:P190 resource:Q185289 . ?n rdf:type ontology:Q56061 }
Pernik
action count
action filter_type
action find_reverse
entity Pernik
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Pernik']
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { ?n property:sister_city resource:Pernik . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
15
Q506775 Q134279 Q714650 Q158088 Q104557 Q198419 Q437 Q1733 Q208609 Q490 Q384 Q36989 Q807 Q160544 Q10690
(c(Q56061),P190,Q185289)
action count
action filter_type
action find_reverse
entity Q185289
relation P190
type Q56061
[ANSWER]
[{'concept': 'Q56061'}, 'P190', 'Q185289']
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { ?n property:P190 resource:Q185289 . ?n rdf:type ontology:Q56061 }
Rožaje Luhansk Obrenovac Kavadarci Balashikha Elektrostal Ljubljana Magdeburg Orsha Milan Skopje Pardubice Lausanne Heraklion Cardiff
15
action count
action filter_type
action find_reverse
entity Pernik
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Pernik']
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { ?n property:sister_city resource:Pernik . ?n rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q45
P159
Q43229
USER
Which organizations have the principal seat at Portugal ?
(c(Q43229),P159,Q45)
action filter_type
action find_reverse
entity Q45
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q45']
SELECT DISTINCT ?k WHERE { ?k property:P159 resource:Q45 . ?k rdf:type ontology:Q43229 }
Portugal
action filter_type
action find_reverse
entity Portugal
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Portugal']
SELECT DISTINCT ?k WHERE { ?k property:headquarters_location resource:Portugal . ?k rdf:type ontology:organization }
[]
organization
Q3042224 Q5015795 Q4409902
SYSTEM
Minipreço, Cabovisão, Salsa Jeans
Q3042224 Q4409902 Q7975297 Q7563179 Q5015795 Q4887575
(c(Q43229),P159,Q45)
action filter_type
action find_reverse
entity Q45
relation P159
type Q43229
[ANSWERS] have the principal seat at Portugal
[{'concept': 'Q43229'}, 'P159', 'Q45']
SELECT DISTINCT ?k WHERE { ?k property:P159 resource:Q45 . ?k rdf:type ontology:Q43229 }
Minipreço Salsa Jeans Wave Solutions Sopormetal Cabovisão Benfica Stars Fund
Minipreço, Cabovisão and Salsa Jeans have the principal seat at Portugal
Minipreço Cabovisão Salsa Jeans
action filter_type
action find_reverse
entity Portugal
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Portugal']
SELECT DISTINCT ?k WHERE { ?k property:headquarters_location resource:Portugal . ?k rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q3042224 Q5015795 Q4409902
P159
Q15617994
USER
Which administrative territories are the head offices of Minipreço, Cabovisão and Salsa Jeans ?
(Q3042224,P159,c(Q15617994)) (Q5015795,P159,c(Q15617994)) (Q4409902,P159,c(Q15617994))
action union
action filter_type
action find
entity Q3042224
relation P159
type Q15617994
action filter_type
action find
entity Q5015795
relation P159
type Q15617994
action filter_type
action find
entity Q4409902
relation P159
type Q15617994
['Q3042224', 'P159', {'concept': 'Q15617994'}] ['Q5015795', 'P159', {'concept': 'Q15617994'}] ['Q4409902', 'P159', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { VALUES ( ?j ) { ( resource:Q3042224 ) ( resource:Q5015795 ) } . ?j property:P159 ?s }
Minipreço Cabovisão Salsa Jeans
action union
action filter_type
action find
entity Minipreço
relation headquarters location
type designation for an administrative territorial entity
action filter_type
action find
entity Cabovisão
relation headquarters location
type designation for an administrative territorial entity
action filter_type
action find
entity Salsa Jeans
relation headquarters location
type designation for an administrative territorial entity
['Minipreço', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}] ['Cabovisão', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}] ['Salsa Jeans', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { VALUES ( ?j ) { ( resource:Minipreço ) ( resource:Cabovisão ) } . ?j property:headquarters_location ?s }
[]
designation for an administrative territorial entity
Q45 Q45 Q45
SYSTEM
Portugal
Q45 Q45 Q45
(Q3042224,P159,c(Q15617994)) (Q5015795,P159,c(Q15617994)) (Q4409902,P159,c(Q15617994))
action union
action filter_type
action find
entity Q3042224
relation P159
type Q15617994
action filter_type
action find
entity Q5015795
relation P159
type Q15617994
action filter_type
action find
entity Q4409902
relation P159
type Q15617994
[ANSWER], [ANSWER] and [ANSWER] are the head offices of Minipreço, Cabovisão and Salsa Jeans
['Q3042224', 'P159', {'concept': 'Q15617994'}] ['Q5015795', 'P159', {'concept': 'Q15617994'}] ['Q4409902', 'P159', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { VALUES ( ?j ) { ( resource:Q3042224 ) ( resource:Q5015795 ) } . ?j property:P159 ?s }
Portugal Portugal Portugal
Portugal, Portugal and Portugal are the head offices of Minipreço, Cabovisão and Salsa Jeans
Portugal Portugal Portugal
action union
action filter_type
action find
entity Minipreço
relation headquarters location
type designation for an administrative territorial entity
action filter_type
action find
entity Cabovisão
relation headquarters location
type designation for an administrative territorial entity
action filter_type
action find
entity Salsa Jeans
relation headquarters location
type designation for an administrative territorial entity
['Minipreço', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}] ['Cabovisão', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}] ['Salsa Jeans', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { VALUES ( ?j ) { ( resource:Minipreço ) ( resource:Cabovisão ) } . ?j property:headquarters_location ?s }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q45
P20
Q502895
USER
Which people have that administrative territory as place of death ?
(c(Q502895),P20,Q45) (c(Q502895),P20,Q45) (c(Q502895),P20,Q45)
action filter_type
action find_reverse
entity Q45
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q45'] [{'concept': 'Q502895'}, 'P20', 'Q45'] [{'concept': 'Q502895'}, 'P20', 'Q45']
SELECT DISTINCT ?z WHERE { ?z property:P20 resource:Q45 . ?z rdf:type ontology:Q502895 }
Portugal
action filter_type
action find_reverse
entity Portugal
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Portugal'] [{'concept': 'common name'}, 'place of death', 'Portugal'] [{'concept': 'common name'}, 'place of death', 'Portugal']
SELECT DISTINCT ?z WHERE { ?z property:place_of_death resource:Portugal . ?z rdf:type ontology:common_name }
[]
common name
Q2594188 Q272903 Q4794447
SYSTEM
Theresa of Portugal, Queen of León, Afonso IV of Portugal, Arnaldo Silva
Q6173673 Q8076677 Q1644961 Q2386207 Q272903 Q1767640 Q2857760 Q3187281 Q1467938 Q3886455 Q126300 Q3040481 Q5716770 Q20109219 Q1705219 Q716827 Q1678962 Q555770 Q1647901 Q7931015 Q4720917 Q46053 Q6192713 Q5294485 Q2594188 Q226023 Q257001 Q5302093 Q461373 Q4777570 Q8896932 Q2580420 Q343809 Q4794447 Q2666814 Q2402476
(c(Q502895),P20,Q45) (c(Q502895),P20,Q45) (c(Q502895),P20,Q45)
action filter_type
action find_reverse
entity Q45
relation P20
type Q502895
[ANSWERS] have that administrative territory as place of death
[{'concept': 'Q502895'}, 'P20', 'Q45'] [{'concept': 'Q502895'}, 'P20', 'Q45'] [{'concept': 'Q502895'}, 'P20', 'Q45']
SELECT DISTINCT ?z WHERE { ?z property:P20 resource:Q45 . ?z rdf:type ontology:Q502895 }
Ángela de Azevedo Álvaro Carolino Raymond Lygo Conny van Rietschoten Afonso IV of Portugal Solomon Alami António Reis João Baptista Martins Fritz Reinhold Holmer Oscar Tarrío W. W. Shols Duarte de Menezes Henrique Viana Susanne Hay Josef Martin Hurka David Berg Jakob Chrysostomus Praetorius Luís Goes Albano Ville Salminen Alexandre de Pontes Clive Dunn Jill Adams Donald Hardman Theresa of Portugal, Queen of León João Tamagnini Barbosa Matilda II, Countess of Boulogne Douglas Wellesley Morrell Sara Pinto Coelho António Jesus Correia Jean de Rouen William Roy Samir Shihabi Arnaldo Silva Saint Ovidius Manuel Vasques
Theresa of Portugal, Queen of León, Afonso IV of Portugal and Arnaldo Silva have that administrative territory as place of death
Theresa of Portugal, Queen of León Afonso IV of Portugal Arnaldo Silva
action filter_type
action find_reverse
entity Portugal
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Portugal'] [{'concept': 'common name'}, 'place of death', 'Portugal'] [{'concept': 'common name'}, 'place of death', 'Portugal']
SELECT DISTINCT ?z WHERE { ?z property:place_of_death resource:Portugal . ?z rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q4794447
P54
Q1194951
USER
What is that person a member of ?
(Q4794447,P54,c(Q1194951))
action filter_type
action find
entity Q4794447
relation P54
type Q1194951
['Q4794447', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?l WHERE { resource:Q4794447 property:P54 ?l . ?l rdf:type ontology:Q1194951 }
Arnaldo Silva
action filter_type
action find
entity Arnaldo Silva
relation member of sports team
type national sports team
['Arnaldo Silva', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?l WHERE { resource:Arnaldo_Silva property:member_of_sports_team ?l . ?l rdf:type ontology:national_sports_team }
[]
national sports team
Clarification for simple ques.
Q2594188
SYSTEM
Did you mean Theresa of Portugal, Queen of León ?
Q2594188 Q272903 Q4794447
(Q2594188,P54,c(Q1194951)) (Q272903,P54,c(Q1194951)) (Q4794447,P54,c(Q1194951))
[ANSWER]
['Q2594188', 'P54', {'concept': 'Q1194951'}] ['Q272903', 'P54', {'concept': 'Q1194951'}] ['Q4794447', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?l WHERE { resource:Q4794447 property:P54 ?l . ?l rdf:type ontology:Q1194951 }
Theresa of Portugal, Queen of León Afonso IV of Portugal Arnaldo Silva
Did you mean Theresa of Portugal, Queen of León ?
Theresa of Portugal, Queen of León
['Theresa of Portugal, Queen of León', 'member of sports team', {'concept': 'national sports team'}] ['Afonso IV of Portugal', 'member of sports team', {'concept': 'national sports team'}] ['Arnaldo Silva', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?l WHERE { resource:Arnaldo_Silva property:member_of_sports_team ?l . ?l rdf:type ontology:national_sports_team }
[]
Simple Question (Coreferenced)
USER
No, I meant Arnaldo Silva. Could you tell me the answer for that?
(Q4794447,P54,c(Q1194951))
Q4794447
['Q4794447', 'P54', {'concept': 'Q1194951'}]
['Arnaldo Silva', 'member of sports team', {'concept': 'national sports team'}]
[]
Q267245
SYSTEM
Portugal national football team
Q267245
(Q4794447,P54,c(Q1194951))
action filter_type
action find
entity Q4794447
relation P54
type Q1194951
That person a member of is the [ANSWER]
['Q4794447', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?l WHERE { resource:Q4794447 property:P54 ?l . ?l rdf:type ontology:Q1194951 }
Portugal national football team
That person a member of is the Portugal national football team
Portugal national football team
action filter_type
action find
entity Arnaldo Silva
relation member of sports team
type national sports team
['Arnaldo Silva', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?l WHERE { resource:Arnaldo_Silva property:member_of_sports_team ?l . ?l rdf:type ontology:national_sports_team }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q267245 Q17011073 Q47735
P1344
Q15275719
USER
Did Portugal national football team participate in Teen Choice Award for Choice Animated Show and 2002 FIFA World Cup ?
(Q267245,P1344,Q17011073) (Q267245,P1344,Q47735)
action is_in
entity Q267245
action intersection
action find_reverse
entity Q17011073
relation P1344
action find_reverse
entity Q47735
relation P1344
['Q267245', 'P1344', 'Q17011073'] ['Q267245', 'P1344', 'Q47735']
ASK WHERE { resource:Q267245 property:P1344 resource:Q17011073 . resource:Q267245 property:P1344 resource:Q47735 }
Portugal national football team Teen Choice Award for Choice Animated Show 2002 FIFA World Cup
action is_in
entity Portugal national football team
action intersection
action find_reverse
entity Teen Choice Award for Choice Animated Show
relation participant of
action find_reverse
entity 2002 FIFA World Cup
relation participant of
['Portugal national football team', 'participant of', 'Teen Choice Award for Choice Animated Show'] ['Portugal national football team', 'participant of', '2002 FIFA World Cup']
ASK WHERE { resource:Portugal_national_football_team property:participant_of resource:Teen_Choice_Award_for_Choice_Animated_Show . resource:Portugal_national_football_team property:participant_of resource:2002_FIFA_World_Cup }
[]
recurring event
SYSTEM
NO and YES respectively
(Q267245,P1344,Q17011073) (Q267245,P1344,Q47735)
action is_in
entity Q267245
action intersection
action find_reverse
entity Q17011073
relation P1344
action find_reverse
entity Q47735
relation P1344
[ANSWER]
['Q267245', 'P1344', 'Q17011073'] ['Q267245', 'P1344', 'Q47735']
ASK WHERE { resource:Q267245 property:P1344 resource:Q17011073 . resource:Q267245 property:P1344 resource:Q47735 }
NO and YES respectively
action is_in
entity Portugal national football team
action intersection
action find_reverse
entity Teen Choice Award for Choice Animated Show
relation participant of
action find_reverse
entity 2002 FIFA World Cup
relation participant of
['Portugal national football team', 'participant of', 'Teen Choice Award for Choice Animated Show'] ['Portugal national football team', 'participant of', '2002 FIFA World Cup']
ASK WHERE { resource:Portugal_national_football_team property:participant_of resource:Teen_Choice_Award_for_Choice_Animated_Show . resource:Portugal_national_football_team property:participant_of resource:2002_FIFA_World_Cup }
[]