Simple Question (Direct)
Simple Question
Q13461846
P495
Q15617994
USER
Where did Johnny Get Your Gun originate ?
(Q13461846,P495,c(Q15617994))
action filter_type
action find
entity Q13461846
relation P495
type Q15617994
['Q13461846', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q13461846 property:P495 ?o . ?o rdf:type ontology:Q15617994 }
Johnny Get Your Gun
action filter_type
action find
entity Johnny Get Your Gun
relation country of origin
type designation for an administrative territorial entity
['Johnny Get Your Gun', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Johnny_Get_Your_Gun property:country_of_origin ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q13461846,P495,c(Q15617994))
action filter_type
action find
entity Q13461846
relation P495
type Q15617994
Get originate [ANSWER]
['Q13461846', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q13461846 property:P495 ?o . ?o rdf:type ontology:Q15617994 }
United States of America
Get originate United States of America
United States of America
action filter_type
action find
entity Johnny Get Your Gun
relation country of origin
type designation for an administrative territorial entity
['Johnny Get Your Gun', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Johnny_Get_Your_Gun property:country_of_origin ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q13461846
P344
Q502895
USER
Who is the director of photography for Johnny Get Your Gun ?
(Q13461846,P344,c(Q502895))
action filter_type
action find
entity Q13461846
relation P344
type Q502895
['Q13461846', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q13461846 property:P344 ?e . ?e rdf:type ontology:Q502895 }
Johnny Get Your Gun
action filter_type
action find
entity Johnny Get Your Gun
relation director of photography
type common name
['Johnny Get Your Gun', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Johnny_Get_Your_Gun property:director_of_photography ?e . ?e rdf:type ontology:common_name }
[]
common name
Q5724479
SYSTEM
Henry Kotani
Q5724479
(Q13461846,P344,c(Q502895))
action filter_type
action find
entity Q13461846
relation P344
type Q502895
The director of photography for Johnny Get Your Gun is John [ANSWER]
['Q13461846', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q13461846 property:P344 ?e . ?e rdf:type ontology:Q502895 }
Henry Kotani
The director of photography for Johnny Get Your Gun is John Henry Kotani
Henry Kotani
action filter_type
action find
entity Johnny Get Your Gun
relation director of photography
type common name
['Johnny Get Your Gun', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Johnny_Get_Your_Gun property:director_of_photography ?e . ?e rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q5724479 Q457139 Q49603
P27
Q15617994
USER
Is Henry Kotani a civilian of Amberg and Ponte Buggianese ?
(Q5724479,P27,Q457139) (Q5724479,P27,Q49603)
action is_in
entity Q5724479
action intersection
action find_reverse
entity Q457139
relation P27
action find_reverse
entity Q49603
relation P27
['Q5724479', 'P27', 'Q457139'] ['Q5724479', 'P27', 'Q49603']
ASK WHERE { resource:Q5724479 property:P27 resource:Q457139 . resource:Q5724479 property:P27 resource:Q49603 }
Henry Kotani Amberg Ponte Buggianese
action is_in
entity Henry Kotani
action intersection
action find_reverse
entity Amberg
relation country of citizenship
action find_reverse
entity Ponte Buggianese
relation country of citizenship
['Henry Kotani', 'country of citizenship', 'Amberg'] ['Henry Kotani', 'country of citizenship', 'Ponte Buggianese']
ASK WHERE { resource:Henry_Kotani property:country_of_citizenship resource:Amberg . resource:Henry_Kotani property:country_of_citizenship resource:Ponte_Buggianese }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q5724479,P27,Q457139) (Q5724479,P27,Q49603)
action is_in
entity Q5724479
action intersection
action find_reverse
entity Q457139
relation P27
action find_reverse
entity Q49603
relation P27
[ANSWER]
['Q5724479', 'P27', 'Q457139'] ['Q5724479', 'P27', 'Q49603']
ASK WHERE { resource:Q5724479 property:P27 resource:Q457139 . resource:Q5724479 property:P27 resource:Q49603 }
No
action is_in
entity Henry Kotani
action intersection
action find_reverse
entity Amberg
relation country of citizenship
action find_reverse
entity Ponte Buggianese
relation country of citizenship
['Henry Kotani', 'country of citizenship', 'Amberg'] ['Henry Kotani', 'country of citizenship', 'Ponte Buggianese']
ASK WHERE { resource:Henry_Kotani property:country_of_citizenship resource:Amberg . resource:Henry_Kotani property:country_of_citizenship resource:Ponte_Buggianese }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q13461846 Q16190341
P57
Q502895
USER
Did Dagobert d'Agde direct Johnny Get Your Gun ?
(Q13461846,P57,Q16190341)
action is_in
entity Q16190341
action find
entity Q13461846
relation P57
['Q13461846', 'P57', 'Q16190341']
ASK WHERE { resource:Q13461846 property:P57 resource:Q16190341 }
Johnny Get Your Gun Dagobert d'Agde
action is_in
entity Dagobert d'Agde
action find
entity Johnny Get Your Gun
relation director
['Johnny Get Your Gun', 'director', "Dagobert d'Agde"]
ASK WHERE { resource:Johnny_Get_Your_Gun property:director resource:Dagobert_d'Agde }
[]
common name
SYSTEM
NO
(Q13461846,P57,Q16190341)
action is_in
entity Q16190341
action find
entity Q13461846
relation P57
[ANSWER]
['Q13461846', 'P57', 'Q16190341']
ASK WHERE { resource:Q13461846 property:P57 resource:Q16190341 }
No
action is_in
entity Dagobert d'Agde
action find
entity Johnny Get Your Gun
relation director
['Johnny Get Your Gun', 'director', "Dagobert d'Agde"]
ASK WHERE { resource:Johnny_Get_Your_Gun property:director resource:Dagobert_d'Agde }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q219
P17
Q15617994 Q43229 Q3700011
USER
Which administrative territories are lesser number of organizations or districts of Indonesia present in than Bulgaria ?
(c(Q43229)|c(Q3700011),P17,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q43229
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q3700011
action count
action filter_multi_types
action find_reverse
entity Q219
relation P17
type Q43229
type Q3700011
[[{'concept': 'Q43229'}, {'concept': 'Q3700011'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) ?f WHERE { { ?g property:P17 ?f . ?f rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q43229 } UNION { ?g property:P17 ?f . ?f rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q3700011 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) WHERE { ?x property:P17 resource:Q219 . { { ?x rdf:type ontology:Q3700011 } UNION { ?x rdf:type ontology:Q43229 } } } } . FILTER ( ?o < ?y ) }
Bulgaria
action less
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type organization
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type district of Indonesia
action count
action filter_multi_types
action find_reverse
entity Bulgaria
relation country
type organization
type district of Indonesia
[[{'concept': 'organization'}, {'concept': 'district of Indonesia'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) ?f WHERE { { ?g property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:organization } UNION { ?g property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:district_of_Indonesia } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) WHERE { ?x property:country resource:Bulgaria . { { ?x rdf:type ontology:district_of_Indonesia } UNION { ?x rdf:type ontology:organization } } } } . FILTER ( ?o < ?y ) }
[]
designation for an administrative territorial entity organization district of Indonesia
Q230 Q953 Q184
SYSTEM
Georgia, Zambia, Belarus
Q702 Q804 Q800 Q1256 Q709 Q398 Q805 Q339952 Q419 Q270508 Q684030 Q2172530 Q12536 Q262 Q783 Q784 Q265 Q214 Q640426 Q36678 Q736029 Q712 Q711 Q710 Q717 Q837 Q565812 Q187035 Q399 Q1462 Q403 Q657 Q258 Q45 Q792 Q790 Q517333 Q796 Q794 Q954 Q889 Q2001966 Q326029 Q958 Q881 Q986 Q153529 Q695316 Q4628 Q826 Q165040 Q822 Q241 Q242 Q244 Q315667 Q811 Q736 Q153136 Q1210 Q921 Q924 Q928 Q155019 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q107426 Q424 Q730 Q1282 Q159626 Q236 Q230 Q232 Q233 Q238 Q1045 Q1044 Q1042 Q1041 Q177323 Q313175 Q149621 Q1025 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q836 Q34762 Q1458 Q786 Q32 Q228 Q3462133 Q227 Q225 Q224 Q223 Q222 Q221 Q815731 Q47261 Q96 Q229 Q347 Q1050 Q977 Q704288 Q10957559 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q965 Q967 Q962 Q963 Q697 Q695 Q115 Q114 Q117 Q389004 Q754 Q750 Q217 Q1013 Q215 Q218 Q160307 Q164092 Q1483510 Q912 Q2662372 Q917 Q916 Q1007 Q1006 Q1005 Q829700 Q1009 Q1008 Q971 Q970 Q239502 Q683 Q15581 Q34020 Q2380910 Q686 Q193152 Q760 Q574 Q655621 Q2502354 Q154849 Q159856 Q2621010 Q874 Q79 Q696651 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q148499 Q1011 Q945 Q678 Q8575586 Q529605 Q1039 Q672 Q33788 Q929 Q11024667 Q863 Q1049 Q426025 Q953
(c(Q43229)|c(Q3700011),P17,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q43229
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q3700011
action count
action filter_multi_types
action find_reverse
entity Q219
relation P17
type Q43229
type Q3700011
[ANSWERS] are lesser number of organizations or districts of Indonesia present in than Bulgaria
[[{'concept': 'Q43229'}, {'concept': 'Q3700011'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) ?f WHERE { { ?g property:P17 ?f . ?f rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q43229 } UNION { ?g property:P17 ?f . ?f rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q3700011 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) WHERE { ?x property:P17 resource:Q219 . { { ?x rdf:type ontology:Q3700011 } UNION { ?x rdf:type ontology:Q43229 } } } } . FILTER ( ?o < ?y ) }
Federated States of Micronesia Panama Costa Rica Liguria Marshall Islands Bahrain Yemen Principality of Orange-Nassau Peru 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 Serbia Chad South Africa Portugal El Salvador Haiti Principality of Polotsk Iraq Iran Zimbabwe Afghanistan Company rule in India Duchy of Brunswick South Sudan Vietnam 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 Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay 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 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 Albania Republic of Macedonia Principality of Bulgaria Duchy of Bavaria Mexico Cyprus Liechtenstein Swaziland Djibouti Duchy of Holstein Moldavia Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Burkina Faso Burundi Benin Botswana Nauru Palau Ethiopia Kenya Ghana Wallachia Trinidad and Tobago Bolivia Republic of Moldova Lesotho Slovenia Romania Fatimid caliphate Duchy of Saxony Principality of Wales Mali Principality of Minsk Bhutan Angola Guinea-Bissau Guinea Gambia Saxe-Jena Cameroon 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 Egypt Saxe-Eisenach Uruguay Syria United Arab Emirates 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 Duchy of Savoy Zambia
Georgia, Zambia and Belarus are lesser number of organizations or districts of Indonesia present in than Bulgaria
Georgia Zambia Belarus
action less
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type organization
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type district of Indonesia
action count
action filter_multi_types
action find_reverse
entity Bulgaria
relation country
type organization
type district of Indonesia
[[{'concept': 'organization'}, {'concept': 'district of Indonesia'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) ?f WHERE { { ?g property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:organization } UNION { ?g property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:district_of_Indonesia } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) WHERE { ?x property:country resource:Bulgaria . { { ?x rdf:type ontology:district_of_Indonesia } UNION { ?x rdf:type ontology:organization } } } } . FILTER ( ?o < ?y ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q805
P17
Q15617994 Q43229 Q3700011
USER
And how about Yemen?
(c(Q43229)|c(Q3700011),P17,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q43229
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q3700011
action count
action filter_multi_types
action find_reverse
entity Q805
relation P17
type Q43229
type Q3700011
[[{'concept': 'Q43229'}, {'concept': 'Q3700011'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { { ?j rdf:type ?d . VALUES ( ?d ) { ( ontology:Q43229 ) ( ontology:Q3700011 ) } } . ?j property:P17 resource:Q805 } } . FILTER ( ?v < ?n ) . { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?v ) WHERE { VALUES ( ?f ) { ( ontology:Q43229 ) ( ontology:Q3700011 ) } . ?z rdf:type ?f } GROUP BY ?b } }
Yemen
action less
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type organization
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type district of Indonesia
action count
action filter_multi_types
action find_reverse
entity Yemen
relation country
type organization
type district of Indonesia
[[{'concept': 'organization'}, {'concept': 'district of Indonesia'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { { ?j rdf:type ?d . VALUES ( ?d ) { ( ontology:organization ) ( ontology:district_of_Indonesia ) } } . ?j property:country resource:Yemen } } . FILTER ( ?v < ?n ) . { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?v ) WHERE { VALUES ( ?f ) { ( ontology:organization ) ( ontology:district_of_Indonesia ) } . ?z rdf:type ?f } GROUP BY ?b } }
[]
designation for an administrative territorial entity organization district of Indonesia
Q1011 Q1016 Q1025
SYSTEM
Cape Verde, Libya, Mauritania
Q702 Q1256 Q709 Q339952 Q270508 Q684030 Q2172530 Q12536 Q783 Q784 Q640426 Q36678 Q736029 Q712 Q710 Q565812 Q187035 Q1462 Q517333 Q2001966 Q326029 Q958 Q153529 Q695316 Q165040 Q822 Q315667 Q153136 Q1210 Q155019 Q983 Q734 Q819 Q107426 Q1282 Q159626 Q238 Q1044 Q1042 Q177323 Q313175 Q149621 Q1025 Q1020 Q34762 Q1458 Q228 Q3462133 Q815731 Q47261 Q1050 Q977 Q704288 Q10957559 Q1032 Q967 Q962 Q963 Q695 Q115 Q389004 Q1013 Q160307 Q164092 Q1483510 Q2662372 Q1007 Q1006 Q1005 Q829700 Q970 Q239502 Q683 Q15581 Q34020 Q2380910 Q686 Q193152 Q760 Q574 Q655621 Q2502354 Q154849 Q159856 Q2621010 Q696651 Q813 Q1016 Q148499 Q1011 Q945 Q678 Q8575586 Q529605 Q1039 Q672 Q33788 Q11024667 Q863 Q426025
(c(Q43229)|c(Q3700011),P17,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q43229
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q3700011
action count
action filter_multi_types
action find_reverse
entity Q805
relation P17
type Q43229
type Q3700011
[ANSWERS]
[[{'concept': 'Q43229'}, {'concept': 'Q3700011'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { { ?j rdf:type ?d . VALUES ( ?d ) { ( ontology:Q43229 ) ( ontology:Q3700011 ) } } . ?j property:P17 resource:Q805 } } . FILTER ( ?v < ?n ) . { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?v ) WHERE { VALUES ( ?f ) { ( ontology:Q43229 ) ( ontology:Q3700011 ) } . ?z rdf:type ?f } GROUP BY ?b } }
Federated States of Micronesia Liguria Marshall Islands Principality of Orange-Nassau Andora Principality of Serbia Electorate of Württemberg Abbasid caliphate Honduras Dominica Stahnsdorf West Bank Nassau-Siegen Fiji Kiribati Principality of Calenberg Principality of Albania Sardinia Principality of Polotsk Company rule in India Duchy of Brunswick South Sudan Duchy of Milan Schwarzburg-Rudolstadt Duchy of Parma Lebanon Saxe-Weimar Habsburg Empire Lombardy Duchy of Lorraine Equatorial Guinea Guyana Laos Anjou Lazio Württemberg San Marino Sierra Leone Seychelles developing country Saxe-Lauenburg district Mauritania Malawi Principality of Bayreuth Calabria Andorra Saxe-Coburg and Gotha Principality of Bulgaria Duchy of Bavaria Swaziland Djibouti Duchy of Holstein Moldavia Niger Burundi Benin Botswana Palau Ethiopia Wallachia Lesotho Fatimid caliphate Duchy of Saxony Principality of Wales Principality of Minsk Guinea-Bissau Guinea Gambia Saxe-Jena 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 Saxe-Eisenach Kyrgyzstan Libya Margraviate of Brandenburg Cape Verde Togo Tonga Umayyad Caliphate Electorate of Hesse Sao Tomé and Príncipe Tuvalu New Caledonia Duchy of Mecklenburg-Schwerin Tajikistan Duchy of Savoy
Cape Verde Libya Mauritania
action less
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type organization
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type district of Indonesia
action count
action filter_multi_types
action find_reverse
entity Yemen
relation country
type organization
type district of Indonesia
[[{'concept': 'organization'}, {'concept': 'district of Indonesia'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { { ?j rdf:type ?d . VALUES ( ?d ) { ( ontology:organization ) ( ontology:district_of_Indonesia ) } } . ?j property:country resource:Yemen } } . FILTER ( ?v < ?n ) . { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?v ) WHERE { VALUES ( ?f ) { ( ontology:organization ) ( ontology:district_of_Indonesia ) } . ?z rdf:type ?f } GROUP BY ?b } }
[]
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 associations with around 56 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 56
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { FILTER ( ?m = 56 ) . { SELECT DISTINCT ?b ( COUNT ( ?d ) AS ?m ) WHERE { ?b property:P530 ?d . ?b rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 } GROUP BY ?b } }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 56
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { FILTER ( ?m = 56 ) . { SELECT DISTINCT ?b ( COUNT ( ?d ) AS ?m ) WHERE { ?b property:diplomatic_relation ?d . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?b } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
1
Q155
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 56
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { FILTER ( ?m = 56 ) . { SELECT DISTINCT ?b ( COUNT ( ?d ) AS ?m ) WHERE { ?b property:P530 ?d . ?b rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 } GROUP BY ?b } }
Brazil
1
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 56
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { FILTER ( ?m = 56 ) . { SELECT DISTINCT ?b ( COUNT ( ?d ) AS ?m ) WHERE { ?b property:diplomatic_relation ?d . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?b } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q13461846
P162
Q502895
USER
Which person is the produced of Johnny Get Your Gun ?
(Q13461846,P162,c(Q502895))
action filter_type
action find
entity Q13461846
relation P162
type Q502895
['Q13461846', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . resource:Q13461846 property:P162 ?p }
Johnny Get Your Gun
action filter_type
action find
entity Johnny Get Your Gun
relation producer
type common name
['Johnny Get Your Gun', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . resource:Johnny_Get_Your_Gun property:producer ?p }
[]
common name
Q1384661
SYSTEM
Jesse Louis Lasky
Q1384661
(Q13461846,P162,c(Q502895))
action filter_type
action find
entity Q13461846
relation P162
type Q502895
[ANSWER] is the produced of Johnny Get Your Gun
['Q13461846', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . resource:Q13461846 property:P162 ?p }
Jesse Louis Lasky
Jesse Louis Lasky is the produced of Johnny Get Your Gun
Jesse Louis Lasky
action filter_type
action find
entity Johnny Get Your Gun
relation producer
type common name
['Johnny Get Your Gun', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . resource:Johnny_Get_Your_Gun property:producer ?p }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q13461846
P364
Q34770
USER
Which language was used originally for the creation of Johnny Get Your Gun ?
(Q13461846,P364,c(Q34770))
action filter_type
action find
entity Q13461846
relation P364
type Q34770
['Q13461846', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?w WHERE { resource:Q13461846 property:P364 ?w . ?w rdf:type ontology:Q34770 }
Johnny Get Your Gun
action filter_type
action find
entity Johnny Get Your Gun
relation original language of work
type language
['Johnny Get Your Gun', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?w WHERE { resource:Johnny_Get_Your_Gun property:original_language_of_work ?w . ?w rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q13461846,P364,c(Q34770))
action filter_type
action find
entity Q13461846
relation P364
type Q34770
In [ANSWER] was used originally for the creation of Johnny Get Your Gun
['Q13461846', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?w WHERE { resource:Q13461846 property:P364 ?w . ?w rdf:type ontology:Q34770 }
English
In English was used originally for the creation of Johnny Get Your Gun
English
action filter_type
action find
entity Johnny Get Your Gun
relation original language of work
type language
['Johnny Get Your Gun', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?w WHERE { resource:Johnny_Get_Your_Gun property:original_language_of_work ?w . ?w rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1011
P1532
Q6979593
USER
Whose national association football team is Cape Verde ?
(c(Q6979593),P1532,Q1011)
action filter_type
action find_reverse
entity Q1011
relation P1532
type Q6979593
[{'concept': 'Q6979593'}, 'P1532', 'Q1011']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q6979593 . ?b property:P1532 resource:Q1011 }
Cape Verde
action filter_type
action find_reverse
entity Cape Verde
relation country for sport
type national association football team
[{'concept': 'national association football team'}, 'country for sport', 'Cape Verde']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:national_association_football_team . ?b property:country_for_sport resource:Cape_Verde }
[]
national association football team
Q5035121
SYSTEM
Cape Verde women's national football team
Q5035121
(c(Q6979593),P1532,Q1011)
action filter_type
action find_reverse
entity Q1011
relation P1532
type Q6979593
[ANSWER] is Cape Verde
[{'concept': 'Q6979593'}, 'P1532', 'Q1011']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q6979593 . ?b property:P1532 resource:Q1011 }
Cape Verde women's national football team
Cape Verde women's national football team is Cape Verde
Cape Verde women's national football team
action filter_type
action find_reverse
entity Cape Verde
relation country for sport
type national association football team
[{'concept': 'national association football team'}, 'country for sport', 'Cape Verde']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:national_association_football_team . ?b property:country_for_sport resource:Cape_Verde }
[]