Simple Question (Direct)
Simple Question
Q157359
P135
Q151885
USER
Which concept was Johann Kuhnau associated with ?
(Q157359,P135,c(Q151885))
action filter_type
action find
entity Q157359
relation P135
type Q151885
['Q157359', 'P135', {'concept': 'Q151885'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q151885 . resource:Q157359 property:P135 ?h }
Johann Kuhnau
action filter_type
action find
entity Johann Kuhnau
relation movement
type concept
['Johann Kuhnau', 'movement', {'concept': 'concept'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:concept . resource:Johann_Kuhnau property:movement ?h }
[]
concept
Q8361
SYSTEM
Baroque music
Q8361
(Q157359,P135,c(Q151885))
action filter_type
action find
entity Q157359
relation P135
type Q151885
Johann Kuhnau was associated with [ANSWER]
['Q157359', 'P135', {'concept': 'Q151885'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q151885 . resource:Q157359 property:P135 ?h }
Baroque music
Johann Kuhnau was associated with Baroque music
Baroque music
action filter_type
action find
entity Johann Kuhnau
relation movement
type concept
['Johann Kuhnau', 'movement', {'concept': 'concept'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:concept . resource:Johann_Kuhnau property:movement ?h }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q157359
P20
Q515
USER
Where did the expiration of that person occur ?
(Q8361,P20,c(Q515))
action filter_type
action find
entity Q157359
relation P20
type Q515
['Q8361', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?z WHERE { resource:Q157359 property:P20 ?z . ?z rdf:type ontology:Q515 }
Johann Kuhnau
action filter_type
action find
entity Johann Kuhnau
relation place of death
type city
['Baroque music', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?z WHERE { resource:Johann_Kuhnau property:place_of_death ?z . ?z rdf:type ontology:city }
[]
city
Q2079
SYSTEM
Leipzig
Q2079
(Q8361,P20,c(Q515))
action filter_type
action find
entity Q157359
relation P20
type Q515
The expiration of that person occurred in [ANSWER]
['Q8361', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?z WHERE { resource:Q157359 property:P20 ?z . ?z rdf:type ontology:Q515 }
Leipzig
The expiration of that person occurred in Leipzig
Leipzig
action filter_type
action find
entity Johann Kuhnau
relation place of death
type city
['Baroque music', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?z WHERE { resource:Johann_Kuhnau property:place_of_death ?z . ?z rdf:type ontology:city }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q604324 Q157359
P27
Q1048835
USER
Which political territories do Johann Kuhnau and Philipp Zeiger belong to ?
AND((Q157359,P27,c(Q1048835)), (Q604324,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q157359
relation P27
action find
entity Q604324
relation P27
type Q1048835
{'AND': [['Q157359', 'P27', {'concept': 'Q1048835'}], ['Q604324', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?b WHERE { resource:Q157359 property:P27 ?b . resource:Q604324 property:P27 ?b . ?b rdf:type ontology:Q1048835 }
Philipp Zeiger Johann Kuhnau
action filter_type
action intersection
action find
entity Johann Kuhnau
relation country of citizenship
action find
entity Philipp Zeiger
relation country of citizenship
type political territorial entity
{'AND': [['Johann Kuhnau', 'country of citizenship', {'concept': 'political territorial entity'}], ['Philipp Zeiger', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?b WHERE { resource:Johann_Kuhnau property:country_of_citizenship ?b . resource:Philipp_Zeiger property:country_of_citizenship ?b . ?b rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
AND((Q157359,P27,c(Q1048835)), (Q604324,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q157359
relation P27
action find
entity Q604324
relation P27
type Q1048835
Johann Kuhnau and Philipp Zeiger belong to the [ANSWER]
{'AND': [['Q157359', 'P27', {'concept': 'Q1048835'}], ['Q604324', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?b WHERE { resource:Q157359 property:P27 ?b . resource:Q604324 property:P27 ?b . ?b rdf:type ontology:Q1048835 }
Germany
Johann Kuhnau and Philipp Zeiger belong to the Germany
Germany
action filter_type
action intersection
action find
entity Johann Kuhnau
relation country of citizenship
action find
entity Philipp Zeiger
relation country of citizenship
type political territorial entity
{'AND': [['Johann Kuhnau', 'country of citizenship', {'concept': 'political territorial entity'}], ['Philipp Zeiger', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?b WHERE { resource:Johann_Kuhnau property:country_of_citizenship ?b . resource:Philipp_Zeiger property:country_of_citizenship ?b . ?b rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q183
P551
Q502895
USER
Which people dwell at that political territory ?
(c(Q502895),P551,Q183)
action filter_type
action find_reverse
entity Q183
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q183']
SELECT DISTINCT ?d WHERE { ?d property:P551 resource:Q183 . ?d rdf:type ontology:Q502895 }
Germany
action filter_type
action find_reverse
entity Germany
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Germany']
SELECT DISTINCT ?d WHERE { ?d property:residence resource:Germany . ?d rdf:type ontology:common_name }
[]
common name
Q60066 Q14943164 Q117139
SYSTEM
Gerhard Ertl, Alain Schneider, Wiz Khalifa
Q60066 Q114060 Q23721911 Q5847813 Q6309468 Q17302908 Q273207 Q107961 Q7348968 Q215182 Q18534257 Q14943164 Q12729037 Q5217909 Q24324351 Q117139 Q100236 Q15429884 Q65081 Q1036172 Q2221144 Q25865472 Q1983888 Q1808047 Q108459 Q17198141 Q101005
(c(Q502895),P551,Q183)
action filter_type
action find_reverse
entity Q183
relation P551
type Q502895
[ANSWERS] dwell at that political territory
[{'concept': 'Q502895'}, 'P551', 'Q183']
SELECT DISTINCT ?d WHERE { ?d property:P551 resource:Q183 . ?d rdf:type ontology:Q502895 }
Gerhard Ertl Hedwig Schlichter Maryna Viazovska Waldemar Wilhelm Julio Peralta Brenda Sue Fulton George Egerton Bastian Knittel Robert Pope Michael Stipe Erna Auerbach Alain Schneider Gerd Bonfert Daniel Lencina-Ribes Uisenma Borchu Wiz Khalifa Jan Koemmet Mary Elizabeth Hawker Marc-Kevin Goellner Carin C. Tietze Sandra Wöhe Michaël Magne Eric Wrixon Laurens W. Molenkamp Heiko Harborth Darryl Foster Gerd Hirzinger
Gerhard Ertl, Alain Schneider and Wiz Khalifa dwell at that political territory
Gerhard Ertl Alain Schneider Wiz Khalifa
action filter_type
action find_reverse
entity Germany
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Germany']
SELECT DISTINCT ?d WHERE { ?d property:residence resource:Germany . ?d rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P88
Q12280
USER
What did Germany commission ?
(c(Q12280),P88,Q183)
action filter_type
action find_reverse
entity Q183
relation P88
type Q12280
[{'concept': 'Q12280'}, 'P88', 'Q183']
SELECT DISTINCT ?d WHERE { ?d property:P88 resource:Q183 . ?d rdf:type ontology:Q12280 }
Germany
action filter_type
action find_reverse
entity Germany
relation commissioned by
type bridge
[{'concept': 'bridge'}, 'commissioned by', 'Germany']
SELECT DISTINCT ?d WHERE { ?d property:commissioned_by resource:Germany . ?d rdf:type ontology:bridge }
[]
bridge
Q15715928
SYSTEM
Fußgängerüberführung Wielstraße
Q15715928
(c(Q12280),P88,Q183)
action filter_type
action find_reverse
entity Q183
relation P88
type Q12280
Germany commissioned [ANSWER]
[{'concept': 'Q12280'}, 'P88', 'Q183']
SELECT DISTINCT ?d WHERE { ?d property:P88 resource:Q183 . ?d rdf:type ontology:Q12280 }
Fußgängerüberführung Wielstraße
Germany commissioned Fußgängerüberführung Wielstraße
Fußgängerüberführung Wielstraße
action filter_type
action find_reverse
entity Germany
relation commissioned by
type bridge
[{'concept': 'bridge'}, 'commissioned by', 'Germany']
SELECT DISTINCT ?d WHERE { ?d property:commissioned_by resource:Germany . ?d rdf:type ontology:bridge }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P1001
Q1269299
USER
Which business organizations apply to jurisdiction over Germany ?
(c(Q1269299),P1001,Q183)
action filter_type
action find_reverse
entity Q183
relation P1001
type Q1269299
[{'concept': 'Q1269299'}, 'P1001', 'Q183']
SELECT DISTINCT ?i WHERE { ?i property:P1001 resource:Q183 . ?i rdf:type ontology:Q1269299 }
Germany
action filter_type
action find_reverse
entity Germany
relation applies to jurisdiction
type type of business entity
[{'concept': 'type of business entity'}, 'applies to jurisdiction', 'Germany']
SELECT DISTINCT ?i WHERE { ?i property:applies_to_jurisdiction resource:Germany . ?i rdf:type ontology:type_of_business_entity }
[]
type of business entity
Q422062 Q1780029 Q2348860
SYSTEM
Aktiengesellschaft, Kommanditgesellschaft, Stiftung & Co. KGaA
Q1780029 Q2348860 Q2054374 Q19278985 Q897103 Q1418640 Q9299236 Q5349747 Q20659907 Q2348856 Q15734684 Q19823288 Q292704 Q460178 Q422062 Q1532883
(c(Q1269299),P1001,Q183)
action filter_type
action find_reverse
entity Q183
relation P1001
type Q1269299
[ANSWERS] apply to jurisdiction over Germany
[{'concept': 'Q1269299'}, 'P1001', 'Q183']
SELECT DISTINCT ?i WHERE { ?i property:P1001 resource:Q183 . ?i rdf:type ontology:Q1269299 }
Kommanditgesellschaft Stiftung & Co. KGaA Partenreederei sole proprietorship in Germany GmbH & Co. KG local government in Germany eingetragener Verein Eingetragene Genossenschaft AG & Co. KG Stiftung & Co. KG Körperschaft des öffentlichen Rechts Kommanditgesellschaft auf Aktien AG & Co. KGaA Gesellschaft mit beschränkter Haftung Aktiengesellschaft GmbH & Co. KGaA
Aktiengesellschaft, Kommanditgesellschaft and Stiftung & Co. KGaA apply to jurisdiction over Germany
Aktiengesellschaft Kommanditgesellschaft Stiftung & Co. KGaA
action filter_type
action find_reverse
entity Germany
relation applies to jurisdiction
type type of business entity
[{'concept': 'type of business entity'}, 'applies to jurisdiction', 'Germany']
SELECT DISTINCT ?i WHERE { ?i property:applies_to_jurisdiction resource:Germany . ?i rdf:type ontology:type_of_business_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q422062 Q1780029 Q2348860
P1001
Q1048835
USER
Which political territories apply to jurisdiction of Aktiengesellschaft, Kommanditgesellschaft and Stiftung & Co. KGaA ?
(Q422062,P1001,c(Q1048835)) (Q1780029,P1001,c(Q1048835)) (Q2348860,P1001,c(Q1048835))
action union
action filter_type
action find
entity Q422062
relation P1001
type Q1048835
action filter_type
action find
entity Q1780029
relation P1001
type Q1048835
action filter_type
action find
entity Q2348860
relation P1001
type Q1048835
['Q422062', 'P1001', {'concept': 'Q1048835'}] ['Q1780029', 'P1001', {'concept': 'Q1048835'}] ['Q2348860', 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ?i WHERE { VALUES ( ?c ) { ( resource:Q422062 ) ( resource:Q1780029 ) } . ?c property:P1001 ?i }
Aktiengesellschaft Kommanditgesellschaft Stiftung & Co. KGaA
action union
action filter_type
action find
entity Aktiengesellschaft
relation applies to jurisdiction
type political territorial entity
action filter_type
action find
entity Kommanditgesellschaft
relation applies to jurisdiction
type political territorial entity
action filter_type
action find
entity Stiftung & Co. KGaA
relation applies to jurisdiction
type political territorial entity
['Aktiengesellschaft', 'applies to jurisdiction', {'concept': 'political territorial entity'}] ['Kommanditgesellschaft', 'applies to jurisdiction', {'concept': 'political territorial entity'}] ['Stiftung & Co. KGaA', 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?i WHERE { VALUES ( ?c ) { ( resource:Aktiengesellschaft ) ( resource:Kommanditgesellschaft ) } . ?c property:applies_to_jurisdiction ?i }
[]
political territorial entity
Q183 Q183 Q183
SYSTEM
Germany
Q183 Q183 Q183
(Q422062,P1001,c(Q1048835)) (Q1780029,P1001,c(Q1048835)) (Q2348860,P1001,c(Q1048835))
action union
action filter_type
action find
entity Q422062
relation P1001
type Q1048835
action filter_type
action find
entity Q1780029
relation P1001
type Q1048835
action filter_type
action find
entity Q2348860
relation P1001
type Q1048835
[ANSWER], [ANSWER] and [ANSWER] apply to jurisdiction of Aktiengesellschaft, Kommanditgesellschaft and Stiftung & Co. KGaA
['Q422062', 'P1001', {'concept': 'Q1048835'}] ['Q1780029', 'P1001', {'concept': 'Q1048835'}] ['Q2348860', 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ?i WHERE { VALUES ( ?c ) { ( resource:Q422062 ) ( resource:Q1780029 ) } . ?c property:P1001 ?i }
Germany Germany Germany
Germany, Germany and Germany apply to jurisdiction of Aktiengesellschaft, Kommanditgesellschaft and Stiftung & Co. KGaA
Germany Germany Germany
action union
action filter_type
action find
entity Aktiengesellschaft
relation applies to jurisdiction
type political territorial entity
action filter_type
action find
entity Kommanditgesellschaft
relation applies to jurisdiction
type political territorial entity
action filter_type
action find
entity Stiftung & Co. KGaA
relation applies to jurisdiction
type political territorial entity
['Aktiengesellschaft', 'applies to jurisdiction', {'concept': 'political territorial entity'}] ['Kommanditgesellschaft', 'applies to jurisdiction', {'concept': 'political territorial entity'}] ['Stiftung & Co. KGaA', 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?i WHERE { VALUES ( ?c ) { ( resource:Aktiengesellschaft ) ( resource:Kommanditgesellschaft ) } . ?c property:applies_to_jurisdiction ?i }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q14943164
P7
Q502895
USER
Who is the brother of Alain Schneider ?
(Q14943164,P7,c(Q502895))
action filter_type
action find
entity Q14943164
relation P7
type Q502895
['Q14943164', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q14943164 property:P7 ?t . ?t rdf:type ontology:Q502895 }
Alain Schneider
action filter_type
action find
entity Alain Schneider
relation brother
type common name
['Alain Schneider', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Alain_Schneider property:brother ?t . ?t rdf:type ontology:common_name }
[]
common name
Q15957655
SYSTEM
Pierre-Yves Schneider
Q15957655
(Q14943164,P7,c(Q502895))
action filter_type
action find
entity Q14943164
relation P7
type Q502895
The brother of Alain Schneider is the [ANSWER]
['Q14943164', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q14943164 property:P7 ?t . ?t rdf:type ontology:Q502895 }
Pierre-Yves Schneider
The brother of Alain Schneider is the Pierre-Yves Schneider
Pierre-Yves Schneider
action filter_type
action find
entity Alain Schneider
relation brother
type common name
['Alain Schneider', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Alain_Schneider property:brother ?t . ?t rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q738949
Q502895
USER
And what about Agnes of Cleves?
(Q738949,P7,c(Q502895))
action filter_type
action find
entity Q738949
relation P7
type Q502895
['Q738949', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q738949 property:P7 ?j . ?j rdf:type ontology:Q502895 }
Agnes of Cleves
action filter_type
action find
entity Agnes of Cleves
relation brother
type common name
['Agnes of Cleves', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Agnes_of_Cleves property:brother ?j . ?j rdf:type ontology:common_name }
[]
common name
Q324453 Q570195
SYSTEM
Adolph of Cleves, Lord of Ravenstein, John I, Duke of Cleves
Q324453 Q570195
(Q738949,P7,c(Q502895))
action filter_type
action find
entity Q738949
relation P7
type Q502895
[ANSWERS]
['Q738949', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q738949 property:P7 ?j . ?j rdf:type ontology:Q502895 }
Adolph of Cleves, Lord of Ravenstein John I, Duke of Cleves
Adolph of Cleves, Lord of Ravenstein John I, Duke of Cleves
action filter_type
action find
entity Agnes of Cleves
relation brother
type common name
['Agnes of Cleves', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Agnes_of_Cleves property:brother ?j . ?j rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q12031430 Q183
P530 P17
Q15617994
USER
Which administrative territories holds diplomatic relationship with Germany and are not Krasonice present in ?
AND((Q183,P530,c(Q15617994)), NOT((Q12031430,P17,c(Q15617994))))
action filter_type
action difference
action find
entity Q183
relation P530
action find
entity Q12031430
relation P17
type Q15617994
{'AND': [['Q183', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q12031430', 'P17', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?i WHERE { resource:Q183 property:P530 ?i . MINUS { resource:Q12031430 property:P17 ?i } . ?i rdf:type ontology:Q15617994 }
Krasonice Germany
action filter_type
action difference
action find
entity Germany
relation diplomatic relation
action find
entity Krasonice
relation country
type designation for an administrative territorial entity
{'AND': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['Krasonice', 'country', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?i WHERE { resource:Germany property:diplomatic_relation ?i . MINUS { resource:Krasonice property:country ?i } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q954 Q974 Q851 Q1006 Q916 Q117 Q77 Q811 Q1037 Q733
SYSTEM
Some of them are Zimbabwe, Democratic Republic of the Congo, Saudi Arabia, Guinea, Angola, Ghana, Uruguay, Nicaragua, Rwanda, Paraguay
Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q833 Q711 Q717 Q252 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q739 Q241 Q242 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q929 Q39 Q38 Q986 Q423 Q983 Q851 Q733 Q734 Q736 Q730 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q29 Q1049 Q189 Q843 Q184 Q1029 Q1028 Q786 Q347 Q227 Q225 Q224 Q222 Q96 Q229 Q228 Q17 Q902 Q1036 Q1037 Q1008 Q1032 Q1033 Q1030 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1009 Q974 Q971 Q79 Q77 Q878 Q774 Q948 Q810 Q1019 Q1016 Q1011 Q945 Q869 Q953
AND((Q183,P530,c(Q15617994)), NOT((Q12031430,P17,c(Q15617994))))
action filter_type
action difference
action find
entity Q183
relation P530
action find
entity Q12031430
relation P17
type Q15617994
[ANSWERS] hold diplomatic relationship with Germany and are not Krasonice present in
{'AND': [['Q183', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q12031430', 'P17', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?i WHERE { resource:Q183 property:P530 ?i . MINUS { resource:Q12031430 property:P17 ?i } . ?i rdf:type ontology:Q15617994 }
Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Malaysia Mongolia Venezuela Indonesia Serbia Chad South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Colombia Cuba Belize Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Central African Republic Switzerland Italy Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Ecuador Suriname Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Spain Sudan Iceland Pakistan Belarus Mozambique Morocco Dominican Republic Liechtenstein Azerbaijan Bosnia and Herzegovina Croatia Albania Mexico Cyprus Andorra Japan Bangladesh Uganda Rwanda Côte d'Ivoire Niger Nigeria Namibia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Cameroon Democratic Republic of the Congo Republic of the Congo Egypt Uruguay United Arab Emirates Guatemala Tunisia Jordan Madagascar Libya Cape Verde Togo Thailand Zambia
Zimbabwe, Democratic Republic of the Congo, Saudi Arabia, Guinea, Angola, Ghana, Uruguay, Nicaragua, Rwanda and Paraguay hold diplomatic relationship with Germany and are not Krasonice present in
Zimbabwe Democratic Republic of the Congo Saudi Arabia Guinea Angola Ghana Uruguay Nicaragua Rwanda Paraguay
action filter_type
action difference
action find
entity Germany
relation diplomatic relation
action find
entity Krasonice
relation country
type designation for an administrative territorial entity
{'AND': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['Krasonice', 'country', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?i WHERE { resource:Germany property:diplomatic_relation ?i . MINUS { resource:Krasonice property:country ?i } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q183
P530
Q1048835
USER
Do Germany have diplomatic relations with those administrative territories ?
(Q183,P530,Q954) (Q183,P530,Q974) (Q183,P530,Q851) (Q183,P530,Q1006) (Q183,P530,Q916) (Q183,P530,Q117) (Q183,P530,Q77) (Q183,P530,Q811) (Q183,P530,Q1037) (Q183,P530,Q733)
action is_in
entity prev_answer
action find
entity Q183
relation P530
['Q183', 'P530', 'Q954'] ['Q183', 'P530', 'Q974'] ['Q183', 'P530', 'Q851'] ['Q183', 'P530', 'Q1006'] ['Q183', 'P530', 'Q916'] ['Q183', 'P530', 'Q117'] ['Q183', 'P530', 'Q77'] ['Q183', 'P530', 'Q811'] ['Q183', 'P530', 'Q1037'] ['Q183', 'P530', 'Q733']
ASK WHERE { VALUES ( ?p ) { ( resource:Q804 ) ( resource:Q801 ) ( resource:Q800 ) } . resource:Q183 property:P530 ?p }
Germany
action is_in
entity prev_answer
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Zimbabwe'] ['Germany', 'diplomatic relation', 'Democratic Republic of the Congo'] ['Germany', 'diplomatic relation', 'Saudi Arabia'] ['Germany', 'diplomatic relation', 'Guinea'] ['Germany', 'diplomatic relation', 'Angola'] ['Germany', 'diplomatic relation', 'Ghana'] ['Germany', 'diplomatic relation', 'Uruguay'] ['Germany', 'diplomatic relation', 'Nicaragua'] ['Germany', 'diplomatic relation', 'Rwanda'] ['Germany', 'diplomatic relation', 'Paraguay']
ASK WHERE { VALUES ( ?p ) { ( resource:Panama ) ( resource:Israel ) ( resource:Costa_Rica ) } . resource:Germany property:diplomatic_relation ?p }
[]
political territorial entity
SYSTEM
YES
(Q183,P530,Q954) (Q183,P530,Q974) (Q183,P530,Q851) (Q183,P530,Q1006) (Q183,P530,Q916) (Q183,P530,Q117) (Q183,P530,Q77) (Q183,P530,Q811) (Q183,P530,Q1037) (Q183,P530,Q733)
action is_in
entity prev_answer
action find
entity Q183
relation P530
[ANSWER]
['Q183', 'P530', 'Q954'] ['Q183', 'P530', 'Q974'] ['Q183', 'P530', 'Q851'] ['Q183', 'P530', 'Q1006'] ['Q183', 'P530', 'Q916'] ['Q183', 'P530', 'Q117'] ['Q183', 'P530', 'Q77'] ['Q183', 'P530', 'Q811'] ['Q183', 'P530', 'Q1037'] ['Q183', 'P530', 'Q733']
ASK WHERE { VALUES ( ?p ) { ( resource:Q804 ) ( resource:Q801 ) ( resource:Q800 ) } . resource:Q183 property:P530 ?p }
Yes
action is_in
entity prev_answer
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Zimbabwe'] ['Germany', 'diplomatic relation', 'Democratic Republic of the Congo'] ['Germany', 'diplomatic relation', 'Saudi Arabia'] ['Germany', 'diplomatic relation', 'Guinea'] ['Germany', 'diplomatic relation', 'Angola'] ['Germany', 'diplomatic relation', 'Ghana'] ['Germany', 'diplomatic relation', 'Uruguay'] ['Germany', 'diplomatic relation', 'Nicaragua'] ['Germany', 'diplomatic relation', 'Rwanda'] ['Germany', 'diplomatic relation', 'Paraguay']
ASK WHERE { VALUES ( ?p ) { ( resource:Panama ) ( resource:Israel ) ( resource:Costa_Rica ) } . resource:Germany property:diplomatic_relation ?p }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q145
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relationships with around the same number of administrative territories as United Kingdom ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q145
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?z ) AS ?k ) WHERE { ?a property:P530 ?z . ?a rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { ?c rdf:type ontology:Q15617994 . resource:Q145 property:P530 ?c } } . FILTER ( ?k = ?h ) }
United Kingdom
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity United Kingdom
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?z ) AS ?k ) WHERE { ?a property:diplomatic_relation ?z . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:United_Kingdom property:diplomatic_relation ?c } } . FILTER ( ?k = ?h ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
38
Q805 Q668 Q414 Q142 Q145 Q148 Q37 Q711 Q252 Q399 Q403 Q258 Q43 Q41 Q796 Q794 Q889 Q884 Q881 Q822 Q241 Q32 Q31 Q34 Q423 Q27 Q843 Q227 Q222 Q347 Q17 Q1033 Q213 Q916 Q79 Q1016 Q1011 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q145
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?z ) AS ?k ) WHERE { ?a property:P530 ?z . ?a rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { ?c rdf:type ontology:Q15617994 . resource:Q145 property:P530 ?c } } . FILTER ( ?k = ?h ) }
Yemen India Argentina France United Kingdom People's Republic of China Lithuania Mongolia Indonesia Armenia Serbia South Africa Turkey Greece Iraq Iran Afghanistan South Korea Vietnam Lebanon Cuba Luxembourg Belgium Sweden North Korea Ireland Pakistan Azerbaijan Albania Liechtenstein Japan Nigeria Czech Republic Angola Egypt Libya Cape Verde Zambia
38
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity United Kingdom
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?z ) AS ?k ) WHERE { ?a property:diplomatic_relation ?z . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:United_Kingdom property:diplomatic_relation ?c } } . FILTER ( ?k = ?h ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q114
P530
Q15617994 Q15617994
USER
And also tell me about Kenya?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q114
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?b ) AS ?w ) WHERE { ?b property:P530 ?f . ?f rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15617994 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { resource:Q114 property:P530 ?r . ?r rdf:type ontology:Q15617994 } } . FILTER ( ?w = ?p ) }
Kenya
action count
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Kenya
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?b ) AS ?w ) WHERE { ?b property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { resource:Kenya property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?w = ?p ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
156
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q114
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?b ) AS ?w ) WHERE { ?b property:P530 ?f . ?f rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15617994 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { resource:Q114 property:P530 ?r . ?r rdf:type ontology:Q15617994 } } . FILTER ( ?w = ?p ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
156
action count
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Kenya
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?b ) AS ?w ) WHERE { ?b property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { resource:Kenya property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?w = ?p ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q851 Q786
P530
Q1048835
USER
How many political territories have diplomatic relations with Saudi Arabia and Dominican Republic ?
(Q851,P530,c(Q1048835)) (Q786,P530,c(Q1048835))
action count
action intersection
action filter_type
action find
entity Q851
relation P530
type Q1048835
action filter_type
action find
entity Q786
relation P530
type Q1048835
['Q851', 'P530', {'concept': 'Q1048835'}] ['Q786', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { resource:Q786 property:P530 ?z . ?z rdf:type ontology:Q1048835 . resource:Q851 property:P530 ?z . ?z rdf:type ontology:Q1048835 }
Saudi Arabia Dominican Republic
action count
action intersection
action filter_type
action find
entity Saudi Arabia
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Dominican Republic
relation diplomatic relation
type political territorial entity
['Saudi Arabia', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Dominican Republic', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { resource:Dominican_Republic property:diplomatic_relation ?z . ?z rdf:type ontology:political_territorial_entity . resource:Saudi_Arabia property:diplomatic_relation ?z . ?z rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
2
Q408 Q183
(Q851,P530,c(Q1048835)) (Q786,P530,c(Q1048835))
action count
action intersection
action filter_type
action find
entity Q851
relation P530
type Q1048835
action filter_type
action find
entity Q786
relation P530
type Q1048835
[ANSWER]
['Q851', 'P530', {'concept': 'Q1048835'}] ['Q786', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { resource:Q786 property:P530 ?z . ?z rdf:type ontology:Q1048835 . resource:Q851 property:P530 ?z . ?z rdf:type ontology:Q1048835 }
Australia Germany
2
action count
action intersection
action filter_type
action find
entity Saudi Arabia
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Dominican Republic
relation diplomatic relation
type political territorial entity
['Saudi Arabia', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Dominican Republic', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { resource:Dominican_Republic property:diplomatic_relation ?z . ?z rdf:type ontology:political_territorial_entity . resource:Saudi_Arabia property:diplomatic_relation ?z . ?z rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q851
P463
Q484652 Q56061
USER
How many international organizations and administrative territories had Saudi Arabia as their member ?
(Q851,P463,c(Q484652)) (Q851,P463,c(Q56061))
action count
action union
action filter_type
action find
entity Q851
relation P463
type Q484652
action filter_type
action find
entity Q851
relation P463
type Q56061
['Q851', 'P463', {'concept': 'Q484652'}] ['Q851', 'P463', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { VALUES ( ?z ) { ( ontology:Q484652 ) ( ontology:Q56061 ) } . ?m rdf:type ?z }
Saudi Arabia
action count
action union
action filter_type
action find
entity Saudi Arabia
relation member of
type international organization
action filter_type
action find
entity Saudi Arabia
relation member of
type administrative territorial entity
['Saudi Arabia', 'member of', {'concept': 'international organization'}] ['Saudi Arabia', 'member of', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { VALUES ( ?z ) { ( ontology:international_organization ) ( ontology:administrative_territorial_entity ) } . ?m rdf:type ?z }
[]
international organization administrative territorial entity
SYSTEM
5 international organizations and 1 administrative territories
Q18109843 Q19771 Q1065 Q217172 Q7172 Q1043527
(Q851,P463,c(Q484652)) (Q851,P463,c(Q56061))
action count
action union
action filter_type
action find
entity Q851
relation P463
type Q484652
action filter_type
action find
entity Q851
relation P463
type Q56061
[ANSWER]
['Q851', 'P463', {'concept': 'Q484652'}] ['Q851', 'P463', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { VALUES ( ?z ) { ( ontology:Q484652 ) ( ontology:Q56061 ) } . ?m rdf:type ?z }
Asian Infrastructure Investment Bank G20 United Nations Cooperation Council for the Arab States of the Gulf Arab League Multilateral Investment Guarantee Agency
5 international organizations and 1 administrative territories
action count
action union
action filter_type
action find
entity Saudi Arabia
relation member of
type international organization
action filter_type
action find
entity Saudi Arabia
relation member of
type administrative territorial entity
['Saudi Arabia', 'member of', {'concept': 'international organization'}] ['Saudi Arabia', 'member of', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { VALUES ( ?z ) { ( ontology:international_organization ) ( ontology:administrative_territorial_entity ) } . ?m rdf:type ?z }
[]