Simple Question (Direct)
Simple Question
Q1330156
P21
Q290
USER
Which sex does Elisabeth Nettebeck belong to ?
(Q1330156,P21,c(Q290))
action filter_type
action find
entity Q1330156
relation P21
type Q290
['Q1330156', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q290 . resource:Q1330156 property:P21 ?q }
Elisabeth Nettebeck
action filter_type
action find
entity Elisabeth Nettebeck
relation gender
type sex
['Elisabeth Nettebeck', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:sex . resource:Elisabeth_Nettebeck property:gender ?q }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q1330156,P21,c(Q290))
action filter_type
action find
entity Q1330156
relation P21
type Q290
Elisabeth Nettebeck belongs to [ANSWER]
['Q1330156', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q290 . resource:Q1330156 property:P21 ?q }
female
Elisabeth Nettebeck belongs to female
female
action filter_type
action find
entity Elisabeth Nettebeck
relation gender
type sex
['Elisabeth Nettebeck', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:sex . resource:Elisabeth_Nettebeck property:gender ?q }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1330156
P39
Q12737077
USER
Which occupation was a position occupied by Elisabeth Nettebeck ?
(Q1330156,P39,c(Q12737077))
action filter_type
action find
entity Q1330156
relation P39
type Q12737077
['Q1330156', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q1330156 property:P39 ?a . ?a rdf:type ontology:Q12737077 }
Elisabeth Nettebeck
action filter_type
action find
entity Elisabeth Nettebeck
relation position held
type occupation
['Elisabeth Nettebeck', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Elisabeth_Nettebeck property:position_held ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q17781726
SYSTEM
member of the Landtag of North Rhine-Westphalia
Q17781726
(Q1330156,P39,c(Q12737077))
action filter_type
action find
entity Q1330156
relation P39
type Q12737077
A [ANSWER] was a position occupied by Elisabeth Nettebeck
['Q1330156', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q1330156 property:P39 ?a . ?a rdf:type ontology:Q12737077 }
member of the Landtag of North Rhine-Westphalia
A member of the Landtag of North Rhine-Westphalia was a position occupied by Elisabeth Nettebeck
member of the Landtag of North Rhine-Westphalia
action filter_type
action find
entity Elisabeth Nettebeck
relation position held
type occupation
['Elisabeth Nettebeck', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Elisabeth_Nettebeck property:position_held ?a . ?a rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2572934
Q12737077
USER
And also tell me about Wilhelm Robert Adolph Güssefeld?
(Q2572934,P39,c(Q12737077))
action filter_type
action find
entity Q2572934
relation P39
type Q12737077
['Q2572934', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q2572934 property:P39 ?q . ?q rdf:type ontology:Q12737077 }
Wilhelm Robert Adolph Güssefeld
action filter_type
action find
entity Wilhelm Robert Adolph Güssefeld
relation position held
type occupation
['Wilhelm Robert Adolph Güssefeld', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Wilhelm_Robert_Adolph_Güssefeld property:position_held ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q19360355
SYSTEM
Member of the Hamburg Parliament
Q19360355
(Q2572934,P39,c(Q12737077))
action filter_type
action find
entity Q2572934
relation P39
type Q12737077
[ANSWER]
['Q2572934', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q2572934 property:P39 ?q . ?q rdf:type ontology:Q12737077 }
Member of the Hamburg Parliament
Member of the Hamburg Parliament
action filter_type
action find
entity Wilhelm Robert Adolph Güssefeld
relation position held
type occupation
['Wilhelm Robert Adolph Güssefeld', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Wilhelm_Robert_Adolph_Güssefeld property:position_held ?q . ?q rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q19360355
P17
Q1048835
USER
How many political territories do Member of the Hamburg Parliament belong to ?
(Q19360355,P17,c(Q1048835))
action count
action filter_type
action find
entity Q19360355
relation P17
type Q1048835
['Q19360355', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { resource:Q19360355 property:P17 ?h . ?h rdf:type ontology:Q1048835 }
Member of the Hamburg Parliament
action count
action filter_type
action find
entity Member of the Hamburg Parliament
relation country
type political territorial entity
['Member of the Hamburg Parliament', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { resource:Member_of_the_Hamburg_Parliament property:country ?h . ?h rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
Q183
(Q19360355,P17,c(Q1048835))
action count
action filter_type
action find
entity Q19360355
relation P17
type Q1048835
[ANSWER]
['Q19360355', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { resource:Q19360355 property:P17 ?h . ?h rdf:type ontology:Q1048835 }
Germany
1
action count
action filter_type
action find
entity Member of the Hamburg Parliament
relation country
type political territorial entity
['Member of the Hamburg Parliament', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { resource:Member_of_the_Hamburg_Parliament property:country ?h . ?h rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1330156
P106
Q12737077
USER
Which occupation is the profession of Elisabeth Nettebeck ?
(Q1330156,P106,c(Q12737077))
action filter_type
action find
entity Q1330156
relation P106
type Q12737077
['Q1330156', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q1330156 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
Elisabeth Nettebeck
action filter_type
action find
entity Elisabeth Nettebeck
relation occupation
type occupation
['Elisabeth Nettebeck', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Elisabeth_Nettebeck property:occupation ?n . ?n rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q1330156,P106,c(Q12737077))
action filter_type
action find
entity Q1330156
relation P106
type Q12737077
So [ANSWER] is the profession of Elisabeth Nettebeck
['Q1330156', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q1330156 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
politician
So politician is the profession of Elisabeth Nettebeck
politician
action filter_type
action find
entity Elisabeth Nettebeck
relation occupation
type occupation
['Elisabeth Nettebeck', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Elisabeth_Nettebeck property:occupation ?n . ?n rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1330156
P27
Q1048835
USER
Which political territory is that person a civilian of ?
(Q82955,P27,c(Q1048835))
action filter_type
action find
entity Q1330156
relation P27
type Q1048835
['Q82955', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { resource:Q1330156 property:P27 ?f . ?f rdf:type ontology:Q1048835 }
Elisabeth Nettebeck
action filter_type
action find
entity Elisabeth Nettebeck
relation country of citizenship
type political territorial entity
['politician', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Elisabeth_Nettebeck property:country_of_citizenship ?f . ?f rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q82955,P27,c(Q1048835))
action filter_type
action find
entity Q1330156
relation P27
type Q1048835
[ANSWER] is that person a civilian of
['Q82955', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { resource:Q1330156 property:P27 ?f . ?f rdf:type ontology:Q1048835 }
Germany
Germany is that person a civilian of
Germany
action filter_type
action find
entity Elisabeth Nettebeck
relation country of citizenship
type political territorial entity
['politician', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Elisabeth_Nettebeck property:country_of_citizenship ?f . ?f rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q6759691 Q1330156
P27
Q1048835
USER
Or Margaret Marshall Saunders?
OR((Q1330156,P27,c(Q1048835)), (Q6759691,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1330156
relation P27
action find
entity Q6759691
relation P27
type Q1048835
{'OR': [['Q1330156', 'P27', {'concept': 'Q1048835'}], ['Q6759691', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q1048835 . { { resource:Q6759691 property:P27 ?f } UNION { resource:Q1330156 property:P27 ?f } } }
Margaret Marshall Saunders Elisabeth Nettebeck
action filter_type
action union
action find
entity Elisabeth Nettebeck
relation country of citizenship
action find
entity Margaret Marshall Saunders
relation country of citizenship
type political territorial entity
{'OR': [['Elisabeth Nettebeck', 'country of citizenship', {'concept': 'political territorial entity'}], ['Margaret Marshall Saunders', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:political_territorial_entity . { { resource:Margaret_Marshall_Saunders property:country_of_citizenship ?f } UNION { resource:Elisabeth_Nettebeck property:country_of_citizenship ?f } } }
[]
political territorial entity
Q16 Q183
SYSTEM
Canada, Germany
Q16 Q183
OR((Q1330156,P27,c(Q1048835)), (Q6759691,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1330156
relation P27
action find
entity Q6759691
relation P27
type Q1048835
[ANSWERS]
{'OR': [['Q1330156', 'P27', {'concept': 'Q1048835'}], ['Q6759691', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q1048835 . { { resource:Q6759691 property:P27 ?f } UNION { resource:Q1330156 property:P27 ?f } } }
Canada Germany
Canada Germany
action filter_type
action union
action find
entity Elisabeth Nettebeck
relation country of citizenship
action find
entity Margaret Marshall Saunders
relation country of citizenship
type political territorial entity
{'OR': [['Elisabeth Nettebeck', 'country of citizenship', {'concept': 'political territorial entity'}], ['Margaret Marshall Saunders', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:political_territorial_entity . { { resource:Margaret_Marshall_Saunders property:country_of_citizenship ?f } UNION { resource:Elisabeth_Nettebeck property:country_of_citizenship ?f } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5566223
P17
Q80071
USER
Are Glade situated in those political territories ?
(Q5566223,P17,Q16) (Q5566223,P17,Q183)
action is_in
entity prev_answer
action find
entity Q5566223
relation P17
['Q5566223', 'P17', 'Q16'] ['Q5566223', 'P17', 'Q183']
ASK WHERE { resource:Q5566223 property:P17 ?i . VALUES ( ?i ) { ( resource:Q16 ) ( resource:Q183 ) } }
Glade
action is_in
entity prev_answer
action find
entity Glade
relation country
['Glade', 'country', 'Canada'] ['Glade', 'country', 'Germany']
ASK WHERE { resource:Glade property:country ?i . VALUES ( ?i ) { ( resource:Canada ) ( resource:Germany ) } }
[]
symbol
SYSTEM
YES
(Q5566223,P17,Q16) (Q5566223,P17,Q183)
action is_in
entity prev_answer
action find
entity Q5566223
relation P17
[ANSWER]
['Q5566223', 'P17', 'Q16'] ['Q5566223', 'P17', 'Q183']
ASK WHERE { resource:Q5566223 property:P17 ?i . VALUES ( ?i ) { ( resource:Q16 ) ( resource:Q183 ) } }
Yes
action is_in
entity prev_answer
action find
entity Glade
relation country
['Glade', 'country', 'Canada'] ['Glade', 'country', 'Germany']
ASK WHERE { resource:Glade property:country ?i . VALUES ( ?i ) { ( resource:Canada ) ( resource:Germany ) } }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q245126 Q183
P530 P17
Q15617994
USER
Which administrative territories have diplomatic relationships with Germany and are not Siófok present in ?
AND((Q183,P530,c(Q15617994)), NOT((Q245126,P17,c(Q15617994))))
action filter_type
action difference
action find
entity Q183
relation P530
action find
entity Q245126
relation P17
type Q15617994
{'AND': [['Q183', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q245126', 'P17', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?r WHERE { resource:Q183 property:P530 ?r . MINUS { resource:Q245126 property:P17 ?r } . ?r rdf:type ontology:Q15617994 }
Siófok Germany
action filter_type
action difference
action find
entity Germany
relation diplomatic relation
action find
entity Siófok
relation country
type designation for an administrative territorial entity
{'AND': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['Siófok', 'country', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?r WHERE { resource:Germany property:diplomatic_relation ?r . MINUS { resource:Siófok property:country ?r } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q810 Q1019 Q800 Q1045 Q347 Q1009 Q843 Q1008 Q1016 Q228
SYSTEM
Some of them are Jordan, Madagascar, Costa Rica, Somalia, Liechtenstein, Cameroon, Pakistan, Côte d'Ivoire, Libya, Andorra
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 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 Q213 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((Q245126,P17,c(Q15617994))))
action filter_type
action difference
action find
entity Q183
relation P530
action find
entity Q245126
relation P17
type Q15617994
[ANSWERS] have diplomatic relationships with Germany and are not Siófok present in
{'AND': [['Q183', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q245126', 'P17', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?r WHERE { resource:Q183 property:P530 ?r . MINUS { resource:Q245126 property:P17 ?r } . ?r 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 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 Czech Republic 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
Jordan, Madagascar, Costa Rica, Somalia, Liechtenstein, Cameroon, Pakistan, Côte d'Ivoire, Libya and Andorra have diplomatic relationships with Germany and are not Siófok present in
Jordan Madagascar Costa Rica Somalia Liechtenstein Cameroon Pakistan Côte d'Ivoire Libya Andorra
action filter_type
action difference
action find
entity Germany
relation diplomatic relation
action find
entity Siófok
relation country
type designation for an administrative territorial entity
{'AND': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['Siófok', 'country', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?r WHERE { resource:Germany property:diplomatic_relation ?r . MINUS { resource:Siófok property:country ?r } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q12517630 Q183
P530 P17
Q15617994
USER
Which administrative territories have diplomatic relations with Germany and are not Sumberwaru present in ?
AND((Q183,P530,c(Q15617994)), NOT((Q12517630,P17,c(Q15617994))))
action filter_type
action difference
action find
entity Q183
relation P530
action find
entity Q12517630
relation P17
type Q15617994
{'AND': [['Q183', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q12517630', 'P17', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?d WHERE { FILTER NOT EXISTS { resource:Q12517630 property:P17 ?d } . resource:Q183 property:P530 ?d . ?d rdf:type ontology:Q15617994 }
Sumberwaru Germany
action filter_type
action difference
action find
entity Germany
relation diplomatic relation
action find
entity Sumberwaru
relation country
type designation for an administrative territorial entity
{'AND': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['Sumberwaru', 'country', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?d WHERE { FILTER NOT EXISTS { resource:Sumberwaru property:country ?d } . resource:Germany property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q974 Q41 Q34 Q1005 Q27 Q796 Q218 Q878 Q1032 Q213
SYSTEM
Some of them are Democratic Republic of the Congo, Greece, Sweden, Gambia, Ireland, Iraq, Romania, United Arab Emirates, Niger, Czech Republic
Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q833 Q711 Q717 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 Q213 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((Q12517630,P17,c(Q15617994))))
action filter_type
action difference
action find
entity Q183
relation P530
action find
entity Q12517630
relation P17
type Q15617994
[ANSWERS] have diplomatic relations with Germany and are not Sumberwaru present in
{'AND': [['Q183', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q12517630', 'P17', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?d WHERE { FILTER NOT EXISTS { resource:Q12517630 property:P17 ?d } . resource:Q183 property:P530 ?d . ?d 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 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 Czech Republic 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
Democratic Republic of the Congo, Greece, Sweden, Gambia, Ireland, Iraq, Romania, United Arab Emirates, Niger and Czech Republic have diplomatic relations with Germany and are not Sumberwaru present in
Democratic Republic of the Congo Greece Sweden Gambia Ireland Iraq Romania United Arab Emirates Niger Czech Republic
action filter_type
action difference
action find
entity Germany
relation diplomatic relation
action find
entity Sumberwaru
relation country
type designation for an administrative territorial entity
{'AND': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['Sumberwaru', 'country', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?d WHERE { FILTER NOT EXISTS { resource:Sumberwaru property:country ?d } . resource:Germany property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q230 Q183
P530
Q15617994
USER
Which administrative territories have a diplomatic relationship with Germany and Georgia ?
AND((Q183,P530,c(Q15617994)), (Q230,P530,c(Q15617994)))
action filter_type
action intersection
action find
entity Q183
relation P530
action find
entity Q230
relation P530
type Q15617994
{'AND': [['Q183', 'P530', {'concept': 'Q15617994'}], ['Q230', 'P530', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { resource:Q183 property:P530 ?x . resource:Q230 property:P530 ?x . ?x rdf:type ontology:Q15617994 }
Georgia Germany
action filter_type
action intersection
action find
entity Germany
relation diplomatic relation
action find
entity Georgia
relation diplomatic relation
type designation for an administrative territorial entity
{'AND': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Georgia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { resource:Germany property:diplomatic_relation ?x . resource:Georgia property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q184 Q222 Q786 Q29 Q114 Q916 Q115 Q227 Q229 Q739
SYSTEM
Some of them are Belarus, Albania, Dominican Republic, Spain, Kenya, Angola, Ethiopia, Azerbaijan, Cyprus, Colombia
Q986 Q750 Q1007 Q1006 Q801 Q800 Q184 Q1008 Q971 Q241 Q786 Q668 Q347 Q414 Q227 Q225 Q1005 Q145 Q262 Q189 Q31 Q229 Q228 Q32 Q17 Q30 Q79 Q851 Q1011 Q38 Q902 Q1009 Q878 Q739 Q774 Q423 Q974 Q810 Q983 Q965 Q1016 Q967 Q734 Q963 Q115 Q114 Q117 Q29 Q736 Q222 Q43 Q155 Q219 Q796 Q794 Q954 Q889 Q27 Q252 Q884 Q953 Q881 Q916
AND((Q183,P530,c(Q15617994)), (Q230,P530,c(Q15617994)))
action filter_type
action intersection
action find
entity Q183
relation P530
action find
entity Q230
relation P530
type Q15617994
[ANSWERS] have a diplomatic relationship with Germany and Georgia
{'AND': [['Q183', 'P530', {'concept': 'Q15617994'}], ['Q230', 'P530', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { resource:Q183 property:P530 ?x . resource:Q230 property:P530 ?x . ?x rdf:type ontology:Q15617994 }
Eritrea Bolivia Guinea-Bissau Guinea Israel Costa Rica Belarus Côte d'Ivoire Republic of the Congo Cuba Dominican Republic India Liechtenstein Argentina Azerbaijan Bosnia and Herzegovina Gambia United Kingdom Algeria Iceland Belgium Cyprus Andorra Luxembourg Japan United States of America Egypt Saudi Arabia Cape Verde Italy Bangladesh Cameroon United Arab Emirates Colombia Guatemala North Korea Democratic Republic of the Congo Jordan Equatorial Guinea Burkina Faso Libya Burundi Guyana Botswana Ethiopia Kenya Ghana Spain Ecuador Albania Turkey Brazil Bulgaria Iraq Iran Zimbabwe Afghanistan Ireland Indonesia South Korea Zambia Vietnam Angola
Belarus, Albania, Dominican Republic, Spain, Kenya, Angola, Ethiopia, Azerbaijan, Cyprus and Colombia have a diplomatic relationship with Germany and Georgia
Belarus Albania Dominican Republic Spain Kenya Angola Ethiopia Azerbaijan Cyprus Colombia
action filter_type
action intersection
action find
entity Germany
relation diplomatic relation
action find
entity Georgia
relation diplomatic relation
type designation for an administrative territorial entity
{'AND': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Georgia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { resource:Germany property:diplomatic_relation ?x . resource:Georgia property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]