Simple Question (Direct)
Simple Question
Q856411
P740
Q56061
USER
Which location did British American Tobacco orginate in ?
(Q856411,P740,c(Q56061))
action filter_type
action find
entity Q856411
relation P740
type Q56061
['Q856411', 'P740', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q856411 property:P740 ?i . ?i rdf:type ontology:Q56061 }
British American Tobacco
action filter_type
action find
entity British American Tobacco
relation location of formation
type administrative territorial entity
['British American Tobacco', 'location of formation', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:British_American_Tobacco property:location_of_formation ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q856411,P740,c(Q56061))
action filter_type
action find
entity Q856411
relation P740
type Q56061
British American Tobacco orginated in [ANSWER]
['Q856411', 'P740', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q856411 property:P740 ?i . ?i rdf:type ontology:Q56061 }
London
British American Tobacco orginated in London
London
action filter_type
action find
entity British American Tobacco
relation location of formation
type administrative territorial entity
['British American Tobacco', 'location of formation', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:British_American_Tobacco property:location_of_formation ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q856411
P176
Q80071
USER
Which symbol was produced by that business organization ?
(c(Q80071),P176,Q84)
action filter_type
action find_reverse
entity Q856411
relation P176
type Q80071
[{'concept': 'Q80071'}, 'P176', 'Q84']
SELECT DISTINCT ?n WHERE { ?n property:P176 resource:Q856411 . ?n rdf:type ontology:Q80071 }
British American Tobacco
action filter_type
action find_reverse
entity British American Tobacco
relation manufacturer
type symbol
[{'concept': 'symbol'}, 'manufacturer', 'London']
SELECT DISTINCT ?n WHERE { ?n property:manufacturer resource:British_American_Tobacco . ?n rdf:type ontology:symbol }
[]
symbol
Q24298830
SYSTEM
Everest
Q24298830
(c(Q80071),P176,Q84)
action filter_type
action find_reverse
entity Q856411
relation P176
type Q80071
[ANSWER] was produced by that business organization
[{'concept': 'Q80071'}, 'P176', 'Q84']
SELECT DISTINCT ?n WHERE { ?n property:P176 resource:Q856411 . ?n rdf:type ontology:Q80071 }
Everest
Everest was produced by that business organization
Everest
action filter_type
action find_reverse
entity British American Tobacco
relation manufacturer
type symbol
[{'concept': 'symbol'}, 'manufacturer', 'London']
SELECT DISTINCT ?n WHERE { ?n property:manufacturer resource:British_American_Tobacco . ?n rdf:type ontology:symbol }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q856411
P749
Q43229
USER
Which organizations are owned by British American Tobacco ?
(c(Q43229),P749,Q856411)
action filter_type
action find_reverse
entity Q856411
relation P749
type Q43229
[{'concept': 'Q43229'}, 'P749', 'Q856411']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q43229 . ?m property:P749 resource:Q856411 }
British American Tobacco
action filter_type
action find_reverse
entity British American Tobacco
relation parent organization
type organization
[{'concept': 'organization'}, 'parent organization', 'British American Tobacco']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:organization . ?m property:parent_organization resource:British_American_Tobacco }
[]
organization
Q4890522 Q3784942
SYSTEM
Bentoel Group, Tekel
Q4890522 Q3784942
(c(Q43229),P749,Q856411)
action filter_type
action find_reverse
entity Q856411
relation P749
type Q43229
[ANSWERS] are owned by British American Tobacco
[{'concept': 'Q43229'}, 'P749', 'Q856411']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q43229 . ?m property:P749 resource:Q856411 }
Bentoel Group Tekel
Bentoel Group and Tekel are owned by British American Tobacco
Bentoel Group Tekel
action filter_type
action find_reverse
entity British American Tobacco
relation parent organization
type organization
[{'concept': 'organization'}, 'parent organization', 'British American Tobacco']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:organization . ?m property:parent_organization resource:British_American_Tobacco }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q4890522 Q3784942
P159
Q56061
USER
Where are the headquarters of Bentoel Group and Tekel located ?
(Q4890522,P159,c(Q56061)) (Q3784942,P159,c(Q56061))
action union
action filter_type
action find
entity Q4890522
relation P159
type Q56061
action filter_type
action find
entity Q3784942
relation P159
type Q56061
['Q4890522', 'P159', {'concept': 'Q56061'}] ['Q3784942', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { ?c property:P159 ?u . VALUES ( ?c ) { ( resource:Q4890522 ) ( resource:Q3784942 ) } }
Bentoel Group Tekel
action union
action filter_type
action find
entity Bentoel Group
relation headquarters location
type administrative territorial entity
action filter_type
action find
entity Tekel
relation headquarters location
type administrative territorial entity
['Bentoel Group', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Tekel', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?c property:headquarters_location ?u . VALUES ( ?c ) { ( resource:Bentoel_Group ) ( resource:Tekel ) } }
[]
administrative territorial entity
Q11445 Q406
SYSTEM
Malang, Istanbul
Q11445 Q406
(Q4890522,P159,c(Q56061)) (Q3784942,P159,c(Q56061))
action union
action filter_type
action find
entity Q4890522
relation P159
type Q56061
action filter_type
action find
entity Q3784942
relation P159
type Q56061
Are the headquarters of Bentoel Group and Tekel located in [ANSWERS]
['Q4890522', 'P159', {'concept': 'Q56061'}] ['Q3784942', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { ?c property:P159 ?u . VALUES ( ?c ) { ( resource:Q4890522 ) ( resource:Q3784942 ) } }
Malang Istanbul
Are the headquarters of Bentoel Group and Tekel located in Malang and Istanbul
Malang Istanbul
action union
action filter_type
action find
entity Bentoel Group
relation headquarters location
type administrative territorial entity
action filter_type
action find
entity Tekel
relation headquarters location
type administrative territorial entity
['Bentoel Group', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Tekel', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?c property:headquarters_location ?u . VALUES ( ?c ) { ( resource:Bentoel_Group ) ( resource:Tekel ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q11445 Q406
P159
Q7210356
USER
Which political organizations have headquarters located at those administrative territories ?
(c(Q7210356),P159,Q11445) (c(Q7210356),P159,Q406)
action filter_type
action find_reverse
entity prev_answer
relation P159
type Q7210356
[{'concept': 'Q7210356'}, 'P159', 'Q11445'] [{'concept': 'Q7210356'}, 'P159', 'Q406']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q7210356 . VALUES ( ?c ) { ( resource:Q11445 ) ( resource:Q406 ) } . ?y property:P159 ?c }
Malang Istanbul
action filter_type
action find_reverse
entity prev_answer
relation headquarters location
type political organization
[{'concept': 'political organization'}, 'headquarters location', 'Malang'] [{'concept': 'political organization'}, 'headquarters location', 'Istanbul']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:political_organization . VALUES ( ?c ) { ( resource:Malang ) ( resource:Istanbul ) } . ?y property:headquarters_location ?c }
[]
political organization
Q1326843 Q488511 Q4059714
SYSTEM
Freedom and Accord Party, Motherland Party, Acoma Party
Q4059714 Q1326843 Q488511 Q1559352 Q2096117
(c(Q7210356),P159,Q11445) (c(Q7210356),P159,Q406)
action filter_type
action find_reverse
entity prev_answer
relation P159
type Q7210356
[ANSWERS] have headquarters located at those administrative territories
[{'concept': 'Q7210356'}, 'P159', 'Q11445'] [{'concept': 'Q7210356'}, 'P159', 'Q406']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q7210356 . VALUES ( ?c ) { ( resource:Q11445 ) ( resource:Q406 ) } . ?y property:P159 ?c }
Acoma Party Freedom and Accord Party Motherland Party Committee of Union and Progress Greens Party
Freedom and Accord Party, Motherland Party and Acoma Party have headquarters located at those administrative territories
Freedom and Accord Party Motherland Party Acoma Party
action filter_type
action find_reverse
entity prev_answer
relation headquarters location
type political organization
[{'concept': 'political organization'}, 'headquarters location', 'Malang'] [{'concept': 'political organization'}, 'headquarters location', 'Istanbul']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:political_organization . VALUES ( ?c ) { ( resource:Malang ) ( resource:Istanbul ) } . ?y property:headquarters_location ?c }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1326843 Q488511 Q4059714
P159
Q56061
USER
Where are the headquarters of Freedom and Accord Party, Motherland Party and Acoma Party located ?
(Q1326843,P159,c(Q56061)) (Q488511,P159,c(Q56061)) (Q4059714,P159,c(Q56061))
action union
action filter_type
action find
entity Q1326843
relation P159
type Q56061
action filter_type
action find
entity Q488511
relation P159
type Q56061
action filter_type
action find
entity Q4059714
relation P159
type Q56061
['Q1326843', 'P159', {'concept': 'Q56061'}] ['Q488511', 'P159', {'concept': 'Q56061'}] ['Q4059714', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { ?e property:P159 ?m . VALUES ( ?e ) { ( resource:Q1326843 ) ( resource:Q488511 ) } }
Freedom and Accord Party Motherland Party Acoma Party
action union
action filter_type
action find
entity Freedom and Accord Party
relation headquarters location
type administrative territorial entity
action filter_type
action find
entity Motherland Party
relation headquarters location
type administrative territorial entity
action filter_type
action find
entity Acoma Party
relation headquarters location
type administrative territorial entity
['Freedom and Accord Party', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Motherland Party', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Acoma Party', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?e property:headquarters_location ?m . VALUES ( ?e ) { ( resource:Freedom_and_Accord_Party ) ( resource:Motherland_Party ) } }
[]
administrative territorial entity
Q406 Q406 Q11445
SYSTEM
Istanbul for 1st, 2nd, Malang for 3rd
Q406 Q406 Q11445
(Q1326843,P159,c(Q56061)) (Q488511,P159,c(Q56061)) (Q4059714,P159,c(Q56061))
action union
action filter_type
action find
entity Q1326843
relation P159
type Q56061
action filter_type
action find
entity Q488511
relation P159
type Q56061
action filter_type
action find
entity Q4059714
relation P159
type Q56061
[ANSWERS]
['Q1326843', 'P159', {'concept': 'Q56061'}] ['Q488511', 'P159', {'concept': 'Q56061'}] ['Q4059714', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { ?e property:P159 ?m . VALUES ( ?e ) { ( resource:Q1326843 ) ( resource:Q488511 ) } }
Istanbul Istanbul Malang
Located in Istanbul, Istanbul and Malang are the headquarters of Freedom and Accord Party , Motherland Party and Acoma Party
Istanbul Istanbul Malang
action union
action filter_type
action find
entity Freedom and Accord Party
relation headquarters location
type administrative territorial entity
action filter_type
action find
entity Motherland Party
relation headquarters location
type administrative territorial entity
action filter_type
action find
entity Acoma Party
relation headquarters location
type administrative territorial entity
['Freedom and Accord Party', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Motherland Party', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Acoma Party', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?e property:headquarters_location ?m . VALUES ( ?e ) { ( resource:Freedom_and_Accord_Party ) ( resource:Motherland_Party ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q11445
P17
Q15617994
USER
Which administrative territory does that administrative territory belong to ?
(Q11445,P17,c(Q15617994))
action filter_type
action find
entity Q11445
relation P17
type Q15617994
['Q11445', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q11445 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
Malang
action filter_type
action find
entity Malang
relation country
type designation for an administrative territorial entity
['Malang', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Malang property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q406
SYSTEM
Did you mean Istanbul ?
Q406 Q406 Q11445
(Q406,P17,c(Q15617994)) (Q406,P17,c(Q15617994)) (Q11445,P17,c(Q15617994))
[ANSWER]
['Q406', 'P17', {'concept': 'Q15617994'}] ['Q406', 'P17', {'concept': 'Q15617994'}] ['Q11445', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q11445 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
Istanbul Istanbul Malang
Did you mean Istanbul ?
Istanbul
['Istanbul', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Istanbul', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Malang', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Malang property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Malang. Could you tell me the answer for that?
(Q11445,P17,c(Q15617994))
Q11445
['Q11445', 'P17', {'concept': 'Q15617994'}]
['Malang', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q252
SYSTEM
Indonesia
Q252
(Q11445,P17,c(Q15617994))
action filter_type
action find
entity Q11445
relation P17
type Q15617994
That administrative territory belongs to [ANSWER]
['Q11445', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q11445 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
Indonesia
That administrative territory belongs to Indonesia
Indonesia
action filter_type
action find
entity Malang
relation country
type designation for an administrative territorial entity
['Malang', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Malang property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q252 Q4752655
P530
Q1048835
USER
Does Anchonga District have diplomatic relationships with that administrative territory ?
(Q252,P530,Q4752655)
action is_in
entity Q4752655
action find
entity Q252
relation P530
['Q252', 'P530', 'Q4752655']
ASK WHERE { resource:Q252 property:P530 resource:Q4752655 }
Indonesia Anchonga District
action is_in
entity Anchonga District
action find
entity Indonesia
relation diplomatic relation
['Indonesia', 'diplomatic relation', 'Anchonga District']
ASK WHERE { resource:Indonesia property:diplomatic_relation resource:Anchonga_District }
[]
political territorial entity
SYSTEM
NO
(Q252,P530,Q4752655)
action is_in
entity Q4752655
action find
entity Q252
relation P530
[ANSWER]
['Q252', 'P530', 'Q4752655']
ASK WHERE { resource:Q252 property:P530 resource:Q4752655 }
No
action is_in
entity Anchonga District
action find
entity Indonesia
relation diplomatic relation
['Indonesia', 'diplomatic relation', 'Anchonga District']
ASK WHERE { resource:Indonesia property:diplomatic_relation resource:Anchonga_District }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q252
P6
Q502895
USER
Which person has that administrative territory as its head of government ?
action filter_type
action find
entity Q252
relation P6
type Q502895
SELECT DISTINCT ?c WHERE { resource:Q252 property:P6 ?c . ?c rdf:type ontology:Q502895 }
Indonesia
action filter_type
action find
entity Indonesia
relation head of government
type common name
SELECT DISTINCT ?c WHERE { resource:Indonesia property:head_of_government ?c . ?c rdf:type ontology:common_name }
[]
common name
Q3318231
SYSTEM
Joko Widodo
Q3318231
action filter_type
action find
entity Q252
relation P6
type Q502895
[ANSWER] has that administrative territory as its head of government
SELECT DISTINCT ?c WHERE { resource:Q252 property:P6 ?c . ?c rdf:type ontology:Q502895 }
Joko Widodo
Joko Widodo has that administrative territory as its head of government
Joko Widodo
action filter_type
action find
entity Indonesia
relation head of government
type common name
SELECT DISTINCT ?c WHERE { resource:Indonesia property:head_of_government ?c . ?c rdf:type ontology:common_name }
[]