Simple Question (Direct)
Simple Question
Q879667
P39
Q12737077
USER
What were the positions held by Björn Jónsson ?
(Q879667,P39,c(Q12737077))
action filter_type
action find
entity Q879667
relation P39
type Q12737077
['Q879667', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q879667 property:P39 ?w . ?w rdf:type ontology:Q12737077 }
Björn Jónsson
action filter_type
action find
entity Björn Jónsson
relation position held
type occupation
['Björn Jónsson', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Björn_Jónsson property:position_held ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q19190022 Q21272959
SYSTEM
Prime Minister of Iceland, Member of the Althing
Q19190022 Q21272959
(Q879667,P39,c(Q12737077))
action filter_type
action find
entity Q879667
relation P39
type Q12737077
The positions held by Björn Jónsson were the [ANSWERS]
['Q879667', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q879667 property:P39 ?w . ?w rdf:type ontology:Q12737077 }
Prime Minister of Iceland Member of the Althing
The positions held by Björn Jónsson were the Prime Minister of Iceland and Member of the Althing
Prime Minister of Iceland Member of the Althing
action filter_type
action find
entity Björn Jónsson
relation position held
type occupation
['Björn Jónsson', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Björn_Jónsson property:position_held ?w . ?w rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q21272959
P361
Q11204
USER
Which legislature is that occupation a component of ?
(Q21272959,P361,c(Q11204))
action filter_type
action find
entity Q21272959
relation P361
type Q11204
['Q21272959', 'P361', {'concept': 'Q11204'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q11204 . resource:Q21272959 property:P361 ?d }
Member of the Althing
action filter_type
action find
entity Member of the Althing
relation part of
type legislature
['Member of the Althing', 'part of', {'concept': 'legislature'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:legislature . resource:Member_of_the_Althing property:part_of ?d }
[]
legislature
Clarification for simple ques.
Q21272959
SYSTEM
Did you mean Member of the Althing ?
Q19190022 Q21272959
(Q19190022,P361,c(Q11204)) (Q21272959,P361,c(Q11204))
[ANSWER]
['Q19190022', 'P361', {'concept': 'Q11204'}] ['Q21272959', 'P361', {'concept': 'Q11204'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q11204 . resource:Q21272959 property:P361 ?d }
Prime Minister of Iceland Member of the Althing
Did you mean Member of the Althing ?
Member of the Althing
['Prime Minister of Iceland', 'part of', {'concept': 'legislature'}] ['Member of the Althing', 'part of', {'concept': 'legislature'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:legislature . resource:Member_of_the_Althing property:part_of ?d }
[]
Simple Question (Coreferenced)
USER
Yes
(Q21272959,P361,c(Q11204))
['Q21272959', 'P361', {'concept': 'Q11204'}]
['Member of the Althing', 'part of', {'concept': 'legislature'}]
[]
Q131279
SYSTEM
Althing
Q131279
(Q21272959,P361,c(Q11204))
action filter_type
action find
entity Q21272959
relation P361
type Q11204
[ANSWER] is that occupation a component of
['Q21272959', 'P361', {'concept': 'Q11204'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q11204 . resource:Q21272959 property:P361 ?d }
Althing
Althing is that occupation a component of
Althing
action filter_type
action find
entity Member of the Althing
relation part of
type legislature
['Member of the Althing', 'part of', {'concept': 'legislature'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:legislature . resource:Member_of_the_Althing property:part_of ?d }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q131279
P194
Q15617994
USER
How many administrative territories have Althing as their council ?
(c(Q15617994),P194,Q131279)
action count
action filter_type
action find_reverse
entity Q131279
relation P194
type Q15617994
[{'concept': 'Q15617994'}, 'P194', 'Q131279']
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { ?u property:P194 resource:Q131279 . ?u rdf:type ontology:Q15617994 }
Althing
action count
action filter_type
action find_reverse
entity Althing
relation legislative body
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', 'Althing']
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { ?u property:legislative_body resource:Althing . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q189
(c(Q15617994),P194,Q131279)
action count
action filter_type
action find_reverse
entity Q131279
relation P194
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P194', 'Q131279']
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { ?u property:P194 resource:Q131279 . ?u rdf:type ontology:Q15617994 }
Iceland
1
action count
action filter_type
action find_reverse
entity Althing
relation legislative body
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', 'Althing']
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { ?u property:legislative_body resource:Althing . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q131279
P112
Q484652
USER
Which international organization was started by Althing ?
(c(Q484652),P112,Q131279)
action filter_type
action find_reverse
entity Q131279
relation P112
type Q484652
[{'concept': 'Q484652'}, 'P112', 'Q131279']
SELECT DISTINCT ?f WHERE { ?f property:P112 resource:Q131279 . ?f rdf:type ontology:Q484652 }
Althing
action filter_type
action find_reverse
entity Althing
relation founder
type international organization
[{'concept': 'international organization'}, 'founder', 'Althing']
SELECT DISTINCT ?f WHERE { ?f property:founder resource:Althing . ?f rdf:type ontology:international_organization }
[]
international organization
Q15837827
SYSTEM
Baltic Sea Parliamentary Conference
Q15837827
(c(Q484652),P112,Q131279)
action filter_type
action find_reverse
entity Q131279
relation P112
type Q484652
[ANSWER] was started by Althing
[{'concept': 'Q484652'}, 'P112', 'Q131279']
SELECT DISTINCT ?f WHERE { ?f property:P112 resource:Q131279 . ?f rdf:type ontology:Q484652 }
Baltic Sea Parliamentary Conference
Baltic Sea Parliamentary Conference was started by Althing
Baltic Sea Parliamentary Conference
action filter_type
action find_reverse
entity Althing
relation founder
type international organization
[{'concept': 'international organization'}, 'founder', 'Althing']
SELECT DISTINCT ?f WHERE { ?f property:founder resource:Althing . ?f rdf:type ontology:international_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15837827
P159
Q56061
USER
Which administrative territory is the headquarter location of that international organization ?
(Q15837827,P159,c(Q56061))
action filter_type
action find
entity Q15837827
relation P159
type Q56061
['Q15837827', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q56061 . resource:Q15837827 property:P159 ?z }
Baltic Sea Parliamentary Conference
action filter_type
action find
entity Baltic Sea Parliamentary Conference
relation headquarters location
type administrative territorial entity
['Baltic Sea Parliamentary Conference', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:administrative_territorial_entity . resource:Baltic_Sea_Parliamentary_Conference property:headquarters_location ?z }
[]
administrative territorial entity
Q1709
SYSTEM
Schwerin
Q1709
(Q15837827,P159,c(Q56061))
action filter_type
action find
entity Q15837827
relation P159
type Q56061
[ANSWER] is the headquarter location of that international organization
['Q15837827', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q56061 . resource:Q15837827 property:P159 ?z }
Schwerin
Schwerin is the headquarter location of that international organization
Schwerin
action filter_type
action find
entity Baltic Sea Parliamentary Conference
relation headquarters location
type administrative territorial entity
['Baltic Sea Parliamentary Conference', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:administrative_territorial_entity . resource:Baltic_Sea_Parliamentary_Conference property:headquarters_location ?z }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q5450896 Q21272959
P1001 P17
Q15617994
USER
Which administrative territories apply to jurisdiction of Member of the Althing or are Finnrevet situated in ?
OR((Q21272959,P1001,c(Q15617994)), (Q5450896,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q21272959
relation P1001
action find
entity Q5450896
relation P17
type Q15617994
{'OR': [['Q21272959', 'P1001', {'concept': 'Q15617994'}], ['Q5450896', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q21272959 property:P1001 ?n } UNION { resource:Q5450896 property:P17 ?n } } . ?n rdf:type ontology:Q15617994 }
Finnrevet Member of the Althing
action filter_type
action union
action find
entity Member of the Althing
relation applies to jurisdiction
action find
entity Finnrevet
relation country
type designation for an administrative territorial entity
{'OR': [['Member of the Althing', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}], ['Finnrevet', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Member_of_the_Althing property:applies_to_jurisdiction ?n } UNION { resource:Finnrevet property:country ?n } } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q189 Q34
SYSTEM
Iceland, Sweden
Q189 Q34
OR((Q21272959,P1001,c(Q15617994)), (Q5450896,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q21272959
relation P1001
action find
entity Q5450896
relation P17
type Q15617994
[ANSWERS] apply to jurisdiction of Member of the Althing or are Finnrevet situated in
{'OR': [['Q21272959', 'P1001', {'concept': 'Q15617994'}], ['Q5450896', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q21272959 property:P1001 ?n } UNION { resource:Q5450896 property:P17 ?n } } . ?n rdf:type ontology:Q15617994 }
Iceland Sweden
Iceland and Sweden apply to jurisdiction of Member of the Althing or are Finnrevet situated in
Iceland Sweden
action filter_type
action union
action find
entity Member of the Althing
relation applies to jurisdiction
action find
entity Finnrevet
relation country
type designation for an administrative territorial entity
{'OR': [['Member of the Althing', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}], ['Finnrevet', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Member_of_the_Althing property:applies_to_jurisdiction ?n } UNION { resource:Finnrevet property:country ?n } } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P495
Q15617994 Q2031291
USER
Which administrative territories are the origin of around the same number of releases as that administrative territory ?
(c(Q2031291),P495,c(Q15617994))
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT * WHERE { ?z property:P495 ?y . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 }
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT * WHERE { ?z property:country_of_origin ?y . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity release
Comparative|More/Less|Single entity type|Clarification
Q34
SYSTEM
Did you mean Sweden ?
(c(Q2031291),P495,c(Q15617994))
[ANSWER]
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT * WHERE { ?z property:P495 ?y . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 }
Did you mean Sweden ?
Sweden
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT * WHERE { ?z property:country_of_origin ?y . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q2031291),P495,c(Q15617994))
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
Q38 Q155 Q230
SYSTEM
Italy, Brazil, Georgia
Q805 Q804 Q801 Q800 Q1462 Q419 Q668 Q414 Q142 Q55 Q145 Q12536 Q262 Q148 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q29 Q672 Q176 Q863 Q869 Q953
(c(Q2031291),P495,c(Q15617994))
[ANSWERS] are the origin of around the same number of releases as that administrative territory
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT * WHERE { ?z property:P495 ?y . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 }
Yemen Panama Israel Costa Rica Sardinia Peru India Argentina France Netherlands United Kingdom Abbasid caliphate Algeria People's Republic of China Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile 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 Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Spain Tuvalu Quebec Tajikistan Thailand Zambia
Italy, Brazil and Georgia are the origin of around the same number of releases as that administrative territory
Italy Brazil Georgia
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT * WHERE { ?z property:country_of_origin ?y . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q38
P127
Q3947 Q2668072
USER
How many houses and collections belongs to Italy ?
(c(Q3947),P127,Q38) (c(Q2668072),P127,Q38)
action count
action union
action filter_type
action find_reverse
entity Q38
relation P127
type Q3947
action filter_type
action find_reverse
entity Q38
relation P127
type Q2668072
[{'concept': 'Q3947'}, 'P127', 'Q38'] [{'concept': 'Q2668072'}, 'P127', 'Q38']
SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { { ?y property:P127 resource:Q38 . ?y rdf:type ontology:Q3947 } UNION { ?y property:P127 resource:Q38 . ?y rdf:type ontology:Q2668072 } }
Italy
action count
action union
action filter_type
action find_reverse
entity Italy
relation owned by
type house
action filter_type
action find_reverse
entity Italy
relation owned by
type collection
[{'concept': 'house'}, 'owned by', 'Italy'] [{'concept': 'collection'}, 'owned by', 'Italy']
SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { { ?y property:owned_by resource:Italy . ?y rdf:type ontology:house } UNION { ?y property:owned_by resource:Italy . ?y rdf:type ontology:collection } }
[]
house collection
SYSTEM
4 houses and 1 collections
Q774654 Q733389 Q1952743 Q6567344 Q4012532
(c(Q3947),P127,Q38) (c(Q2668072),P127,Q38)
action count
action union
action filter_type
action find_reverse
entity Q38
relation P127
type Q3947
action filter_type
action find_reverse
entity Q38
relation P127
type Q2668072
[ANSWER]
[{'concept': 'Q3947'}, 'P127', 'Q38'] [{'concept': 'Q2668072'}, 'P127', 'Q38']
SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { { ?y property:P127 resource:Q38 . ?y rdf:type ontology:Q3947 } UNION { ?y property:P127 resource:Q38 . ?y rdf:type ontology:Q2668072 } }
Villa Doria Pamphili Villa Medici Hôtel de Galliffet Rolandstraße 43 Villa Schifanoia
4 houses and 1 collections
action count
action union
action filter_type
action find_reverse
entity Italy
relation owned by
type house
action filter_type
action find_reverse
entity Italy
relation owned by
type collection
[{'concept': 'house'}, 'owned by', 'Italy'] [{'concept': 'collection'}, 'owned by', 'Italy']
SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { { ?y property:owned_by resource:Italy . ?y rdf:type ontology:house } UNION { ?y property:owned_by resource:Italy . ?y rdf:type ontology:collection } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q18344128 Q189
P530 P17
Q15617994
USER
Which administrative territories have diplomatic relationships with Iceland or are Kunturwasa present in ?
OR((Q189,P530,c(Q15617994)), (Q18344128,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q189
relation P530
action find
entity Q18344128
relation P17
type Q15617994
{'OR': [['Q189', 'P530', {'concept': 'Q15617994'}], ['Q18344128', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q15617994 . { { resource:Q189 property:P530 ?a } UNION { resource:Q18344128 property:P17 ?a } } }
Kunturwasa Iceland
action filter_type
action union
action find
entity Iceland
relation diplomatic relation
action find
entity Kunturwasa
relation country
type designation for an administrative territorial entity
{'OR': [['Iceland', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Kunturwasa', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Iceland property:diplomatic_relation ?a } UNION { resource:Kunturwasa property:country ?a } } }
[]
designation for an administrative territorial entity
Q419 Q38
SYSTEM
Peru, Italy
Q419 Q38
OR((Q189,P530,c(Q15617994)), (Q18344128,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q189
relation P530
action find
entity Q18344128
relation P17
type Q15617994
[ANSWERS] have diplomatic relationships with Iceland or are Kunturwasa present in
{'OR': [['Q189', 'P530', {'concept': 'Q15617994'}], ['Q18344128', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q15617994 . { { resource:Q189 property:P530 ?a } UNION { resource:Q18344128 property:P17 ?a } } }
Peru Italy
Peru and Italy have diplomatic relationships with Iceland or are Kunturwasa present in
Peru Italy
action filter_type
action union
action find
entity Iceland
relation diplomatic relation
action find
entity Kunturwasa
relation country
type designation for an administrative territorial entity
{'OR': [['Iceland', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Kunturwasa', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Iceland property:diplomatic_relation ?a } UNION { resource:Kunturwasa property:country ?a } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2487085 Q21272959
P17
Q15617994
USER
Which administrative territories are Member of the Althing or Gayny located in ?
OR((Q21272959,P17,c(Q15617994)), (Q2487085,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q21272959
relation P17
action find
entity Q2487085
relation P17
type Q15617994
{'OR': [['Q21272959', 'P17', {'concept': 'Q15617994'}], ['Q2487085', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?q ) { ( resource:Q21272959 ) ( resource:Q2487085 ) } . ?q property:P17 ?e } . ?e rdf:type ontology:Q15617994 }
Gayny Member of the Althing
action filter_type
action union
action find
entity Member of the Althing
relation country
action find
entity Gayny
relation country
type designation for an administrative territorial entity
{'OR': [['Member of the Althing', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Gayny', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?q ) { ( resource:Member_of_the_Althing ) ( resource:Gayny ) } . ?q property:country ?e } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q159 Q189
SYSTEM
Russia, Iceland
Q159 Q189
OR((Q21272959,P17,c(Q15617994)), (Q2487085,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q21272959
relation P17
action find
entity Q2487085
relation P17
type Q15617994
Member of the Althing or Gayny are located in the [ANSWERS]
{'OR': [['Q21272959', 'P17', {'concept': 'Q15617994'}], ['Q2487085', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?q ) { ( resource:Q21272959 ) ( resource:Q2487085 ) } . ?q property:P17 ?e } . ?e rdf:type ontology:Q15617994 }
Russia Iceland
Member of the Althing or Gayny are located in the Russia and Iceland
Russia Iceland
action filter_type
action union
action find
entity Member of the Althing
relation country
action find
entity Gayny
relation country
type designation for an administrative territorial entity
{'OR': [['Member of the Althing', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Gayny', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?q ) { ( resource:Member_of_the_Althing ) ( resource:Gayny ) } . ?q property:country ?e } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q159
P463
Q43229 Q35749
USER
How many organizations and parliaments were Russia a member of ?
(Q159,P463,c(Q43229)) (Q159,P463,c(Q35749))
action count
action union
action filter_type
action find
entity Q159
relation P463
type Q43229
action filter_type
action find
entity Q159
relation P463
type Q35749
['Q159', 'P463', {'concept': 'Q43229'}] ['Q159', 'P463', {'concept': 'Q35749'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { VALUES ( ?x ) { ( ontology:Q43229 ) ( ontology:Q35749 ) } . ?t rdf:type ?x }
Russia
action count
action union
action filter_type
action find
entity Russia
relation member of
type organization
action filter_type
action find
entity Russia
relation member of
type parliament
['Russia', 'member of', {'concept': 'organization'}] ['Russia', 'member of', {'concept': 'parliament'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { VALUES ( ?x ) { ( ontology:organization ) ( ontology:parliament ) } . ?t rdf:type ?x }
[]
organization parliament
SYSTEM
9 organizations and 1 parliaments
Q191384 Q37470 Q7779 Q656801 Q380340 Q485207 Q243630 Q170481 Q7825 Q827525
(Q159,P463,c(Q43229)) (Q159,P463,c(Q35749))
action count
action union
action filter_type
action find
entity Q159
relation P463
type Q43229
action filter_type
action find
entity Q159
relation P463
type Q35749
[ANSWER]
['Q159', 'P463', {'concept': 'Q43229'}] ['Q159', 'P463', {'concept': 'Q35749'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { VALUES ( ?x ) { ( ontology:Q43229 ) ( ontology:Q35749 ) } . ?t rdf:type ?x }
International Bank for Reconstruction and Development United Nations Security Council Commonwealth of Independent States International Finance Corporation Organization of the Black Sea Economic Cooperation Shanghai Cooperation Organisation BRICS Asia-Pacific Economic Cooperation World Trade Organization International Development Association
9 organizations and 1 parliaments
action count
action union
action filter_type
action find
entity Russia
relation member of
type organization
action filter_type
action find
entity Russia
relation member of
type parliament
['Russia', 'member of', {'concept': 'organization'}] ['Russia', 'member of', {'concept': 'parliament'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { VALUES ( ?x ) { ( ontology:organization ) ( ontology:parliament ) } . ?t rdf:type ?x }
[]