Simple Question (Direct)
Simple Question
Q549181
P452
Q58778
USER
Which system is the industry to which MOL Group belongs ?
(Q549181,P452,c(Q58778))
action filter_type
action find
entity Q549181
relation P452
type Q58778
['Q549181', 'P452', {'concept': 'Q58778'}]
SELECT DISTINCT ?l WHERE { resource:Q549181 property:P452 ?l . ?l rdf:type ontology:Q58778 }
MOL Group
action filter_type
action find
entity MOL Group
relation industry
type system
['MOL Group', 'industry', {'concept': 'system'}]
SELECT DISTINCT ?l WHERE { resource:MOL_Group property:industry ?l . ?l rdf:type ontology:system }
[]
system
Q862571
SYSTEM
petroleum industry
Q862571
(Q549181,P452,c(Q58778))
action filter_type
action find
entity Q549181
relation P452
type Q58778
And [ANSWER] is the industry to which MOL Group belongs
['Q549181', 'P452', {'concept': 'Q58778'}]
SELECT DISTINCT ?l WHERE { resource:Q549181 property:P452 ?l . ?l rdf:type ontology:Q58778 }
petroleum industry
And petroleum industry is the industry to which MOL Group belongs
petroleum industry
action filter_type
action find
entity MOL Group
relation industry
type system
['MOL Group', 'industry', {'concept': 'system'}]
SELECT DISTINCT ?l WHERE { resource:MOL_Group property:industry ?l . ?l rdf:type ontology:system }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q549181
P138
Q58778
USER
Which system has MOL Group as its namesake ?
(c(Q58778),P138,Q549181)
action filter_type
action find_reverse
entity Q549181
relation P138
type Q58778
[{'concept': 'Q58778'}, 'P138', 'Q549181']
SELECT DISTINCT ?r WHERE { ?r property:P138 resource:Q549181 . ?r rdf:type ontology:Q58778 }
MOL Group
action filter_type
action find_reverse
entity MOL Group
relation named after
type system
[{'concept': 'system'}, 'named after', 'MOL Group']
SELECT DISTINCT ?r WHERE { ?r property:named_after resource:MOL_Group . ?r rdf:type ontology:system }
[]
system
Q16971969
SYSTEM
BuBi
Q16971969
(c(Q58778),P138,Q549181)
action filter_type
action find_reverse
entity Q549181
relation P138
type Q58778
[ANSWER] has MOL Group as its namesake
[{'concept': 'Q58778'}, 'P138', 'Q549181']
SELECT DISTINCT ?r WHERE { ?r property:P138 resource:Q549181 . ?r rdf:type ontology:Q58778 }
BuBi
BuBi has MOL Group as its namesake
BuBi
action filter_type
action find_reverse
entity MOL Group
relation named after
type system
[{'concept': 'system'}, 'named after', 'MOL Group']
SELECT DISTINCT ?r WHERE { ?r property:named_after resource:MOL_Group . ?r rdf:type ontology:system }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16971969
P17
Q15617994
USER
Which administrative territory does that system belong to ?
(Q16971969,P17,c(Q15617994))
action filter_type
action find
entity Q16971969
relation P17
type Q15617994
['Q16971969', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q16971969 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
BuBi
action filter_type
action find
entity BuBi
relation country
type designation for an administrative territorial entity
['BuBi', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:BuBi property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q28
SYSTEM
Hungary
Q28
(Q16971969,P17,c(Q15617994))
action filter_type
action find
entity Q16971969
relation P17
type Q15617994
That system belongs to the [ANSWER]
['Q16971969', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q16971969 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
Hungary
That system belongs to the Hungary
Hungary
action filter_type
action find
entity BuBi
relation country
type designation for an administrative territorial entity
['BuBi', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:BuBi property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q28
P463
Q484652
USER
Which organizations were that administrative territory a member of ?
(Q28,P463,c(Q484652))
action filter_type
action find
entity Q28
relation P463
type Q484652
['Q28', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?a WHERE { resource:Q28 property:P463 ?a . ?a rdf:type ontology:Q484652 }
Hungary
action filter_type
action find
entity Hungary
relation member of
type international organization
['Hungary', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?a WHERE { resource:Hungary property:member_of ?a . ?a rdf:type ontology:international_organization }
[]
international organization
Q81299 Q1065 Q7184
SYSTEM
Organization for Security and Co-operation in Europe, United Nations, North Atlantic Treaty Organisation
Q7184 Q81299 Q1065 Q1043527
(Q28,P463,c(Q484652))
action filter_type
action find
entity Q28
relation P463
type Q484652
[ANSWERS] were that administrative territory a member of
['Q28', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?a WHERE { resource:Q28 property:P463 ?a . ?a rdf:type ontology:Q484652 }
North Atlantic Treaty Organisation Organization for Security and Co-operation in Europe United Nations Multilateral Investment Guarantee Agency
Organization for Security and Co-operation in Europe, United Nations and North Atlantic Treaty Organisation were that administrative territory a member of
Organization for Security and Co-operation in Europe United Nations North Atlantic Treaty Organisation
action filter_type
action find
entity Hungary
relation member of
type international organization
['Hungary', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?a WHERE { resource:Hungary property:member_of ?a . ?a rdf:type ontology:international_organization }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q145 Q862571
P452 P17
Q43229
USER
Which organizations are part of the industry petroleum industry and are located in United Kingdom ?
AND((c(Q43229),P452,Q862571), (c(Q43229),P17,Q145))
action filter_type
action intersection
action find_reverse
entity Q862571
relation P452
action find_reverse
entity Q145
relation P17
type Q43229
{'AND': [[{'concept': 'Q43229'}, 'P452', 'Q862571'], [{'concept': 'Q43229'}, 'P17', 'Q145']]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q43229 . ?m property:P452 resource:Q862571 . ?m property:P17 resource:Q145 }
United Kingdom petroleum industry
action filter_type
action intersection
action find_reverse
entity petroleum industry
relation industry
action find_reverse
entity United Kingdom
relation country
type organization
{'AND': [[{'concept': 'organization'}, 'industry', 'petroleum industry'], [{'concept': 'organization'}, 'country', 'United Kingdom']]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:organization . ?m property:industry resource:petroleum_industry . ?m property:country resource:United_Kingdom }
[]
organization
Q152057 Q4664196 Q154950
SYSTEM
BP, Abbot Group, Royal Dutch Shell
Q152057 Q4664196 Q154950
AND((c(Q43229),P452,Q862571), (c(Q43229),P17,Q145))
action filter_type
action intersection
action find_reverse
entity Q862571
relation P452
action find_reverse
entity Q145
relation P17
type Q43229
[ANSWERS] are part of the industry petroleum industry and are located in United Kingdom
{'AND': [[{'concept': 'Q43229'}, 'P452', 'Q862571'], [{'concept': 'Q43229'}, 'P17', 'Q145']]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q43229 . ?m property:P452 resource:Q862571 . ?m property:P17 resource:Q145 }
BP Abbot Group Royal Dutch Shell
BP, Abbot Group and Royal Dutch Shell are part of the industry petroleum industry and are located in United Kingdom
BP Abbot Group Royal Dutch Shell
action filter_type
action intersection
action find_reverse
entity petroleum industry
relation industry
action find_reverse
entity United Kingdom
relation country
type organization
{'AND': [[{'concept': 'organization'}, 'industry', 'petroleum industry'], [{'concept': 'organization'}, 'country', 'United Kingdom']]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:organization . ?m property:industry resource:petroleum_industry . ?m property:country resource:United_Kingdom }
[]
Clarification
Simple Question|Single Entity|Indirect
Q152057
P108
Q502895
USER
What are the name of people who works for that organization ?
(c(Q502895),P108,Q152057)
action filter_type
action find_reverse
entity Q152057
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q152057']
SELECT DISTINCT ?l WHERE { ?l property:P108 resource:Q152057 . ?l rdf:type ontology:Q502895 }
BP
action filter_type
action find_reverse
entity BP
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'BP']
SELECT DISTINCT ?l WHERE { ?l property:employer resource:BP . ?l rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q152057
SYSTEM
Did you mean BP ?
Q152057 Q4664196 Q154950
(c(Q502895),P108,Q152057) (c(Q502895),P108,Q4664196) (c(Q502895),P108,Q154950)
[ANSWER]
[{'concept': 'Q502895'}, 'P108', 'Q152057'] [{'concept': 'Q502895'}, 'P108', 'Q4664196'] [{'concept': 'Q502895'}, 'P108', 'Q154950']
SELECT DISTINCT ?l WHERE { ?l property:P108 resource:Q152057 . ?l rdf:type ontology:Q502895 }
BP Abbot Group Royal Dutch Shell
Did you mean BP ?
BP
[{'concept': 'common name'}, 'employer', 'BP'] [{'concept': 'common name'}, 'employer', 'Abbot Group'] [{'concept': 'common name'}, 'employer', 'Royal Dutch Shell']
SELECT DISTINCT ?l WHERE { ?l property:employer resource:BP . ?l rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P108,Q152057)
[{'concept': 'Q502895'}, 'P108', 'Q152057']
[{'concept': 'common name'}, 'employer', 'BP']
[]
Q16937408 Q1362838 Q21748880
SYSTEM
Margaret E. M. Tolbert, Erwin Bockelmann, John Bockelmann
Q16937408 Q5534300 Q20741884 Q21748880 Q24727789 Q1362838
(c(Q502895),P108,Q152057)
action filter_type
action find_reverse
entity Q152057
relation P108
type Q502895
The name of people works for that organization are [ANSWERS]
[{'concept': 'Q502895'}, 'P108', 'Q152057']
SELECT DISTINCT ?l WHERE { ?l property:P108 resource:Q152057 . ?l rdf:type ontology:Q502895 }
Margaret E. M. Tolbert Geoff S. Morrell John Buchanan John Bockelmann Sir David Steel Erwin Bockelmann
The name of people works for that organization are Margaret E. M. Tolbert, Erwin Bockelmann and John Bockelmann
Margaret E. M. Tolbert Erwin Bockelmann John Bockelmann
action filter_type
action find_reverse
entity BP
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'BP']
SELECT DISTINCT ?l WHERE { ?l property:employer resource:BP . ?l rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1065
P467
Q1799072
USER
What was the method legislated by United Nations ?
(c(Q1799072),P467,Q1065)
action filter_type
action find_reverse
entity Q1065
relation P467
type Q1799072
[{'concept': 'Q1799072'}, 'P467', 'Q1065']
SELECT DISTINCT ?l WHERE { ?l property:P467 resource:Q1065 . ?l rdf:type ontology:Q1799072 }
United Nations
action filter_type
action find_reverse
entity United Nations
relation legislated by
type method
[{'concept': 'method'}, 'legislated by', 'United Nations']
SELECT DISTINCT ?l WHERE { ?l property:legislated_by resource:United_Nations . ?l rdf:type ontology:method }
[]
method
Q1190392
SYSTEM
United Nations resolution
Q1190392
(c(Q1799072),P467,Q1065)
action filter_type
action find_reverse
entity Q1065
relation P467
type Q1799072
The method legislated by United Nations was by [ANSWER]
[{'concept': 'Q1799072'}, 'P467', 'Q1065']
SELECT DISTINCT ?l WHERE { ?l property:P467 resource:Q1065 . ?l rdf:type ontology:Q1799072 }
United Nations resolution
The method legislated by United Nations was by United Nations resolution
United Nations resolution
action filter_type
action find_reverse
entity United Nations
relation legislated by
type method
[{'concept': 'method'}, 'legislated by', 'United Nations']
SELECT DISTINCT ?l WHERE { ?l property:legislated_by resource:United_Nations . ?l rdf:type ontology:method }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q28
P159
Q4830453
USER
Which business enterprise has its head office location at Hungary ?
(c(Q4830453),P159,Q28)
action filter_type
action find_reverse
entity Q28
relation P159
type Q4830453
[{'concept': 'Q4830453'}, 'P159', 'Q28']
SELECT DISTINCT ?u WHERE { ?u property:P159 resource:Q28 . ?u rdf:type ontology:Q4830453 }
Hungary
action filter_type
action find_reverse
entity Hungary
relation headquarters location
type business enterprise
[{'concept': 'business enterprise'}, 'headquarters location', 'Hungary']
SELECT DISTINCT ?u WHERE { ?u property:headquarters_location resource:Hungary . ?u rdf:type ontology:business_enterprise }
[]
business enterprise
Q852566
SYSTEM
Bács Volán
Q852566
(c(Q4830453),P159,Q28)
action filter_type
action find_reverse
entity Q28
relation P159
type Q4830453
[ANSWER] has its head office location at Hungary
[{'concept': 'Q4830453'}, 'P159', 'Q28']
SELECT DISTINCT ?u WHERE { ?u property:P159 resource:Q28 . ?u rdf:type ontology:Q4830453 }
Bács Volán
Bács Volán has its head office location at Hungary
Bács Volán
action filter_type
action find_reverse
entity Hungary
relation headquarters location
type business enterprise
[{'concept': 'business enterprise'}, 'headquarters location', 'Hungary']
SELECT DISTINCT ?u WHERE { ?u property:headquarters_location resource:Hungary . ?u rdf:type ontology:business_enterprise }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q152057
P169
Q502895
USER
Who is the chief executive of BP ?
(Q152057,P169,c(Q502895))
action filter_type
action find
entity Q152057
relation P169
type Q502895
['Q152057', 'P169', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q152057 property:P169 ?w . ?w rdf:type ontology:Q502895 }
BP
action filter_type
action find
entity BP
relation chief executive officer
type common name
['BP', 'chief executive officer', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:BP property:chief_executive_officer ?w . ?w rdf:type ontology:common_name }
[]
common name
Q421864
SYSTEM
Bob Dudley
Q421864
(Q152057,P169,c(Q502895))
action filter_type
action find
entity Q152057
relation P169
type Q502895
The chief executive of BP is Lord [ANSWER]
['Q152057', 'P169', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q152057 property:P169 ?w . ?w rdf:type ontology:Q502895 }
Bob Dudley
The chief executive of BP is Lord Bob Dudley
Bob Dudley
action filter_type
action find
entity BP
relation chief executive officer
type common name
['BP', 'chief executive officer', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:BP property:chief_executive_officer ?w . ?w rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q421864 Q30
P27
Q15617994
USER
Is United States of America the country of citizenship of that person ?
(Q421864,P27,Q30)
action is_in
entity Q30
action find
entity Q421864
relation P27
['Q421864', 'P27', 'Q30']
ASK WHERE { resource:Q421864 property:P27 resource:Q30 }
Bob Dudley United States of America
action is_in
entity United States of America
action find
entity Bob Dudley
relation country of citizenship
['Bob Dudley', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Bob_Dudley property:country_of_citizenship resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q421864,P27,Q30)
action is_in
entity Q30
action find
entity Q421864
relation P27
[ANSWER]
['Q421864', 'P27', 'Q30']
ASK WHERE { resource:Q421864 property:P27 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Bob Dudley
relation country of citizenship
['Bob Dudley', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Bob_Dudley property:country_of_citizenship resource:United_States_of_America }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q852566 Q28
P159
Q15617994
USER
Is Hungary the head office for Bács Volán located ?
(Q852566,P159,Q28)
action is_in
entity Q28
action find
entity Q852566
relation P159
['Q852566', 'P159', 'Q28']
ASK WHERE { resource:Q852566 property:P159 resource:Q28 }
Bács Volán Hungary
action is_in
entity Hungary
action find
entity Bács Volán
relation headquarters location
['Bács Volán', 'headquarters location', 'Hungary']
ASK WHERE { resource:Bács_Volán property:headquarters_location resource:Hungary }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q852566,P159,Q28)
action is_in
entity Q28
action find
entity Q852566
relation P159
[ANSWER]
['Q852566', 'P159', 'Q28']
ASK WHERE { resource:Q852566 property:P159 resource:Q28 }
Yes
action is_in
entity Hungary
action find
entity Bács Volán
relation headquarters location
['Bács Volán', 'headquarters location', 'Hungary']
ASK WHERE { resource:Bács_Volán property:headquarters_location resource:Hungary }
[]