Simple Question (Direct)
Simple Question
Q4236991
P641
Q349
USER
What did Semyon Koshelev participate in ?
(Q4236991,P641,c(Q349))
action filter_type
action find
entity Q4236991
relation P641
type Q349
['Q4236991', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?u WHERE { resource:Q4236991 property:P641 ?u . ?u rdf:type ontology:Q349 }
Semyon Koshelev
action filter_type
action find
entity Semyon Koshelev
relation sport
type sport
['Semyon Koshelev', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?u WHERE { resource:Semyon_Koshelev property:sport ?u . ?u rdf:type ontology:sport }
[]
sport
Q41466
SYSTEM
ice hockey
Q41466
(Q4236991,P641,c(Q349))
action filter_type
action find
entity Q4236991
relation P641
type Q349
Semyon Koshelev participated in [ANSWER]
['Q4236991', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?u WHERE { resource:Q4236991 property:P641 ?u . ?u rdf:type ontology:Q349 }
ice hockey
Semyon Koshelev participated in ice hockey
ice hockey
action filter_type
action find
entity Semyon Koshelev
relation sport
type sport
['Semyon Koshelev', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?u WHERE { resource:Semyon_Koshelev property:sport ?u . ?u rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4236991
P27
Q15617994
USER
Which administrative territory is Semyon Koshelev an inhabitant of ?
(Q4236991,P27,c(Q15617994))
action filter_type
action find
entity Q4236991
relation P27
type Q15617994
['Q4236991', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q4236991 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Semyon Koshelev
action filter_type
action find
entity Semyon Koshelev
relation country of citizenship
type designation for an administrative territorial entity
['Semyon Koshelev', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Semyon_Koshelev property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q232
SYSTEM
Kazakhstan
Q232
(Q4236991,P27,c(Q15617994))
action filter_type
action find
entity Q4236991
relation P27
type Q15617994
[ANSWER] is Semyon Koshelev an inhabitant of
['Q4236991', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q4236991 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Kazakhstan
Kazakhstan is Semyon Koshelev an inhabitant of
Kazakhstan
action filter_type
action find
entity Semyon Koshelev
relation country of citizenship
type designation for an administrative territorial entity
['Semyon Koshelev', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Semyon_Koshelev property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4236991
P19
Q56061
USER
Which administrative territory was Semyon Koshelev born in ?
(Q4236991,P19,c(Q56061))
action filter_type
action find
entity Q4236991
relation P19
type Q56061
['Q4236991', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q4236991 property:P19 ?j . ?j rdf:type ontology:Q56061 }
Semyon Koshelev
action filter_type
action find
entity Semyon Koshelev
relation place of birth
type administrative territorial entity
['Semyon Koshelev', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Semyon_Koshelev property:place_of_birth ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q162548
SYSTEM
Oskemen
Q162548
(Q4236991,P19,c(Q56061))
action filter_type
action find
entity Q4236991
relation P19
type Q56061
Semyon Koshelev was born in [ANSWER]
['Q4236991', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q4236991 property:P19 ?j . ?j rdf:type ontology:Q56061 }
Oskemen
Semyon Koshelev was born in Oskemen
Oskemen
action filter_type
action find
entity Semyon Koshelev
relation place of birth
type administrative territorial entity
['Semyon Koshelev', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Semyon_Koshelev property:place_of_birth ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q162548
P17
Q15617994
USER
Which administrative territory does that administrative territory belong to ?
(Q162548,P17,c(Q15617994))
action filter_type
action find
entity Q162548
relation P17
type Q15617994
['Q162548', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q162548 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
Oskemen
action filter_type
action find
entity Oskemen
relation country
type designation for an administrative territorial entity
['Oskemen', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Oskemen property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q232
SYSTEM
Kazakhstan
Q232
(Q162548,P17,c(Q15617994))
action filter_type
action find
entity Q162548
relation P17
type Q15617994
That administrative territory belongs to [ANSWER]
['Q162548', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q162548 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
Kazakhstan
That administrative territory belongs to Kazakhstan
Kazakhstan
action filter_type
action find
entity Oskemen
relation country
type designation for an administrative territorial entity
['Oskemen', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Oskemen property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q232 Q3838112
P27
Q502895
USER
Is Luca Doninelli a citizen of that administrative territory ?
(Q3838112,P27,Q232)
action is_in
entity Q3838112
action find
entity Q232
relation P27
['Q3838112', 'P27', 'Q232']
ASK WHERE { resource:Q232 property:P27 resource:Q3838112 }
Kazakhstan Luca Doninelli
action is_in
entity Luca Doninelli
action find
entity Kazakhstan
relation country of citizenship
['Luca Doninelli', 'country of citizenship', 'Kazakhstan']
ASK WHERE { resource:Kazakhstan property:country_of_citizenship resource:Luca_Doninelli }
[]
common name
SYSTEM
NO
(Q3838112,P27,Q232)
action is_in
entity Q3838112
action find
entity Q232
relation P27
[ANSWER]
['Q3838112', 'P27', 'Q232']
ASK WHERE { resource:Q232 property:P27 resource:Q3838112 }
No
action is_in
entity Luca Doninelli
action find
entity Kazakhstan
relation country of citizenship
['Luca Doninelli', 'country of citizenship', 'Kazakhstan']
ASK WHERE { resource:Kazakhstan property:country_of_citizenship resource:Luca_Doninelli }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q162548 Q6014
P190
Q56061
USER
Is Barnaul twin town of Oskemen ?
(Q162548,P190,Q6014)
action is_in
entity Q6014
action find
entity Q162548
relation P190
['Q162548', 'P190', 'Q6014']
ASK WHERE { resource:Q162548 property:P190 resource:Q6014 }
Oskemen Barnaul
action is_in
entity Barnaul
action find
entity Oskemen
relation sister city
['Oskemen', 'sister city', 'Barnaul']
ASK WHERE { resource:Oskemen property:sister_city resource:Barnaul }
[]
administrative territorial entity
SYSTEM
YES
(Q162548,P190,Q6014)
action is_in
entity Q6014
action find
entity Q162548
relation P190
[ANSWER]
['Q162548', 'P190', 'Q6014']
ASK WHERE { resource:Q162548 property:P190 resource:Q6014 }
Yes
action is_in
entity Barnaul
action find
entity Oskemen
relation sister city
['Oskemen', 'sister city', 'Barnaul']
ASK WHERE { resource:Oskemen property:sister_city resource:Barnaul }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q232
P706
Q271669
USER
Which landform has its location as Kazakhstan ?
(c(Q271669),P706,Q232)
action filter_type
action find_reverse
entity Q232
relation P706
type Q271669
[{'concept': 'Q271669'}, 'P706', 'Q232']
SELECT DISTINCT ?a WHERE { ?a property:P706 resource:Q232 . ?a rdf:type ontology:Q271669 }
Kazakhstan
action filter_type
action find_reverse
entity Kazakhstan
relation located on terrain feature
type landform
[{'concept': 'landform'}, 'located on terrain feature', 'Kazakhstan']
SELECT DISTINCT ?a WHERE { ?a property:located_on_terrain_feature resource:Kazakhstan . ?a rdf:type ontology:landform }
[]
landform
Q625587
SYSTEM
Aral–Caspian Depression
Q625587
(c(Q271669),P706,Q232)
action filter_type
action find_reverse
entity Q232
relation P706
type Q271669
UNK [ANSWER] has its location as Kazakhstan
[{'concept': 'Q271669'}, 'P706', 'Q232']
SELECT DISTINCT ?a WHERE { ?a property:P706 resource:Q232 . ?a rdf:type ontology:Q271669 }
Aral–Caspian Depression
UNK Aral–Caspian Depression has its location as Kazakhstan
Aral–Caspian Depression
action filter_type
action find_reverse
entity Kazakhstan
relation located on terrain feature
type landform
[{'concept': 'landform'}, 'located on terrain feature', 'Kazakhstan']
SELECT DISTINCT ?a WHERE { ?a property:located_on_terrain_feature resource:Kazakhstan . ?a rdf:type ontology:landform }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q232
P159
Q874405
USER
Which social groups have their head office location at that administrative territory ?
(c(Q874405),P159,Q625587)
action filter_type
action find_reverse
entity Q232
relation P159
type Q874405
[{'concept': 'Q874405'}, 'P159', 'Q625587']
SELECT DISTINCT ?a WHERE { ?a property:P159 resource:Q232 . ?a rdf:type ontology:Q874405 }
Kazakhstan
action filter_type
action find_reverse
entity Kazakhstan
relation headquarters location
type social group
[{'concept': 'social group'}, 'headquarters location', 'Aral–Caspian Depression']
SELECT DISTINCT ?a WHERE { ?a property:headquarters_location resource:Kazakhstan . ?a rdf:type ontology:social_group }
[]
social group
Q2814626 Q6380777
SYSTEM
Youth Information Service of Kazakhstan, Kazakh Engineering Society
Q2814626 Q6380777
(c(Q874405),P159,Q625587)
action filter_type
action find_reverse
entity Q232
relation P159
type Q874405
[ANSWERS] have their head office location at that administrative territory
[{'concept': 'Q874405'}, 'P159', 'Q625587']
SELECT DISTINCT ?a WHERE { ?a property:P159 resource:Q232 . ?a rdf:type ontology:Q874405 }
Youth Information Service of Kazakhstan Kazakh Engineering Society
Youth Information Service of Kazakhstan and Kazakh Engineering Society have their head office location at that administrative territory
Youth Information Service of Kazakhstan Kazakh Engineering Society
action filter_type
action find_reverse
entity Kazakhstan
relation headquarters location
type social group
[{'concept': 'social group'}, 'headquarters location', 'Aral–Caspian Depression']
SELECT DISTINCT ?a WHERE { ?a property:headquarters_location resource:Kazakhstan . ?a rdf:type ontology:social_group }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q32159 Q232
P159
Q874405
USER
Or Singapore Changi Airport?
OR((c(Q874405),P159,Q232), (c(Q874405),P159,Q32159))
action filter_type
action union
action find_reverse
entity Q232
relation P159
action find_reverse
entity Q32159
relation P159
type Q874405
{'OR': [[{'concept': 'Q874405'}, 'P159', 'Q232'], [{'concept': 'Q874405'}, 'P159', 'Q32159']]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?t ) { ( resource:Q232 ) ( resource:Q32159 ) } . ?q property:P159 ?t } . ?q rdf:type ontology:Q874405 }
Singapore Changi Airport Kazakhstan
action filter_type
action union
action find_reverse
entity Kazakhstan
relation headquarters location
action find_reverse
entity Singapore Changi Airport
relation headquarters location
type social group
{'OR': [[{'concept': 'social group'}, 'headquarters location', 'Kazakhstan'], [{'concept': 'social group'}, 'headquarters location', 'Singapore Changi Airport']]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?t ) { ( resource:Kazakhstan ) ( resource:Singapore_Changi_Airport ) } . ?q property:headquarters_location ?t } . ?q rdf:type ontology:social_group }
[]
social group
Q4697715 Q2814626 Q6380777
SYSTEM
Air Accident Investigation Bureau of Singapore, Youth Information Service of Kazakhstan, Kazakh Engineering Society
Q4697715 Q2814626 Q6380777
OR((c(Q874405),P159,Q232), (c(Q874405),P159,Q32159))
action filter_type
action union
action find_reverse
entity Q232
relation P159
action find_reverse
entity Q32159
relation P159
type Q874405
[ANSWERS]
{'OR': [[{'concept': 'Q874405'}, 'P159', 'Q232'], [{'concept': 'Q874405'}, 'P159', 'Q32159']]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?t ) { ( resource:Q232 ) ( resource:Q32159 ) } . ?q property:P159 ?t } . ?q rdf:type ontology:Q874405 }
Air Accident Investigation Bureau of Singapore Youth Information Service of Kazakhstan Kazakh Engineering Society
Air Accident Investigation Bureau of Singapore Youth Information Service of Kazakhstan Kazakh Engineering Society
action filter_type
action union
action find_reverse
entity Kazakhstan
relation headquarters location
action find_reverse
entity Singapore Changi Airport
relation headquarters location
type social group
{'OR': [[{'concept': 'social group'}, 'headquarters location', 'Kazakhstan'], [{'concept': 'social group'}, 'headquarters location', 'Singapore Changi Airport']]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?t ) { ( resource:Kazakhstan ) ( resource:Singapore_Changi_Airport ) } . ?q property:headquarters_location ?t } . ?q rdf:type ontology:social_group }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q19127488 Q6380777
P159 P17
Q15617994
USER
Which administrative territories are the headquarter locations of Kazakh Engineering Society or are Fabrieksstraat situated in ?
OR((Q6380777,P159,c(Q15617994)), (Q19127488,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q6380777
relation P159
action find
entity Q19127488
relation P17
type Q15617994
{'OR': [['Q6380777', 'P159', {'concept': 'Q15617994'}], ['Q19127488', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q6380777 property:P159 ?v } UNION { resource:Q19127488 property:P17 ?v } } . ?v rdf:type ontology:Q15617994 }
Fabrieksstraat Kazakh Engineering Society
action filter_type
action union
action find
entity Kazakh Engineering Society
relation headquarters location
action find
entity Fabrieksstraat
relation country
type designation for an administrative territorial entity
{'OR': [['Kazakh Engineering Society', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}], ['Fabrieksstraat', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Kazakh_Engineering_Society property:headquarters_location ?v } UNION { resource:Fabrieksstraat property:country ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q55 Q232
SYSTEM
Netherlands, Kazakhstan
Q55 Q232
OR((Q6380777,P159,c(Q15617994)), (Q19127488,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q6380777
relation P159
action find
entity Q19127488
relation P17
type Q15617994
[ANSWERS] are the headquarter locations of Kazakh Engineering Society or are Fabrieksstraat situated in
{'OR': [['Q6380777', 'P159', {'concept': 'Q15617994'}], ['Q19127488', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q6380777 property:P159 ?v } UNION { resource:Q19127488 property:P17 ?v } } . ?v rdf:type ontology:Q15617994 }
Netherlands Kazakhstan
Netherlands and Kazakhstan are the headquarter locations of Kazakh Engineering Society or are Fabrieksstraat situated in
Netherlands Kazakhstan
action filter_type
action union
action find
entity Kazakh Engineering Society
relation headquarters location
action find
entity Fabrieksstraat
relation country
type designation for an administrative territorial entity
{'OR': [['Kazakh Engineering Society', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}], ['Fabrieksstraat', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Kazakh_Engineering_Society property:headquarters_location ?v } UNION { resource:Fabrieksstraat property:country ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P463
Q43229 Q874405
USER
How many organizations and social groups were that administrative territory a member of ?
(Q232,P463,c(Q43229)) (Q232,P463,c(Q874405)) (Q55,P463,c(Q43229)) (Q55,P463,c(Q874405)) (Q232,P463,c(Q43229)) (Q232,P463,c(Q874405))
['Q232', 'P463', {'concept': 'Q43229'}] ['Q232', 'P463', {'concept': 'Q874405'}] ['Q55', 'P463', {'concept': 'Q43229'}] ['Q55', 'P463', {'concept': 'Q874405'}] ['Q232', 'P463', {'concept': 'Q43229'}] ['Q232', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q232 property:P463 ?z } UNION { resource:Q232 property:P463 ?y } UNION { resource:Q22442862 property:P463 ?z } UNION { resource:Q22442862 property:P463 ?y } UNION { resource:Q232 property:P463 ?z } UNION { resource:Q232 property:P463 ?y } } . ?z rdf:type ontology:Q43229 . ?y rdf:type ontology:Q874405 }
['Kazakhstan', 'member of', {'concept': 'organization'}] ['Kazakhstan', 'member of', {'concept': 'social group'}] ['Netherlands', 'member of', {'concept': 'organization'}] ['Netherlands', 'member of', {'concept': 'social group'}] ['Kazakhstan', 'member of', {'concept': 'organization'}] ['Kazakhstan', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Kazakhstan property:member_of ?z } UNION { resource:Kazakhstan property:member_of ?y } UNION { resource:Netherlands property:member_of ?z } UNION { resource:Netherlands property:member_of ?y } UNION { resource:Kazakhstan property:member_of ?z } UNION { resource:Kazakhstan property:member_of ?y } } . ?z rdf:type ontology:organization . ?y rdf:type ontology:social_group }
[]
organization social group
Quantitative|Count|Mult. entity type|Clarification
Q232
SYSTEM
Did you mean Kazakhstan ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q232 property:P463 ?z } UNION { resource:Q232 property:P463 ?y } UNION { resource:Q22442862 property:P463 ?z } UNION { resource:Q22442862 property:P463 ?y } UNION { resource:Q232 property:P463 ?z } UNION { resource:Q232 property:P463 ?y } } . ?z rdf:type ontology:Q43229 . ?y rdf:type ontology:Q874405 }
Did you mean Kazakhstan ?
Kazakhstan
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Kazakhstan property:member_of ?z } UNION { resource:Kazakhstan property:member_of ?y } UNION { resource:Netherlands property:member_of ?z } UNION { resource:Netherlands property:member_of ?y } UNION { resource:Kazakhstan property:member_of ?z } UNION { resource:Kazakhstan property:member_of ?y } } . ?z rdf:type ontology:organization . ?y rdf:type ontology:social_group }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q232,P463,c(Q43229)) (Q232,P463,c(Q874405)) (Q55,P463,c(Q43229)) (Q55,P463,c(Q874405)) (Q232,P463,c(Q43229)) (Q232,P463,c(Q874405))
['Q232', 'P463', {'concept': 'Q43229'}] ['Q232', 'P463', {'concept': 'Q874405'}] ['Q55', 'P463', {'concept': 'Q43229'}] ['Q55', 'P463', {'concept': 'Q874405'}] ['Q232', 'P463', {'concept': 'Q43229'}] ['Q232', 'P463', {'concept': 'Q874405'}]
['Kazakhstan', 'member of', {'concept': 'organization'}] ['Kazakhstan', 'member of', {'concept': 'social group'}] ['Netherlands', 'member of', {'concept': 'organization'}] ['Netherlands', 'member of', {'concept': 'social group'}] ['Kazakhstan', 'member of', {'concept': 'organization'}] ['Kazakhstan', 'member of', {'concept': 'social group'}]
[]
SYSTEM
6 organizations and 2 social groups
Q47543 Q485207 Q656801 Q899770 Q2297670 Q191384 Q7779 Q827525
(Q232,P463,c(Q43229)) (Q232,P463,c(Q874405)) (Q55,P463,c(Q43229)) (Q55,P463,c(Q874405)) (Q232,P463,c(Q43229)) (Q232,P463,c(Q874405))
[ANSWER]
['Q232', 'P463', {'concept': 'Q43229'}] ['Q232', 'P463', {'concept': 'Q874405'}] ['Q55', 'P463', {'concept': 'Q43229'}] ['Q55', 'P463', {'concept': 'Q874405'}] ['Q232', 'P463', {'concept': 'Q43229'}] ['Q232', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q232 property:P463 ?z } UNION { resource:Q232 property:P463 ?y } UNION { resource:Q22442862 property:P463 ?z } UNION { resource:Q22442862 property:P463 ?y } UNION { resource:Q232 property:P463 ?z } UNION { resource:Q232 property:P463 ?y } } . ?z rdf:type ontology:Q43229 . ?y rdf:type ontology:Q874405 }
Organisation of Islamic Cooperation Shanghai Cooperation Organisation International Finance Corporation International Centre for Settlement of Investment Disputes Central Asian Cooperation Organization International Bank for Reconstruction and Development Commonwealth of Independent States International Development Association
6 organizations and 2 social groups
['Kazakhstan', 'member of', {'concept': 'organization'}] ['Kazakhstan', 'member of', {'concept': 'social group'}] ['Netherlands', 'member of', {'concept': 'organization'}] ['Netherlands', 'member of', {'concept': 'social group'}] ['Kazakhstan', 'member of', {'concept': 'organization'}] ['Kazakhstan', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Kazakhstan property:member_of ?z } UNION { resource:Kazakhstan property:member_of ?y } UNION { resource:Netherlands property:member_of ?z } UNION { resource:Netherlands property:member_of ?y } UNION { resource:Kazakhstan property:member_of ?z } UNION { resource:Kazakhstan property:member_of ?y } } . ?z rdf:type ontology:organization . ?y rdf:type ontology:social_group }
[]