Simple Question (Direct)
Simple Question
Q9288190
P641
Q349
USER
Which sport did Henryk Hajduk participate in ?
(Q9288190,P641,c(Q349))
action filter_type
action find
entity Q9288190
relation P641
type Q349
['Q9288190', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?b WHERE { resource:Q9288190 property:P641 ?b . ?b rdf:type ontology:Q349 }
Henryk Hajduk
action filter_type
action find
entity Henryk Hajduk
relation sport
type sport
['Henryk Hajduk', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?b WHERE { resource:Henryk_Hajduk property:sport ?b . ?b rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q9288190,P641,c(Q349))
action filter_type
action find
entity Q9288190
relation P641
type Q349
Henryk Hajduk participated in [ANSWER]
['Q9288190', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?b WHERE { resource:Q9288190 property:P641 ?b . ?b rdf:type ontology:Q349 }
association football
Henryk Hajduk participated in association football
association football
action filter_type
action find
entity Henryk Hajduk
relation sport
type sport
['Henryk Hajduk', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?b WHERE { resource:Henryk_Hajduk property:sport ?b . ?b rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9288190
P106
Q12737077
USER
What is the job of that person ?
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q9288190
relation P106
type Q12737077
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q9288190 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
Henryk Hajduk
action filter_type
action find
entity Henryk Hajduk
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Henryk_Hajduk property:occupation ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q9288190
relation P106
type Q12737077
The job of that person is an [ANSWER]
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q9288190 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
association football player
The job of that person is an association football player
association football player
action filter_type
action find
entity Henryk Hajduk
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Henryk_Hajduk property:occupation ?z . ?z rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q937857 Q6490540
P106
Q502895
USER
Does Larry Hulcer have that occupation as his/her means of employment ?
(Q6490540,P106,Q937857)
action is_in
entity Q937857
action find
entity Q6490540
relation P106
['Q6490540', 'P106', 'Q937857']
ASK WHERE { resource:Q6490540 property:P106 resource:Q937857 }
association football player Larry Hulcer
action is_in
entity association football player
action find
entity Larry Hulcer
relation occupation
['Larry Hulcer', 'occupation', 'association football player']
ASK WHERE { resource:Larry_Hulcer property:occupation resource:association_football_player }
[]
common name
SYSTEM
YES
(Q6490540,P106,Q937857)
action is_in
entity Q937857
action find
entity Q6490540
relation P106
[ANSWER]
['Q6490540', 'P106', 'Q937857']
ASK WHERE { resource:Q6490540 property:P106 resource:Q937857 }
Yes
action is_in
entity association football player
action find
entity Larry Hulcer
relation occupation
['Larry Hulcer', 'occupation', 'association football player']
ASK WHERE { resource:Larry_Hulcer property:occupation resource:association_football_player }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9288190
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Henryk Hajduk ?
(Q9288190,P27,c(Q15617994))
action filter_type
action find
entity Q9288190
relation P27
type Q15617994
['Q9288190', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15617994 . resource:Q9288190 property:P27 ?i }
Henryk Hajduk
action filter_type
action find
entity Henryk Hajduk
relation country of citizenship
type designation for an administrative territorial entity
['Henryk Hajduk', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Henryk_Hajduk property:country_of_citizenship ?i }
[]
designation for an administrative territorial entity
Q36
SYSTEM
Poland
Q36
(Q9288190,P27,c(Q15617994))
action filter_type
action find
entity Q9288190
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Henryk Hajduk
['Q9288190', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15617994 . resource:Q9288190 property:P27 ?i }
Poland
Poland is the country of citizenship of Henryk Hajduk
Poland
action filter_type
action find
entity Henryk Hajduk
relation country of citizenship
type designation for an administrative territorial entity
['Henryk Hajduk', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Henryk_Hajduk property:country_of_citizenship ?i }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q36 Q38 Q633835
P530
Q15617994
USER
Does that administrative territory have tactful political relations with Italy and Heere ?
(Q36,P530,Q38) (Q36,P530,Q633835)
action is_in
entity Q36
action intersection
action find_reverse
entity Q38
relation P530
action find_reverse
entity Q633835
relation P530
['Q36', 'P530', 'Q38'] ['Q36', 'P530', 'Q633835']
ASK WHERE { resource:Q36 property:P530 resource:Q38 . resource:Q36 property:P530 resource:Q633835 }
Poland Italy Heere
action is_in
entity Poland
action intersection
action find_reverse
entity Italy
relation diplomatic relation
action find_reverse
entity Heere
relation diplomatic relation
['Poland', 'diplomatic relation', 'Italy'] ['Poland', 'diplomatic relation', 'Heere']
ASK WHERE { resource:Poland property:diplomatic_relation resource:Italy . resource:Poland property:diplomatic_relation resource:Heere }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q36,P530,Q38) (Q36,P530,Q633835)
action is_in
entity Q36
action intersection
action find_reverse
entity Q38
relation P530
action find_reverse
entity Q633835
relation P530
[ANSWER]
['Q36', 'P530', 'Q38'] ['Q36', 'P530', 'Q633835']
ASK WHERE { resource:Q36 property:P530 resource:Q38 . resource:Q36 property:P530 resource:Q633835 }
YES and NO respectively
action is_in
entity Poland
action intersection
action find_reverse
entity Italy
relation diplomatic relation
action find_reverse
entity Heere
relation diplomatic relation
['Poland', 'diplomatic relation', 'Italy'] ['Poland', 'diplomatic relation', 'Heere']
ASK WHERE { resource:Poland property:diplomatic_relation resource:Italy . resource:Poland property:diplomatic_relation resource:Heere }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36
P1001
Q192350
USER
Which ministries have jurisdiction over Poland ?
action filter_type
action find_reverse
entity Q36
relation P1001
type Q192350
SELECT DISTINCT ?s WHERE { ?s property:P1001 resource:Q36 . ?s rdf:type ontology:Q192350 }
Poland
action filter_type
action find_reverse
entity Poland
relation applies to jurisdiction
type ministry
SELECT DISTINCT ?s WHERE { ?s property:applies_to_jurisdiction resource:Poland . ?s rdf:type ontology:ministry }
[]
ministry
Q213624 Q4294791 Q4380777
SYSTEM
Ministry of Foreign Affairs of Poland, Ministry of Finance, Ministry of Agriculture and Rural Development
Q213624 Q4294791 Q4380777
action filter_type
action find_reverse
entity Q36
relation P1001
type Q192350
[ANSWERS] have jurisdiction over Poland
SELECT DISTINCT ?s WHERE { ?s property:P1001 resource:Q36 . ?s rdf:type ontology:Q192350 }
Ministry of Foreign Affairs of Poland Ministry of Finance Ministry of Agriculture and Rural Development
Ministry of Foreign Affairs of Poland, Ministry of Finance and Ministry of Agriculture and Rural Development have jurisdiction over Poland
Ministry of Foreign Affairs of Poland Ministry of Finance Ministry of Agriculture and Rural Development
action filter_type
action find_reverse
entity Poland
relation applies to jurisdiction
type ministry
SELECT DISTINCT ?s WHERE { ?s property:applies_to_jurisdiction resource:Poland . ?s rdf:type ontology:ministry }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P1001
Q852446 Q1048835 Q192350
USER
Which ministries have jurisdiction over approximately the same number of US administrative territories and political territories as that ministry ?
(c(Q192350),P1001,c(Q852446)|c(Q1048835))
[{'concept': 'Q192350'}, 'P1001', [{'concept': 'Q852446'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:P1001 ?y } UNION { ?z property:P1001 ?x } } . ?z rdf:type ontology:Q192350 . ?y rdf:type ontology:Q852446 . ?x rdf:type ontology:Q1048835 }
[{'concept': 'ministry'}, 'applies to jurisdiction', [{'concept': 'administrative territorial entity of the United States'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:applies_to_jurisdiction ?y } UNION { ?z property:applies_to_jurisdiction ?x } } . ?z rdf:type ontology:ministry . ?y rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?x rdf:type ontology:political_territorial_entity }
[]
administrative territorial entity of the United States political territorial entity ministry
Comparative|More/Less|Mult. entity type|Clarification
Q213624
SYSTEM
Did you mean Ministry of Foreign Affairs of Poland ?
(c(Q192350),P1001,c(Q852446)|c(Q1048835))
[ANSWER]
[{'concept': 'Q192350'}, 'P1001', [{'concept': 'Q852446'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:P1001 ?y } UNION { ?z property:P1001 ?x } } . ?z rdf:type ontology:Q192350 . ?y rdf:type ontology:Q852446 . ?x rdf:type ontology:Q1048835 }
Did you mean Ministry of Foreign Affairs of Poland ?
Ministry of Foreign Affairs of Poland
[{'concept': 'ministry'}, 'applies to jurisdiction', [{'concept': 'administrative territorial entity of the United States'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:applies_to_jurisdiction ?y } UNION { ?z property:applies_to_jurisdiction ?x } } . ?z rdf:type ontology:ministry . ?y rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?x rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q192350),P1001,c(Q852446)|c(Q1048835))
[{'concept': 'Q192350'}, 'P1001', [{'concept': 'Q852446'}, {'concept': 'Q1048835'}]]
[{'concept': 'ministry'}, 'applies to jurisdiction', [{'concept': 'administrative territorial entity of the United States'}, {'concept': 'political territorial entity'}]]
[]
SYSTEM
172
Q640365 Q4294370 Q3181035 Q2612426 Q488744 Q25203582 Q6866645 Q6866637 Q1780908 Q4294926 Q3315352 Q5260138 Q222241 Q1774229 Q1332463 Q648666 Q852211 Q4294877 Q1192838 Q26085300 Q11781495 Q750210 Q6866629 Q23013988 Q2601742 Q460837 Q4294403 Q6867070 Q2081350 Q5995 Q2061900 Q4294895 Q4294480 Q4294482 Q3315361 Q25991767 Q12592056 Q2382750 Q4294694 Q1451114 Q3315185 Q2602530 Q1349912 Q3032313 Q2607663 Q1581048 Q358834 Q2607378 Q942326 Q6867043 Q6867041 Q1780898 Q26085344 Q6866778 Q3315272 Q811595 Q18631809 Q3315277 Q4294392 Q509816 Q2726949 Q1347047 Q4294791 Q4294548 Q910237 Q25907383 Q138515 Q3002326 Q1445474 Q4294544 Q17010242 Q6866610 Q6589161 Q782620 Q24941088 Q3181296 Q592576 Q4294380 Q2641068 Q4313368 Q5260142 Q5260141 Q6867517 Q285178 Q4294686 Q1769657 Q4294683 Q4294680 Q2081328 Q4294535 Q4294689 Q3315184 Q1663831 Q1959942 Q3315183 Q501542 Q18345297 Q6866605 Q6866604 Q1050095 Q861556 Q16708318 Q2066149 Q1330854 Q2802518 Q25242034 Q6866602 Q3062474 Q4294280 Q7032900 Q6867233 Q6866721 Q7032562 Q1143261 Q6866634 Q6866635 Q1671215 Q3634069 Q4294879 Q2641653 Q1284355 Q624460 Q898882 Q2568695 Q3044721 Q1789649 Q18204423 Q4380777 Q3624238 Q1553390 Q6867009 Q812440 Q6866623 Q6866626 Q213624 Q5260135 Q1565529 Q2611987 Q2607906 Q3315435 Q17124782 Q1376786 Q1609794 Q2982461 Q4294691 Q4294693 Q4294692 Q4294695 Q957035 Q2612392 Q6867016 Q1804795 Q6867013 Q3181026 Q16010182 Q3302887 Q4294677 Q4294676 Q4294674 Q1448248 Q488961 Q18696637 Q16331890 Q2611994 Q3288496 Q3079732 Q3555563 Q776570 Q1703625 Q2198916 Q1507521 Q750182
(c(Q192350),P1001,c(Q852446)|c(Q1048835))
[ANSWER]
[{'concept': 'Q192350'}, 'P1001', [{'concept': 'Q852446'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:P1001 ?y } UNION { ?z property:P1001 ?x } } . ?z rdf:type ontology:Q192350 . ?y rdf:type ontology:Q852446 . ?x rdf:type ontology:Q1048835 }
Ministry of Interior of the Kingdom of Thailand Ministry of Health Ministry of Justice (Spain) Ministry of Integration and Gender Equality Ministry of Culture, Sports and Tourism Ministry of Rural Development Ministry of Agriculture of Peru Ministry of Agriculture and Irrigation Ministry of Employment Ministry of Foreign Affairs of Chile Ministry of Foreign Affairs of the People's Democratic Republic of Algeria Department of Agriculture Ministry of Foreign Affairs of Japan Ministry of Finance Ministry of National Defense United States Department of the Treasury United States Department of Transportation Ministry of Justice Ministry of Internal Affairs Ministry of Agriculture and Trade of the Kingdom of Sardinia Ministry of Agriculture of Czech Republic Secretariat of Agriculture, Livestock, Rural Development, Fisheries and Food of Mexico Ministry of Agriculture of Azerbaijan Ministry of Rural Development (Hungary) Ministry of Defense Reich Ministry of Food and Agriculture Ministry of Foreign Affairs of Ukraine Ministry of Fuel and Energy Ministry of Agriculture and Rural Development of Israel Cabinet Office Ministry of Foreign Affairs Ministry of Foreign Affairs (Bosnia and Herzegovina) Ministry of National Defence Ministry of National Defense Ministry of Foreign Affairs of the Tunisian Republic Department for International Trade Ministry of Agriculture, Food and Rural Affairs (South Korea) Ministry of Defence Ministry of Agriculture and Food Ministry for Climate Protection, Environment, Agriculture, Nature Conservation and Consumer Protection of the State of North Rhine-Westphalia Ministry of Agriculture, Fisheries and Food Ministry of Foreign Affairs of the Republic of Colombia Ministry of Communications and Information Technology Ministry of Agriculture, Food and Environment of Spain Ministry of the Interior of Croatia Ministry of Agriculture, Water and Forestry of Namibia Foreign and Commonwealth Office Ministry of Culture of the People's Republic of China United States Department of Health and Human Services Ministry of Foreign Affairs and African Integration of the Republic of Benin Ministry of Foreign Affairs of the Republic of Zimbabwe Ministry of Enterprise, Energy and Communications Ministry of Agriculture, Industry and Trade of the Kingdom of Sardinia Ministry of Defense of Yugoslavia Ministry of Culture and Communications United States Department of Housing and Urban Development Thuringian Ministry of Agriculture and Forestry Ministry of Culture Ministry of Foreign Affairs Ministry of Justice Ministry of Higher Education and Research Ministry of Cultural Heritage and Activities and Tourism Ministry of Finance Ministry of Public Finance Ministry of Agriculture and Food in Soviet Union Department for Exiting the European Union Security Bureau Department of Finance Ministry of Culture and Islamic Guidance Ministry of Public Works Ministry of National Food Security & Research (Pakistan) Ministry of Agriculture, Irrigation and Livestock Ministry of Jihad-e-Agriculture (Iran) Ministry of Agricultural, Food and Forestry Policies Ministry of Agriculture, Industry and Trade of the Kingdom of Italy Ministry of Education United States Department of Veterans Affairs Ministry of Foreign Affairs and Worship Ministry of Finance Ministry of Justice Department of Agriculture Department of Agriculture and Aquaculture Ministry of Rural Development Ministry of Foreign Affairs Ministry of Agriculture and Agrarian Reform of Syria Ministry of Education and Research Puerto Rico Department of Agriculture Ministry of Agriculture, Liberia Culture and Sport Ministry Ministry of Education and Research Ministry of Agriculture and Rural Development of Romania Ministry of Agriculture of Tunisia Thuringian Ministry of Infrastructure and Agriculture Ministry of Foreign Affairs Ministry of Agriculture of Côte d'Ivoire United States Department of Agriculture Ministry of Agriculture and Forests of Bhutan Ministry of Agriculture, Food and Rural Affairs Ministry of Agriculture, Food and Cooperatives of Tanzania Ministry of Agriculture of the People's Republic of China United States Department of Education Ministry of Agrarian Policy of Ukraine Ministry of Defence of Ukraine Ministry of Environment, Energy, Food and Forests of Rhineland-Palatinate Saxon Ministry of the Environment and Agriculture Ministry of Rural Affairs Ministry of Agriculture, Fisheries and Food Ministry of Finance and Public Credit Ministry of Agrarian Policy and Food of Ukraine Nigerian Federal Ministry of Agriculture Ministry of Interior Ministry of Culture Ministry of Law and Justice Ministry of Defence Ministry of Agriculture and Forestry of Laos Ministry of Agriculture and Forestry of South Sudan Lower Saxony Ministry of Food, Agriculture and Consumer Protection Ministry of Agriculture of India Ministry of Justice Ministry of Defence Hessian Ministry for the Environment, Climate Protection, Agriculture and Consumer Protection Ministry of Agriculture, Food and Rural Affairs Ministry of Agriculture, Nature and Food Quality Ministry of Foreign Affairs of Georgia Department for Environment, Food and Rural Affairs Ministry of Foreign and European Affairs Ministry of Agriculture of Sri Lanka Ministry of Agriculture and Rural Development Ministry of Communications and Information Technology United States Department of Justice Ministry of Foreign Affairs of the Republic of Iraq Bavarian Ministry of Food, Agriculture and Forestry Ministry of Agriculture of Saskatchewan Ministry of Agriculture Ministry of Foreign Affairs of Poland Department of Agriculture, Aquaculture and Fisheries Ministry of Foreign Affairs Ministry of Health and Social Affairs Ministry of Agriculture and Food Ministry of Sustainable Development, Environment and Parks Ministry of Agriculture, Environment and Consumer Protection of the State of Mecklenburg-Vorpommern Ministry of Agriculture, Forestry and Fisheries Ministry for Rural Areas and Consumer Protection Baden-Württemberg Afghan Ministry of Defense Ministry of Agriculture and Rural Development policy of Ethiopia Ministry of Food and Agriculture of Ghana Ministry of Agriculture and Food Industry of Moldova Ministry of Food, Agriculture and Livestock of Turkey Ministry of Agriculture of Lithuania Ministry of National Defence Nepal Ministry of Foreign Affairs The Ministry of Agriculture of Kazakhstan Ministry of Foreign Affairs Ministry of Defence Ministry of Agriculture Ministry of Agriculture, Food, and Consumer Protection of Albania Ministry of Agriculture Ministry of Agriculture of Brazil Ministry of Agriculture, Rural Development and Fisheries Ministry of Fisheries and Agriculture of Iceland Ministry of Environment Ministry of Agriculture of Spain Ministry of Culture, Education and Religious Affairs Ministry of Culture Ministry for Rural Affairs of Sweden Ministry of Education of Chile Ministry of Rural Development and Food of Greece Ministry for Foreign Affairs of Sweden Department of Agriculture and Rural Development of Northern Ireland Ministry of Foreign Affairs of the Republic of Serbia Secretariat of Public Security Secretariat of Social Development
172
[{'concept': 'ministry'}, 'applies to jurisdiction', [{'concept': 'administrative territorial entity of the United States'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:applies_to_jurisdiction ?y } UNION { ?z property:applies_to_jurisdiction ?x } } . ?z rdf:type ontology:ministry . ?y rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?x rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q213624
P1027
Q618779
USER
Which award is conferred by Ministry of Foreign Affairs of Poland ?
(c(Q618779),P1027,Q213624)
action filter_type
action find_reverse
entity Q213624
relation P1027
type Q618779
[{'concept': 'Q618779'}, 'P1027', 'Q213624']
SELECT DISTINCT ?o WHERE { ?o property:P1027 resource:Q213624 . ?o rdf:type ontology:Q618779 }
Ministry of Foreign Affairs of Poland
action filter_type
action find_reverse
entity Ministry of Foreign Affairs of Poland
relation conferred by
type award
[{'concept': 'award'}, 'conferred by', 'Ministry of Foreign Affairs of Poland']
SELECT DISTINCT ?o WHERE { ?o property:conferred_by resource:Ministry_of_Foreign_Affairs_of_Poland . ?o rdf:type ontology:award }
[]
award
Q11796431
SYSTEM
Bene Merito Medal
Q11796431
(c(Q618779),P1027,Q213624)
action filter_type
action find_reverse
entity Q213624
relation P1027
type Q618779
[ANSWER] is conferred by Ministry of Foreign Affairs of Poland
[{'concept': 'Q618779'}, 'P1027', 'Q213624']
SELECT DISTINCT ?o WHERE { ?o property:P1027 resource:Q213624 . ?o rdf:type ontology:Q618779 }
Bene Merito Medal
Bene Merito Medal is conferred by Ministry of Foreign Affairs of Poland
Bene Merito Medal
action filter_type
action find_reverse
entity Ministry of Foreign Affairs of Poland
relation conferred by
type award
[{'concept': 'award'}, 'conferred by', 'Ministry of Foreign Affairs of Poland']
SELECT DISTINCT ?o WHERE { ?o property:conferred_by resource:Ministry_of_Foreign_Affairs_of_Poland . ?o rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q213624
P17
Q15617994
USER
Which administrative territory is Ministry of Foreign Affairs of Poland located in ?
(Q213624,P17,c(Q15617994))
action filter_type
action find
entity Q213624
relation P17
type Q15617994
['Q213624', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q213624 property:P17 ?j . ?j rdf:type ontology:Q15617994 }
Ministry of Foreign Affairs of Poland
action filter_type
action find
entity Ministry of Foreign Affairs of Poland
relation country
type designation for an administrative territorial entity
['Ministry of Foreign Affairs of Poland', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Ministry_of_Foreign_Affairs_of_Poland property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q36
SYSTEM
Poland
Q36
(Q213624,P17,c(Q15617994))
action filter_type
action find
entity Q213624
relation P17
type Q15617994
Ministry of Foreign Affairs of [ANSWER] is located in [ANSWER]
['Q213624', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q213624 property:P17 ?j . ?j rdf:type ontology:Q15617994 }
Poland
Ministry of Foreign Affairs of Poland is located in Poland
Poland
action filter_type
action find
entity Ministry of Foreign Affairs of Poland
relation country
type designation for an administrative territorial entity
['Ministry of Foreign Affairs of Poland', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Ministry_of_Foreign_Affairs_of_Poland property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q213624
P710
Q930933
USER
Who was a participant of that ministry ?
(Q36,P710,c(Q930933))
action filter_type
action find
entity Q213624
relation P710
type Q930933
['Q36', 'P710', {'concept': 'Q930933'}]
SELECT DISTINCT ?a WHERE { resource:Q213624 property:P710 ?a . ?a rdf:type ontology:Q930933 }
Ministry of Foreign Affairs of Poland
action filter_type
action find
entity Ministry of Foreign Affairs of Poland
relation participant
type relationship
['Poland', 'participant', {'concept': 'relationship'}]
SELECT DISTINCT ?a WHERE { resource:Ministry_of_Foreign_Affairs_of_Poland property:participant ?a . ?a rdf:type ontology:relationship }
[]
relationship
Q3424088
SYSTEM
Germany–Poland relations
Q3424088
(Q36,P710,c(Q930933))
action filter_type
action find
entity Q213624
relation P710
type Q930933
A participant of that ministry was Nazi [ANSWER]
['Q36', 'P710', {'concept': 'Q930933'}]
SELECT DISTINCT ?a WHERE { resource:Q213624 property:P710 ?a . ?a rdf:type ontology:Q930933 }
Germany–Poland relations
A participant of that ministry was Nazi Germany–Poland relations
Germany–Poland relations
action filter_type
action find
entity Ministry of Foreign Affairs of Poland
relation participant
type relationship
['Poland', 'participant', {'concept': 'relationship'}]
SELECT DISTINCT ?a WHERE { resource:Ministry_of_Foreign_Affairs_of_Poland property:participant ?a . ?a rdf:type ontology:relationship }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q213624
P108
Q502895
USER
Which person works for that ministry ?
(c(Q502895),P108,Q3424088)
action filter_type
action find_reverse
entity Q213624
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q3424088']
SELECT DISTINCT ?s WHERE { ?s property:P108 resource:Q213624 . ?s rdf:type ontology:Q502895 }
Ministry of Foreign Affairs of Poland
action filter_type
action find_reverse
entity Ministry of Foreign Affairs of Poland
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Germany–Poland relations']
SELECT DISTINCT ?s WHERE { ?s property:employer resource:Ministry_of_Foreign_Affairs_of_Poland . ?s rdf:type ontology:common_name }
[]
common name
Q9359587
SYSTEM
Tomasz Orłowski
Q9359587
(c(Q502895),P108,Q3424088)
action filter_type
action find_reverse
entity Q213624
relation P108
type Q502895
[ANSWER] works for that ministry
[{'concept': 'Q502895'}, 'P108', 'Q3424088']
SELECT DISTINCT ?s WHERE { ?s property:P108 resource:Q213624 . ?s rdf:type ontology:Q502895 }
Tomasz Orłowski
Tomasz Orłowski works for that ministry
Tomasz Orłowski
action filter_type
action find_reverse
entity Ministry of Foreign Affairs of Poland
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Germany–Poland relations']
SELECT DISTINCT ?s WHERE { ?s property:employer resource:Ministry_of_Foreign_Affairs_of_Poland . ?s rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q9189 Q11796431
P126 P1027
Q192350
USER
Which ministries gives Bene Merito Medal or were the custodian of Bundesautobahn 25 ?
OR((Q11796431,P1027,c(Q192350)), (Q9189,P126,c(Q192350)))
action filter_type
action union
action find
entity Q11796431
relation P1027
action find
entity Q9189
relation P126
type Q192350
{'OR': [['Q11796431', 'P1027', {'concept': 'Q192350'}], ['Q9189', 'P126', {'concept': 'Q192350'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q11796431 property:P1027 ?m } UNION { resource:Q9189 property:P126 ?m } } . ?m rdf:type ontology:Q192350 }
Bundesautobahn 25 Bene Merito Medal
action filter_type
action union
action find
entity Bene Merito Medal
relation conferred by
action find
entity Bundesautobahn 25
relation maintained by
type ministry
{'OR': [['Bene Merito Medal', 'conferred by', {'concept': 'ministry'}], ['Bundesautobahn 25', 'maintained by', {'concept': 'ministry'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Bene_Merito_Medal property:conferred_by ?m } UNION { resource:Bundesautobahn_25 property:maintained_by ?m } } . ?m rdf:type ontology:ministry }
[]
ministry
Q213624 Q491637
SYSTEM
Ministry of Foreign Affairs of Poland, Federal Ministry of Transport and Digital Infrastructure
Q213624 Q491637
OR((Q11796431,P1027,c(Q192350)), (Q9189,P126,c(Q192350)))
action filter_type
action union
action find
entity Q11796431
relation P1027
action find
entity Q9189
relation P126
type Q192350
[ANSWERS] give Bene Merito Medal or were the custodian of Bundesautobahn 25
{'OR': [['Q11796431', 'P1027', {'concept': 'Q192350'}], ['Q9189', 'P126', {'concept': 'Q192350'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q11796431 property:P1027 ?m } UNION { resource:Q9189 property:P126 ?m } } . ?m rdf:type ontology:Q192350 }
Ministry of Foreign Affairs of Poland Federal Ministry of Transport and Digital Infrastructure
Ministry of Foreign Affairs of Poland and Federal Ministry of Transport and Digital Infrastructure give Bene Merito Medal or were the custodian of Bundesautobahn 25
Ministry of Foreign Affairs of Poland Federal Ministry of Transport and Digital Infrastructure
action filter_type
action union
action find
entity Bene Merito Medal
relation conferred by
action find
entity Bundesautobahn 25
relation maintained by
type ministry
{'OR': [['Bene Merito Medal', 'conferred by', {'concept': 'ministry'}], ['Bundesautobahn 25', 'maintained by', {'concept': 'ministry'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Bene_Merito_Medal property:conferred_by ?m } UNION { resource:Bundesautobahn_25 property:maintained_by ?m } } . ?m rdf:type ontology:ministry }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1001
Q1048835 Q56061 Q192350
USER
Which ministries have control over the jurisdiction of exactly 1 political territories or administrative territories ?
(c(Q192350),P1001,c(Q1048835)|c(Q56061))
action equal
action union
action find_tuple_counts
relation P1001
type Q192350
type Q1048835
action find_tuple_counts
relation P1001
type Q192350
type Q56061
value 1
[{'concept': 'Q192350'}, 'P1001', [{'concept': 'Q1048835'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?y ) WHERE { { ?u property:P1001 ?t . ?u rdf:type ontology:Q192350 . ?t rdf:type ontology:Q56061 } UNION { ?u property:P1001 ?t . ?u rdf:type ontology:Q192350 . ?t rdf:type ontology:Q1048835 } } GROUP BY ?u } . FILTER ( ?y = 1 ) }
action equal
action union
action find_tuple_counts
relation applies to jurisdiction
type ministry
type political territorial entity
action find_tuple_counts
relation applies to jurisdiction
type ministry
type administrative territorial entity
value 1
[{'concept': 'ministry'}, 'applies to jurisdiction', [{'concept': 'political territorial entity'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?y ) WHERE { { ?u property:applies_to_jurisdiction ?t . ?u rdf:type ontology:ministry . ?t rdf:type ontology:administrative_territorial_entity } UNION { ?u property:applies_to_jurisdiction ?t . ?u rdf:type ontology:ministry . ?t rdf:type ontology:political_territorial_entity } } GROUP BY ?u } . FILTER ( ?y = 1 ) }
[]
political territorial entity administrative territorial entity ministry
Q491637 Q699656 Q493353
SYSTEM
Federal Ministry of Transport and Digital Infrastructure, Federal Ministry of Food, Agriculture and Consumer Protection, Ministry of Defence of Germany
Q491637 Q5260136 Q20729200 Q16910043 Q896375 Q493353 Q1006388 Q699656 Q4294683 Q4294668 Q22222879 Q1046164 Q1703625
(c(Q192350),P1001,c(Q1048835)|c(Q56061))
action equal
action union
action find_tuple_counts
relation P1001
type Q192350
type Q1048835
action find_tuple_counts
relation P1001
type Q192350
type Q56061
value 1
[ANSWERS] have control over the jurisdiction of exactly 1 political territories or administrative territories
[{'concept': 'Q192350'}, 'P1001', [{'concept': 'Q1048835'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?y ) WHERE { { ?u property:P1001 ?t . ?u rdf:type ontology:Q192350 . ?t rdf:type ontology:Q56061 } UNION { ?u property:P1001 ?t . ?u rdf:type ontology:Q192350 . ?t rdf:type ontology:Q1048835 } } GROUP BY ?u } . FILTER ( ?y = 1 ) }
Federal Ministry of Transport and Digital Infrastructure Department of Agriculture, Fisheries and Forestry Environment and Food ministry Ministry of Agriculture and Fisheries of Jamaica Federal Ministry in Germany Ministry of Defence of Germany Federal Ministry of Agriculture, Forestry, Environment and Water Management of Austria Federal Ministry of Food, Agriculture and Consumer Protection Puerto Rico Department of Agriculture Department of Agriculture and Water Resources of Australia Ministry for Foreign Affairs, Institutional Relations and Transparency of the Government of Catalonia Agriculture and Agri-Food Canada Department of Agriculture and Rural Development of Northern Ireland
Federal Ministry of Transport and Digital Infrastructure, Federal Ministry of Food, Agriculture and Consumer Protection and Ministry of Defence of Germany have control over the jurisdiction of exactly 1 political territories or administrative territories
Federal Ministry of Transport and Digital Infrastructure Federal Ministry of Food, Agriculture and Consumer Protection Ministry of Defence of Germany
action equal
action union
action find_tuple_counts
relation applies to jurisdiction
type ministry
type political territorial entity
action find_tuple_counts
relation applies to jurisdiction
type ministry
type administrative territorial entity
value 1
[{'concept': 'ministry'}, 'applies to jurisdiction', [{'concept': 'political territorial entity'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?y ) WHERE { { ?u property:applies_to_jurisdiction ?t . ?u rdf:type ontology:ministry . ?t rdf:type ontology:administrative_territorial_entity } UNION { ?u property:applies_to_jurisdiction ?t . ?u rdf:type ontology:ministry . ?t rdf:type ontology:political_territorial_entity } } GROUP BY ?u } . FILTER ( ?y = 1 ) }
[]