Simple Question (Direct)
Simple Question
Q6830812
P27
Q15617994
USER
Which administrative territory is Michael Groden an inhabitant of ?
(Q6830812,P27,c(Q15617994))
action filter_type
action find
entity Q6830812
relation P27
type Q15617994
['Q6830812', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q6830812 property:P27 ?s . ?s rdf:type ontology:Q15617994 }
Michael Groden
action filter_type
action find
entity Michael Groden
relation country of citizenship
type designation for an administrative territorial entity
['Michael Groden', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Michael_Groden property:country_of_citizenship ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q27
SYSTEM
Ireland
Q27
(Q6830812,P27,c(Q15617994))
action filter_type
action find
entity Q6830812
relation P27
type Q15617994
[ANSWER] is Michael Groden an inhabitant of
['Q6830812', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q6830812 property:P27 ?s . ?s rdf:type ontology:Q15617994 }
Ireland
Ireland is Michael Groden an inhabitant of
Ireland
action filter_type
action find
entity Michael Groden
relation country of citizenship
type designation for an administrative territorial entity
['Michael Groden', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Michael_Groden property:country_of_citizenship ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q27
P159
Q43229
USER
Which organizations have HQ at that administrative territory ?
(c(Q43229),P159,Q27)
action filter_type
action find_reverse
entity Q27
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q27']
SELECT DISTINCT ?o WHERE { ?o property:P159 resource:Q27 . ?o rdf:type ontology:Q43229 }
Ireland
action filter_type
action find_reverse
entity Ireland
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Ireland']
SELECT DISTINCT ?o WHERE { ?o property:headquarters_location resource:Ireland . ?o rdf:type ontology:organization }
[]
organization
Q8006845 Q8075257 Q7546779
SYSTEM
William Clarke & Son, Zumo, Smyths
Q8006845 Q8075257 Q7546779
(c(Q43229),P159,Q27)
action filter_type
action find_reverse
entity Q27
relation P159
type Q43229
[ANSWERS] have HQ at that administrative territory
[{'concept': 'Q43229'}, 'P159', 'Q27']
SELECT DISTINCT ?o WHERE { ?o property:P159 resource:Q27 . ?o rdf:type ontology:Q43229 }
William Clarke & Son Zumo Smyths
William Clarke & Son, Zumo and Smyths have HQ at that administrative territory
William Clarke & Son Zumo Smyths
action filter_type
action find_reverse
entity Ireland
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Ireland']
SELECT DISTINCT ?o WHERE { ?o property:headquarters_location resource:Ireland . ?o rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q8006845 Q8075257 Q7546779
P159
Q15617994
USER
Which administrative territories are the headquarter locations of those organizations ?
(Q8006845,P159,c(Q15617994)) (Q8075257,P159,c(Q15617994)) (Q7546779,P159,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P159
type Q15617994
['Q8006845', 'P159', {'concept': 'Q15617994'}] ['Q8075257', 'P159', {'concept': 'Q15617994'}] ['Q7546779', 'P159', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?k ) { ( resource:Q8006845 ) ( resource:Q8075257 ) ( resource:Q7546779 ) } . ?t rdf:type ontology:Q15617994 . ?k property:P159 ?t }
William Clarke & Son Zumo Smyths
action filter_type
action find
entity prev_answer
relation headquarters location
type designation for an administrative territorial entity
['William Clarke & Son', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}] ['Zumo', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}] ['Smyths', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?k ) { ( resource:William_Clarke_&_Son ) ( resource:Zumo ) ( resource:Smyths ) } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k property:headquarters_location ?t }
[]
designation for an administrative territorial entity
Q27 Q27 Q27
SYSTEM
Ireland
Q27 Q27 Q27
(Q8006845,P159,c(Q15617994)) (Q8075257,P159,c(Q15617994)) (Q7546779,P159,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P159
type Q15617994
[ANSWER], [ANSWER] and [ANSWER] are the headquarter locations of those organizations
['Q8006845', 'P159', {'concept': 'Q15617994'}] ['Q8075257', 'P159', {'concept': 'Q15617994'}] ['Q7546779', 'P159', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?k ) { ( resource:Q8006845 ) ( resource:Q8075257 ) ( resource:Q7546779 ) } . ?t rdf:type ontology:Q15617994 . ?k property:P159 ?t }
Ireland Ireland Ireland
Ireland, Ireland and Ireland are the headquarter locations of those organizations
Ireland Ireland Ireland
action filter_type
action find
entity prev_answer
relation headquarters location
type designation for an administrative territorial entity
['William Clarke & Son', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}] ['Zumo', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}] ['Smyths', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?k ) { ( resource:William_Clarke_&_Son ) ( resource:Zumo ) ( resource:Smyths ) } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k property:headquarters_location ?t }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q27
P180
Q2668072
USER
Which collection depicts Ireland ?
(c(Q2668072),P180,Q27)
action filter_type
action find_reverse
entity Q27
relation P180
type Q2668072
[{'concept': 'Q2668072'}, 'P180', 'Q27']
SELECT DISTINCT ?s WHERE { ?s property:P180 resource:Q27 . ?s rdf:type ontology:Q2668072 }
Ireland
action filter_type
action find_reverse
entity Ireland
relation depicts
type collection
[{'concept': 'collection'}, 'depicts', 'Ireland']
SELECT DISTINCT ?s WHERE { ?s property:depicts resource:Ireland . ?s rdf:type ontology:collection }
[]
collection
Q23017663
SYSTEM
NLW Drawing Volume 405
Q23017663
(c(Q2668072),P180,Q27)
action filter_type
action find_reverse
entity Q27
relation P180
type Q2668072
[ANSWER] depicts Ireland
[{'concept': 'Q2668072'}, 'P180', 'Q27']
SELECT DISTINCT ?s WHERE { ?s property:P180 resource:Q27 . ?s rdf:type ontology:Q2668072 }
NLW Drawing Volume 405
NLW Drawing Volume 405 depicts Ireland
NLW Drawing Volume 405
action filter_type
action find_reverse
entity Ireland
relation depicts
type collection
[{'concept': 'collection'}, 'depicts', 'Ireland']
SELECT DISTINCT ?s WHERE { ?s property:depicts resource:Ireland . ?s rdf:type ontology:collection }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q27
P463
Q484652
USER
What international organizations were that administrative territory a member of ?
(Q23017663,P463,c(Q484652))
action filter_type
action find
entity Q27
relation P463
type Q484652
['Q23017663', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q484652 . resource:Q27 property:P463 ?m }
Ireland
action filter_type
action find
entity Ireland
relation member of
type international organization
['NLW Drawing Volume 405', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:international_organization . resource:Ireland property:member_of ?m }
[]
international organization
Q81299 Q42262 Q1065
SYSTEM
Organization for Security and Co-operation in Europe, European Space Agency, United Nations
Q81299 Q42262 Q1065 Q188822 Q1043527
(Q23017663,P463,c(Q484652))
action filter_type
action find
entity Q27
relation P463
type Q484652
[ANSWERS]
['Q23017663', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q484652 . resource:Q27 property:P463 ?m }
Organization for Security and Co-operation in Europe European Space Agency United Nations Asian Development Bank Multilateral Investment Guarantee Agency
What international organizations were that administrative territory a member of
Organization for Security and Co-operation in Europe European Space Agency United Nations
action filter_type
action find
entity Ireland
relation member of
type international organization
['NLW Drawing Volume 405', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:international_organization . resource:Ireland property:member_of ?m }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P108
Q484652 Q502895
USER
How many international organizations do less number of people work for than that international organization ?
(c(Q502895),P108,c(Q484652))
[{'concept': 'Q502895'}, 'P108', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:Q3053337 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q484652 }
[{'concept': 'common name'}, 'employer', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:employer ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:international_organization }
[]
international organization common name
Comparative|Count over More/Less|Single entity type|Clarification
Q42262
SYSTEM
Did you mean European Space Agency ?
(c(Q502895),P108,c(Q484652))
[ANSWER]
[{'concept': 'Q502895'}, 'P108', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:Q3053337 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q484652 }
Did you mean European Space Agency ?
European Space Agency
[{'concept': 'common name'}, 'employer', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:employer ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:international_organization }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant United Nations. Could you tell me the answer for that?
(c(Q502895),P108,c(Q484652))
Q1065
[{'concept': 'Q502895'}, 'P108', {'concept': 'Q484652'}]
[{'concept': 'common name'}, 'employer', {'concept': 'international organization'}]
[]
SYSTEM
19
Q1117074 Q81299 Q4951 Q697711 Q204344 Q188822 Q54129 Q122880 Q7801 Q8475 Q7164 Q47488 Q7804 Q1045198 Q192177 Q182000 Q7184 Q42262 Q134102
(c(Q502895),P108,c(Q484652))
[ANSWER]
[{'concept': 'Q502895'}, 'P108', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:Q3053337 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q484652 }
Commonwealth War Graves Commission Organization for Security and Co-operation in Europe Court of Justice of the European Union European Space Operations Centre World Food Program Asian Development Bank International Labour Organization European Court of Human Rights International Court of Justice Interpol World Bank International Criminal Court International Monetary Fund Permanent Court of Arbitration Union for the Mediterranean United Nations Conference on Trade and Development North Atlantic Treaty Organisation European Space Agency Organisation internationale de la Francophonie
19
[{'concept': 'common name'}, 'employer', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:employer ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:international_organization }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P127
Q1048835 Q2668072
USER
Which political territories are the owners of atleast 1 collection ?
(c(Q2668072),P127,c(Q1048835))
action atleast
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q2668072
value 1
[{'concept': 'Q2668072'}, 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?l ) AS ?c ) WHERE { ?l property:P127 ?b . ?b rdf:type ontology:Q1048835 . ?l rdf:type ontology:Q2668072 } GROUP BY ?b } . FILTER ( ?c >= 1 ) }
action atleast
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type collection
value 1
[{'concept': 'collection'}, 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?l ) AS ?c ) WHERE { ?l property:owned_by ?b . ?b rdf:type ontology:political_territorial_entity . ?l rdf:type ontology:collection } GROUP BY ?b } . FILTER ( ?c >= 1 ) }
[]
political territorial entity collection
Q13786 Q17557 Q9331
SYSTEM
Cebu, California Republic, Flemish Community
Q13786 Q17557 Q9331
(c(Q2668072),P127,c(Q1048835))
action atleast
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q2668072
value 1
[ANSWERS] are the owners of atleast 1 collection
[{'concept': 'Q2668072'}, 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?l ) AS ?c ) WHERE { ?l property:P127 ?b . ?b rdf:type ontology:Q1048835 . ?l rdf:type ontology:Q2668072 } GROUP BY ?b } . FILTER ( ?c >= 1 ) }
Cebu California Republic Flemish Community
Cebu, California Republic and Flemish Community are the owners of atleast 1 collection
Cebu California Republic Flemish Community
action atleast
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type collection
value 1
[{'concept': 'collection'}, 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?l ) AS ?c ) WHERE { ?l property:owned_by ?b . ?b rdf:type ontology:political_territorial_entity . ?l rdf:type ontology:collection } GROUP BY ?b } . FILTER ( ?c >= 1 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q13786 Q17557 Q9331
P127
Q2668072
USER
Which collections are under posessision of those political territories ?
(c(Q2668072),P127,Q13786) (c(Q2668072),P127,Q17557) (c(Q2668072),P127,Q9331)
action filter_type
action find_reverse
entity prev_answer
relation P127
type Q2668072
[{'concept': 'Q2668072'}, 'P127', 'Q13786'] [{'concept': 'Q2668072'}, 'P127', 'Q17557'] [{'concept': 'Q2668072'}, 'P127', 'Q9331']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q2668072 . VALUES ( ?s ) { ( resource:Q13786 ) ( resource:Q17557 ) ( resource:Q9331 ) } . ?o property:P127 ?s }
Cebu California Republic Flemish Community
action filter_type
action find_reverse
entity prev_answer
relation owned by
type collection
[{'concept': 'collection'}, 'owned by', 'Cebu'] [{'concept': 'collection'}, 'owned by', 'California Republic'] [{'concept': 'collection'}, 'owned by', 'Flemish Community']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:collection . VALUES ( ?s ) { ( resource:Cebu ) ( resource:California_Republic ) ( resource:Flemish_Community ) } . ?o property:owned_by ?s }
[]
collection
Q16932118 Q3052500 Q2173225
SYSTEM
Sonoma Barracks, National Botanic Garden of Belgium, Collectie Vlaamse Gemeenschap
Q2110972 Q16932118 Q287806 Q1573755 Q3052500 Q2173225
(c(Q2668072),P127,Q13786) (c(Q2668072),P127,Q17557) (c(Q2668072),P127,Q9331)
action filter_type
action find_reverse
entity prev_answer
relation P127
type Q2668072
[ANSWERS] are under posessision of those political territories
[{'concept': 'Q2668072'}, 'P127', 'Q13786'] [{'concept': 'Q2668072'}, 'P127', 'Q17557'] [{'concept': 'Q2668072'}, 'P127', 'Q9331']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q2668072 . VALUES ( ?s ) { ( resource:Q13786 ) ( resource:Q17557 ) ( resource:Q9331 ) } . ?o property:P127 ?s }
Museo Sugbo Sonoma Barracks Gaasbeek Castle M HKA National Botanic Garden of Belgium Collectie Vlaamse Gemeenschap
Sonoma Barracks, National Botanic Garden of Belgium and Collectie Vlaamse Gemeenschap are under posessision of those political territories
Sonoma Barracks National Botanic Garden of Belgium Collectie Vlaamse Gemeenschap
action filter_type
action find_reverse
entity prev_answer
relation owned by
type collection
[{'concept': 'collection'}, 'owned by', 'Cebu'] [{'concept': 'collection'}, 'owned by', 'California Republic'] [{'concept': 'collection'}, 'owned by', 'Flemish Community']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:collection . VALUES ( ?s ) { ( resource:Cebu ) ( resource:California_Republic ) ( resource:Flemish_Community ) } . ?o property:owned_by ?s }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2173225
P195
Q340169
USER
Which medias are preserved in that collection ?
(c(Q340169),P195,Q2173225)
action filter_type
action find_reverse
entity Q2173225
relation P195
type Q340169
[{'concept': 'Q340169'}, 'P195', 'Q2173225']
SELECT DISTINCT ?t WHERE { ?t property:P195 resource:Q2173225 . ?t rdf:type ontology:Q340169 }
Collectie Vlaamse Gemeenschap
action filter_type
action find_reverse
entity Collectie Vlaamse Gemeenschap
relation collection
type media
[{'concept': 'media'}, 'collection', 'Collectie Vlaamse Gemeenschap']
SELECT DISTINCT ?t WHERE { ?t property:collection resource:Collectie_Vlaamse_Gemeenschap . ?t rdf:type ontology:media }
[]
media
Clarification for simple ques.
Q2173225
SYSTEM
Did you mean Collectie Vlaamse Gemeenschap ?
Q16932118 Q3052500 Q2173225
(c(Q340169),P195,Q16932118) (c(Q340169),P195,Q3052500) (c(Q340169),P195,Q2173225)
[ANSWER]
[{'concept': 'Q340169'}, 'P195', 'Q16932118'] [{'concept': 'Q340169'}, 'P195', 'Q3052500'] [{'concept': 'Q340169'}, 'P195', 'Q2173225']
SELECT DISTINCT ?t WHERE { ?t property:P195 resource:Q2173225 . ?t rdf:type ontology:Q340169 }
Sonoma Barracks National Botanic Garden of Belgium Collectie Vlaamse Gemeenschap
Did you mean Collectie Vlaamse Gemeenschap ?
Collectie Vlaamse Gemeenschap
[{'concept': 'media'}, 'collection', 'Sonoma Barracks'] [{'concept': 'media'}, 'collection', 'National Botanic Garden of Belgium'] [{'concept': 'media'}, 'collection', 'Collectie Vlaamse Gemeenschap']
SELECT DISTINCT ?t WHERE { ?t property:collection resource:Collectie_Vlaamse_Gemeenschap . ?t rdf:type ontology:media }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q340169),P195,Q2173225)
[{'concept': 'Q340169'}, 'P195', 'Q2173225']
[{'concept': 'media'}, 'collection', 'Collectie Vlaamse Gemeenschap']
[]
Q22249503 Q22244870
SYSTEM
Sitting woman, Christ shown to the People
Q22244870 Q22249503
(c(Q340169),P195,Q2173225)
action filter_type
action find_reverse
entity Q2173225
relation P195
type Q340169
[ANSWERS] are preserved in that collection
[{'concept': 'Q340169'}, 'P195', 'Q2173225']
SELECT DISTINCT ?t WHERE { ?t property:P195 resource:Q2173225 . ?t rdf:type ontology:Q340169 }
Christ shown to the People Sitting woman
Sitting woman and Christ shown to the People are preserved in that collection
Sitting woman Christ shown to the People
action filter_type
action find_reverse
entity Collectie Vlaamse Gemeenschap
relation collection
type media
[{'concept': 'media'}, 'collection', 'Collectie Vlaamse Gemeenschap']
SELECT DISTINCT ?t WHERE { ?t property:collection resource:Collectie_Vlaamse_Gemeenschap . ?t rdf:type ontology:media }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q302226 Q8075257
P452
Q268592
USER
Which economic branches do Zumo or Sentinel Waggon Works belong to ?
OR((Q8075257,P452,c(Q268592)), (Q302226,P452,c(Q268592)))
action filter_type
action union
action find
entity Q8075257
relation P452
action find
entity Q302226
relation P452
type Q268592
{'OR': [['Q8075257', 'P452', {'concept': 'Q268592'}], ['Q302226', 'P452', {'concept': 'Q268592'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q8075257 property:P452 ?l } UNION { resource:Q302226 property:P452 ?l } } . ?l rdf:type ontology:Q268592 }
Sentinel Waggon Works Zumo
action filter_type
action union
action find
entity Zumo
relation industry
action find
entity Sentinel Waggon Works
relation industry
type economic branch
{'OR': [['Zumo', 'industry', {'concept': 'economic branch'}], ['Sentinel Waggon Works', 'industry', {'concept': 'economic branch'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Zumo property:industry ?l } UNION { resource:Sentinel_Waggon_Works property:industry ?l } } . ?l rdf:type ontology:economic_branch }
[]
economic branch
Q540912 Q187939
SYSTEM
food industry, manufacturing
Q540912 Q187939
OR((Q8075257,P452,c(Q268592)), (Q302226,P452,c(Q268592)))
action filter_type
action union
action find
entity Q8075257
relation P452
action find
entity Q302226
relation P452
type Q268592
Zumo or Sentinel Waggon Works belong to the [ANSWERS]
{'OR': [['Q8075257', 'P452', {'concept': 'Q268592'}], ['Q302226', 'P452', {'concept': 'Q268592'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q8075257 property:P452 ?l } UNION { resource:Q302226 property:P452 ?l } } . ?l rdf:type ontology:Q268592 }
food industry manufacturing
Zumo or Sentinel Waggon Works belong to the food industry and manufacturing
food industry manufacturing
action filter_type
action union
action find
entity Zumo
relation industry
action find
entity Sentinel Waggon Works
relation industry
type economic branch
{'OR': [['Zumo', 'industry', {'concept': 'economic branch'}], ['Sentinel Waggon Works', 'industry', {'concept': 'economic branch'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Zumo property:industry ?l } UNION { resource:Sentinel_Waggon_Works property:industry ?l } } . ?l rdf:type ontology:economic_branch }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q540912
P1056
Q9158768
USER
What is produced by food industry ?
(Q540912,P1056,c(Q9158768))
action filter_type
action find
entity Q540912
relation P1056
type Q9158768
['Q540912', 'P1056', {'concept': 'Q9158768'}]
SELECT DISTINCT ?l WHERE { resource:Q540912 property:P1056 ?l . ?l rdf:type ontology:Q9158768 }
food industry
action filter_type
action find
entity food industry
relation product
type storage
['food industry', 'product', {'concept': 'storage'}]
SELECT DISTINCT ?l WHERE { resource:food_industry property:product ?l . ?l rdf:type ontology:storage }
[]
storage
Q2095
SYSTEM
food
Q2095
(Q540912,P1056,c(Q9158768))
action filter_type
action find
entity Q540912
relation P1056
type Q9158768
The [ANSWER] is produced by [ANSWER] industry
['Q540912', 'P1056', {'concept': 'Q9158768'}]
SELECT DISTINCT ?l WHERE { resource:Q540912 property:P1056 ?l . ?l rdf:type ontology:Q9158768 }
food
The food is produced by food industry
food
action filter_type
action find
entity food industry
relation product
type storage
['food industry', 'product', {'concept': 'storage'}]
SELECT DISTINCT ?l WHERE { resource:food_industry property:product ?l . ?l rdf:type ontology:storage }
[]