Simple Question (Direct)
Simple Question
Q16234342
P27
Q15617994
USER
Which administrative territory does Vitalie Zlatan belong to ?
(Q16234342,P27,c(Q15617994))
action filter_type
action find
entity Q16234342
relation P27
type Q15617994
['Q16234342', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q16234342 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
Vitalie Zlatan
action filter_type
action find
entity Vitalie Zlatan
relation country of citizenship
type designation for an administrative territorial entity
['Vitalie Zlatan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Vitalie_Zlatan property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q217
SYSTEM
Republic of Moldova
Q217
(Q16234342,P27,c(Q15617994))
action filter_type
action find
entity Q16234342
relation P27
type Q15617994
Vitalie Zlatan belongs to [ANSWER]
['Q16234342', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q16234342 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
Republic of Moldova
Vitalie Zlatan belongs to Republic of Moldova
Republic of Moldova
action filter_type
action find
entity Vitalie Zlatan
relation country of citizenship
type designation for an administrative territorial entity
['Vitalie Zlatan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Vitalie_Zlatan property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16234342
P106
Q12737077
USER
What is the profession of Vitalie Zlatan ?
(Q16234342,P106,c(Q12737077))
action filter_type
action find
entity Q16234342
relation P106
type Q12737077
['Q16234342', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q12737077 . resource:Q16234342 property:P106 ?i }
Vitalie Zlatan
action filter_type
action find
entity Vitalie Zlatan
relation occupation
type occupation
['Vitalie Zlatan', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:occupation . resource:Vitalie_Zlatan property:occupation ?i }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q16234342,P106,c(Q12737077))
action filter_type
action find
entity Q16234342
relation P106
type Q12737077
The profession of Vitalie Zlatan is an [ANSWER]
['Q16234342', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q12737077 . resource:Q16234342 property:P106 ?i }
association football player
The profession of Vitalie Zlatan is an association football player
association football player
action filter_type
action find
entity Vitalie Zlatan
relation occupation
type occupation
['Vitalie Zlatan', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:occupation . resource:Vitalie_Zlatan property:occupation ?i }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q217
P276
Q8065
USER
Which natural disaster is located at Republic of Moldova ?
(c(Q8065),P276,Q217)
action filter_type
action find_reverse
entity Q217
relation P276
type Q8065
[{'concept': 'Q8065'}, 'P276', 'Q217']
SELECT DISTINCT ?b WHERE { ?b property:P276 resource:Q217 . ?b rdf:type ontology:Q8065 }
Republic of Moldova
action filter_type
action find_reverse
entity Republic of Moldova
relation location
type natural disaster
[{'concept': 'natural disaster'}, 'location', 'Republic of Moldova']
SELECT DISTINCT ?b WHERE { ?b property:location resource:Republic_of_Moldova . ?b rdf:type ontology:natural_disaster }
[]
natural disaster
Q24287229
SYSTEM
2016 European floods
Q24287229
(c(Q8065),P276,Q217)
action filter_type
action find_reverse
entity Q217
relation P276
type Q8065
[ANSWER] is located at Republic of Moldova
[{'concept': 'Q8065'}, 'P276', 'Q217']
SELECT DISTINCT ?b WHERE { ?b property:P276 resource:Q217 . ?b rdf:type ontology:Q8065 }
2016 European floods
2016 European floods is located at Republic of Moldova
2016 European floods
action filter_type
action find_reverse
entity Republic of Moldova
relation location
type natural disaster
[{'concept': 'natural disaster'}, 'location', 'Republic of Moldova']
SELECT DISTINCT ?b WHERE { ?b property:location resource:Republic_of_Moldova . ?b rdf:type ontology:natural_disaster }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1659861 Q217
P47 P27
Q15617994
USER
Which administrative territories are bordered by Republic of Moldova or are the native countriesof Jorge Adrián García ?
OR((Q217,P47,c(Q15617994)), (Q1659861,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q217
relation P47
action find
entity Q1659861
relation P27
type Q15617994
{'OR': [['Q217', 'P47', {'concept': 'Q15617994'}], ['Q1659861', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q1659861 property:P27 ?i } UNION { resource:Q217 property:P47 ?i } } . ?i rdf:type ontology:Q15617994 }
Jorge Adrián García Republic of Moldova
action filter_type
action union
action find
entity Republic of Moldova
relation shares border with
action find
entity Jorge Adrián García
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Republic of Moldova', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Jorge Adrián García', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Jorge_Adrián_García property:country_of_citizenship ?i } UNION { resource:Republic_of_Moldova property:shares_border_with ?i } } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q212 Q77 Q218
SYSTEM
Ukraine, Uruguay, Romania
Q212 Q77 Q218
OR((Q217,P47,c(Q15617994)), (Q1659861,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q217
relation P47
action find
entity Q1659861
relation P27
type Q15617994
[ANSWERS] are bordered by Republic of Moldova or are the native countriesof Jorge Adrián García
{'OR': [['Q217', 'P47', {'concept': 'Q15617994'}], ['Q1659861', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q1659861 property:P27 ?i } UNION { resource:Q217 property:P47 ?i } } . ?i rdf:type ontology:Q15617994 }
Ukraine Uruguay Romania
Ukraine, Uruguay and Romania are bordered by Republic of Moldova or are the native countriesof Jorge Adrián García
Ukraine Uruguay Romania
action filter_type
action union
action find
entity Republic of Moldova
relation shares border with
action find
entity Jorge Adrián García
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Republic of Moldova', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Jorge Adrián García', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Jorge_Adrián_García property:country_of_citizenship ?i } UNION { resource:Republic_of_Moldova property:shares_border_with ?i } } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q212 Q77 Q218
P17
Q2385804
USER
Which educational institutions are located in those administrative territories ?
(c(Q2385804),P17,Q212) (c(Q2385804),P17,Q77) (c(Q2385804),P17,Q218)
action filter_type
action find_reverse
entity prev_answer
relation P17
type Q2385804
[{'concept': 'Q2385804'}, 'P17', 'Q212'] [{'concept': 'Q2385804'}, 'P17', 'Q77'] [{'concept': 'Q2385804'}, 'P17', 'Q218']
SELECT DISTINCT ?m WHERE { ?m property:P17 ?g . ?m rdf:type ontology:Q2385804 . VALUES ( ?g ) { ( resource:Q212 ) ( resource:Q77 ) ( resource:Q218 ) } }
Ukraine Uruguay Romania
action filter_type
action find_reverse
entity prev_answer
relation country
type educational institution
[{'concept': 'educational institution'}, 'country', 'Ukraine'] [{'concept': 'educational institution'}, 'country', 'Uruguay'] [{'concept': 'educational institution'}, 'country', 'Romania']
SELECT DISTINCT ?m WHERE { ?m property:country ?g . ?m rdf:type ontology:educational_institution . VALUES ( ?g ) { ( resource:Ukraine ) ( resource:Uruguay ) ( resource:Romania ) } }
[]
educational institution
Q4314794 Q1977696 Q7591691
SYSTEM
National Academy of Internal Affairs of Ukraine, Richelieu Lyceum, St. Sophia Ukrainian Orthodox Theological Seminary
Q4525118 Q4525148 Q4314794 Q12098980 Q1977696 Q4470606 Q4525207 Q4177224 Q4525046 Q7591691 Q4271051 Q4331403 Q2421697 Q4268761 Q7607095 Q1991332 Q26208346 Q989329 Q1469968 Q794193 Q19710046 Q742592
(c(Q2385804),P17,Q212) (c(Q2385804),P17,Q77) (c(Q2385804),P17,Q218)
action filter_type
action find_reverse
entity prev_answer
relation P17
type Q2385804
[ANSWERS] are located in those administrative territories
[{'concept': 'Q2385804'}, 'P17', 'Q212'] [{'concept': 'Q2385804'}, 'P17', 'Q77'] [{'concept': 'Q2385804'}, 'P17', 'Q218']
SELECT DISTINCT ?m WHERE { ?m property:P17 ?g . ?m rdf:type ontology:Q2385804 . VALUES ( ?g ) { ( resource:Q212 ) ( resource:Q77 ) ( resource:Q218 ) } }
Odessa Secondary School No. 121 Kyiv Secondary School No. 189 National Academy of Internal Affairs of Ukraine Simferopol gymnasium №1 Richelieu Lyceum Ukrainian Physics and Mathematics Lyceum Lviv Secondary School No. 50 Kyiv Natural Science Lyceum No. 145 School of the Future St. Sophia Ukrainian Orthodox Theological Seminary Lviv National Academy of Arts Odessa Theological Seminary Liceum Krzemienieckie School of Stolyarsky Stella Maris College Nikolaus Lenau High School Second officers school in Bistrița Emil Racoviță National College Áprily Lajos National College Bethlen College, Aiud Military School of Infantry and Cavalry Kölcsey Ferenc National College
National Academy of Internal Affairs of Ukraine, Richelieu Lyceum and St. Sophia Ukrainian Orthodox Theological Seminary are located in those administrative territories
National Academy of Internal Affairs of Ukraine Richelieu Lyceum St. Sophia Ukrainian Orthodox Theological Seminary
action filter_type
action find_reverse
entity prev_answer
relation country
type educational institution
[{'concept': 'educational institution'}, 'country', 'Ukraine'] [{'concept': 'educational institution'}, 'country', 'Uruguay'] [{'concept': 'educational institution'}, 'country', 'Romania']
SELECT DISTINCT ?m WHERE { ?m property:country ?g . ?m rdf:type ontology:educational_institution . VALUES ( ?g ) { ( resource:Ukraine ) ( resource:Uruguay ) ( resource:Romania ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1977696
P138
Q502895
USER
Which person is namesake of that educational institution ?
(Q1977696,P138,c(Q502895))
action filter_type
action find
entity Q1977696
relation P138
type Q502895
['Q1977696', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q1977696 property:P138 ?q . ?q rdf:type ontology:Q502895 }
Richelieu Lyceum
action filter_type
action find
entity Richelieu Lyceum
relation named after
type common name
['Richelieu Lyceum', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Richelieu_Lyceum property:named_after ?q . ?q rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q4314794
SYSTEM
Did you mean National Academy of Internal Affairs of Ukraine ?
Q4314794 Q1977696 Q7591691
(Q4314794,P138,c(Q502895)) (Q1977696,P138,c(Q502895)) (Q7591691,P138,c(Q502895))
[ANSWER]
['Q4314794', 'P138', {'concept': 'Q502895'}] ['Q1977696', 'P138', {'concept': 'Q502895'}] ['Q7591691', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q1977696 property:P138 ?q . ?q rdf:type ontology:Q502895 }
National Academy of Internal Affairs of Ukraine Richelieu Lyceum St. Sophia Ukrainian Orthodox Theological Seminary
Did you mean National Academy of Internal Affairs of Ukraine ?
National Academy of Internal Affairs of Ukraine
['National Academy of Internal Affairs of Ukraine', 'named after', {'concept': 'common name'}] ['Richelieu Lyceum', 'named after', {'concept': 'common name'}] ['St. Sophia Ukrainian Orthodox Theological Seminary', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Richelieu_Lyceum property:named_after ?q . ?q rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Richelieu Lyceum. Could you tell me the answer for that?
(Q1977696,P138,c(Q502895))
Q1977696
['Q1977696', 'P138', {'concept': 'Q502895'}]
['Richelieu Lyceum', 'named after', {'concept': 'common name'}]
[]
Q459197
SYSTEM
Armand-Emmanuel de Vignerot du Plessis, Duc de Richelieu
Q459197
(Q1977696,P138,c(Q502895))
action filter_type
action find
entity Q1977696
relation P138
type Q502895
[ANSWER] is namesake of that educational institution
['Q1977696', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q1977696 property:P138 ?q . ?q rdf:type ontology:Q502895 }
Armand-Emmanuel de Vignerot du Plessis, Duc de Richelieu
Armand-Emmanuel de Vignerot du Plessis, Duc de Richelieu is namesake of that educational institution
Armand-Emmanuel de Vignerot du Plessis, Duc de Richelieu
action filter_type
action find
entity Richelieu Lyceum
relation named after
type common name
['Richelieu Lyceum', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Richelieu_Lyceum property:named_after ?q . ?q rdf:type ontology:common_name }
[]