Simple Question (Direct)
Simple Question
Q3703326
P264
Q334453
USER
Which division is the record brand of David Sandström ?
(Q3703326,P264,c(Q334453))
action filter_type
action find
entity Q3703326
relation P264
type Q334453
['Q3703326', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?u WHERE { resource:Q3703326 property:P264 ?u . ?u rdf:type ontology:Q334453 }
David Sandström
action filter_type
action find
entity David Sandström
relation record label
type division
['David Sandström', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?u WHERE { resource:David_Sandström property:record_label ?u . ?u rdf:type ontology:division }
[]
division
Q1016801
SYSTEM
Burning Heart Records
Q1016801
(Q3703326,P264,c(Q334453))
action filter_type
action find
entity Q3703326
relation P264
type Q334453
The [ANSWER] is the record brand of David Sandström
['Q3703326', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?u WHERE { resource:Q3703326 property:P264 ?u . ?u rdf:type ontology:Q334453 }
Burning Heart Records
The Burning Heart Records is the record brand of David Sandström
Burning Heart Records
action filter_type
action find
entity David Sandström
relation record label
type division
['David Sandström', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?u WHERE { resource:David_Sandström property:record_label ?u . ?u rdf:type ontology:division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1016801
P159
Q15700808
USER
Where is the head office for that division located ?
(Q1016801,P159,c(Q15700808))
action filter_type
action find
entity Q1016801
relation P159
type Q15700808
['Q1016801', 'P159', {'concept': 'Q15700808'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15700808 . resource:Q1016801 property:P159 ?i }
Burning Heart Records
action filter_type
action find
entity Burning Heart Records
relation headquarters location
type urban unit definition
['Burning Heart Records', 'headquarters location', {'concept': 'urban unit definition'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:urban_unit_definition . resource:Burning_Heart_Records property:headquarters_location ?i }
[]
urban unit definition
Q25732
SYSTEM
Örebro
Q25732
(Q1016801,P159,c(Q15700808))
action filter_type
action find
entity Q1016801
relation P159
type Q15700808
The head office for that division is located in [ANSWER]
['Q1016801', 'P159', {'concept': 'Q15700808'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15700808 . resource:Q1016801 property:P159 ?i }
Örebro
The head office for that division is located in Örebro
Örebro
action filter_type
action find
entity Burning Heart Records
relation headquarters location
type urban unit definition
['Burning Heart Records', 'headquarters location', {'concept': 'urban unit definition'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:urban_unit_definition . resource:Burning_Heart_Records property:headquarters_location ?i }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1016801
P272
Q838948
USER
Which work of art had that division as the production company ?
(c(Q838948),P272,Q25732)
action filter_type
action find_reverse
entity Q1016801
relation P272
type Q838948
[{'concept': 'Q838948'}, 'P272', 'Q25732']
SELECT DISTINCT ?x WHERE { ?x property:P272 resource:Q1016801 . ?x rdf:type ontology:Q838948 }
Burning Heart Records
action filter_type
action find_reverse
entity Burning Heart Records
relation production company
type work of art
[{'concept': 'work of art'}, 'production company', 'Örebro']
SELECT DISTINCT ?x WHERE { ?x property:production_company resource:Burning_Heart_Records . ?x rdf:type ontology:work_of_art }
[]
work of art
Q3931671
SYSTEM
Refused Are Fucking Dead
Q3931671
(c(Q838948),P272,Q25732)
action filter_type
action find_reverse
entity Q1016801
relation P272
type Q838948
[ANSWER] had that division as the production company
[{'concept': 'Q838948'}, 'P272', 'Q25732']
SELECT DISTINCT ?x WHERE { ?x property:P272 resource:Q1016801 . ?x rdf:type ontology:Q838948 }
Refused Are Fucking Dead
Refused Are Fucking Dead had that division as the production company
Refused Are Fucking Dead
action filter_type
action find_reverse
entity Burning Heart Records
relation production company
type work of art
[{'concept': 'work of art'}, 'production company', 'Örebro']
SELECT DISTINCT ?x WHERE { ?x property:production_company resource:Burning_Heart_Records . ?x rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1016801
P495
Q15617994
USER
Where did that division originate ?
(Q3931671,P495,c(Q15617994))
action filter_type
action find
entity Q1016801
relation P495
type Q15617994
['Q3931671', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q1016801 property:P495 ?c . ?c rdf:type ontology:Q15617994 }
Burning Heart Records
action filter_type
action find
entity Burning Heart Records
relation country of origin
type designation for an administrative territorial entity
['Refused Are Fucking Dead', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Burning_Heart_Records property:country_of_origin ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q34
SYSTEM
Sweden
Q34
(Q3931671,P495,c(Q15617994))
action filter_type
action find
entity Q1016801
relation P495
type Q15617994
That division originated in [ANSWER]
['Q3931671', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q1016801 property:P495 ?c . ?c rdf:type ontology:Q15617994 }
Sweden
That division originated in Sweden
Sweden
action filter_type
action find
entity Burning Heart Records
relation country of origin
type designation for an administrative territorial entity
['Refused Are Fucking Dead', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Burning_Heart_Records property:country_of_origin ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7945731 Q3703326
P27
Q15617994
USER
Which administrative territories do David Sandström or W. J. M. Lokubandara belong to ?
OR((Q3703326,P27,c(Q15617994)), (Q7945731,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3703326
relation P27
action find
entity Q7945731
relation P27
type Q15617994
{'OR': [['Q3703326', 'P27', {'concept': 'Q15617994'}], ['Q7945731', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q3703326 property:P27 ?o } UNION { resource:Q7945731 property:P27 ?o } } . ?o rdf:type ontology:Q15617994 }
W. J. M. Lokubandara David Sandström
action filter_type
action union
action find
entity David Sandström
relation country of citizenship
action find
entity W. J. M. Lokubandara
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['David Sandström', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['W. J. M. Lokubandara', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:David_Sandström property:country_of_citizenship ?o } UNION { resource:W._J._M._Lokubandara property:country_of_citizenship ?o } } . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q854 Q34
SYSTEM
Sri Lanka, Sweden
Q854 Q34
OR((Q3703326,P27,c(Q15617994)), (Q7945731,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3703326
relation P27
action find
entity Q7945731
relation P27
type Q15617994
David Sandström or W. J. M. Lokubandara belong to the [ANSWERS]
{'OR': [['Q3703326', 'P27', {'concept': 'Q15617994'}], ['Q7945731', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q3703326 property:P27 ?o } UNION { resource:Q7945731 property:P27 ?o } } . ?o rdf:type ontology:Q15617994 }
Sri Lanka Sweden
David Sandström or W. J. M. Lokubandara belong to the Sri Lanka and Sweden
Sri Lanka Sweden
action filter_type
action union
action find
entity David Sandström
relation country of citizenship
action find
entity W. J. M. Lokubandara
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['David Sandström', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['W. J. M. Lokubandara', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:David_Sandström property:country_of_citizenship ?o } UNION { resource:W._J._M._Lokubandara property:country_of_citizenship ?o } } . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P495
Q15617994 Q2031291
USER
How many administrative territories are the countries of origin of lesser number of releases than that administrative territory ?
(c(Q2031291),P495,c(Q15617994))
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) 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 ( COUNT ( * ) AS ?x ) 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|Count over 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 ( COUNT ( * ) AS ?x ) 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 ( COUNT ( * ) AS ?x ) WHERE { ?z property:country_of_origin ?y . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (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'}]
[]
SYSTEM
166
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 Q928 Q39 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))
[ANSWER]
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) 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 Philippines Switzerland 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
166
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:country_of_origin ?y . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3735298 Q25732
P2695 P1376
Q914262
USER
Which administrative territory of Swedens have Örebro as their capital or are famous for having eveite ?
OR((Q25732,P1376,c(Q914262)), (Q3735298,P2695,c(Q914262)))
action filter_type
action union
action find
entity Q25732
relation P1376
action find
entity Q3735298
relation P2695
type Q914262
{'OR': [['Q25732', 'P1376', {'concept': 'Q914262'}], ['Q3735298', 'P2695', {'concept': 'Q914262'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q25732 property:P1376 ?e } UNION { resource:Q3735298 property:P2695 ?e } } . ?e rdf:type ontology:Q914262 }
eveite Örebro
action filter_type
action union
action find
entity Örebro
relation capital of
action find
entity eveite
relation type locality
type administrative territorial entity of Sweden
{'OR': [['Örebro', 'capital of', {'concept': 'administrative territorial entity of Sweden'}], ['eveite', 'type locality', {'concept': 'administrative territorial entity of Sweden'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Örebro property:capital_of ?e } UNION { resource:eveite property:type_locality ?e } } . ?e rdf:type ontology:administrative_territorial_entity_of_Sweden }
[]
administrative territorial entity of Sweden
Q297718 Q1002624
SYSTEM
Örebro Municipality, Långban
Q297718 Q1002624
OR((Q25732,P1376,c(Q914262)), (Q3735298,P2695,c(Q914262)))
action filter_type
action union
action find
entity Q25732
relation P1376
action find
entity Q3735298
relation P2695
type Q914262
[ANSWERS] have Örebro as their capital or are famous for having eveite
{'OR': [['Q25732', 'P1376', {'concept': 'Q914262'}], ['Q3735298', 'P2695', {'concept': 'Q914262'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q25732 property:P1376 ?e } UNION { resource:Q3735298 property:P2695 ?e } } . ?e rdf:type ontology:Q914262 }
Örebro Municipality Långban
Örebro Municipality and Långban have Örebro as their capital or are famous for having eveite
Örebro Municipality Långban
action filter_type
action union
action find
entity Örebro
relation capital of
action find
entity eveite
relation type locality
type administrative territorial entity of Sweden
{'OR': [['Örebro', 'capital of', {'concept': 'administrative territorial entity of Sweden'}], ['eveite', 'type locality', {'concept': 'administrative territorial entity of Sweden'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Örebro property:capital_of ?e } UNION { resource:eveite property:type_locality ?e } } . ?e rdf:type ontology:administrative_territorial_entity_of_Sweden }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q297718 Q1002624
P17
Q15617994
USER
Which administrative territories are those administrative territory of Swedens a part of ?
(Q297718,P17,c(Q15617994)) (Q1002624,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q297718', 'P17', {'concept': 'Q15617994'}] ['Q1002624', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { ?t property:P17 ?e . VALUES ( ?t ) { ( resource:Q297718 ) ( resource:Q1002624 ) } . ?e rdf:type ontology:Q15617994 }
Örebro Municipality Långban
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Örebro Municipality', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Långban', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?t property:country ?e . VALUES ( ?t ) { ( resource:Örebro_Municipality ) ( resource:Långban ) } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q34 Q34
SYSTEM
Sweden
Q34 Q34
(Q297718,P17,c(Q15617994)) (Q1002624,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
Those administrative territory of [ANSWER]s a part of are between [ANSWER] and [ANSWER]
['Q297718', 'P17', {'concept': 'Q15617994'}] ['Q1002624', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { ?t property:P17 ?e . VALUES ( ?t ) { ( resource:Q297718 ) ( resource:Q1002624 ) } . ?e rdf:type ontology:Q15617994 }
Sweden Sweden
Those administrative territory of Swedens a part of are between Sweden and Sweden
Sweden Sweden
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Örebro Municipality', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Långban', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?t property:country ?e . VALUES ( ?t ) { ( resource:Örebro_Municipality ) ( resource:Långban ) } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q25732
P190
Q56061
USER
Which administrative territory is partner town of Örebro ?
(Q25732,P190,c(Q56061))
action filter_type
action find
entity Q25732
relation P190
type Q56061
['Q25732', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q25732 property:P190 ?h . ?h rdf:type ontology:Q56061 }
Örebro
action filter_type
action find
entity Örebro
relation sister city
type administrative territorial entity
['Örebro', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Örebro property:sister_city ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1019452
SYSTEM
Stykkishólmur
Q1019452
(Q25732,P190,c(Q56061))
action filter_type
action find
entity Q25732
relation P190
type Q56061
[ANSWER] is partner town of Örebro
['Q25732', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q25732 property:P190 ?h . ?h rdf:type ontology:Q56061 }
Stykkishólmur
Stykkishólmur is partner town of Örebro
Stykkishólmur
action filter_type
action find
entity Örebro
relation sister city
type administrative territorial entity
['Örebro', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Örebro property:sister_city ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3130
Q56061
USER
And what about Sydney?
(Q3130,P190,c(Q56061))
action filter_type
action find
entity Q3130
relation P190
type Q56061
['Q3130', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q3130 property:P190 ?m . ?m rdf:type ontology:Q56061 }
Sydney
action filter_type
action find
entity Sydney
relation sister city
type administrative territorial entity
['Sydney', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Sydney property:sister_city ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q490 Q2044 Q1489
SYSTEM
Milan, Florence, Mexico City
Q206895 Q987 Q1489 Q490 Q62 Q2044 Q9310 Q72259
(Q3130,P190,c(Q56061))
action filter_type
action find
entity Q3130
relation P190
type Q56061
[ANSWERS]
['Q3130', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q3130 property:P190 ?m . ?m rdf:type ontology:Q56061 }
Hakkâri New Delhi Mexico City Milan San Francisco Florence Dili Portsmouth
Milan Florence Mexico City
action filter_type
action find
entity Sydney
relation sister city
type administrative territorial entity
['Sydney', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Sydney property:sister_city ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q16110
P194
Q701632 Q11204 Q15617994
USER
Which administrative territories have approximately the same number of municipal councils and legislatures as their representative body as region of Italy ?
(c(Q15617994),P194,c(Q701632)|c(Q11204))
action approx
action union
action find_tuple_counts
relation P194
type Q15617994
type Q701632
action find_tuple_counts
relation P194
type Q15617994
type Q11204
action count
action filter_multi_types
action find
entity Q16110
relation P194
type Q701632
type Q11204
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q701632'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) ?m WHERE { { ?m rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q701632 . ?m property:P194 ?o } UNION { ?m property:P194 ?o . ?m rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q11204 } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { resource:Q16110 property:P194 ?l . { { ?l rdf:type ontology:Q701632 } UNION { ?l rdf:type ontology:Q11204 } } } } . FILTER ( ?z = ?n ) }
region of Italy
action approx
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type municipal council
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type legislature
action count
action filter_multi_types
action find
entity region of Italy
relation legislative body
type municipal council
type legislature
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'municipal council'}, {'concept': 'legislature'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) ?m WHERE { { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:municipal_council . ?m property:legislative_body ?o } UNION { ?m property:legislative_body ?o . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:legislature } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { resource:region_of_Italy property:legislative_body ?l . { { ?l rdf:type ontology:municipal_council } UNION { ?l rdf:type ontology:legislature } } } } . FILTER ( ?z = ?n ) }
[]
municipal council legislature designation for an administrative territorial entity
Q38 Q155 Q55
SYSTEM
Italy, Brazil, Netherlands
Q804 Q801 Q419 Q668 Q414 Q142 Q55 Q1948 Q145 Q717 Q252320 Q187035 Q3361 Q657 Q258 Q1979 Q45 Q41 Q155 Q4628 Q794 Q153529 Q1965 Q242 Q1974 Q33 Q32 Q36 Q34 Q929 Q39 Q38 Q739 Q3685392 Q733 Q29999 Q854 Q153091 Q104192 Q603676 Q747074 Q72449 Q233 Q238 Q20 Q28 Q29 Q783 Q2009 Q2007 Q184 Q2003 Q1904 Q228 Q224 Q223 Q222 Q221 Q815731 Q96 Q229 Q1989 Q697 Q298 Q754 Q750 Q212 Q213 Q211 Q6465 Q214 Q215 Q218 Q219 Q16110 Q694594 Q79 Q77 Q811 Q1011 Q1013 Q12620 Q176 Q1951 Q1952 Q2023 Q869
(c(Q15617994),P194,c(Q701632)|c(Q11204))
action approx
action union
action find_tuple_counts
relation P194
type Q15617994
type Q701632
action find_tuple_counts
relation P194
type Q15617994
type Q11204
action count
action filter_multi_types
action find
entity Q16110
relation P194
type Q701632
type Q11204
[ANSWERS] have approximately the same number of municipal councils and legislatures as their representative body as region of Italy
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q701632'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) ?m WHERE { { ?m rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q701632 . ?m property:P194 ?o } UNION { ?m property:P194 ?o . ?m rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q11204 } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { resource:Q16110 property:P194 ?l . { { ?l rdf:type ontology:Q701632 } UNION { ?l rdf:type ontology:Q11204 } } } } . FILTER ( ?z = ?n ) }
Panama Israel Peru India Argentina France Netherlands Manitoba United Kingdom Venezuela Pleinfeld Principality of Albania Doubs Chad South Africa Prince Edward Island Portugal Greece Brazil Faroe Islands Iran Duchy of Milan New Brunswick Belize British Columbia Finland Luxembourg Poland Sweden Central African Republic Switzerland Italy Colombia Municipality of Monaco Paraguay Kingdom of the Netherlands Sri Lanka Duchy of Prussia Kleinmachnow District of Keewatin comune of Italy Roccarainola Malta San Marino Norway Hungary Spain Honduras Yukon Northwest Territories Belarus Newfoundland and Labrador Ontario Andorra Croatia Greenland Albania Republic of Macedonia Principality of Bulgaria Mexico Cyprus Saskatchewan Nauru Chile Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia department of France Slovakia Slovenia Romania Bulgaria region of Italy Bremen-Verden Egypt Uruguay Nicaragua Cape Verde Lesotho Mayenne Quebec Alberta Nova Scotia Nunavut Thailand
Italy, Brazil and Netherlands have approximately the same number of municipal councils and legislatures as their representative body as region of Italy
Italy Brazil Netherlands
action approx
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type municipal council
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type legislature
action count
action filter_multi_types
action find
entity region of Italy
relation legislative body
type municipal council
type legislature
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'municipal council'}, {'concept': 'legislature'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) ?m WHERE { { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:municipal_council . ?m property:legislative_body ?o } UNION { ?m property:legislative_body ?o . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:legislature } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { resource:region_of_Italy property:legislative_body ?l . { { ?l rdf:type ontology:municipal_council } UNION { ?l rdf:type ontology:legislature } } } } . FILTER ( ?z = ?n ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q236
P194
Q701632 Q11204 Q15617994
USER
And also tell me about Montenegro?
(c(Q15617994),P194,c(Q701632)|c(Q11204))
action approx
action union
action find_tuple_counts
relation P194
type Q15617994
type Q701632
action find_tuple_counts
relation P194
type Q15617994
type Q11204
action count
action filter_multi_types
action find
entity Q236
relation P194
type Q701632
type Q11204
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q701632'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { resource:Q236 property:P194 ?y . { { ?y rdf:type ontology:Q701632 } UNION { ?y rdf:type ontology:Q11204 } } } } . FILTER ( ?q = ?z ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) ?f WHERE { { ?f property:P194 ?m . ?m rdf:type ontology:Q11204 . ?f rdf:type ontology:Q15617994 } UNION { ?f property:P194 ?m . ?m rdf:type ontology:Q701632 . ?f rdf:type ontology:Q15617994 } } GROUP BY ?f } }
Montenegro
action approx
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type municipal council
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type legislature
action count
action filter_multi_types
action find
entity Montenegro
relation legislative body
type municipal council
type legislature
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'municipal council'}, {'concept': 'legislature'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { resource:Montenegro property:legislative_body ?y . { { ?y rdf:type ontology:municipal_council } UNION { ?y rdf:type ontology:legislature } } } } . FILTER ( ?q = ?z ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) ?f WHERE { { ?f property:legislative_body ?m . ?m rdf:type ontology:legislature . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?f property:legislative_body ?m . ?m rdf:type ontology:municipal_council . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?f } }
[]
municipal council legislature designation for an administrative territorial entity
Q30 Q159 Q148
SYSTEM
United States of America, Russia, People's Republic of China
Q805 Q800 Q1462 Q1250 Q2806757 Q148 Q189 Q786 Q710 Q1460 Q159 Q43 Q792 Q779011 Q889 Q884 Q958 Q12574 Q12761 Q244 Q31 Q30 Q37 Q1447 Q1282 Q1284 Q3389 Q236 Q12661 Q1273 Q1279 Q1049 Q1458 Q227 Q347 Q17 Q902 Q191 Q114 Q1210 Q917 Q736 Q34020 Q686 Q760 Q574 Q1222 Q774 Q1016 Q27 Q1243 Q12626 Q672 Q1237
(c(Q15617994),P194,c(Q701632)|c(Q11204))
action approx
action union
action find_tuple_counts
relation P194
type Q15617994
type Q701632
action find_tuple_counts
relation P194
type Q15617994
type Q11204
action count
action filter_multi_types
action find
entity Q236
relation P194
type Q701632
type Q11204
[ANSWERS]
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q701632'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { resource:Q236 property:P194 ?y . { { ?y rdf:type ontology:Q701632 } UNION { ?y rdf:type ontology:Q11204 } } } } . FILTER ( ?q = ?z ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) ?f WHERE { { ?f property:P194 ?m . ?m rdf:type ontology:Q11204 . ?f rdf:type ontology:Q15617994 } UNION { ?f property:P194 ?m . ?m rdf:type ontology:Q701632 . ?f rdf:type ontology:Q15617994 } } GROUP BY ?f } }
Yemen Costa Rica Sardinia Friuli–Venezia Giulia 105 Mile Post Indian Reserve No. 2 People's Republic of China Iceland Dominican Republic Kiribati Sicily Russia Turkey El Salvador Principality of Montenegro Afghanistan South Korea South Sudan Loiret Seine-Saint-Denis Barbados Belgium United States of America Lithuania Apulia Lazio Abruzzo Finistère Montenegro Nord Tuscany Marche Sudan Calabria Azerbaijan Liechtenstein Japan Bangladesh Estonia Kenya Lombardy Bhutan Ecuador Niue Vanuatu Saint Lucia East Timor Aosta Valley Guatemala Libya Ireland Veneto Meurthe-et-Moselle Tuvalu Trentino-South Tyrol
United States of America Russia People's Republic of China
action approx
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type municipal council
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type legislature
action count
action filter_multi_types
action find
entity Montenegro
relation legislative body
type municipal council
type legislature
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'municipal council'}, {'concept': 'legislature'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { resource:Montenegro property:legislative_body ?y . { { ?y rdf:type ontology:municipal_council } UNION { ?y rdf:type ontology:legislature } } } } . FILTER ( ?q = ?z ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) ?f WHERE { { ?f property:legislative_body ?m . ?m rdf:type ontology:legislature . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?f property:legislative_body ?m . ?m rdf:type ontology:municipal_council . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?f } }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P530
Q15617994 Q1048835
USER
How many administrative territories or political territories have a diplomatic relationship with that administrative territory ?
(Q148,P530,c(Q15617994)) (Q148,P530,c(Q1048835)) (Q30,P530,c(Q15617994)) (Q30,P530,c(Q1048835)) (Q159,P530,c(Q15617994)) (Q159,P530,c(Q1048835)) (Q148,P530,c(Q15617994)) (Q148,P530,c(Q1048835))
['Q148', 'P530', {'concept': 'Q15617994'}] ['Q148', 'P530', {'concept': 'Q1048835'}] ['Q30', 'P530', {'concept': 'Q15617994'}] ['Q30', 'P530', {'concept': 'Q1048835'}] ['Q159', 'P530', {'concept': 'Q15617994'}] ['Q159', 'P530', {'concept': 'Q1048835'}] ['Q148', 'P530', {'concept': 'Q15617994'}] ['Q148', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Q10956965 property:P530 ?z } UNION { resource:Q10956965 property:P530 ?y } UNION { resource:Q30 property:P530 ?z } UNION { resource:Q30 property:P530 ?y } UNION { resource:Q24058892 property:P530 ?z } UNION { resource:Q24058892 property:P530 ?y } UNION { resource:Q10956965 property:P530 ?z } UNION { resource:Q10956965 property:P530 ?y } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q1048835 }
["People's Republic of China", 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ["People's Republic of China", 'diplomatic relation', {'concept': 'political territorial entity'}] ['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['United States of America', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Russia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Russia', 'diplomatic relation', {'concept': 'political territorial entity'}] ["People's Republic of China", 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ["People's Republic of China", 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:People's_Republic_of_China property:diplomatic_relation ?z } UNION { resource:People's_Republic_of_China property:diplomatic_relation ?y } UNION { resource:United_States_of_America property:diplomatic_relation ?z } UNION { resource:United_States_of_America property:diplomatic_relation ?y } UNION { resource:Russia property:diplomatic_relation ?z } UNION { resource:Russia property:diplomatic_relation ?y } UNION { resource:People's_Republic_of_China property:diplomatic_relation ?z } UNION { resource:People's_Republic_of_China property:diplomatic_relation ?y } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:political_territorial_entity }
[]
designation for an administrative territorial entity political territorial entity
Quantitative|Count|Mult. entity type|Clarification
Q148
SYSTEM
Did you mean People's Republic of China ?
[ANSWER]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Q10956965 property:P530 ?z } UNION { resource:Q10956965 property:P530 ?y } UNION { resource:Q30 property:P530 ?z } UNION { resource:Q30 property:P530 ?y } UNION { resource:Q24058892 property:P530 ?z } UNION { resource:Q24058892 property:P530 ?y } UNION { resource:Q10956965 property:P530 ?z } UNION { resource:Q10956965 property:P530 ?y } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q1048835 }
Did you mean People's Republic of China ?
People's Republic of China
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:People's_Republic_of_China property:diplomatic_relation ?z } UNION { resource:People's_Republic_of_China property:diplomatic_relation ?y } UNION { resource:United_States_of_America property:diplomatic_relation ?z } UNION { resource:United_States_of_America property:diplomatic_relation ?y } UNION { resource:Russia property:diplomatic_relation ?z } UNION { resource:Russia property:diplomatic_relation ?y } UNION { resource:People's_Republic_of_China property:diplomatic_relation ?z } UNION { resource:People's_Republic_of_China property:diplomatic_relation ?y } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q148,P530,c(Q15617994)) (Q148,P530,c(Q1048835)) (Q30,P530,c(Q15617994)) (Q30,P530,c(Q1048835)) (Q159,P530,c(Q15617994)) (Q159,P530,c(Q1048835)) (Q148,P530,c(Q15617994)) (Q148,P530,c(Q1048835))
['Q148', 'P530', {'concept': 'Q15617994'}] ['Q148', 'P530', {'concept': 'Q1048835'}] ['Q30', 'P530', {'concept': 'Q15617994'}] ['Q30', 'P530', {'concept': 'Q1048835'}] ['Q159', 'P530', {'concept': 'Q15617994'}] ['Q159', 'P530', {'concept': 'Q1048835'}] ['Q148', 'P530', {'concept': 'Q15617994'}] ['Q148', 'P530', {'concept': 'Q1048835'}]
["People's Republic of China", 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ["People's Republic of China", 'diplomatic relation', {'concept': 'political territorial entity'}] ['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['United States of America', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Russia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Russia', 'diplomatic relation', {'concept': 'political territorial entity'}] ["People's Republic of China", 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ["People's Republic of China", 'diplomatic relation', {'concept': 'political territorial entity'}]
[]
SYSTEM
12
Q711 Q159 Q801 Q155 Q1011 Q183 Q408 Q30 Q34020 Q805 Q403 Q38
(Q148,P530,c(Q15617994)) (Q148,P530,c(Q1048835)) (Q30,P530,c(Q15617994)) (Q30,P530,c(Q1048835)) (Q159,P530,c(Q15617994)) (Q159,P530,c(Q1048835)) (Q148,P530,c(Q15617994)) (Q148,P530,c(Q1048835))
[ANSWER]
['Q148', 'P530', {'concept': 'Q15617994'}] ['Q148', 'P530', {'concept': 'Q1048835'}] ['Q30', 'P530', {'concept': 'Q15617994'}] ['Q30', 'P530', {'concept': 'Q1048835'}] ['Q159', 'P530', {'concept': 'Q15617994'}] ['Q159', 'P530', {'concept': 'Q1048835'}] ['Q148', 'P530', {'concept': 'Q15617994'}] ['Q148', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Q10956965 property:P530 ?z } UNION { resource:Q10956965 property:P530 ?y } UNION { resource:Q30 property:P530 ?z } UNION { resource:Q30 property:P530 ?y } UNION { resource:Q24058892 property:P530 ?z } UNION { resource:Q24058892 property:P530 ?y } UNION { resource:Q10956965 property:P530 ?z } UNION { resource:Q10956965 property:P530 ?y } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q1048835 }
Mongolia Russia Israel Brazil Cape Verde Germany Australia United States of America Niue Yemen Serbia Italy
12
["People's Republic of China", 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ["People's Republic of China", 'diplomatic relation', {'concept': 'political territorial entity'}] ['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['United States of America', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Russia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Russia', 'diplomatic relation', {'concept': 'political territorial entity'}] ["People's Republic of China", 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ["People's Republic of China", 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:People's_Republic_of_China property:diplomatic_relation ?z } UNION { resource:People's_Republic_of_China property:diplomatic_relation ?y } UNION { resource:United_States_of_America property:diplomatic_relation ?z } UNION { resource:United_States_of_America property:diplomatic_relation ?y } UNION { resource:Russia property:diplomatic_relation ?z } UNION { resource:Russia property:diplomatic_relation ?y } UNION { resource:People's_Republic_of_China property:diplomatic_relation ?z } UNION { resource:People's_Republic_of_China property:diplomatic_relation ?y } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q19054081 Q159
P6 P921
Q502895
USER
Which people are Russia the head of goverment of or were the main subjects in the work Hunt, Thomas (1611-1683) (DNB00) ?
OR((Q159,P6,c(Q502895)), (Q19054081,P921,c(Q502895)))
action filter_type
action union
action find
entity Q159
relation P6
action find
entity Q19054081
relation P921
type Q502895
{'OR': [['Q159', 'P6', {'concept': 'Q502895'}], ['Q19054081', 'P921', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q19054081 property:P921 ?p } UNION { resource:Q159 property:P6 ?p } } . ?p rdf:type ontology:Q502895 }
Hunt, Thomas (1611-1683) (DNB00) Russia
action filter_type
action union
action find
entity Russia
relation head of government
action find
entity Hunt, Thomas (1611-1683) (DNB00)
relation main subject
type common name
{'OR': [['Russia', 'head of government', {'concept': 'common name'}], ['Hunt, Thomas (1611-1683) (DNB00)', 'main subject', {'concept': 'common name'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Hunt,_Thomas_(1611-1683)_(DNB00) property:main_subject ?p } UNION { resource:Russia property:head_of_government ?p } } . ?p rdf:type ontology:common_name }
[]
common name
Q34453 Q147425 Q18672529 Q270529 Q62551 Q7747 Q150080 Q313915 Q82695 Q190884
SYSTEM
Some of them are Boris Yeltsin, Viktor Zubkov, Thomas Hunt, Yevgeny Primakov, Mikhail Kasyanov, Vladimir Putin, Mikhail Fradkov, Sergey Kiriyenko, Yegor Gaidar, Viktor Chernomyrdin
Q7747 Q23530 Q313989 Q190884 Q62551 Q82695 Q34453 Q147425 Q317667 Q18672529 Q313915 Q270529 Q150080
OR((Q159,P6,c(Q502895)), (Q19054081,P921,c(Q502895)))
action filter_type
action union
action find
entity Q159
relation P6
action find
entity Q19054081
relation P921
type Q502895
[ANSWERS] are Russia the head of goverment of or were the main subjects in the work Hunt, Thomas (1611-1683) (DNB00)
{'OR': [['Q159', 'P6', {'concept': 'Q502895'}], ['Q19054081', 'P921', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q19054081 property:P921 ?p } UNION { resource:Q159 property:P6 ?p } } . ?p rdf:type ontology:Q502895 }
Vladimir Putin Dmitry Medvedev Sergei Stepashin Viktor Chernomyrdin Mikhail Kasyanov Yegor Gaidar Boris Yeltsin Viktor Zubkov Viktor Khristenko Thomas Hunt Sergey Kiriyenko Yevgeny Primakov Mikhail Fradkov
Boris Yeltsin, Viktor Zubkov, Thomas Hunt, Yevgeny Primakov, Mikhail Kasyanov, Vladimir Putin, Mikhail Fradkov, Sergey Kiriyenko, Yegor Gaidar and Viktor Chernomyrdin are Russia the head of goverment of or were the main subjects in the work Hunt, Thomas (1611-1683) (DNB00)
Boris Yeltsin Viktor Zubkov Thomas Hunt Yevgeny Primakov Mikhail Kasyanov Vladimir Putin Mikhail Fradkov Sergey Kiriyenko Yegor Gaidar Viktor Chernomyrdin
action filter_type
action union
action find
entity Russia
relation head of government
action find
entity Hunt, Thomas (1611-1683) (DNB00)
relation main subject
type common name
{'OR': [['Russia', 'head of government', {'concept': 'common name'}], ['Hunt, Thomas (1611-1683) (DNB00)', 'main subject', {'concept': 'common name'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Hunt,_Thomas_(1611-1683)_(DNB00) property:main_subject ?p } UNION { resource:Russia property:head_of_government ?p } } . ?p rdf:type ontology:common_name }
[]