Simple Question (Direct)
Simple Question
Q453494
P27
Q15617994
USER
Which administrative territory is Lucy Walker a civilian of ?
(Q453494,P27,c(Q15617994))
action filter_type
action find
entity Q453494
relation P27
type Q15617994
['Q453494', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q453494 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Lucy Walker
action filter_type
action find
entity Lucy Walker
relation country of citizenship
type designation for an administrative territorial entity
['Lucy Walker', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Lucy_Walker property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q453494,P27,c(Q15617994))
action filter_type
action find
entity Q453494
relation P27
type Q15617994
The [ANSWER] is Lucy Walker a civilian of
['Q453494', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q453494 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
United Kingdom
The United Kingdom is Lucy Walker a civilian of
United Kingdom
action filter_type
action find
entity Lucy Walker
relation country of citizenship
type designation for an administrative territorial entity
['Lucy Walker', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Lucy_Walker property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q453494
P1411
Q4220917
USER
Which film award was that person a recipient of ?
(Q145,P1411,c(Q4220917))
action filter_type
action find
entity Q453494
relation P1411
type Q4220917
['Q145', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?a WHERE { resource:Q453494 property:P1411 ?a . ?a rdf:type ontology:Q4220917 }
Lucy Walker
action filter_type
action find
entity Lucy Walker
relation nominated for
type film award
['United Kingdom', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?a WHERE { resource:Lucy_Walker property:nominated_for ?a . ?a rdf:type ontology:film_award }
[]
film award
Q1425151
SYSTEM
Academy Award for Best Documentary, Short Subject
Q1425151
(Q145,P1411,c(Q4220917))
action filter_type
action find
entity Q453494
relation P1411
type Q4220917
[ANSWER] was that person a recipient of
['Q145', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?a WHERE { resource:Q453494 property:P1411 ?a . ?a rdf:type ontology:Q4220917 }
Academy Award for Best Documentary, Short Subject
Academy Award for Best Documentary, Short Subject was that person a recipient of
Academy Award for Best Documentary, Short Subject
action filter_type
action find
entity Lucy Walker
relation nominated for
type film award
['United Kingdom', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?a WHERE { resource:Lucy_Walker property:nominated_for ?a . ?a rdf:type ontology:film_award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P463
Q484652
USER
Which international organizations were United Kingdom a member of ?
(Q145,P463,c(Q484652))
action filter_type
action find
entity Q145
relation P463
type Q484652
['Q145', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?r WHERE { resource:Q145 property:P463 ?r . ?r rdf:type ontology:Q484652 }
United Kingdom
action filter_type
action find
entity United Kingdom
relation member of
type international organization
['United Kingdom', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?r WHERE { resource:United_Kingdom property:member_of ?r . ?r rdf:type ontology:international_organization }
[]
international organization
Q81299 Q19771 Q42262
SYSTEM
Organization for Security and Co-operation in Europe, G20, European Space Agency
Q81299 Q19771 Q7785 Q1065 Q188822 Q37143 Q7184 Q42262 Q1043527
(Q145,P463,c(Q484652))
action filter_type
action find
entity Q145
relation P463
type Q484652
[ANSWERS]
['Q145', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?r WHERE { resource:Q145 property:P463 ?r . ?r rdf:type ontology:Q484652 }
Organization for Security and Co-operation in Europe G20 Commonwealth of Nations United Nations Asian Development Bank G8 North Atlantic Treaty Organisation European Space Agency Multilateral Investment Guarantee Agency
Which international organizations were United Kingdom a member of
Organization for Security and Co-operation in Europe G20 European Space Agency
action filter_type
action find
entity United Kingdom
relation member of
type international organization
['United Kingdom', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?r WHERE { resource:United_Kingdom property:member_of ?r . ?r rdf:type ontology:international_organization }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q145
Q874405
USER
And which social group?
(Q145,P463,c(Q874405))
action filter_type
action find
entity Q145
relation P463
type Q874405
['Q145', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?v WHERE { resource:Q145 property:P463 ?v . ?v rdf:type ontology:Q874405 }
United Kingdom
action filter_type
action find
entity United Kingdom
relation member of
type social group
['United Kingdom', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?v WHERE { resource:United_Kingdom property:member_of ?v . ?v rdf:type ontology:social_group }
[]
social group
Q8908 Q782942
SYSTEM
Council of Europe, Australia Group
Q8908 Q782942
(Q145,P463,c(Q874405))
action filter_type
action find
entity Q145
relation P463
type Q874405
[ANSWERS]
['Q145', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?v WHERE { resource:Q145 property:P463 ?v . ?v rdf:type ontology:Q874405 }
Council of Europe Australia Group
Council of Europe Australia Group
action filter_type
action find
entity United Kingdom
relation member of
type social group
['United Kingdom', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?v WHERE { resource:United_Kingdom property:member_of ?v . ?v rdf:type ontology:social_group }
[]
Clarification
Simple Question|Single Entity|Indirect
Q8908
P1001
Q484652
USER
Which international organization has jurisdiction over that social group ?
(c(Q484652),P1001,Q8908)
action filter_type
action find_reverse
entity Q8908
relation P1001
type Q484652
[{'concept': 'Q484652'}, 'P1001', 'Q8908']
SELECT DISTINCT ?x WHERE { ?x property:P1001 resource:Q8908 . ?x rdf:type ontology:Q484652 }
Council of Europe
action filter_type
action find_reverse
entity Council of Europe
relation applies to jurisdiction
type international organization
[{'concept': 'international organization'}, 'applies to jurisdiction', 'Council of Europe']
SELECT DISTINCT ?x WHERE { ?x property:applies_to_jurisdiction resource:Council_of_Europe . ?x rdf:type ontology:international_organization }
[]
international organization
Clarification for simple ques.
Q782942
SYSTEM
Did you mean Australia Group ?
Q8908 Q782942
(c(Q484652),P1001,Q8908) (c(Q484652),P1001,Q782942)
[ANSWER]
[{'concept': 'Q484652'}, 'P1001', 'Q8908'] [{'concept': 'Q484652'}, 'P1001', 'Q782942']
SELECT DISTINCT ?x WHERE { ?x property:P1001 resource:Q8908 . ?x rdf:type ontology:Q484652 }
Council of Europe Australia Group
Did you mean Australia Group ?
Australia Group
[{'concept': 'international organization'}, 'applies to jurisdiction', 'Council of Europe'] [{'concept': 'international organization'}, 'applies to jurisdiction', 'Australia Group']
SELECT DISTINCT ?x WHERE { ?x property:applies_to_jurisdiction resource:Council_of_Europe . ?x rdf:type ontology:international_organization }
[]
Simple Question (Coreferenced)
USER
No, I meant Council of Europe. Could you tell me the answer for that?
(c(Q484652),P1001,Q8908)
Q8908
[{'concept': 'Q484652'}, 'P1001', 'Q8908']
[{'concept': 'international organization'}, 'applies to jurisdiction', 'Council of Europe']
[]
Q122880
SYSTEM
European Court of Human Rights
Q122880
(c(Q484652),P1001,Q8908)
action filter_type
action find_reverse
entity Q8908
relation P1001
type Q484652
[ANSWER] has jurisdiction over that social group
[{'concept': 'Q484652'}, 'P1001', 'Q8908']
SELECT DISTINCT ?x WHERE { ?x property:P1001 resource:Q8908 . ?x rdf:type ontology:Q484652 }
European Court of Human Rights
European Court of Human Rights has jurisdiction over that social group
European Court of Human Rights
action filter_type
action find_reverse
entity Council of Europe
relation applies to jurisdiction
type international organization
[{'concept': 'international organization'}, 'applies to jurisdiction', 'Council of Europe']
SELECT DISTINCT ?x WHERE { ?x property:applies_to_jurisdiction resource:Council_of_Europe . ?x rdf:type ontology:international_organization }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q122880 Q370238 Q3842287
P488
Q502895
USER
Does European Court of Human Rights have Rolv Ryssdal and Maddalena Maggi as its chairperson ?
(Q122880,P488,Q370238) (Q122880,P488,Q3842287)
action is_in
entity Q122880
action intersection
action find_reverse
entity Q370238
relation P488
action find_reverse
entity Q3842287
relation P488
['Q122880', 'P488', 'Q370238'] ['Q122880', 'P488', 'Q3842287']
ASK WHERE { resource:Q122880 property:P488 resource:Q370238 . resource:Q122880 property:P488 resource:Q3842287 }
European Court of Human Rights Rolv Ryssdal Maddalena Maggi
action is_in
entity European Court of Human Rights
action intersection
action find_reverse
entity Rolv Ryssdal
relation chairperson
action find_reverse
entity Maddalena Maggi
relation chairperson
['European Court of Human Rights', 'chairperson', 'Rolv Ryssdal'] ['European Court of Human Rights', 'chairperson', 'Maddalena Maggi']
ASK WHERE { resource:European_Court_of_Human_Rights property:chairperson resource:Rolv_Ryssdal . resource:European_Court_of_Human_Rights property:chairperson resource:Maddalena_Maggi }
[]
common name
SYSTEM
YES and NO respectively
(Q122880,P488,Q370238) (Q122880,P488,Q3842287)
action is_in
entity Q122880
action intersection
action find_reverse
entity Q370238
relation P488
action find_reverse
entity Q3842287
relation P488
[ANSWER]
['Q122880', 'P488', 'Q370238'] ['Q122880', 'P488', 'Q3842287']
ASK WHERE { resource:Q122880 property:P488 resource:Q370238 . resource:Q122880 property:P488 resource:Q3842287 }
YES and NO respectively
action is_in
entity European Court of Human Rights
action intersection
action find_reverse
entity Rolv Ryssdal
relation chairperson
action find_reverse
entity Maddalena Maggi
relation chairperson
['European Court of Human Rights', 'chairperson', 'Rolv Ryssdal'] ['European Court of Human Rights', 'chairperson', 'Maddalena Maggi']
ASK WHERE { resource:European_Court_of_Human_Rights property:chairperson resource:Rolv_Ryssdal . resource:European_Court_of_Human_Rights property:chairperson resource:Maddalena_Maggi }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q8908
P21 P108
Q502895
USER
Which people are working for Council of Europe and have male as the sex ?
AND((c(Q502895),P108,Q8908), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q8908
relation P108
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P108', 'Q8908'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?p WHERE { ?p property:P21 resource:Q6581097 . ?p property:P108 resource:Q8908 . ?p rdf:type ontology:Q502895 }
male Council of Europe
action filter_type
action intersection
action find_reverse
entity Council of Europe
relation employer
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'employer', 'Council of Europe'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?p WHERE { ?p property:gender resource:male . ?p property:employer resource:Council_of_Europe . ?p rdf:type ontology:common_name }
[]
common name
Q6452296
SYSTEM
Kypros Chrysostomides
Q6452296
AND((c(Q502895),P108,Q8908), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q8908
relation P108
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] is working for Council of Europe and have male as the sex
{'AND': [[{'concept': 'Q502895'}, 'P108', 'Q8908'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?p WHERE { ?p property:P21 resource:Q6581097 . ?p property:P108 resource:Q8908 . ?p rdf:type ontology:Q502895 }
Kypros Chrysostomides
Kypros Chrysostomides is working for Council of Europe and have male as the sex
Kypros Chrysostomides
action filter_type
action intersection
action find_reverse
entity Council of Europe
relation employer
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'employer', 'Council of Europe'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?p WHERE { ?p property:gender resource:male . ?p property:employer resource:Council_of_Europe . ?p rdf:type ontology:common_name }
[]