Simple Question (Direct)
Simple Question
Q1382278
P27
Q15617994
USER
Which administrative territory is William Archer a civilian of ?
(Q1382278,P27,c(Q15617994))
action filter_type
action find
entity Q1382278
relation P27
type Q15617994
['Q1382278', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q1382278 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
William Archer
action filter_type
action find
entity William Archer
relation country of citizenship
type designation for an administrative territorial entity
['William Archer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:William_Archer property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q1382278,P27,c(Q15617994))
action filter_type
action find
entity Q1382278
relation P27
type Q15617994
The [ANSWER] is William Archer a civilian of
['Q1382278', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q1382278 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
United Kingdom
The United Kingdom is William Archer a civilian of
United Kingdom
action filter_type
action find
entity William Archer
relation country of citizenship
type designation for an administrative territorial entity
['William Archer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:William_Archer property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1382278
P921
Q191067
USER
Which article has William Archer as its main topic ?
(c(Q191067),P921,Q1382278)
action filter_type
action find_reverse
entity Q1382278
relation P921
type Q191067
[{'concept': 'Q191067'}, 'P921', 'Q1382278']
SELECT DISTINCT ?w WHERE { ?w property:P921 resource:Q1382278 . ?w rdf:type ontology:Q191067 }
William Archer
action filter_type
action find_reverse
entity William Archer
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'William Archer']
SELECT DISTINCT ?w WHERE { ?w property:main_subject resource:William_Archer . ?w rdf:type ontology:article }
[]
article
Q20668939
SYSTEM
EB-11 / Archer, William
Q20668939
(c(Q191067),P921,Q1382278)
action filter_type
action find_reverse
entity Q1382278
relation P921
type Q191067
[ANSWER] has William Archer as its main topic
[{'concept': 'Q191067'}, 'P921', 'Q1382278']
SELECT DISTINCT ?w WHERE { ?w property:P921 resource:Q1382278 . ?w rdf:type ontology:Q191067 }
EB-11 / Archer, William
EB-11 / Archer, William has William Archer as its main topic
EB-11 / Archer, William
action filter_type
action find_reverse
entity William Archer
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'William Archer']
SELECT DISTINCT ?w WHERE { ?w property:main_subject resource:William_Archer . ?w rdf:type ontology:article }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1382278
P50
Q838948
USER
Which work of art is William Archer an author of ?
(c(Q838948),P50,Q1382278)
action filter_type
action find_reverse
entity Q1382278
relation P50
type Q838948
[{'concept': 'Q838948'}, 'P50', 'Q1382278']
SELECT DISTINCT ?u WHERE { ?u property:P50 resource:Q1382278 . ?u rdf:type ontology:Q838948 }
William Archer
action filter_type
action find_reverse
entity William Archer
relation author
type work of art
[{'concept': 'work of art'}, 'author', 'William Archer']
SELECT DISTINCT ?u WHERE { ?u property:author resource:William_Archer . ?u rdf:type ontology:work_of_art }
[]
work of art
Q3987409
SYSTEM
The Green Goddess
Q3987409
(c(Q838948),P50,Q1382278)
action filter_type
action find_reverse
entity Q1382278
relation P50
type Q838948
The [ANSWER] is William Archer an author of
[{'concept': 'Q838948'}, 'P50', 'Q1382278']
SELECT DISTINCT ?u WHERE { ?u property:P50 resource:Q1382278 . ?u rdf:type ontology:Q838948 }
The Green Goddess
The The Green Goddess is William Archer an author of
The Green Goddess
action filter_type
action find_reverse
entity William Archer
relation author
type work of art
[{'concept': 'work of art'}, 'author', 'William Archer']
SELECT DISTINCT ?u WHERE { ?u property:author resource:William_Archer . ?u rdf:type ontology:work_of_art }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q3987409 Q1382278
P50
Q502895
USER
Was William Archer the writer of that work of art ?
(Q3987409,P50,Q1382278)
action is_in
entity Q1382278
action find
entity Q3987409
relation P50
['Q3987409', 'P50', 'Q1382278']
ASK WHERE { resource:Q3987409 property:P50 resource:Q1382278 }
The Green Goddess William Archer
action is_in
entity William Archer
action find
entity The Green Goddess
relation author
['The Green Goddess', 'author', 'William Archer']
ASK WHERE { resource:The_Green_Goddess property:author resource:William_Archer }
[]
common name
SYSTEM
YES
(Q3987409,P50,Q1382278)
action is_in
entity Q1382278
action find
entity Q3987409
relation P50
[ANSWER]
['Q3987409', 'P50', 'Q1382278']
ASK WHERE { resource:Q3987409 property:P50 resource:Q1382278 }
Yes
action is_in
entity William Archer
action find
entity The Green Goddess
relation author
['The Green Goddess', 'author', 'William Archer']
ASK WHERE { resource:The_Green_Goddess property:author resource:William_Archer }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q16684015 Q145
P170 P35
Q502895
USER
Which people have the highest formal authority in United Kingdom or are credited with creation of The Thaw ?
OR((Q145,P35,c(Q502895)), (Q16684015,P170,c(Q502895)))
action filter_type
action union
action find
entity Q145
relation P35
action find
entity Q16684015
relation P170
type Q502895
{'OR': [['Q145', 'P35', {'concept': 'Q502895'}], ['Q16684015', 'P170', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . { { resource:Q145 property:P35 ?p } UNION { resource:Q16684015 property:P170 ?p } } }
The Thaw United Kingdom
action filter_type
action union
action find
entity United Kingdom
relation head of state
action find
entity The Thaw
relation creator
type common name
{'OR': [['United Kingdom', 'head of state', {'concept': 'common name'}], ['The Thaw', 'creator', {'concept': 'common name'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . { { resource:United_Kingdom property:head_of_state ?p } UNION { resource:The_Thaw property:creator ?p } } }
[]
common name
Q9682 Q590227 Q269412 Q280856 Q1422249
SYSTEM
Elizabeth II, Edward VIII, George V, George VI, Fyodor Vasilyev
Q9682 Q590227 Q269412 Q280856 Q1422249
OR((Q145,P35,c(Q502895)), (Q16684015,P170,c(Q502895)))
action filter_type
action union
action find
entity Q145
relation P35
action find
entity Q16684015
relation P170
type Q502895
[ANSWERS] have the highest formal authority in United Kingdom or are credited with creation of The Thaw
{'OR': [['Q145', 'P35', {'concept': 'Q502895'}], ['Q16684015', 'P170', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . { { resource:Q145 property:P35 ?p } UNION { resource:Q16684015 property:P170 ?p } } }
Elizabeth II Edward VIII George V George VI Fyodor Vasilyev
Elizabeth II, Edward VIII, George V, George VI and Fyodor Vasilyev have the highest formal authority in United Kingdom or are credited with creation of The Thaw
Elizabeth II Edward VIII George V George VI Fyodor Vasilyev
action filter_type
action union
action find
entity United Kingdom
relation head of state
action find
entity The Thaw
relation creator
type common name
{'OR': [['United Kingdom', 'head of state', {'concept': 'common name'}], ['The Thaw', 'creator', {'concept': 'common name'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . { { resource:United_Kingdom property:head_of_state ?p } UNION { resource:The_Thaw property:creator ?p } } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581072 Q280856
P21 P7
Q502895
USER
Which people have George VI as their sibling and have the gender as female ?
AND((c(Q502895),P7,Q280856), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q280856
relation P7
action find_reverse
entity Q6581072
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P7', 'Q280856'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?t WHERE { ?t property:P21 resource:Q6581072 . ?t property:P7 resource:Q280856 . ?t rdf:type ontology:Q502895 }
female George VI
action filter_type
action intersection
action find_reverse
entity George VI
relation brother
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'brother', 'George VI'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?t WHERE { ?t property:gender resource:female . ?t property:brother resource:George_VI . ?t rdf:type ontology:common_name }
[]
common name
Q233913
SYSTEM
Mary, Princess Royal and Countess of Harewood
Q233913
AND((c(Q502895),P7,Q280856), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q280856
relation P7
action find_reverse
entity Q6581072
relation P21
type Q502895
[ANSWER] have George VI as their sibling and have the gender as female
{'AND': [[{'concept': 'Q502895'}, 'P7', 'Q280856'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?t WHERE { ?t property:P21 resource:Q6581072 . ?t property:P7 resource:Q280856 . ?t rdf:type ontology:Q502895 }
Mary, Princess Royal and Countess of Harewood
Mary, Princess Royal and Countess of Harewood have George VI as their sibling and have the gender as female
Mary, Princess Royal and Countess of Harewood
action filter_type
action intersection
action find_reverse
entity George VI
relation brother
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'brother', 'George VI'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?t WHERE { ?t property:gender resource:female . ?t property:brother resource:George_VI . ?t rdf:type ontology:common_name }
[]