Simple Question (Direct)
Simple Question
Q5109292
P21
Q290
USER
Which sex does Christian Armas have ?
(Q5109292,P21,c(Q290))
action filter_type
action find
entity Q5109292
relation P21
type Q290
['Q5109292', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q290 . resource:Q5109292 property:P21 ?p }
Christian Armas
action filter_type
action find
entity Christian Armas
relation gender
type sex
['Christian Armas', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:sex . resource:Christian_Armas property:gender ?p }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5109292,P21,c(Q290))
action filter_type
action find
entity Q5109292
relation P21
type Q290
Christian Armas has a [ANSWER]
['Q5109292', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q290 . resource:Q5109292 property:P21 ?p }
male
Christian Armas has a male
male
action filter_type
action find
entity Christian Armas
relation gender
type sex
['Christian Armas', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:sex . resource:Christian_Armas property:gender ?p }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5109292
P1412
Q34770
USER
Which language can that person read ?
(Q6581097,P1412,c(Q34770))
action filter_type
action find
entity Q5109292
relation P1412
type Q34770
['Q6581097', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?o WHERE { resource:Q5109292 property:P1412 ?o . ?o rdf:type ontology:Q34770 }
Christian Armas
action filter_type
action find
entity Christian Armas
relation languages spoken, written or signed
type language
['male', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?o WHERE { resource:Christian_Armas property:languages_spoken,_written_or_signed ?o . ?o rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q6581097,P1412,c(Q34770))
action filter_type
action find
entity Q5109292
relation P1412
type Q34770
That person can read the [ANSWER]
['Q6581097', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?o WHERE { resource:Q5109292 property:P1412 ?o . ?o rdf:type ontology:Q34770 }
Spanish
That person can read the Spanish
Spanish
action filter_type
action find
entity Christian Armas
relation languages spoken, written or signed
type language
['male', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?o WHERE { resource:Christian_Armas property:languages_spoken,_written_or_signed ?o . ?o rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5109292
P19
Q56061
USER
Which administrative territory was Christian Armas born at ?
(Q5109292,P19,c(Q56061))
action filter_type
action find
entity Q5109292
relation P19
type Q56061
['Q5109292', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q5109292 property:P19 ?e . ?e rdf:type ontology:Q56061 }
Christian Armas
action filter_type
action find
entity Christian Armas
relation place of birth
type administrative territorial entity
['Christian Armas', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Christian_Armas property:place_of_birth ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q207972
SYSTEM
Tepic
Q207972
(Q5109292,P19,c(Q56061))
action filter_type
action find
entity Q5109292
relation P19
type Q56061
Christian Armas was born in [ANSWER]
['Q5109292', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q5109292 property:P19 ?e . ?e rdf:type ontology:Q56061 }
Tepic
Christian Armas was born in Tepic
Tepic
action filter_type
action find
entity Christian Armas
relation place of birth
type administrative territorial entity
['Christian Armas', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Christian_Armas property:place_of_birth ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q207972 Q513013 Q96
P17
Q15617994
USER
Is Tepic located in Heretsried and Mexico ?
(Q207972,P17,Q513013) (Q207972,P17,Q96)
action is_in
entity Q207972
action intersection
action find_reverse
entity Q513013
relation P17
action find_reverse
entity Q96
relation P17
['Q207972', 'P17', 'Q513013'] ['Q207972', 'P17', 'Q96']
ASK WHERE { resource:Q207972 property:P17 resource:Q513013 . resource:Q207972 property:P17 resource:Q96 }
Tepic Heretsried Mexico
action is_in
entity Tepic
action intersection
action find_reverse
entity Heretsried
relation country
action find_reverse
entity Mexico
relation country
['Tepic', 'country', 'Heretsried'] ['Tepic', 'country', 'Mexico']
ASK WHERE { resource:Tepic property:country resource:Heretsried . resource:Tepic property:country resource:Mexico }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q207972,P17,Q513013) (Q207972,P17,Q96)
action is_in
entity Q207972
action intersection
action find_reverse
entity Q513013
relation P17
action find_reverse
entity Q96
relation P17
[ANSWER]
['Q207972', 'P17', 'Q513013'] ['Q207972', 'P17', 'Q96']
ASK WHERE { resource:Q207972 property:P17 resource:Q513013 . resource:Q207972 property:P17 resource:Q96 }
NO and YES respectively
action is_in
entity Tepic
action intersection
action find_reverse
entity Heretsried
relation country
action find_reverse
entity Mexico
relation country
['Tepic', 'country', 'Heretsried'] ['Tepic', 'country', 'Mexico']
ASK WHERE { resource:Tepic property:country resource:Heretsried . resource:Tepic property:country resource:Mexico }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q207972
P190
Q123705
USER
Which neighborhood is partner town of that administrative territory ?
action filter_type
action find
entity Q207972
relation P190
type Q123705
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q123705 . resource:Q207972 property:P190 ?k }
Tepic
action filter_type
action find
entity Tepic
relation sister city
type neighborhood
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:neighborhood . resource:Tepic property:sister_city ?k }
[]
neighborhood
Q1165566
SYSTEM
Old Havana
Q1165566
action filter_type
action find
entity Q207972
relation P190
type Q123705
[ANSWER] is partner town of that administrative territory
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q123705 . resource:Q207972 property:P190 ?k }
Old Havana
Old Havana is partner town of that administrative territory
Old Havana
action filter_type
action find
entity Tepic
relation sister city
type neighborhood
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:neighborhood . resource:Tepic property:sister_city ?k }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P37
Q34770 Q56061 Q15617994
USER
Which languages are considered to be the official language of around 8 administrative territories or administrative territories ?
(c(Q56061)|c(Q15617994),P37,c(Q34770))
action approx
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q56061
action find_reverse_tuple_counts
relation P37
type Q34770
type Q15617994
value 8
[[{'concept': 'Q56061'}, {'concept': 'Q15617994'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) ?w WHERE { { ?j property:P37 ?w . ?w rdf:type ontology:Q34770 . ?j rdf:type ontology:Q15617994 } UNION { ?w rdf:type ontology:Q34770 . ?j rdf:type ontology:Q56061 . ?j property:P37 ?w } } GROUP BY ?w } . FILTER ( ?p = 8 ) }
action approx
action union
action find_reverse_tuple_counts
relation official language
type language
type administrative territorial entity
action find_reverse_tuple_counts
relation official language
type language
type designation for an administrative territorial entity
value 8
[[{'concept': 'administrative territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) ?w WHERE { { ?j property:official_language ?w . ?w rdf:type ontology:language . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?w rdf:type ontology:language . ?j rdf:type ontology:administrative_territorial_entity . ?j property:official_language ?w } } GROUP BY ?w } . FILTER ( ?p = 8 ) }
[]
language administrative territorial entity designation for an administrative territorial entity
Q9056 Q33251 Q8752
SYSTEM
Czech, Church Slavonic, Basque
Q9056 Q33251 Q13211 Q3110592 Q36206 Q652 Q8752 Q36880 Q33976 Q35499 Q397 Q35726 Q8785 Q25164
(c(Q56061)|c(Q15617994),P37,c(Q34770))
action approx
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q56061
action find_reverse_tuple_counts
relation P37
type Q34770
type Q15617994
value 8
[ANSWERS] are considered to be the official language of around 8 administrative territories or administrative territories
[[{'concept': 'Q56061'}, {'concept': 'Q15617994'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) ?w WHERE { { ?j property:P37 ?w . ?w rdf:type ontology:Q34770 . ?j rdf:type ontology:Q15617994 } UNION { ?w rdf:type ontology:Q34770 . ?j rdf:type ontology:Q56061 . ?j property:P37 ?w } } GROUP BY ?w } . FILTER ( ?p = 8 ) }
Czech Church Slavonic Ruthenian written Chinese Lak Italian Basque Bulgar language Sardinian language Old Church Slavonic Latin Etruscan Armenian Nynorsk
Czech, Church Slavonic and Basque are considered to be the official language of around 8 administrative territories or administrative territories
Czech Church Slavonic Basque
action approx
action union
action find_reverse_tuple_counts
relation official language
type language
type administrative territorial entity
action find_reverse_tuple_counts
relation official language
type language
type designation for an administrative territorial entity
value 8
[[{'concept': 'administrative territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) ?w WHERE { { ?j property:official_language ?w . ?w rdf:type ontology:language . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?w rdf:type ontology:language . ?j rdf:type ontology:administrative_territorial_entity . ?j property:official_language ?w } } GROUP BY ?w } . FILTER ( ?p = 8 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q8752
P364
Q2342494
USER
Which collectables were done in that one language during their inception ?
(c(Q2342494),P364,Q8752)
action filter_type
action find_reverse
entity Q8752
relation P364
type Q2342494
[{'concept': 'Q2342494'}, 'P364', 'Q8752']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q2342494 . ?c property:P364 resource:Q8752 }
Basque
action filter_type
action find_reverse
entity Basque
relation original language of work
type collectable
[{'concept': 'collectable'}, 'original language of work', 'Basque']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:collectable . ?c property:original_language_of_work resource:Basque }
[]
collectable
Clarification for simple ques.
Q8752
SYSTEM
Did you mean Basque ?
Q9056 Q33251 Q8752
(c(Q2342494),P364,Q9056) (c(Q2342494),P364,Q33251) (c(Q2342494),P364,Q8752)
[ANSWER]
[{'concept': 'Q2342494'}, 'P364', 'Q9056'] [{'concept': 'Q2342494'}, 'P364', 'Q33251'] [{'concept': 'Q2342494'}, 'P364', 'Q8752']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q2342494 . ?c property:P364 resource:Q8752 }
Czech Church Slavonic Basque
Did you mean Basque ?
Basque
[{'concept': 'collectable'}, 'original language of work', 'Czech'] [{'concept': 'collectable'}, 'original language of work', 'Church Slavonic'] [{'concept': 'collectable'}, 'original language of work', 'Basque']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:collectable . ?c property:original_language_of_work resource:Basque }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q2342494),P364,Q8752)
[{'concept': 'Q2342494'}, 'P364', 'Q8752']
[{'concept': 'collectable'}, 'original language of work', 'Basque']
[]
Q3571247 Q12253315 Q8247919
SYSTEM
Obabakoak, Amaren eskuak, Bilbao-New York-Bilbao
Q3571247 Q12253315 Q8247919
(c(Q2342494),P364,Q8752)
action filter_type
action find_reverse
entity Q8752
relation P364
type Q2342494
[ANSWERS] were done in that one language during their inception
[{'concept': 'Q2342494'}, 'P364', 'Q8752']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q2342494 . ?c property:P364 resource:Q8752 }
Obabakoak Amaren eskuak Bilbao-New York-Bilbao
Obabakoak, Amaren eskuak and Bilbao-New York-Bilbao were done in that one language during their inception
Obabakoak Amaren eskuak Bilbao-New York-Bilbao
action filter_type
action find_reverse
entity Basque
relation original language of work
type collectable
[{'concept': 'collectable'}, 'original language of work', 'Basque']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:collectable . ?c property:original_language_of_work resource:Basque }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q661515 Q513013
P47 P17
Q1048835
USER
Which political territories do Heretsried belong to or share the border with Mendata ?
OR((Q513013,P17,c(Q1048835)), (Q661515,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q513013
relation P17
action find
entity Q661515
relation P47
type Q1048835
{'OR': [['Q513013', 'P17', {'concept': 'Q1048835'}], ['Q661515', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q513013 property:P17 ?q } UNION { resource:Q661515 property:P47 ?q } } . ?q rdf:type ontology:Q1048835 }
Mendata Heretsried
action filter_type
action union
action find
entity Heretsried
relation country
action find
entity Mendata
relation shares border with
type political territorial entity
{'OR': [['Heretsried', 'country', {'concept': 'political territorial entity'}], ['Mendata', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Heretsried property:country ?q } UNION { resource:Mendata property:shares_border_with ?q } } . ?q rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1228043 Q4472 Q183 Q1228784 Q745645 Q765761 Q664870
SYSTEM
Ajangiz, Aulesti, Germany, Arratzu, Munitibar-Arbatzegi Gerrikaitz, Nabarniz, Muxika
Q1228043 Q4472 Q183 Q1228784 Q745645 Q765761 Q664870
OR((Q513013,P17,c(Q1048835)), (Q661515,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q513013
relation P17
action find
entity Q661515
relation P47
type Q1048835
Heretsried belong to the [ANSWERS]
{'OR': [['Q513013', 'P17', {'concept': 'Q1048835'}], ['Q661515', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q513013 property:P17 ?q } UNION { resource:Q661515 property:P47 ?q } } . ?q rdf:type ontology:Q1048835 }
Ajangiz Aulesti Germany Arratzu Munitibar-Arbatzegi Gerrikaitz Nabarniz Muxika
Heretsried belong to the Ajangiz, Aulesti, Germany, Arratzu, Munitibar-Arbatzegi Gerrikaitz, Nabarniz and Muxika
Ajangiz Aulesti Germany Arratzu Munitibar-Arbatzegi Gerrikaitz Nabarniz Muxika
action filter_type
action union
action find
entity Heretsried
relation country
action find
entity Mendata
relation shares border with
type political territorial entity
{'OR': [['Heretsried', 'country', {'concept': 'political territorial entity'}], ['Mendata', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Heretsried property:country ?q } UNION { resource:Mendata property:shares_border_with ?q } } . ?q rdf:type ontology:political_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q765761
P1001
Q12737077
USER
Which occupation has control over the jurisdiction of that political territory ?
(c(Q12737077),P1001,Q765761)
action filter_type
action find_reverse
entity Q765761
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q765761']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q12737077 . ?c property:P1001 resource:Q765761 }
Nabarniz
action filter_type
action find_reverse
entity Nabarniz
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Nabarniz']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:occupation . ?c property:applies_to_jurisdiction resource:Nabarniz }
[]
occupation
Clarification for simple ques.
Q1228043
SYSTEM
Did you mean Ajangiz ?
Q1228043 Q4472 Q183 Q1228784 Q745645 Q765761 Q664870
(c(Q12737077),P1001,Q1228043) (c(Q12737077),P1001,Q4472) (c(Q12737077),P1001,Q183) (c(Q12737077),P1001,Q1228784) (c(Q12737077),P1001,Q745645) (c(Q12737077),P1001,Q765761) (c(Q12737077),P1001,Q664870)
[ANSWER]
[{'concept': 'Q12737077'}, 'P1001', 'Q1228043'] [{'concept': 'Q12737077'}, 'P1001', 'Q4472'] [{'concept': 'Q12737077'}, 'P1001', 'Q183'] [{'concept': 'Q12737077'}, 'P1001', 'Q1228784'] [{'concept': 'Q12737077'}, 'P1001', 'Q745645'] [{'concept': 'Q12737077'}, 'P1001', 'Q765761'] [{'concept': 'Q12737077'}, 'P1001', 'Q664870']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q12737077 . ?c property:P1001 resource:Q765761 }
Ajangiz Aulesti Germany Arratzu Munitibar-Arbatzegi Gerrikaitz Nabarniz Muxika
Did you mean Ajangiz ?
Ajangiz
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Ajangiz'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Aulesti'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Germany'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Arratzu'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Munitibar-Arbatzegi Gerrikaitz'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Nabarniz'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Muxika']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:occupation . ?c property:applies_to_jurisdiction resource:Nabarniz }
[]
Simple Question (Coreferenced)
USER
No, I meant Nabarniz. Could you tell me the answer for that?
(c(Q12737077),P1001,Q765761)
Q765761
[{'concept': 'Q12737077'}, 'P1001', 'Q765761']
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Nabarniz']
[]
Q26699898
SYSTEM
mayor of Navárniz
Q26699898
(c(Q12737077),P1001,Q765761)
action filter_type
action find_reverse
entity Q765761
relation P1001
type Q12737077
[ANSWER] has control over the jurisdiction of that political territory
[{'concept': 'Q12737077'}, 'P1001', 'Q765761']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q12737077 . ?c property:P1001 resource:Q765761 }
mayor of Navárniz
Mayor of Navárniz has control over the jurisdiction of that political territory
mayor of Navárniz
action filter_type
action find_reverse
entity Nabarniz
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Nabarniz']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:occupation . ?c property:applies_to_jurisdiction resource:Nabarniz }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q26699898
P1313
Q1048835
USER
Which political territory has that occupation as title of head of government ?
(c(Q1048835),P1313,Q26699898)
action filter_type
action find_reverse
entity Q26699898
relation P1313
type Q1048835
[{'concept': 'Q1048835'}, 'P1313', 'Q26699898']
SELECT DISTINCT ?k WHERE { ?k property:P1313 resource:Q26699898 . ?k rdf:type ontology:Q1048835 }
mayor of Navárniz
action filter_type
action find_reverse
entity mayor of Navárniz
relation office held by head of government
type political territorial entity
[{'concept': 'political territorial entity'}, 'office held by head of government', 'mayor of Navárniz']
SELECT DISTINCT ?k WHERE { ?k property:office_held_by_head_of_government resource:mayor_of_Navárniz . ?k rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q765761
SYSTEM
Nabarniz
Q765761
(c(Q1048835),P1313,Q26699898)
action filter_type
action find_reverse
entity Q26699898
relation P1313
type Q1048835
[ANSWER] has that occupation as title of head of government
[{'concept': 'Q1048835'}, 'P1313', 'Q26699898']
SELECT DISTINCT ?k WHERE { ?k property:P1313 resource:Q26699898 . ?k rdf:type ontology:Q1048835 }
Nabarniz
Nabarniz has that occupation as title of head of government
Nabarniz
action filter_type
action find_reverse
entity mayor of Navárniz
relation office held by head of government
type political territorial entity
[{'concept': 'political territorial entity'}, 'office held by head of government', 'mayor of Navárniz']
SELECT DISTINCT ?k WHERE { ?k property:office_held_by_head_of_government resource:mayor_of_Navárniz . ?k rdf:type ontology:political_territorial_entity }
[]