Simple Question (Direct)
Simple Question
Q8048913
P172
Q2472587
USER
What is the ethnicity of Yannis Varveris ?
(Q8048913,P172,c(Q2472587))
action filter_type
action find
entity Q8048913
relation P172
type Q2472587
['Q8048913', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?k WHERE { resource:Q8048913 property:P172 ?k . ?k rdf:type ontology:Q2472587 }
Yannis Varveris
action filter_type
action find
entity Yannis Varveris
relation ethnic group
type people
['Yannis Varveris', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?k WHERE { resource:Yannis_Varveris property:ethnic_group ?k . ?k rdf:type ontology:people }
[]
people
Q539051
SYSTEM
Greeks
Q539051
(Q8048913,P172,c(Q2472587))
action filter_type
action find
entity Q8048913
relation P172
type Q2472587
The ethnicity of Yannis Varveris is of [ANSWER]
['Q8048913', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?k WHERE { resource:Q8048913 property:P172 ?k . ?k rdf:type ontology:Q2472587 }
Greeks
The ethnicity of Yannis Varveris is of Greeks
Greeks
action filter_type
action find
entity Yannis Varveris
relation ethnic group
type people
['Yannis Varveris', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?k WHERE { resource:Yannis_Varveris property:ethnic_group ?k . ?k rdf:type ontology:people }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8048913
P20
Q56061
USER
Where did Yannis Varveris die ?
(Q8048913,P20,c(Q56061))
action filter_type
action find
entity Q8048913
relation P20
type Q56061
['Q8048913', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q8048913 property:P20 ?k . ?k rdf:type ontology:Q56061 }
Yannis Varveris
action filter_type
action find
entity Yannis Varveris
relation place of death
type administrative territorial entity
['Yannis Varveris', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Yannis_Varveris property:place_of_death ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1524
SYSTEM
Athens
Q1524
(Q8048913,P20,c(Q56061))
action filter_type
action find
entity Q8048913
relation P20
type Q56061
Yannis Varveris died in [ANSWER]
['Q8048913', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q8048913 property:P20 ?k . ?k rdf:type ontology:Q56061 }
Athens
Yannis Varveris died in Athens
Athens
action filter_type
action find
entity Yannis Varveris
relation place of death
type administrative territorial entity
['Yannis Varveris', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Yannis_Varveris property:place_of_death ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8048913
P509
Q2057971
USER
Which health problem was the cause of death of that person ?
(Q1524,P509,c(Q2057971))
action filter_type
action find
entity Q8048913
relation P509
type Q2057971
['Q1524', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?s WHERE { resource:Q8048913 property:P509 ?s . ?s rdf:type ontology:Q2057971 }
Yannis Varveris
action filter_type
action find
entity Yannis Varveris
relation cause of death
type health problem
['Athens', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?s WHERE { resource:Yannis_Varveris property:cause_of_death ?s . ?s rdf:type ontology:health_problem }
[]
health problem
Q12152
SYSTEM
myocardial infarction
Q12152
(Q1524,P509,c(Q2057971))
action filter_type
action find
entity Q8048913
relation P509
type Q2057971
[ANSWER] was the cause of death of that person
['Q1524', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?s WHERE { resource:Q8048913 property:P509 ?s . ?s rdf:type ontology:Q2057971 }
myocardial infarction
Myocardial infarction was the cause of death of that person
myocardial infarction
action filter_type
action find
entity Yannis Varveris
relation cause of death
type health problem
['Athens', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?s WHERE { resource:Yannis_Varveris property:cause_of_death ?s . ?s rdf:type ontology:health_problem }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8048913
P1196
Q1931388
USER
What situation did Yannis Varveris die in ?
(Q8048913,P1196,c(Q1931388))
action filter_type
action find
entity Q8048913
relation P1196
type Q1931388
['Q8048913', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?b WHERE { resource:Q8048913 property:P1196 ?b . ?b rdf:type ontology:Q1931388 }
Yannis Varveris
action filter_type
action find
entity Yannis Varveris
relation manner of death
type cause of death
['Yannis Varveris', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?b WHERE { resource:Yannis_Varveris property:manner_of_death ?b . ?b rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q8048913,P1196,c(Q1931388))
action filter_type
action find
entity Q8048913
relation P1196
type Q1931388
Yannis Varveris died of [ANSWER]
['Q8048913', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?b WHERE { resource:Q8048913 property:P1196 ?b . ?b rdf:type ontology:Q1931388 }
natural causes
Yannis Varveris died of natural causes
natural causes
action filter_type
action find
entity Yannis Varveris
relation manner of death
type cause of death
['Yannis Varveris', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?b WHERE { resource:Yannis_Varveris property:manner_of_death ?b . ?b rdf:type ontology:cause_of_death }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8048913
P108
Q192350
USER
Which ministry is the workplace of that person ?
(Q3739104,P108,c(Q192350))
action filter_type
action find
entity Q8048913
relation P108
type Q192350
['Q3739104', 'P108', {'concept': 'Q192350'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q192350 . resource:Q8048913 property:P108 ?h }
Yannis Varveris
action filter_type
action find
entity Yannis Varveris
relation employer
type ministry
['natural causes', 'employer', {'concept': 'ministry'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:ministry . resource:Yannis_Varveris property:employer ?h }
[]
ministry
Q3125291
SYSTEM
Ministry of Foreign Affairs of the Hellenic Republic of Greece
Q3125291
(Q3739104,P108,c(Q192350))
action filter_type
action find
entity Q8048913
relation P108
type Q192350
The workplace of that person is the [ANSWER]
['Q3739104', 'P108', {'concept': 'Q192350'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q192350 . resource:Q8048913 property:P108 ?h }
Ministry of Foreign Affairs of the Hellenic Republic of Greece
The workplace of that person is the Ministry of Foreign Affairs of the Hellenic Republic of Greece
Ministry of Foreign Affairs of the Hellenic Republic of Greece
action filter_type
action find
entity Yannis Varveris
relation employer
type ministry
['natural causes', 'employer', {'concept': 'ministry'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:ministry . resource:Yannis_Varveris property:employer ?h }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q241773 Q8048913
P27
Q15617994
USER
Which administrative territories are Yannis Varveris or Augustin Diamacoune Senghor an inhabitant of ?
OR((Q8048913,P27,c(Q15617994)), (Q241773,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q8048913
relation P27
action find
entity Q241773
relation P27
type Q15617994
{'OR': [['Q8048913', 'P27', {'concept': 'Q15617994'}], ['Q241773', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?x ) { ( resource:Q8048913 ) ( resource:Q241773 ) } . ?x property:P27 ?r } . ?r rdf:type ontology:Q15617994 }
Augustin Diamacoune Senghor Yannis Varveris
action filter_type
action union
action find
entity Yannis Varveris
relation country of citizenship
action find
entity Augustin Diamacoune Senghor
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Yannis Varveris', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Augustin Diamacoune Senghor', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?x ) { ( resource:Yannis_Varveris ) ( resource:Augustin_Diamacoune_Senghor ) } . ?x property:country_of_citizenship ?r } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1041 Q41
SYSTEM
Senegal, Greece
Q1041 Q41
OR((Q8048913,P27,c(Q15617994)), (Q241773,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q8048913
relation P27
action find
entity Q241773
relation P27
type Q15617994
[ANSWERS] are Yannis Varveris or Augustin Diamacoune Senghor an inhabitant of
{'OR': [['Q8048913', 'P27', {'concept': 'Q15617994'}], ['Q241773', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?x ) { ( resource:Q8048913 ) ( resource:Q241773 ) } . ?x property:P27 ?r } . ?r rdf:type ontology:Q15617994 }
Senegal Greece
Senegal and Greece are Yannis Varveris or Augustin Diamacoune Senghor an inhabitant of
Senegal Greece
action filter_type
action union
action find
entity Yannis Varveris
relation country of citizenship
action find
entity Augustin Diamacoune Senghor
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Yannis Varveris', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Augustin Diamacoune Senghor', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?x ) { ( resource:Yannis_Varveris ) ( resource:Augustin_Diamacoune_Senghor ) } . ?x property:country_of_citizenship ?r } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q41
P6
Q502895
USER
What people are that administrative territory the head of goverment of ?
(Q41,P6,c(Q502895))
action filter_type
action find
entity Q41
relation P6
type Q502895
['Q41', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q41 property:P6 ?k . ?k rdf:type ontology:Q502895 }
Greece
action filter_type
action find
entity Greece
relation head of government
type common name
['Greece', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Greece property:head_of_government ?k . ?k rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q1041
SYSTEM
Did you mean Senegal ?
Q1041 Q41
(Q1041,P6,c(Q502895)) (Q41,P6,c(Q502895))
[ANSWER]
['Q1041', 'P6', {'concept': 'Q502895'}] ['Q41', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q41 property:P6 ?k . ?k rdf:type ontology:Q502895 }
Senegal Greece
Did you mean Senegal ?
Senegal
['Senegal', 'head of government', {'concept': 'common name'}] ['Greece', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Greece property:head_of_government ?k . ?k rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Greece. Could you tell me the answer for that?
(Q41,P6,c(Q502895))
Q41
['Q41', 'P6', {'concept': 'Q502895'}]
['Greece', 'head of government', {'concept': 'common name'}]
[]
Q312015 Q57806
SYSTEM
Alexis Tsipras, Antonis Samaras
Q312015 Q57806
(Q41,P6,c(Q502895))
action filter_type
action find
entity Q41
relation P6
type Q502895
[ANSWERS] are that administrative territory the head of goverment of
['Q41', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q41 property:P6 ?k . ?k rdf:type ontology:Q502895 }
Alexis Tsipras Antonis Samaras
Alexis Tsipras and Antonis Samaras are that administrative territory the head of goverment of
Alexis Tsipras Antonis Samaras
action filter_type
action find
entity Greece
relation head of government
type common name
['Greece', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Greece property:head_of_government ?k . ?k rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q41
P6
Q15617994
USER
Do Greece have those people as their administrative leader ?
(Q41,P6,Q312015) (Q41,P6,Q57806)
action is_in
entity prev_answer
action find
entity Q41
relation P6
['Q41', 'P6', 'Q312015'] ['Q41', 'P6', 'Q57806']
ASK WHERE { resource:Q41 property:P6 ?i . VALUES ( ?i ) { ( resource:Q312015 ) ( resource:Q57806 ) } }
Greece
action is_in
entity prev_answer
action find
entity Greece
relation head of government
['Greece', 'head of government', 'Alexis Tsipras'] ['Greece', 'head of government', 'Antonis Samaras']
ASK WHERE { resource:Greece property:head_of_government ?i . VALUES ( ?i ) { ( resource:Alexis_Tsipras ) ( resource:Antonis_Samaras ) } }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q41,P6,Q312015) (Q41,P6,Q57806)
action is_in
entity prev_answer
action find
entity Q41
relation P6
[ANSWER]
['Q41', 'P6', 'Q312015'] ['Q41', 'P6', 'Q57806']
ASK WHERE { resource:Q41 property:P6 ?i . VALUES ( ?i ) { ( resource:Q312015 ) ( resource:Q57806 ) } }
Yes
action is_in
entity prev_answer
action find
entity Greece
relation head of government
['Greece', 'head of government', 'Alexis Tsipras'] ['Greece', 'head of government', 'Antonis Samaras']
ASK WHERE { resource:Greece property:head_of_government ?i . VALUES ( ?i ) { ( resource:Alexis_Tsipras ) ( resource:Antonis_Samaras ) } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q95074
USER
Which fictional characters had atmost 3 people as the dubbing artist ?
(c(Q95074),P725,c(Q502895))
action atmost
action find_tuple_counts
relation P725
type Q95074
type Q502895
value 3
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?m ) AS ?h ) WHERE { ?a property:P725 ?m . ?a rdf:type ontology:Q95074 . ?m rdf:type ontology:Q502895 } GROUP BY ?a } . FILTER ( ?h <= 3 ) }
action atmost
action find_tuple_counts
relation voice actor
type fictional character
type common name
value 3
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?m ) AS ?h ) WHERE { ?a property:voice_actor ?m . ?a rdf:type ontology:fictional_character . ?m rdf:type ontology:common_name } GROUP BY ?a } . FILTER ( ?h <= 3 ) }
[]
common name fictional character
Q7828 Q7810 Q247120
SYSTEM
Marge Simpson, Homer Simpson, Neo
Q16027672 Q21847055 Q3498590 Q308950 Q28465 Q551327 Q21837832 Q21847058 Q21847115 Q15710873 Q2442950 Q21847074 Q21837038 Q7828 Q3838346 Q2570349 Q8139731 Q247120 Q1529229 Q21847089 Q21847086 Q11623287 Q17349786 Q21847215 Q3256697 Q21837905 Q21837397 Q1621656 Q2544561 Q21837021 Q21837027 Q27493503 Q1984009 Q605125 Q21847105 Q21847103 Q5846 Q7810 Q2725247
(c(Q95074),P725,c(Q502895))
action atmost
action find_tuple_counts
relation P725
type Q95074
type Q502895
value 3
[ANSWERS] had atmost 3 people as the dubbing artist
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?m ) AS ?h ) WHERE { ?a property:P725 ?m . ?a rdf:type ontology:Q95074 . ?m rdf:type ontology:Q502895 } GROUP BY ?a } . FILTER ( ?h <= 3 ) }
Dr. Stewart Itsuki Tachibana Chester Cheetah Ash Ketchum Peter Griffin terminator Kyōichi Sudō Yūichi Tachibana Fumihiro Princess Celestia Max Rockatansky Kōichirō Iketani Keisuke Takahashi Marge Simpson Lucas Spike Spiegel G-Man Neo Darkwing Duck Kenji Natsuki Mogi Takumi Fujiwara Shulk Seiji Iwaki Little Mac Itsuki Takeuchi Takeshi Nakazato Solid Snake Ike Bunta Fujiwara Ryōsuke Takahashi Desoto Death GLaDOS Kenta Nakamura Shingo Shōji Lisa Simpson Homer Simpson Ness
Marge Simpson, Homer Simpson and Neo had atmost 3 people as the dubbing artist
Marge Simpson Homer Simpson Neo
action atmost
action find_tuple_counts
relation voice actor
type fictional character
type common name
value 3
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?m ) AS ?h ) WHERE { ?a property:voice_actor ?m . ?a rdf:type ontology:fictional_character . ?m rdf:type ontology:common_name } GROUP BY ?a } . FILTER ( ?h <= 3 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q7828 Q7810 Q247120
P21
Q290
USER
Which sexes do those fictional characters belong to ?
(Q7828,P21,c(Q290)) (Q7810,P21,c(Q290)) (Q247120,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q7828', 'P21', {'concept': 'Q290'}] ['Q7810', 'P21', {'concept': 'Q290'}] ['Q247120', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q290 . ?u property:P21 ?e . VALUES ( ?u ) { ( resource:Q16027672 ) ( resource:Q21847055 ) ( resource:Q3498590 ) } }
Marge Simpson Homer Simpson Neo
action filter_type
action find
entity prev_answer
relation gender
type sex
['Marge Simpson', 'gender', {'concept': 'sex'}] ['Homer Simpson', 'gender', {'concept': 'sex'}] ['Neo', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:sex . ?u property:gender ?e . VALUES ( ?u ) { ( resource:Dr._Stewart ) ( resource:Itsuki_Tachibana ) ( resource:Chester_Cheetah ) } }
[]
sex
Q6581072 Q6581097 Q6581097
SYSTEM
male for 2nd, 3rd, female for 1st
Q6581072 Q6581097 Q6581097
(Q7828,P21,c(Q290)) (Q7810,P21,c(Q290)) (Q247120,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
[ANSWERS]
['Q7828', 'P21', {'concept': 'Q290'}] ['Q7810', 'P21', {'concept': 'Q290'}] ['Q247120', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q290 . ?u property:P21 ?e . VALUES ( ?u ) { ( resource:Q16027672 ) ( resource:Q21847055 ) ( resource:Q3498590 ) } }
female male male
Those fictional characters belong to female, male and male
female male male
action filter_type
action find
entity prev_answer
relation gender
type sex
['Marge Simpson', 'gender', {'concept': 'sex'}] ['Homer Simpson', 'gender', {'concept': 'sex'}] ['Neo', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:sex . ?u property:gender ?e . VALUES ( ?u ) { ( resource:Dr._Stewart ) ( resource:Itsuki_Tachibana ) ( resource:Chester_Cheetah ) } }
[]