Simple Question (Direct)
Simple Question
Q712040
P69
Q3918
USER
Where was Arthur William Hope Adkins educated ?
(Q712040,P69,c(Q3918))
action filter_type
action find
entity Q712040
relation P69
type Q3918
['Q712040', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?m WHERE { resource:Q712040 property:P69 ?m . ?m rdf:type ontology:Q3918 }
Arthur William Hope Adkins
action filter_type
action find
entity Arthur William Hope Adkins
relation educated at
type university
['Arthur William Hope Adkins', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?m WHERE { resource:Arthur_William_Hope_Adkins property:educated_at ?m . ?m rdf:type ontology:university }
[]
university
Q34433
SYSTEM
University of Oxford
Q34433
(Q712040,P69,c(Q3918))
action filter_type
action find
entity Q712040
relation P69
type Q3918
Arthur William Adkins was educated at [ANSWER] Hope
['Q712040', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?m WHERE { resource:Q712040 property:P69 ?m . ?m rdf:type ontology:Q3918 }
University of Oxford
Arthur William Adkins was educated at University of Oxford Hope
University of Oxford
action filter_type
action find
entity Arthur William Hope Adkins
relation educated at
type university
['Arthur William Hope Adkins', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?m WHERE { resource:Arthur_William_Hope_Adkins property:educated_at ?m . ?m rdf:type ontology:university }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q34433
P123
Q2623243
USER
Which conceptual model was published by that university ?
(c(Q2623243),P123,Q34433)
action filter_type
action find_reverse
entity Q34433
relation P123
type Q2623243
[{'concept': 'Q2623243'}, 'P123', 'Q34433']
SELECT DISTINCT ?p WHERE { ?p property:P123 resource:Q34433 . ?p rdf:type ontology:Q2623243 }
University of Oxford
action filter_type
action find_reverse
entity University of Oxford
relation publisher
type conceptual model
[{'concept': 'conceptual model'}, 'publisher', 'University of Oxford']
SELECT DISTINCT ?p WHERE { ?p property:publisher resource:University_of_Oxford . ?p rdf:type ontology:conceptual_model }
[]
conceptual model
Q24578999
SYSTEM
Nomisma
Q24578999
(c(Q2623243),P123,Q34433)
action filter_type
action find_reverse
entity Q34433
relation P123
type Q2623243
[ANSWER] was published by that university
[{'concept': 'Q2623243'}, 'P123', 'Q34433']
SELECT DISTINCT ?p WHERE { ?p property:P123 resource:Q34433 . ?p rdf:type ontology:Q2623243 }
Nomisma
Nomisma was published by that university
Nomisma
action filter_type
action find_reverse
entity University of Oxford
relation publisher
type conceptual model
[{'concept': 'conceptual model'}, 'publisher', 'University of Oxford']
SELECT DISTINCT ?p WHERE { ?p property:publisher resource:University_of_Oxford . ?p rdf:type ontology:conceptual_model }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P2439
Q34770 Q2623243
USER
How many languages are related to around 1 conceptual model ?
(c(Q2623243),P2439,c(Q34770))
action count
action approx
action find_reverse_tuple_counts
relation P2439
type Q34770
type Q2623243
value 1
[{'concept': 'Q2623243'}, 'P2439', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?g ) AS ?d ) WHERE { ?g property:P2439 ?z . ?g rdf:type ontology:Q2623243 . ?z rdf:type ontology:Q34770 } GROUP BY ?z } . FILTER ( ?d = 1 ) }
action count
action approx
action find_reverse_tuple_counts
relation language
type language
type conceptual model
value 1
[{'concept': 'conceptual model'}, 'language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?g ) AS ?d ) WHERE { ?g property:language ?z . ?g rdf:type ontology:conceptual_model . ?z rdf:type ontology:language } GROUP BY ?z } . FILTER ( ?d = 1 ) }
[]
language conceptual model
SYSTEM
2
Q1860 Q25167
(c(Q2623243),P2439,c(Q34770))
action count
action approx
action find_reverse_tuple_counts
relation P2439
type Q34770
type Q2623243
value 1
[ANSWER]
[{'concept': 'Q2623243'}, 'P2439', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?g ) AS ?d ) WHERE { ?g property:P2439 ?z . ?g rdf:type ontology:Q2623243 . ?z rdf:type ontology:Q34770 } GROUP BY ?z } . FILTER ( ?d = 1 ) }
English Bokmål
2
action count
action approx
action find_reverse_tuple_counts
relation language
type language
type conceptual model
value 1
[{'concept': 'conceptual model'}, 'language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?g ) AS ?d ) WHERE { ?g property:language ?z . ?g rdf:type ontology:conceptual_model . ?z rdf:type ontology:language } GROUP BY ?z } . FILTER ( ?d = 1 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4356852 Q712040
P27
Q15617994
USER
Which administrative territories are the native countriesof Arthur William Hope Adkins or Sandra Edwards ?
OR((Q712040,P27,c(Q15617994)), (Q4356852,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q712040
relation P27
action find
entity Q4356852
relation P27
type Q15617994
{'OR': [['Q712040', 'P27', {'concept': 'Q15617994'}], ['Q4356852', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . { { resource:Q712040 property:P27 ?g } UNION { resource:Q4356852 property:P27 ?g } } }
Sandra Edwards Arthur William Hope Adkins
action filter_type
action union
action find
entity Arthur William Hope Adkins
relation country of citizenship
action find
entity Sandra Edwards
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Arthur William Hope Adkins', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Sandra Edwards', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Arthur_William_Hope_Adkins property:country_of_citizenship ?g } UNION { resource:Sandra_Edwards property:country_of_citizenship ?g } } }
[]
designation for an administrative territorial entity
Q30 Q145
SYSTEM
United States of America, United Kingdom
Q30 Q145
OR((Q712040,P27,c(Q15617994)), (Q4356852,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q712040
relation P27
action find
entity Q4356852
relation P27
type Q15617994
[ANSWERS] are the native countriesof Arthur William Hope Adkins or Sandra Edwards
{'OR': [['Q712040', 'P27', {'concept': 'Q15617994'}], ['Q4356852', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . { { resource:Q712040 property:P27 ?g } UNION { resource:Q4356852 property:P27 ?g } } }
United States of America United Kingdom
United States of America and United Kingdom are the native countriesof Arthur William Hope Adkins or Sandra Edwards
United States of America United Kingdom
action filter_type
action union
action find
entity Arthur William Hope Adkins
relation country of citizenship
action find
entity Sandra Edwards
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Arthur William Hope Adkins', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Sandra Edwards', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Arthur_William_Hope_Adkins property:country_of_citizenship ?g } UNION { resource:Sandra_Edwards property:country_of_citizenship ?g } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q148
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relationships with lesser number of administrative territories than People's Republic of China ?
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q148
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?w ) AS ?k ) WHERE { ?w property:P530 ?i . ?w rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q15617994 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { ?d property:P530 resource:Q148 . ?d rdf:type ontology:Q15617994 } } . FILTER ( ?k < ?o ) }
People's Republic of China
action count
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find_reverse
entity People's Republic of China
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?w ) AS ?k ) WHERE { ?w property:diplomatic_relation ?i . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { ?d property:diplomatic_relation resource:People's_Republic_of_China . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?k < ?o ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
158
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q148
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?w ) AS ?k ) WHERE { ?w property:P530 ?i . ?w rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q15617994 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { ?d property:P530 resource:Q148 . ?d rdf:type ontology:Q15617994 } } . FILTER ( ?k < ?o ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
158
action count
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find_reverse
entity People's Republic of China
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?w ) AS ?k ) WHERE { ?w property:diplomatic_relation ?i . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { ?d property:diplomatic_relation resource:People's_Republic_of_China . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?k < ?o ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q241
P530
Q15617994 Q15617994
USER
And how about Cuba?
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q241
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?b ) AS ?s ) WHERE { ?b property:P530 ?c . ?c rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15617994 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { ?r property:P530 resource:Q241 . ?r rdf:type ontology:Q15617994 } } . FILTER ( ?s < ?x ) }
Cuba
action count
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find_reverse
entity Cuba
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?b ) AS ?s ) WHERE { ?b property:diplomatic_relation ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { ?r property:diplomatic_relation resource:Cuba . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?s < ?x ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
132
Q702 Q804 Q800 Q419 Q55 Q262 Q783 Q784 Q265 Q712 Q710 Q717 Q837 Q398 Q657 Q45 Q792 Q790 Q954 Q889 Q884 Q958 Q881 Q986 Q242 Q244 Q811 Q33 Q32 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q221 Q96 Q229 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q241
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?b ) AS ?s ) WHERE { ?b property:P530 ?c . ?c rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15617994 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { ?r property:P530 resource:Q241 . ?r rdf:type ontology:Q15617994 } } . FILTER ( ?s < ?x ) }
Federated States of Micronesia Panama Costa Rica Peru Netherlands Algeria Honduras Dominica Uzbekistan Fiji Kiribati Venezuela Nepal Bahrain Chad Portugal El Salvador Haiti Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Belize Barbados Nicaragua Finland Luxembourg Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Republic of Macedonia Mexico Cyprus Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Togo Tonga Spain New Caledonia Thailand
132
action count
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find_reverse
entity Cuba
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?b ) AS ?s ) WHERE { ?b property:diplomatic_relation ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { ?r property:diplomatic_relation resource:Cuba . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?s < ?x ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q159
P194
Q701632 Q1752346 Q15617994
USER
Which administrative territories have lesser number of municipal councils and assemblies as their legislative body than Russia ?
(c(Q15617994),P194,c(Q701632)|c(Q1752346))
action less
action union
action find_tuple_counts
relation P194
type Q15617994
type Q701632
action find_tuple_counts
relation P194
type Q15617994
type Q1752346
action count
action filter_multi_types
action find
entity Q159
relation P194
type Q701632
type Q1752346
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q701632'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?f ) AS ?e ) WHERE { { ?q property:P194 ?f . ?q rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q701632 } UNION { ?q property:P194 ?f . ?q rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q1752346 } } GROUP BY ?q } . FILTER ( ?e < ?g ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { resource:Q159 property:P194 ?u . { ?u rdf:type ?s . VALUES ( ?s ) { ( ontology:Q701632 ) ( ontology:Q1752346 ) } } } } }
Russia
action less
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 assembly
action count
action filter_multi_types
action find
entity Russia
relation legislative body
type municipal council
type assembly
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'municipal council'}, {'concept': 'assembly'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?f ) AS ?e ) WHERE { { ?q property:legislative_body ?f . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:municipal_council } UNION { ?q property:legislative_body ?f . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:assembly } } GROUP BY ?q } . FILTER ( ?e < ?g ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { resource:Russia property:legislative_body ?u . { ?u rdf:type ?s . VALUES ( ?s ) { ( ontology:municipal_council ) ( ontology:assembly ) } } } } }
[]
municipal council assembly designation for an administrative territorial entity
Q30 Q148 Q17
SYSTEM
United States of America, People's Republic of China, Japan
Q805 Q800 Q1462 Q1250 Q1948 Q148 Q189 Q786 Q710 Q252320 Q187035 Q1460 Q3361 Q1979 Q43 Q792 Q779011 Q889 Q884 Q958 Q12574 Q153529 Q12761 Q244 Q1974 Q32 Q31 Q30 Q37 Q1447 Q104192 Q603676 Q1282 Q1284 Q3389 Q236 Q12661 Q1273 Q1279 Q1049 Q2009 Q2007 Q2003 Q1458 Q1904 Q227 Q347 Q17 Q1989 Q902 Q191 Q114 Q212 Q1210 Q917 Q736 Q34020 Q686 Q760 Q574 Q694594 Q1222 Q774 Q948 Q1016 Q27 Q1011 Q1243 Q12620 Q12626 Q672 Q1951 Q2023 Q1237
(c(Q15617994),P194,c(Q701632)|c(Q1752346))
action less
action union
action find_tuple_counts
relation P194
type Q15617994
type Q701632
action find_tuple_counts
relation P194
type Q15617994
type Q1752346
action count
action filter_multi_types
action find
entity Q159
relation P194
type Q701632
type Q1752346
[ANSWERS] have lesser number of municipal councils and assemblies as their legislative body than Russia
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q701632'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?f ) AS ?e ) WHERE { { ?q property:P194 ?f . ?q rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q701632 } UNION { ?q property:P194 ?f . ?q rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q1752346 } } GROUP BY ?q } . FILTER ( ?e < ?g ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { resource:Q159 property:P194 ?u . { ?u rdf:type ?s . VALUES ( ?s ) { ( ontology:Q701632 ) ( ontology:Q1752346 ) } } } } }
Yemen Costa Rica Sardinia Friuli–Venezia Giulia Manitoba People's Republic of China Iceland Dominican Republic Kiribati Pleinfeld Principality of Albania Sicily Doubs Prince Edward Island Turkey El Salvador Principality of Montenegro Afghanistan South Korea South Sudan Loiret Duchy of Milan Seine-Saint-Denis Barbados British Columbia Luxembourg Belgium United States of America Lithuania Apulia Kleinmachnow District of Keewatin Lazio Abruzzo Finistère Montenegro Nord Tuscany Marche Sudan Yukon Northwest Territories Newfoundland and Labrador Calabria Ontario Azerbaijan Liechtenstein Japan Saskatchewan Bangladesh Estonia Kenya Ukraine Lombardy Bhutan Ecuador Niue Vanuatu Saint Lucia East Timor Bremen-Verden Aosta Valley Guatemala Tunisia Libya Ireland Cape Verde Veneto Mayenne Meurthe-et-Moselle Tuvalu Alberta Nunavut Trentino-South Tyrol
United States of America, People's Republic of China and Japan have lesser number of municipal councils and assemblies as their legislative body than Russia
United States of America People's Republic of China Japan
action less
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 assembly
action count
action filter_multi_types
action find
entity Russia
relation legislative body
type municipal council
type assembly
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'municipal council'}, {'concept': 'assembly'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?f ) AS ?e ) WHERE { { ?q property:legislative_body ?f . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:municipal_council } UNION { ?q property:legislative_body ?f . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:assembly } } GROUP BY ?q } . FILTER ( ?e < ?g ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { resource:Russia property:legislative_body ?u . { ?u rdf:type ?s . VALUES ( ?s ) { ( ontology:municipal_council ) ( ontology:assembly ) } } } } }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P495
Q15617994 Q7725634 Q201658
USER
How many administrative territories are the countries of origin of greater number of literary works and film genres than that administrative territory ?
(c(Q7725634)|c(Q201658),P495,c(Q15617994))
[[{'concept': 'Q7725634'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?i ) { ( ?z ) ( ?x ) } . ?i property:P495 ?y } . ?z rdf:type ontology:Q7725634 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q201658 }
[[{'concept': 'literary work'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?i ) { ( ?z ) ( ?x ) } . ?i property:country_of_origin ?y } . ?z rdf:type ontology:literary_work . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:film_genre }
[]
designation for an administrative territorial entity literary work film genre
Comparative|Count over More/Less|Mult. entity type|Clarification
Q17
SYSTEM
Did you mean Japan ?
(c(Q7725634)|c(Q201658),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q7725634'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?i ) { ( ?z ) ( ?x ) } . ?i property:P495 ?y } . ?z rdf:type ontology:Q7725634 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q201658 }
Did you mean Japan ?
Japan
[[{'concept': 'literary work'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?i ) { ( ?z ) ( ?x ) } . ?i property:country_of_origin ?y } . ?z rdf:type ontology:literary_work . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:film_genre }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q7725634)|c(Q201658),P495,c(Q15617994))
[[{'concept': 'Q7725634'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q15617994'}]
[[{'concept': 'literary work'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
6
Q142 Q55 Q145 Q30 Q34 Q38
(c(Q7725634)|c(Q201658),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q7725634'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q7725634 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q201658 }
France Netherlands United Kingdom United States of America Sweden Italy
6
[[{'concept': 'literary work'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:literary_work . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:film_genre }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P163
Q14660
USER
Which flag is associated with United Kingdom ?
(Q145,P163,c(Q14660))
action filter_type
action find
entity Q145
relation P163
type Q14660
['Q145', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?q WHERE { resource:Q145 property:P163 ?q . ?q rdf:type ontology:Q14660 }
United Kingdom
action filter_type
action find
entity United Kingdom
relation flag
type flag
['United Kingdom', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?q WHERE { resource:United_Kingdom property:flag ?q . ?q rdf:type ontology:flag }
[]
flag
Q83278
SYSTEM
flag of the United Kingdom
Q83278
(Q145,P163,c(Q14660))
action filter_type
action find
entity Q145
relation P163
type Q14660
The [ANSWER] is associated with United Kingdom
['Q145', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?q WHERE { resource:Q145 property:P163 ?q . ?q rdf:type ontology:Q14660 }
flag of the United Kingdom
The flag of the United Kingdom is associated with United Kingdom
flag of the United Kingdom
action filter_type
action find
entity United Kingdom
relation flag
type flag
['United Kingdom', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?q WHERE { resource:United_Kingdom property:flag ?q . ?q rdf:type ontology:flag }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1007
Q14660
USER
And how about Guinea-Bissau?
(Q1007,P163,c(Q14660))
action filter_type
action find
entity Q1007
relation P163
type Q14660
['Q1007', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?f WHERE { resource:Q1007 property:P163 ?f . ?f rdf:type ontology:Q14660 }
Guinea-Bissau
action filter_type
action find
entity Guinea-Bissau
relation flag
type flag
['Guinea-Bissau', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?f WHERE { resource:Guinea-Bissau property:flag ?f . ?f rdf:type ontology:flag }
[]
flag
Q102953
SYSTEM
Flag of Guinea-Bissau
Q102953
(Q1007,P163,c(Q14660))
action filter_type
action find
entity Q1007
relation P163
type Q14660
[ANSWER]
['Q1007', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?f WHERE { resource:Q1007 property:P163 ?f . ?f rdf:type ontology:Q14660 }
Flag of Guinea-Bissau
Flag of Guinea-Bissau
action filter_type
action find
entity Guinea-Bissau
relation flag
type flag
['Guinea-Bissau', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?f WHERE { resource:Guinea-Bissau property:flag ?f . ?f rdf:type ontology:flag }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1007
P530
Q15617994 Q1048835
USER
How many administrative territories and political territories have tactful political relations with Guinea-Bissau ?
(c(Q15617994),P530,Q1007) (c(Q1048835),P530,Q1007)
action count
action union
action filter_type
action find_reverse
entity Q1007
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q1007
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', 'Q1007'] [{'concept': 'Q1048835'}, 'P530', 'Q1007']
SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { ?o rdf:type ?l . VALUES ( ?l ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } }
Guinea-Bissau
action count
action union
action filter_type
action find_reverse
entity Guinea-Bissau
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Guinea-Bissau
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Guinea-Bissau'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Guinea-Bissau']
SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { ?o rdf:type ?l . VALUES ( ?l ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
1 administrative territories and 1 political territories
Q230 Q183
(c(Q15617994),P530,Q1007) (c(Q1048835),P530,Q1007)
action count
action union
action filter_type
action find_reverse
entity Q1007
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q1007
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', 'Q1007'] [{'concept': 'Q1048835'}, 'P530', 'Q1007']
SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { ?o rdf:type ?l . VALUES ( ?l ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } }
Georgia Germany
1 administrative territories and 1 political territories
action count
action union
action filter_type
action find_reverse
entity Guinea-Bissau
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Guinea-Bissau
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Guinea-Bissau'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Guinea-Bissau']
SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { ?o rdf:type ?l . VALUES ( ?l ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P941
Q14660 Q14660
USER
How many flags were exactly 2 flags a source of inspiration for ?
(c(Q14660),P941,c(Q14660))
action count
action equal
action find_tuple_counts
relation P941
type Q14660
type Q14660
value 2
[{'concept': 'Q14660'}, 'P941', {'concept': 'Q14660'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?w ) AS ?i ) WHERE { ?y property:P941 ?w . ?w rdf:type ontology:Q14660 . ?y rdf:type ontology:Q14660 } GROUP BY ?y } . FILTER ( ?i = 2 ) }
action count
action equal
action find_tuple_counts
relation inspired by
type flag
type flag
value 2
[{'concept': 'flag'}, 'inspired by', {'concept': 'flag'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?w ) AS ?i ) WHERE { ?y property:inspired_by ?w . ?w rdf:type ontology:flag . ?y rdf:type ontology:flag } GROUP BY ?y } . FILTER ( ?i = 2 ) }
[]
flag flag
SYSTEM
1
Q12188
(c(Q14660),P941,c(Q14660))
action count
action equal
action find_tuple_counts
relation P941
type Q14660
type Q14660
value 2
[ANSWER]
[{'concept': 'Q14660'}, 'P941', {'concept': 'Q14660'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?w ) AS ?i ) WHERE { ?y property:P941 ?w . ?w rdf:type ontology:Q14660 . ?y rdf:type ontology:Q14660 } GROUP BY ?y } . FILTER ( ?i = 2 ) }
flag of Brittany
1
action count
action equal
action find_tuple_counts
relation inspired by
type flag
type flag
value 2
[{'concept': 'flag'}, 'inspired by', {'concept': 'flag'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?w ) AS ?i ) WHERE { ?y property:inspired_by ?w . ?w rdf:type ontology:flag . ?y rdf:type ontology:flag } GROUP BY ?y } . FILTER ( ?i = 2 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P85
Q484692
USER
Which is the national anthem of United States of America ?
(Q30,P85,c(Q484692))
action filter_type
action find
entity Q30
relation P85
type Q484692
['Q30', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?g WHERE { resource:Q30 property:P85 ?g . ?g rdf:type ontology:Q484692 }
United States of America
action filter_type
action find
entity United States of America
relation anthem
type hymn
['United States of America', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?g WHERE { resource:United_States_of_America property:anthem ?g . ?g rdf:type ontology:hymn }
[]
hymn
Q44696
SYSTEM
The Star-Spangled Banner
Q44696
(Q30,P85,c(Q484692))
action filter_type
action find
entity Q30
relation P85
type Q484692
The national anthem of United States of America is [ANSWER]
['Q30', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?g WHERE { resource:Q30 property:P85 ?g . ?g rdf:type ontology:Q484692 }
The Star-Spangled Banner
The national anthem of United States of America is The Star-Spangled Banner
The Star-Spangled Banner
action filter_type
action find
entity United States of America
relation anthem
type hymn
['United States of America', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?g WHERE { resource:United_States_of_America property:anthem ?g . ?g rdf:type ontology:hymn }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q44696
P86
Q502895
USER
Who was that hymn composed by ?
(Q44696,P86,c(Q502895))
action filter_type
action find
entity Q44696
relation P86
type Q502895
['Q44696', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q44696 property:P86 ?h . ?h rdf:type ontology:Q502895 }
The Star-Spangled Banner
action filter_type
action find
entity The Star-Spangled Banner
relation composer
type common name
['The Star-Spangled Banner', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:The_Star-Spangled_Banner property:composer ?h . ?h rdf:type ontology:common_name }
[]
common name
Q563098
SYSTEM
John Stafford Smith
Q563098
(Q44696,P86,c(Q502895))
action filter_type
action find
entity Q44696
relation P86
type Q502895
That hymn was composed by Sir [ANSWER]
['Q44696', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q44696 property:P86 ?h . ?h rdf:type ontology:Q502895 }
John Stafford Smith
That hymn was composed by Sir John Stafford Smith
John Stafford Smith
action filter_type
action find
entity The Star-Spangled Banner
relation composer
type common name
['The Star-Spangled Banner', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:The_Star-Spangled_Banner property:composer ?h . ?h rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q3053517 Q44696
P86
Q502895
USER
Or Singing Behind Screens?
OR((Q44696,P86,c(Q502895)), (Q3053517,P86,c(Q502895)))
action filter_type
action union
action find
entity Q44696
relation P86
action find
entity Q3053517
relation P86
type Q502895
{'OR': [['Q44696', 'P86', {'concept': 'Q502895'}], ['Q3053517', 'P86', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?u WHERE { { VALUES ( ?q ) { ( resource:Q44696 ) ( resource:Q3053517 ) } . ?q property:P86 ?u } . ?u rdf:type ontology:Q502895 }
Singing Behind Screens The Star-Spangled Banner
action filter_type
action union
action find
entity The Star-Spangled Banner
relation composer
action find
entity Singing Behind Screens
relation composer
type common name
{'OR': [['The Star-Spangled Banner', 'composer', {'concept': 'common name'}], ['Singing Behind Screens', 'composer', {'concept': 'common name'}]]}
SELECT DISTINCT ?u WHERE { { VALUES ( ?q ) { ( resource:The_Star-Spangled_Banner ) ( resource:Singing_Behind_Screens ) } . ?q property:composer ?u } . ?u rdf:type ontology:common_name }
[]
common name
Q8292451 Q563098
SYSTEM
Han Yong, John Stafford Smith
Q8292451 Q563098
OR((Q44696,P86,c(Q502895)), (Q3053517,P86,c(Q502895)))
action filter_type
action union
action find
entity Q44696
relation P86
action find
entity Q3053517
relation P86
type Q502895
[ANSWERS]
{'OR': [['Q44696', 'P86', {'concept': 'Q502895'}], ['Q3053517', 'P86', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?u WHERE { { VALUES ( ?q ) { ( resource:Q44696 ) ( resource:Q3053517 ) } . ?q property:P86 ?u } . ?u rdf:type ontology:Q502895 }
Han Yong John Stafford Smith
Han Yong John Stafford Smith
action filter_type
action union
action find
entity The Star-Spangled Banner
relation composer
action find
entity Singing Behind Screens
relation composer
type common name
{'OR': [['The Star-Spangled Banner', 'composer', {'concept': 'common name'}], ['Singing Behind Screens', 'composer', {'concept': 'common name'}]]}
SELECT DISTINCT ?u WHERE { { VALUES ( ?q ) { ( resource:The_Star-Spangled_Banner ) ( resource:Singing_Behind_Screens ) } . ?q property:composer ?u } . ?u rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q13386 Q712040
P47 P27
Q15617994
USER
Which administrative territories are Arthur William Hope Adkins an inhabitant of or are bordered by Lecce ?
OR((Q712040,P27,c(Q15617994)), (Q13386,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q712040
relation P27
action find
entity Q13386
relation P47
type Q15617994
{'OR': [['Q712040', 'P27', {'concept': 'Q15617994'}], ['Q13386', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q712040 property:P27 ?n } UNION { resource:Q13386 property:P47 ?n } } . ?n rdf:type ontology:Q15617994 }
Lecce Arthur William Hope Adkins
action filter_type
action union
action find
entity Arthur William Hope Adkins
relation country of citizenship
action find
entity Lecce
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Arthur William Hope Adkins', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Lecce', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Arthur_William_Hope_Adkins property:country_of_citizenship ?n } UNION { resource:Lecce property:shares_border_with ?n } } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q52163 Q52213 Q52200 Q52220 Q52115 Q145 Q52172 Q52204 Q52187 Q52150
SYSTEM
Some of them are Monteroni di Lecce, Trepuzzi, Squinzano, Vernole, Arnesano, United Kingdom, Novoli, Surbo, San Cesario di Lecce, Lizzanello
Q52204 Q52213 Q52150 Q145 Q52148 Q52187 Q51879 Q52115 Q52172 Q52200 Q52163 Q52220 Q52189
OR((Q712040,P27,c(Q15617994)), (Q13386,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q712040
relation P27
action find
entity Q13386
relation P47
type Q15617994
[ANSWERS] are Arthur William Hope Adkins an inhabitant of or are bordered by Lecce
{'OR': [['Q712040', 'P27', {'concept': 'Q15617994'}], ['Q13386', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q712040 property:P27 ?n } UNION { resource:Q13386 property:P47 ?n } } . ?n rdf:type ontology:Q15617994 }
Surbo Trepuzzi Lizzanello United Kingdom Lequile San Cesario di Lecce Torchiarolo Arnesano Novoli Squinzano Monteroni di Lecce Vernole San Pietro in Lama
Monteroni di Lecce, Trepuzzi, Squinzano, Vernole, Arnesano, United Kingdom, Novoli, Surbo, San Cesario di Lecce and Lizzanello are Arthur William Hope Adkins an inhabitant of or are bordered by Lecce
Monteroni di Lecce Trepuzzi Squinzano Vernole Arnesano United Kingdom Novoli Surbo San Cesario di Lecce Lizzanello
action filter_type
action union
action find
entity Arthur William Hope Adkins
relation country of citizenship
action find
entity Lecce
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Arthur William Hope Adkins', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Lecce', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Arthur_William_Hope_Adkins property:country_of_citizenship ?n } UNION { resource:Lecce property:shares_border_with ?n } } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]