Simple Question (Direct)
Simple Question
Q386256
P69
Q163740
USER
Where was Donald Wuerl educated ?
(Q386256,P69,c(Q163740))
action filter_type
action find
entity Q386256
relation P69
type Q163740
['Q386256', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?m WHERE { resource:Q386256 property:P69 ?m . ?m rdf:type ontology:Q163740 }
Donald Wuerl
action filter_type
action find
entity Donald Wuerl
relation educated at
type nonprofit organization
['Donald Wuerl', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?m WHERE { resource:Donald_Wuerl property:educated_at ?m . ?m rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q179036
SYSTEM
The Catholic University of America
Q179036
(Q386256,P69,c(Q163740))
action filter_type
action find
entity Q386256
relation P69
type Q163740
Donald Wuerl was educated at [ANSWER]
['Q386256', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?m WHERE { resource:Q386256 property:P69 ?m . ?m rdf:type ontology:Q163740 }
The Catholic University of America
Donald Wuerl was educated at The Catholic University of America
The Catholic University of America
action filter_type
action find
entity Donald Wuerl
relation educated at
type nonprofit organization
['Donald Wuerl', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?m WHERE { resource:Donald_Wuerl property:educated_at ?m . ?m rdf:type ontology:nonprofit_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q386256
P27
Q15617994
USER
Which administrative territory is the native country of that person ?
(Q179036,P27,c(Q15617994))
action filter_type
action find
entity Q386256
relation P27
type Q15617994
['Q179036', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q386256 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
Donald Wuerl
action filter_type
action find
entity Donald Wuerl
relation country of citizenship
type designation for an administrative territorial entity
['The Catholic University of America', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Donald_Wuerl property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q179036,P27,c(Q15617994))
action filter_type
action find
entity Q386256
relation P27
type Q15617994
The [ANSWER] is the native country of that person
['Q179036', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q386256 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
United States of America
The United States of America is the native country of that person
United States of America
action filter_type
action find
entity Donald Wuerl
relation country of citizenship
type designation for an administrative territorial entity
['The Catholic University of America', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Donald_Wuerl property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P495
Q15617994 Q201658 Q7725634
USER
Which administrative territories are the countries of origin of lesser number of film genres and literary works than that administrative territory ?
(c(Q201658)|c(Q7725634),P495,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q201658
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
action count
action filter_multi_types
action find_reverse
entity Q30
relation P495
type Q201658
type Q7725634
[[{'concept': 'Q201658'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { { { ?y rdf:type ontology:Q201658 } UNION { ?y rdf:type ontology:Q7725634 } } . ?y property:P495 resource:Q30 } } . FILTER ( ?p < ?z ) . { SELECT DISTINCT ?v ( COUNT ( ?l ) AS ?p ) WHERE { { ?l property:P495 ?v . ?v rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q201658 } UNION { ?l property:P495 ?v . ?l rdf:type ontology:Q7725634 . ?v rdf:type ontology:Q15617994 } } GROUP BY ?v } }
action less
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type film genre
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
action count
action filter_multi_types
action find_reverse
entity United States of America
relation country of origin
type film genre
type literary work
[[{'concept': 'film genre'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { { { ?y rdf:type ontology:film_genre } UNION { ?y rdf:type ontology:literary_work } } . ?y property:country_of_origin resource:United_States_of_America } } . FILTER ( ?p < ?z ) . { SELECT DISTINCT ?v ( COUNT ( ?l ) AS ?p ) WHERE { { ?l property:country_of_origin ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:film_genre } UNION { ?l property:country_of_origin ?v . ?l rdf:type ontology:literary_work . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?v } }
[]
designation for an administrative territorial entity film genre literary work
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(Q201658)|c(Q7725634),P495,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q201658
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
action count
action filter_multi_types
action find_reverse
entity Q30
relation P495
type Q201658
type Q7725634
[ANSWERS] are the countries of origin of lesser number of film genres and literary works than that administrative territory
[[{'concept': 'Q201658'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { { { ?y rdf:type ontology:Q201658 } UNION { ?y rdf:type ontology:Q7725634 } } . ?y property:P495 resource:Q30 } } . FILTER ( ?p < ?z ) . { SELECT DISTINCT ?v ( COUNT ( ?l ) AS ?p ) WHERE { { ?l property:P495 ?v . ?v rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q201658 } UNION { ?l property:P495 ?v . ?l rdf:type ontology:Q7725634 . ?v rdf:type ontology:Q15617994 } } GROUP BY ?v } }
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 countries of origin of lesser number of film genres and literary works than that administrative territory
Italy Brazil Georgia
action less
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type film genre
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
action count
action filter_multi_types
action find_reverse
entity United States of America
relation country of origin
type film genre
type literary work
[[{'concept': 'film genre'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { { { ?y rdf:type ontology:film_genre } UNION { ?y rdf:type ontology:literary_work } } . ?y property:country_of_origin resource:United_States_of_America } } . FILTER ( ?p < ?z ) . { SELECT DISTINCT ?v ( COUNT ( ?l ) AS ?p ) WHERE { { ?l property:country_of_origin ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:film_genre } UNION { ?l property:country_of_origin ?v . ?l rdf:type ontology:literary_work . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?v } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q878
P17
Q15617994 Q13406554 Q486972
USER
Which administrative territories are lesser number of sport competitions or human settlements present in than United Arab Emirates ?
(c(Q13406554)|c(Q486972),P17,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q13406554
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q486972
action count
action filter_multi_types
action find_reverse
entity Q878
relation P17
type Q13406554
type Q486972
[[{'concept': 'Q13406554'}, {'concept': 'Q486972'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?p ) AS ?y ) WHERE { VALUES ( ?m ) { ( ontology:Q13406554 ) ( ontology:Q486972 ) } . ?p rdf:type ?m } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { ?w property:P17 resource:Q878 . { ?w rdf:type ?k . VALUES ( ?k ) { ( ontology:Q13406554 ) ( ontology:Q486972 ) } } } } . FILTER ( ?y < ?b ) }
United Arab Emirates
action less
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type sport competition
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type human settlement
action count
action filter_multi_types
action find_reverse
entity United Arab Emirates
relation country
type sport competition
type human settlement
[[{'concept': 'sport competition'}, {'concept': 'human settlement'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?p ) AS ?y ) WHERE { VALUES ( ?m ) { ( ontology:sport_competition ) ( ontology:human_settlement ) } . ?p rdf:type ?m } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { ?w property:country resource:United_Arab_Emirates . { ?w rdf:type ?k . VALUES ( ?k ) { ( ontology:sport_competition ) ( ontology:human_settlement ) } } } } . FILTER ( ?y < ?b ) }
[]
designation for an administrative territorial entity sport competition human settlement
Q230 Q953 Q184
SYSTEM
Georgia, Zambia, Belarus
Q702 Q804 Q800 Q1256 Q709 Q398 Q805 Q339952 Q270508 Q684030 Q2172530 Q12536 Q262 Q783 Q784 Q265 Q214 Q640426 Q36678 Q736029 Q712 Q711 Q710 Q717 Q837 Q565812 Q187035 Q399 Q1462 Q657 Q45 Q792 Q790 Q517333 Q796 Q794 Q954 Q889 Q2001966 Q326029 Q958 Q986 Q153529 Q695316 Q4628 Q826 Q165040 Q822 Q241 Q242 Q244 Q315667 Q811 Q736 Q153136 Q1210 Q921 Q924 Q928 Q155019 Q423 Q983 Q851 Q29999 Q854 Q734 Q819 Q107426 Q424 Q730 Q1282 Q159626 Q236 Q230 Q232 Q233 Q238 Q1045 Q1044 Q1042 Q1041 Q27 Q177323 Q313175 Q149621 Q1025 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q836 Q34762 Q1458 Q786 Q32 Q228 Q3462133 Q227 Q225 Q224 Q223 Q221 Q815731 Q47261 Q347 Q1050 Q977 Q704288 Q10957559 Q902 Q1037 Q974 Q1032 Q1033 Q1030 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q389004 Q754 Q750 Q212 Q211 Q217 Q1013 Q215 Q160307 Q164092 Q1483510 Q912 Q2662372 Q917 Q916 Q1007 Q1006 Q1005 Q829700 Q1008 Q971 Q970 Q239502 Q683 Q15581 Q34020 Q2380910 Q686 Q193152 Q760 Q574 Q655621 Q2502354 Q154849 Q159856 Q2621010 Q874 Q696651 Q858 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q148499 Q1011 Q945 Q678 Q8575586 Q529605 Q1039 Q672 Q33788 Q929 Q11024667 Q863 Q1049 Q869 Q426025 Q953
(c(Q13406554)|c(Q486972),P17,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q13406554
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q486972
action count
action filter_multi_types
action find_reverse
entity Q878
relation P17
type Q13406554
type Q486972
[ANSWERS] are lesser number of sport competitions or human settlements present in than United Arab Emirates
[[{'concept': 'Q13406554'}, {'concept': 'Q486972'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?p ) AS ?y ) WHERE { VALUES ( ?m ) { ( ontology:Q13406554 ) ( ontology:Q486972 ) } . ?p rdf:type ?m } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { ?w property:P17 resource:Q878 . { ?w rdf:type ?k . VALUES ( ?k ) { ( ontology:Q13406554 ) ( ontology:Q486972 ) } } } } . FILTER ( ?y < ?b ) }
Federated States of Micronesia Panama Costa Rica Liguria Marshall Islands Bahrain Yemen Principality of Orange-Nassau Andora Principality of Serbia Electorate of Württemberg Abbasid caliphate Algeria Honduras Dominica Uzbekistan Slovakia Stahnsdorf West Bank Nassau-Siegen Fiji Mongolia Kiribati Venezuela Nepal Principality of Calenberg Principality of Albania Armenia Sardinia Chad Portugal El Salvador Haiti Principality of Polotsk Iraq Iran Zimbabwe Afghanistan Company rule in India Duchy of Brunswick South Sudan Eritrea Duchy of Milan Schwarzburg-Rudolstadt Faroe Islands Maldives Duchy of Parma Lebanon Cuba Belize Barbados Saxe-Weimar Nicaragua Ecuador Habsburg Empire Lombardy Brunei Tanzania Philippines Duchy of Lorraine North Korea Equatorial Guinea Saudi Arabia Kingdom of the Netherlands Sri Lanka Guyana Laos Anjou Cambodia Suriname Lazio Württemberg Montenegro Georgia Kazakhstan Malta San Marino Somalia Sierra Leone Seychelles Senegal Ireland developing country Saxe-Lauenburg district Mauritania Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Myanmar Principality of Bayreuth Calabria Dominican Republic Luxembourg Andorra Saxe-Coburg and Gotha Azerbaijan Bosnia and Herzegovina Croatia Greenland Republic of Macedonia Principality of Bulgaria Duchy of Bavaria Liechtenstein Swaziland Djibouti Duchy of Holstein Moldavia Bangladesh Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Wallachia Trinidad and Tobago Bolivia Ukraine Latvia Republic of Moldova Lesotho Slovenia Fatimid caliphate Duchy of Saxony Principality of Wales Mali Principality of Minsk Bhutan Angola Guinea-Bissau Guinea Gambia Saxe-Jena Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Samoa Principality of Catalonia Niue Duchy of Zaslawye Vanuatu Great Moravia Saint Lucia East Timor Principality of Transylvania Principality of Goroden Grand Duchy of Tuscany Duchy of Brabant Principality of Vitebsk Turkmenistan Saxe-Eisenach Syria Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Margraviate of Brandenburg Cape Verde Togo Tonga Umayyad Caliphate Electorate of Hesse Sao Tomé and Príncipe Tuvalu New Caledonia Central African Republic Duchy of Mecklenburg-Schwerin Tajikistan Sudan Thailand Duchy of Savoy Zambia
Georgia, Zambia and Belarus are lesser number of sport competitions or human settlements present in than United Arab Emirates
Georgia Zambia Belarus
action less
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type sport competition
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type human settlement
action count
action filter_multi_types
action find_reverse
entity United Arab Emirates
relation country
type sport competition
type human settlement
[[{'concept': 'sport competition'}, {'concept': 'human settlement'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?p ) AS ?y ) WHERE { VALUES ( ?m ) { ( ontology:sport_competition ) ( ontology:human_settlement ) } . ?p rdf:type ?m } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { ?w property:country resource:United_Arab_Emirates . { ?w rdf:type ?k . VALUES ( ?k ) { ( ontology:sport_competition ) ( ontology:human_settlement ) } } } } . FILTER ( ?y < ?b ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q819
P17
Q15617994 Q13406554 Q486972
USER
And what about Laos?
(c(Q13406554)|c(Q486972),P17,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q13406554
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q486972
action count
action filter_multi_types
action find_reverse
entity Q819
relation P17
type Q13406554
type Q486972
[[{'concept': 'Q13406554'}, {'concept': 'Q486972'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?d ) AS ?z ) WHERE { VALUES ( ?j ) { ( ontology:Q486972 ) ( ontology:Q13406554 ) } . ?d rdf:type ?j } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { ?x property:P17 resource:Q819 . { { ?x rdf:type ontology:Q13406554 } UNION { ?x rdf:type ontology:Q486972 } } } } . FILTER ( ?z < ?l ) }
Laos
action less
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type sport competition
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type human settlement
action count
action filter_multi_types
action find_reverse
entity Laos
relation country
type sport competition
type human settlement
[[{'concept': 'sport competition'}, {'concept': 'human settlement'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?d ) AS ?z ) WHERE { VALUES ( ?j ) { ( ontology:human_settlement ) ( ontology:sport_competition ) } . ?d rdf:type ?j } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { ?x property:country resource:Laos . { { ?x rdf:type ontology:sport_competition } UNION { ?x rdf:type ontology:human_settlement } } } } . FILTER ( ?z < ?l ) }
[]
designation for an administrative territorial entity sport competition human settlement
Q347 Q423 Q929
SYSTEM
Liechtenstein, North Korea, Central African Republic
Q702 Q1256 Q709 Q339952 Q270508 Q684030 Q2172530 Q12536 Q262 Q783 Q784 Q640426 Q736029 Q712 Q710 Q565812 Q187035 Q1462 Q657 Q792 Q790 Q517333 Q954 Q2001966 Q326029 Q958 Q986 Q153529 Q695316 Q165040 Q315667 Q811 Q1210 Q921 Q155019 Q423 Q983 Q29999 Q107426 Q1282 Q159626 Q1045 Q1044 Q1042 Q1041 Q177323 Q313175 Q149621 Q1025 Q1020 Q842 Q1029 Q836 Q34762 Q1458 Q786 Q3462133 Q223 Q815731 Q47261 Q347 Q1050 Q704288 Q10957559 Q1037 Q1032 Q1030 Q967 Q962 Q697 Q695 Q389004 Q217 Q1013 Q160307 Q164092 Q1483510 Q2662372 Q916 Q1007 Q1006 Q1005 Q829700 Q970 Q239502 Q683 Q15581 Q34020 Q2380910 Q686 Q193152 Q760 Q655621 Q2502354 Q154849 Q159856 Q2621010 Q874 Q696651 Q1019 Q813 Q1014 Q945 Q678 Q8575586 Q529605 Q1039 Q672 Q33788 Q929 Q11024667 Q863 Q1049 Q426025
(c(Q13406554)|c(Q486972),P17,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q13406554
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q486972
action count
action filter_multi_types
action find_reverse
entity Q819
relation P17
type Q13406554
type Q486972
[ANSWERS]
[[{'concept': 'Q13406554'}, {'concept': 'Q486972'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?d ) AS ?z ) WHERE { VALUES ( ?j ) { ( ontology:Q486972 ) ( ontology:Q13406554 ) } . ?d rdf:type ?j } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { ?x property:P17 resource:Q819 . { { ?x rdf:type ontology:Q13406554 } UNION { ?x rdf:type ontology:Q486972 } } } } . FILTER ( ?z < ?l ) }
Federated States of Micronesia Liguria Marshall Islands Principality of Orange-Nassau Andora Principality of Serbia Electorate of Württemberg Abbasid caliphate Algeria Honduras Dominica Stahnsdorf Nassau-Siegen Fiji Kiribati Principality of Calenberg Principality of Albania Sardinia Chad El Salvador Haiti Principality of Polotsk Zimbabwe Company rule in India Duchy of Brunswick South Sudan Eritrea Duchy of Milan Schwarzburg-Rudolstadt Duchy of Parma Saxe-Weimar Nicaragua Lombardy Brunei Duchy of Lorraine North Korea Equatorial Guinea Kingdom of the Netherlands Anjou Lazio Württemberg Somalia Sierra Leone Seychelles Senegal developing country Saxe-Lauenburg district Mauritania Malawi Oman Mozambique Myanmar Principality of Bayreuth Calabria Dominican Republic Saxe-Coburg and Gotha Greenland Principality of Bulgaria Duchy of Bavaria Liechtenstein Swaziland Duchy of Holstein Moldavia Rwanda Niger Namibia Burundi Benin Nauru Palau Wallachia Republic of Moldova Lesotho Fatimid caliphate Duchy of Saxony Principality of Wales Principality of Minsk Angola Guinea-Bissau Guinea Gambia Saxe-Jena Comoros Kingdom of Galicia–Volhynia Samoa Principality of Catalonia Niue Duchy of Zaslawye Vanuatu Great Moravia Saint Lucia Principality of Transylvania Principality of Goroden Grand Duchy of Tuscany Duchy of Brabant Principality of Vitebsk Turkmenistan Saxe-Eisenach Madagascar Kyrgyzstan Liberia Togo Tonga Umayyad Caliphate Electorate of Hesse Sao Tomé and Príncipe Tuvalu New Caledonia Central African Republic Duchy of Mecklenburg-Schwerin Tajikistan Sudan Duchy of Savoy
Liechtenstein North Korea Central African Republic
action less
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type sport competition
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type human settlement
action count
action filter_multi_types
action find_reverse
entity Laos
relation country
type sport competition
type human settlement
[[{'concept': 'sport competition'}, {'concept': 'human settlement'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?d ) AS ?z ) WHERE { VALUES ( ?j ) { ( ontology:human_settlement ) ( ontology:sport_competition ) } . ?d rdf:type ?j } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { ?x property:country resource:Laos . { { ?x rdf:type ontology:sport_competition } UNION { ?x rdf:type ontology:human_settlement } } } } . FILTER ( ?z < ?l ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q15617994 Q340169 Q3305213
USER
Which administrative territories are expressed in max number of medias and paintings ?
(c(Q340169)|c(Q3305213),P180,c(Q15617994))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q340169
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q3305213
[[{'concept': 'Q340169'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?h ) { SELECT DISTINCT ?s ( COUNT ( ?f ) AS ?c ) WHERE { ?f rdf:type ?o . VALUES ( ?o ) { ( ontology:Q340169 ) ( ontology:Q3305213 ) } } GROUP BY ?s } } . FILTER ( ?u = ?h ) . { SELECT DISTINCT ?t ( COUNT ( ?y ) AS ?u ) WHERE { VALUES ( ?b ) { ( ontology:Q3305213 ) ( ontology:Q340169 ) } . ?y rdf:type ?b } GROUP BY ?t } }
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type media
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type painting
[[{'concept': 'media'}, {'concept': 'painting'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?h ) { SELECT DISTINCT ?s ( COUNT ( ?f ) AS ?c ) WHERE { ?f rdf:type ?o . VALUES ( ?o ) { ( ontology:media ) ( ontology:painting ) } } GROUP BY ?s } } . FILTER ( ?u = ?h ) . { SELECT DISTINCT ?t ( COUNT ( ?y ) AS ?u ) WHERE { VALUES ( ?b ) { ( ontology:painting ) ( ontology:media ) } . ?y rdf:type ?b } GROUP BY ?t } }
[]
designation for an administrative territorial entity media painting
Q38 Q739 Q736
SYSTEM
Italy, Colombia, Ecuador
Q131596 Q739 Q38 Q736 Q159605 Q82025
(c(Q340169)|c(Q3305213),P180,c(Q15617994))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q340169
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q3305213
[ANSWERS] are expressed in max number of medias and paintings
[[{'concept': 'Q340169'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?h ) { SELECT DISTINCT ?s ( COUNT ( ?f ) AS ?c ) WHERE { ?f rdf:type ?o . VALUES ( ?o ) { ( ontology:Q340169 ) ( ontology:Q3305213 ) } } GROUP BY ?s } } . FILTER ( ?u = ?h ) . { SELECT DISTINCT ?t ( COUNT ( ?y ) AS ?u ) WHERE { VALUES ( ?b ) { ( ontology:Q3305213 ) ( ontology:Q340169 ) } . ?y rdf:type ?b } GROUP BY ?t } }
farm Colombia Italy Ecuador Tivoli horn
Italy, Colombia and Ecuador are expressed in max number of medias and paintings
Italy Colombia Ecuador
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type media
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type painting
[[{'concept': 'media'}, {'concept': 'painting'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?h ) { SELECT DISTINCT ?s ( COUNT ( ?f ) AS ?c ) WHERE { ?f rdf:type ?o . VALUES ( ?o ) { ( ontology:media ) ( ontology:painting ) } } GROUP BY ?s } } . FILTER ( ?u = ?h ) . { SELECT DISTINCT ?t ( COUNT ( ?y ) AS ?u ) WHERE { VALUES ( ?b ) { ( ontology:painting ) ( ontology:media ) } . ?y rdf:type ?b } GROUP BY ?t } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q30
P1071
Q478798 Q3514338
USER
How many images and printing techniques have United States of America as their final assembly location ?
(c(Q478798),P1071,Q30) (c(Q3514338),P1071,Q30)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P1071
type Q478798
action filter_type
action find_reverse
entity Q30
relation P1071
type Q3514338
[{'concept': 'Q478798'}, 'P1071', 'Q30'] [{'concept': 'Q3514338'}, 'P1071', 'Q30']
SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { { ?i property:P1071 resource:Q30 . ?i rdf:type ontology:Q478798 } UNION { ?i property:P1071 resource:Q30 . ?i rdf:type ontology:Q3514338 } }
United States of America
action count
action union
action filter_type
action find_reverse
entity United States of America
relation location of final assembly
type image
action filter_type
action find_reverse
entity United States of America
relation location of final assembly
type printing technique
[{'concept': 'image'}, 'location of final assembly', 'United States of America'] [{'concept': 'printing technique'}, 'location of final assembly', 'United States of America']
SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { { ?i property:location_of_final_assembly resource:United_States_of_America . ?i rdf:type ontology:image } UNION { ?i property:location_of_final_assembly resource:United_States_of_America . ?i rdf:type ontology:printing_technique } }
[]
image printing technique
SYSTEM
1 images and 1 printing techniques
Q18579026 Q18572552
(c(Q478798),P1071,Q30) (c(Q3514338),P1071,Q30)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P1071
type Q478798
action filter_type
action find_reverse
entity Q30
relation P1071
type Q3514338
[ANSWER]
[{'concept': 'Q478798'}, 'P1071', 'Q30'] [{'concept': 'Q3514338'}, 'P1071', 'Q30']
SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { { ?i property:P1071 resource:Q30 . ?i rdf:type ontology:Q478798 } UNION { ?i property:P1071 resource:Q30 . ?i rdf:type ontology:Q3514338 } }
The Gardener Portrait of Charles Ireland
1 images and 1 printing techniques
action count
action union
action filter_type
action find_reverse
entity United States of America
relation location of final assembly
type image
action filter_type
action find_reverse
entity United States of America
relation location of final assembly
type printing technique
[{'concept': 'image'}, 'location of final assembly', 'United States of America'] [{'concept': 'printing technique'}, 'location of final assembly', 'United States of America']
SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { { ?i property:location_of_final_assembly resource:United_States_of_America . ?i rdf:type ontology:image } UNION { ?i property:location_of_final_assembly resource:United_States_of_America . ?i rdf:type ontology:printing_technique } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relations with exactly 3 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action equal
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 3
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?x ) AS ?b ) WHERE { ?m property:P530 ?x . ?m rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15617994 } GROUP BY ?m } . FILTER ( ?b = 3 ) }
action count
action equal
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 3
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?x ) AS ?b ) WHERE { ?m property:diplomatic_relation ?x . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } . FILTER ( ?b = 3 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
20
Q262 Q45 Q954 Q36 Q928 Q39 Q739 Q851 Q1049 Q228 Q224 Q974 Q298 Q115 Q114 Q212 Q211 Q215 Q810 Q29
(c(Q15617994),P530,c(Q15617994))
action count
action equal
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 3
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?x ) AS ?b ) WHERE { ?m property:P530 ?x . ?m rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15617994 } GROUP BY ?m } . FILTER ( ?b = 3 ) }
Algeria Portugal Zimbabwe Poland Philippines Switzerland Colombia Saudi Arabia Sudan Andorra Croatia Democratic Republic of the Congo Chile Ethiopia Kenya Ukraine Latvia Slovenia Jordan Spain
20
action count
action equal
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 3
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?x ) AS ?b ) WHERE { ?m property:diplomatic_relation ?x . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } . FILTER ( ?b = 3 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relations with around 2 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 2
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { FILTER ( ?t = 2 ) . { SELECT DISTINCT ?q ( COUNT ( ?h ) AS ?t ) WHERE { ?h property:P530 ?q . ?h rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q15617994 } GROUP BY ?q } }
action count
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 2
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { FILTER ( ?t = 2 ) . { SELECT DISTINCT ?q ( COUNT ( ?h ) AS ?t ) WHERE { ?h property:diplomatic_relation ?q . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?q } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
154
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 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 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 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 2
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { FILTER ( ?t = 2 ) . { SELECT DISTINCT ?q ( COUNT ( ?h ) AS ?t ) WHERE { ?h property:P530 ?q . ?h rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q15617994 } GROUP BY ?q } }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain 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 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 Togo Tonga Spain New Caledonia Thailand Zambia
154
action count
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 2
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { FILTER ( ?t = 2 ) . { SELECT DISTINCT ?q ( COUNT ( ?h ) AS ?t ) WHERE { ?h property:diplomatic_relation ?q . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?q } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q12127921 Q38
P530 P17
Q15617994
USER
Which administrative territories have diplomatic relationships with Italy and are T2603 road situated in ?
AND((Q38,P530,c(Q15617994)), (Q12127921,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q38
relation P530
action find
entity Q12127921
relation P17
type Q15617994
{'AND': [['Q38', 'P530', {'concept': 'Q15617994'}], ['Q12127921', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { resource:Q38 property:P530 ?b . resource:Q12127921 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
T2603 road Italy
action filter_type
action intersection
action find
entity Italy
relation diplomatic relation
action find
entity T2603 road
relation country
type designation for an administrative territorial entity
{'AND': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['T2603 road', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { resource:Italy property:diplomatic_relation ?b . resource:T2603_road property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q212
SYSTEM
Ukraine
Q212
AND((Q38,P530,c(Q15617994)), (Q12127921,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q38
relation P530
action find
entity Q12127921
relation P17
type Q15617994
[ANSWER] have diplomatic relationships with Italy and are T2603 road situated in
{'AND': [['Q38', 'P530', {'concept': 'Q15617994'}], ['Q12127921', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { resource:Q38 property:P530 ?b . resource:Q12127921 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
Ukraine
Ukraine have diplomatic relationships with Italy and are T2603 road situated in
Ukraine
action filter_type
action intersection
action find
entity Italy
relation diplomatic relation
action find
entity T2603 road
relation country
type designation for an administrative territorial entity
{'AND': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['T2603 road', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { resource:Italy property:diplomatic_relation ?b . resource:T2603_road property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q212 Q12092323
P17
Q34442
USER
Is Yuri Kondratyuk Street situated in that administrative territory ?
(Q12092323,P17,Q212)
action is_in
entity Q212
action find
entity Q12092323
relation P17
['Q12092323', 'P17', 'Q212']
ASK WHERE { resource:Q12092323 property:P17 resource:Q212 }
Ukraine Yuri Kondratyuk Street
action is_in
entity Ukraine
action find
entity Yuri Kondratyuk Street
relation country
['Yuri Kondratyuk Street', 'country', 'Ukraine']
ASK WHERE { resource:Yuri_Kondratyuk_Street property:country resource:Ukraine }
[]
road
SYSTEM
YES
(Q12092323,P17,Q212)
action is_in
entity Q212
action find
entity Q12092323
relation P17
[ANSWER]
['Q12092323', 'P17', 'Q212']
ASK WHERE { resource:Q12092323 property:P17 resource:Q212 }
Yes
action is_in
entity Ukraine
action find
entity Yuri Kondratyuk Street
relation country
['Yuri Kondratyuk Street', 'country', 'Ukraine']
ASK WHERE { resource:Yuri_Kondratyuk_Street property:country resource:Ukraine }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q929 Q15058924
P530
Q15617994
USER
Does Trerise have diplomatic relationships with Central African Republic ?
(Q929,P530,Q15058924)
action is_in
entity Q15058924
action find
entity Q929
relation P530
['Q929', 'P530', 'Q15058924']
ASK WHERE { resource:Q929 property:P530 resource:Q15058924 }
Central African Republic Trerise
action is_in
entity Trerise
action find
entity Central African Republic
relation diplomatic relation
['Central African Republic', 'diplomatic relation', 'Trerise']
ASK WHERE { resource:Central_African_Republic property:diplomatic_relation resource:Trerise }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q929,P530,Q15058924)
action is_in
entity Q15058924
action find
entity Q929
relation P530
[ANSWER]
['Q929', 'P530', 'Q15058924']
ASK WHERE { resource:Q929 property:P530 resource:Q15058924 }
No
action is_in
entity Trerise
action find
entity Central African Republic
relation diplomatic relation
['Central African Republic', 'diplomatic relation', 'Trerise']
ASK WHERE { resource:Central_African_Republic property:diplomatic_relation resource:Trerise }
[]