Simple Question (Direct)
Simple Question
Q536945
P166
Q24016972
USER
What was won by Francis Buchanan-Hamilton ?
(Q536945,P166,c(Q24016972))
action filter_type
action find
entity Q536945
relation P166
type Q24016972
['Q536945', 'P166', {'concept': 'Q24016972'}]
SELECT DISTINCT ?s WHERE { resource:Q536945 property:P166 ?s . ?s rdf:type ontology:Q24016972 }
Francis Buchanan-Hamilton
action filter_type
action find
entity Francis Buchanan-Hamilton
relation award received
type type of distinction
['Francis Buchanan-Hamilton', 'award received', {'concept': 'type of distinction'}]
SELECT DISTINCT ?s WHERE { resource:Francis_Buchanan-Hamilton property:award_received ?s . ?s rdf:type ontology:type_of_distinction }
[]
type of distinction
Q15631401
SYSTEM
Fellow of the Royal Society
Q15631401
(Q536945,P166,c(Q24016972))
action filter_type
action find
entity Q536945
relation P166
type Q24016972
A [ANSWER] was won by Francis Buchanan-Hamilton
['Q536945', 'P166', {'concept': 'Q24016972'}]
SELECT DISTINCT ?s WHERE { resource:Q536945 property:P166 ?s . ?s rdf:type ontology:Q24016972 }
Fellow of the Royal Society
A Fellow of the Royal Society was won by Francis Buchanan-Hamilton
Fellow of the Royal Society
action filter_type
action find
entity Francis Buchanan-Hamilton
relation award received
type type of distinction
['Francis Buchanan-Hamilton', 'award received', {'concept': 'type of distinction'}]
SELECT DISTINCT ?s WHERE { resource:Francis_Buchanan-Hamilton property:award_received ?s . ?s rdf:type ontology:type_of_distinction }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q536945
P921
Q191067
USER
Which article has Francis Buchanan-Hamilton as its principal topic ?
(c(Q191067),P921,Q536945)
action filter_type
action find_reverse
entity Q536945
relation P921
type Q191067
[{'concept': 'Q191067'}, 'P921', 'Q536945']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q191067 . ?w property:P921 resource:Q536945 }
Francis Buchanan-Hamilton
action filter_type
action find_reverse
entity Francis Buchanan-Hamilton
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'Francis Buchanan-Hamilton']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:article . ?w property:main_subject resource:Francis_Buchanan-Hamilton }
[]
article
Q19092249
SYSTEM
Buchanan, Francis Hamilton (DNB00)
Q19092249
(c(Q191067),P921,Q536945)
action filter_type
action find_reverse
entity Q536945
relation P921
type Q191067
[ANSWER] has Francis Buchanan-Hamilton as its principal topic
[{'concept': 'Q191067'}, 'P921', 'Q536945']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q191067 . ?w property:P921 resource:Q536945 }
Buchanan, Francis Hamilton (DNB00)
Buchanan, Francis Hamilton (DNB00) has Francis Buchanan-Hamilton as its principal topic
Buchanan, Francis Hamilton (DNB00)
action filter_type
action find_reverse
entity Francis Buchanan-Hamilton
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'Francis Buchanan-Hamilton']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:article . ?w property:main_subject resource:Francis_Buchanan-Hamilton }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q536945
P19
Q56061
USER
Which administrative territory is the birthplace of Francis Buchanan-Hamilton ?
(Q536945,P19,c(Q56061))
action filter_type
action find
entity Q536945
relation P19
type Q56061
['Q536945', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q536945 property:P19 ?g . ?g rdf:type ontology:Q56061 }
Francis Buchanan-Hamilton
action filter_type
action find
entity Francis Buchanan-Hamilton
relation place of birth
type administrative territorial entity
['Francis Buchanan-Hamilton', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Francis_Buchanan-Hamilton property:place_of_birth ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1014066
SYSTEM
Callander
Q1014066
(Q536945,P19,c(Q56061))
action filter_type
action find
entity Q536945
relation P19
type Q56061
[ANSWER] is the birthplace of Francis Buchanan-Hamilton
['Q536945', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q536945 property:P19 ?g . ?g rdf:type ontology:Q56061 }
Callander
Callander is the birthplace of Francis Buchanan-Hamilton
Callander
action filter_type
action find
entity Francis Buchanan-Hamilton
relation place of birth
type administrative territorial entity
['Francis Buchanan-Hamilton', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Francis_Buchanan-Hamilton property:place_of_birth ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1014066 Q411004 Q145
P17
Q15617994
USER
Is Callander located in Aitrang and United Kingdom ?
(Q1014066,P17,Q411004) (Q1014066,P17,Q145)
action is_in
entity Q1014066
action intersection
action find_reverse
entity Q411004
relation P17
action find_reverse
entity Q145
relation P17
['Q1014066', 'P17', 'Q411004'] ['Q1014066', 'P17', 'Q145']
ASK WHERE { resource:Q1014066 property:P17 resource:Q411004 . resource:Q1014066 property:P17 resource:Q145 }
Callander Aitrang United Kingdom
action is_in
entity Callander
action intersection
action find_reverse
entity Aitrang
relation country
action find_reverse
entity United Kingdom
relation country
['Callander', 'country', 'Aitrang'] ['Callander', 'country', 'United Kingdom']
ASK WHERE { resource:Callander property:country resource:Aitrang . resource:Callander property:country resource:United_Kingdom }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q1014066,P17,Q411004) (Q1014066,P17,Q145)
action is_in
entity Q1014066
action intersection
action find_reverse
entity Q411004
relation P17
action find_reverse
entity Q145
relation P17
[ANSWER]
['Q1014066', 'P17', 'Q411004'] ['Q1014066', 'P17', 'Q145']
ASK WHERE { resource:Q1014066 property:P17 resource:Q411004 . resource:Q1014066 property:P17 resource:Q145 }
NO and YES respectively
action is_in
entity Callander
action intersection
action find_reverse
entity Aitrang
relation country
action find_reverse
entity United Kingdom
relation country
['Callander', 'country', 'Aitrang'] ['Callander', 'country', 'United Kingdom']
ASK WHERE { resource:Callander property:country resource:Aitrang . resource:Callander property:country resource:United_Kingdom }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1014066
P47
Q56061
USER
Which administrative territory is bordered by that one ?
action filter_type
action find
entity Q1014066
relation P47
type Q56061
SELECT DISTINCT ?p WHERE { resource:Q1014066 property:P47 ?p . ?p rdf:type ontology:Q56061 }
Callander
action filter_type
action find
entity Callander
relation shares border with
type administrative territorial entity
SELECT DISTINCT ?p WHERE { resource:Callander property:shares_border_with ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q182923
SYSTEM
Stirling
Q182923
action filter_type
action find
entity Q1014066
relation P47
type Q56061
[ANSWER] is bordered by that one
SELECT DISTINCT ?p WHERE { resource:Q1014066 property:P47 ?p . ?p rdf:type ontology:Q56061 }
Stirling
Stirling is bordered by that one
Stirling
action filter_type
action find
entity Callander
relation shares border with
type administrative territorial entity
SELECT DISTINCT ?p WHERE { resource:Callander property:shares_border_with ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q182923
P20
Q502895
USER
Which people have that administrative territory as place of death ?
(c(Q502895),P20,Q182923)
action filter_type
action find_reverse
entity Q182923
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q182923']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . ?w property:P20 resource:Q182923 }
Stirling
action filter_type
action find_reverse
entity Stirling
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Stirling']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . ?w property:place_of_death resource:Stirling }
[]
common name
Q222616 Q233804 Q2849063
SYSTEM
James III of Scotland, Margaret of Denmark, Queen of Scotland, Andy Black
Q2849063 Q16058720 Q3120494 Q21664776 Q727905 Q5148136 Q20713380 Q5338575 Q1452729 Q6139771 Q1699295 Q2680040 Q19664515 Q570947 Q233804 Q222616 Q7347536 Q335804
(c(Q502895),P20,Q182923)
action filter_type
action find_reverse
entity Q182923
relation P20
type Q502895
[ANSWERS] have that administrative territory as place of death
[{'concept': 'Q502895'}, 'P20', 'Q182923']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . ?w property:P20 resource:Q182923 }
Andy Black Alexander MacConachie Guillaume le Lion George Muir Matthew Stewart, 4th Earl of Lennox John Blackadder Dennis Setterington Edith Hughes Frederic Lamond James Miller John Beaumont, 4th Baron Beaumont George Gleig Willie Gardiner James Abercrombie Margaret of Denmark, Queen of Scotland James III of Scotland Robert McIntyre Murdoch Stewart, Duke of Albany
James III of Scotland, Margaret of Denmark, Queen of Scotland and Andy Black have that administrative territory as place of death
James III of Scotland Margaret of Denmark, Queen of Scotland Andy Black
action filter_type
action find_reverse
entity Stirling
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Stirling']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . ?w property:place_of_death resource:Stirling }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q222616 Q233804 Q2849063
P21
Q290
USER
Which sexes do James III of Scotland, Margaret of Denmark, Queen of Scotland and Andy Black belong to ?
(Q222616,P21,c(Q290)) (Q233804,P21,c(Q290)) (Q2849063,P21,c(Q290))
action union
action filter_type
action find
entity Q222616
relation P21
type Q290
action filter_type
action find
entity Q233804
relation P21
type Q290
action filter_type
action find
entity Q2849063
relation P21
type Q290
['Q222616', 'P21', {'concept': 'Q290'}] ['Q233804', 'P21', {'concept': 'Q290'}] ['Q2849063', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { { ?u rdf:type ontology:Q290 . resource:Q222616 property:P21 ?u } UNION { resource:Q233804 property:P21 ?u . ?u rdf:type ontology:Q290 } }
James III of Scotland Margaret of Denmark, Queen of Scotland Andy Black
action union
action filter_type
action find
entity James III of Scotland
relation gender
type sex
action filter_type
action find
entity Margaret of Denmark, Queen of Scotland
relation gender
type sex
action filter_type
action find
entity Andy Black
relation gender
type sex
['James III of Scotland', 'gender', {'concept': 'sex'}] ['Margaret of Denmark, Queen of Scotland', 'gender', {'concept': 'sex'}] ['Andy Black', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { { ?u rdf:type ontology:sex . resource:James_III_of_Scotland property:gender ?u } UNION { resource:Margaret_of_Denmark,_Queen_of_Scotland property:gender ?u . ?u rdf:type ontology:sex } }
[]
sex
Q6581097 Q6581072 Q6581097
SYSTEM
male for 1st, 3rd, female for 2nd
Q6581097 Q6581072 Q6581097
(Q222616,P21,c(Q290)) (Q233804,P21,c(Q290)) (Q2849063,P21,c(Q290))
action union
action filter_type
action find
entity Q222616
relation P21
type Q290
action filter_type
action find
entity Q233804
relation P21
type Q290
action filter_type
action find
entity Q2849063
relation P21
type Q290
[ANSWERS]
['Q222616', 'P21', {'concept': 'Q290'}] ['Q233804', 'P21', {'concept': 'Q290'}] ['Q2849063', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { { ?u rdf:type ontology:Q290 . resource:Q222616 property:P21 ?u } UNION { resource:Q233804 property:P21 ?u . ?u rdf:type ontology:Q290 } }
male female male
James III of Scotland , Margaret of Denmark , Queen of Scotland and Andy Black belong to the male, female and male
male female male
action union
action filter_type
action find
entity James III of Scotland
relation gender
type sex
action filter_type
action find
entity Margaret of Denmark, Queen of Scotland
relation gender
type sex
action filter_type
action find
entity Andy Black
relation gender
type sex
['James III of Scotland', 'gender', {'concept': 'sex'}] ['Margaret of Denmark, Queen of Scotland', 'gender', {'concept': 'sex'}] ['Andy Black', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { { ?u rdf:type ontology:sex . resource:James_III_of_Scotland property:gender ?u } UNION { resource:Margaret_of_Denmark,_Queen_of_Scotland property:gender ?u . ?u rdf:type ontology:sex } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q6581097
P138
Q11173
USER
Which chemical compound is the eponym of that sex ?
(c(Q11173),P138,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q11173
[{'concept': 'Q11173'}, 'P138', 'Q6581097']
SELECT DISTINCT ?b WHERE { ?b property:P138 resource:Q6581097 . ?b rdf:type ontology:Q11173 }
male
action filter_type
action find_reverse
entity male
relation named after
type chemical compound
[{'concept': 'chemical compound'}, 'named after', 'male']
SELECT DISTINCT ?b WHERE { ?b property:named_after resource:male . ?b rdf:type ontology:chemical_compound }
[]
chemical compound
Clarification for simple ques.
Q6581097
SYSTEM
Did you mean male ?
Q6581097 Q6581072 Q6581097
(c(Q11173),P138,Q6581097) (c(Q11173),P138,Q6581072) (c(Q11173),P138,Q6581097)
[ANSWER]
[{'concept': 'Q11173'}, 'P138', 'Q6581097'] [{'concept': 'Q11173'}, 'P138', 'Q6581072'] [{'concept': 'Q11173'}, 'P138', 'Q6581097']
SELECT DISTINCT ?b WHERE { ?b property:P138 resource:Q6581097 . ?b rdf:type ontology:Q11173 }
male female male
Did you mean male ?
male
[{'concept': 'chemical compound'}, 'named after', 'male'] [{'concept': 'chemical compound'}, 'named after', 'female'] [{'concept': 'chemical compound'}, 'named after', 'male']
SELECT DISTINCT ?b WHERE { ?b property:named_after resource:male . ?b rdf:type ontology:chemical_compound }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q11173),P138,Q6581097)
[{'concept': 'Q11173'}, 'P138', 'Q6581097']
[{'concept': 'chemical compound'}, 'named after', 'male']
[]
Q19861203
SYSTEM
postite
Q19861203
(c(Q11173),P138,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q11173
[ANSWER] is the eponym of that sex
[{'concept': 'Q11173'}, 'P138', 'Q6581097']
SELECT DISTINCT ?b WHERE { ?b property:P138 resource:Q6581097 . ?b rdf:type ontology:Q11173 }
postite
Postite is the eponym of that sex
postite
action filter_type
action find_reverse
entity male
relation named after
type chemical compound
[{'concept': 'chemical compound'}, 'named after', 'male']
SELECT DISTINCT ?b WHERE { ?b property:named_after resource:male . ?b rdf:type ontology:chemical_compound }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q19861203 Q26605098 Q26252452
P2695
Q811979
USER
Does that chemical compound can be obtained naturally in abundance in 44, Market Place (See Details For Further Address Information) and former town hall of Paris 18th arrondissement ?
(Q19861203,P2695,Q26605098) (Q19861203,P2695,Q26252452)
action is_in
entity Q19861203
action intersection
action find_reverse
entity Q26605098
relation P2695
action find_reverse
entity Q26252452
relation P2695
['Q19861203', 'P2695', 'Q26605098'] ['Q19861203', 'P2695', 'Q26252452']
ASK WHERE { resource:Q19861203 property:P2695 resource:Q26252452 . resource:Q19861203 property:P2695 resource:Q26605098 }
postite 44, Market Place (See Details For Further Address Information) former town hall of Paris 18th arrondissement
action is_in
entity postite
action intersection
action find_reverse
entity 44, Market Place (See Details For Further Address Information)
relation type locality
action find_reverse
entity former town hall of Paris 18th arrondissement
relation type locality
['postite', 'type locality', '44, Market Place (See Details For Further Address Information)'] ['postite', 'type locality', 'former town hall of Paris 18th arrondissement']
ASK WHERE { resource:postite property:type_locality resource:former_town_hall_of_Paris_18th_arrondissement . resource:postite property:type_locality resource:44,_Market_Place_(See_Details_For_Further_Address_Information) }
[]
architectural structure
SYSTEM
NO
(Q19861203,P2695,Q26605098) (Q19861203,P2695,Q26252452)
action is_in
entity Q19861203
action intersection
action find_reverse
entity Q26605098
relation P2695
action find_reverse
entity Q26252452
relation P2695
[ANSWER]
['Q19861203', 'P2695', 'Q26605098'] ['Q19861203', 'P2695', 'Q26252452']
ASK WHERE { resource:Q19861203 property:P2695 resource:Q26252452 . resource:Q19861203 property:P2695 resource:Q26605098 }
No
action is_in
entity postite
action intersection
action find_reverse
entity 44, Market Place (See Details For Further Address Information)
relation type locality
action find_reverse
entity former town hall of Paris 18th arrondissement
relation type locality
['postite', 'type locality', '44, Market Place (See Details For Further Address Information)'] ['postite', 'type locality', 'former town hall of Paris 18th arrondissement']
ASK WHERE { resource:postite property:type_locality resource:former_town_hall_of_Paris_18th_arrondissement . resource:postite property:type_locality resource:44,_Market_Place_(See_Details_For_Further_Address_Information) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19861203
P138
Q502895
USER
Which person is namesake of postite ?
(Q19861203,P138,c(Q502895))
action filter_type
action find
entity Q19861203
relation P138
type Q502895
['Q19861203', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q19861203 property:P138 ?g . ?g rdf:type ontology:Q502895 }
postite
action filter_type
action find
entity postite
relation named after
type common name
['postite', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:postite property:named_after ?g . ?g rdf:type ontology:common_name }
[]
common name
Q24291912
SYSTEM
Jeffrey E. Post
Q24291912
(Q19861203,P138,c(Q502895))
action filter_type
action find
entity Q19861203
relation P138
type Q502895
[ANSWER] is namesake of postite
['Q19861203', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q19861203 property:P138 ?g . ?g rdf:type ontology:Q502895 }
Jeffrey E. Post
Jeffrey E. Post is namesake of postite
Jeffrey E. Post
action filter_type
action find
entity postite
relation named after
type common name
['postite', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:postite property:named_after ?g . ?g rdf:type ontology:common_name }
[]