Simple Question (Direct)
Simple Question
Q203889
P47
Q56061
USER
Which administrative territory shares border with Luton ?
(Q203889,P47,c(Q56061))
action filter_type
action find
entity Q203889
relation P47
type Q56061
['Q203889', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q203889 property:P47 ?q . ?q rdf:type ontology:Q56061 }
Luton
action filter_type
action find
entity Luton
relation shares border with
type administrative territorial entity
['Luton', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Luton property:shares_border_with ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3532
SYSTEM
Hemel Hempstead
Q3532
(Q203889,P47,c(Q56061))
action filter_type
action find
entity Q203889
relation P47
type Q56061
[ANSWER] shares border with Luton
['Q203889', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q203889 property:P47 ?q . ?q rdf:type ontology:Q56061 }
Hemel Hempstead
Hemel Hempstead shares border with Luton
Hemel Hempstead
action filter_type
action find
entity Luton
relation shares border with
type administrative territorial entity
['Luton', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Luton property:shares_border_with ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q203889
P17
Q15617994
USER
Which administrative territory is Luton located in ?
(Q203889,P17,c(Q15617994))
action filter_type
action find
entity Q203889
relation P17
type Q15617994
['Q203889', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q203889 property:P17 ?v . ?v rdf:type ontology:Q15617994 }
Luton
action filter_type
action find
entity Luton
relation country
type designation for an administrative territorial entity
['Luton', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Luton property:country ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q203889,P17,c(Q15617994))
action filter_type
action find
entity Q203889
relation P17
type Q15617994
Luton is located in [ANSWER]
['Q203889', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q203889 property:P17 ?v . ?v rdf:type ontology:Q15617994 }
United Kingdom
Luton is located in United Kingdom
United Kingdom
action filter_type
action find
entity Luton
relation country
type designation for an administrative territorial entity
['Luton', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Luton property:country ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q203889
P551
Q502895
USER
Which people dwell at Luton ?
(c(Q502895),P551,Q203889)
action filter_type
action find_reverse
entity Q203889
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q203889']
SELECT DISTINCT ?c WHERE { ?c property:P551 resource:Q203889 . ?c rdf:type ontology:Q502895 }
Luton
action filter_type
action find_reverse
entity Luton
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Luton']
SELECT DISTINCT ?c WHERE { ?c property:residence resource:Luton . ?c rdf:type ontology:common_name }
[]
common name
Q7595829 Q24050583 Q780671
SYSTEM
Stacey Dooley, Jordan Thomas, Boris Georgiev
Q7595829 Q24050583 Q780671
(c(Q502895),P551,Q203889)
action filter_type
action find_reverse
entity Q203889
relation P551
type Q502895
[ANSWERS] dwell at Luton
[{'concept': 'Q502895'}, 'P551', 'Q203889']
SELECT DISTINCT ?c WHERE { ?c property:P551 resource:Q203889 . ?c rdf:type ontology:Q502895 }
Stacey Dooley Jordan Thomas Boris Georgiev
Stacey Dooley, Jordan Thomas and Boris Georgiev dwell at Luton
Stacey Dooley Jordan Thomas Boris Georgiev
action filter_type
action find_reverse
entity Luton
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Luton']
SELECT DISTINCT ?c WHERE { ?c property:residence resource:Luton . ?c rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q203889
P190
Q914262
USER
Which administrative territory of Sweden is sister town of Luton ?
(Q203889,P190,c(Q914262))
action filter_type
action find
entity Q203889
relation P190
type Q914262
['Q203889', 'P190', {'concept': 'Q914262'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q914262 . resource:Q203889 property:P190 ?e }
Luton
action filter_type
action find
entity Luton
relation sister city
type administrative territorial entity of Sweden
['Luton', 'sister city', {'concept': 'administrative territorial entity of Sweden'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:administrative_territorial_entity_of_Sweden . resource:Luton property:sister_city ?e }
[]
administrative territorial entity of Sweden
Q503144
SYSTEM
Eskilstuna Municipality
Q503144
(Q203889,P190,c(Q914262))
action filter_type
action find
entity Q203889
relation P190
type Q914262
[ANSWER] is sister town of Luton
['Q203889', 'P190', {'concept': 'Q914262'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q914262 . resource:Q203889 property:P190 ?e }
Eskilstuna Municipality
Eskilstuna Municipality is sister town of Luton
Eskilstuna Municipality
action filter_type
action find
entity Luton
relation sister city
type administrative territorial entity of Sweden
['Luton', 'sister city', {'concept': 'administrative territorial entity of Sweden'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:administrative_territorial_entity_of_Sweden . resource:Luton property:sister_city ?e }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q203889
Q515
USER
And which city?
(Q203889,P190,c(Q515))
action filter_type
action find
entity Q203889
relation P190
type Q515
['Q203889', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?d WHERE { resource:Q203889 property:P190 ?d . ?d rdf:type ontology:Q515 }
Luton
action filter_type
action find
entity Luton
relation sister city
type city
['Luton', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?d WHERE { resource:Luton property:sister_city ?d . ?d rdf:type ontology:city }
[]
city
Q3014
SYSTEM
Wolfsburg
Q3014
(Q203889,P190,c(Q515))
action filter_type
action find
entity Q203889
relation P190
type Q515
[ANSWER]
['Q203889', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?d WHERE { resource:Q203889 property:P190 ?d . ?d rdf:type ontology:Q515 }
Wolfsburg
Wolfsburg
action filter_type
action find
entity Luton
relation sister city
type city
['Luton', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?d WHERE { resource:Luton property:sister_city ?d . ?d rdf:type ontology:city }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q228
P17
Q15617994 Q55488 Q532
USER
How many administrative territories are approximately the same number of railway stations and villages situated in as Andorra ?
(c(Q55488)|c(Q532),P17,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q55488
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q532
action count
action filter_multi_types
action find_reverse
entity Q228
relation P17
type Q55488
type Q532
[[{'concept': 'Q55488'}, {'concept': 'Q532'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { FILTER ( ?m = ?v ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { ?w property:P17 resource:Q228 . { { ?w rdf:type ontology:Q55488 } UNION { ?w rdf:type ontology:Q532 } } } } . { SELECT DISTINCT ?c ( COUNT ( ?a ) AS ?m ) WHERE { { ?a property:P17 ?c . ?c rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q55488 } UNION { ?a property:P17 ?c . ?c rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q532 } } GROUP BY ?c } }
Andorra
action count
action approx
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type railway station
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type village
action count
action filter_multi_types
action find_reverse
entity Andorra
relation country
type railway station
type village
[[{'concept': 'railway station'}, {'concept': 'village'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { FILTER ( ?m = ?v ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { ?w property:country resource:Andorra . { { ?w rdf:type ontology:railway_station } UNION { ?w rdf:type ontology:village } } } } . { SELECT DISTINCT ?c ( COUNT ( ?a ) AS ?m ) WHERE { { ?a property:country ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:railway_station } UNION { ?a property:country ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:village } } GROUP BY ?c } }
[]
designation for an administrative territorial entity railway station village
SYSTEM
228
Q702 Q804 Q801 Q800 Q1256 Q709 Q398 Q805 Q339952 Q419 Q270508 Q668 Q684030 Q2172530 Q414 Q55 Q12536 Q262 Q783 Q784 Q265 Q214 Q640426 Q36678 Q736029 Q712 Q711 Q710 Q717 Q837 Q565812 Q187035 Q252 Q399 Q1462 Q403 Q657 Q258 Q45 Q43 Q41 Q155 Q792 Q790 Q517333 Q796 Q794 Q954 Q889 Q2001966 Q326029 Q884 Q958 Q881 Q986 Q153529 Q695316 Q4628 Q826 Q165040 Q822 Q241 Q242 Q244 Q315667 Q811 Q736 Q153136 Q1210 Q33 Q921 Q31 Q924 Q36 Q34 Q928 Q155019 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q107426 Q424 Q730 Q1282 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1042 Q1041 Q27 Q28 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 Q17 Q704288 Q10957559 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q389004 Q754 Q750 Q212 Q213 Q211 Q217 Q1013 Q215 Q218 Q160307 Q164092 Q37 Q1483510 Q912 Q2662372 Q917 Q916 Q1007 Q1006 Q1005 Q833 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 Q813 Q1014 Q1016 Q148499 Q1011 Q945 Q678 Q8575586 Q529605 Q1039 Q672 Q33788 Q929 Q11024667 Q863 Q1049 Q869 Q426025 Q953
(c(Q55488)|c(Q532),P17,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q55488
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q532
action count
action filter_multi_types
action find_reverse
entity Q228
relation P17
type Q55488
type Q532
[ANSWER]
[[{'concept': 'Q55488'}, {'concept': 'Q532'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { FILTER ( ?m = ?v ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { ?w property:P17 resource:Q228 . { { ?w rdf:type ontology:Q55488 } UNION { ?w rdf:type ontology:Q532 } } } } . { SELECT DISTINCT ?c ( COUNT ( ?a ) AS ?m ) WHERE { { ?a property:P17 ?c . ?c rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q55488 } UNION { ?a property:P17 ?c . ?c rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q532 } } GROUP BY ?c } }
Federated States of Micronesia Panama Israel Costa Rica Liguria Marshall Islands Bahrain Yemen Principality of Orange-Nassau Peru Andora India Principality of Serbia Electorate of Württemberg Argentina Netherlands Abbasid caliphate Algeria Honduras Dominica Uzbekistan Slovakia Stahnsdorf West Bank Nassau-Siegen Fiji Mongolia Kiribati Venezuela Nepal Principality of Calenberg Principality of Albania Indonesia Armenia Sardinia Serbia Chad South Africa Portugal Turkey Greece Brazil El Salvador Haiti Principality of Polotsk Iraq Iran Zimbabwe Afghanistan Company rule in India Duchy of Brunswick South Korea 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 Finland Brunei Belgium Tanzania Poland Sweden Philippines Duchy of Lorraine Switzerland Italy 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 Norway Somalia Sierra Leone Seychelles Senegal Ireland Hungary 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 Japan Duchy of Holstein Moldavia Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Wallachia Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Lesotho Slovenia Romania Fatimid caliphate Duchy of Saxony Lithuania Principality of Wales Mali Principality of Minsk Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia 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 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
228
action count
action approx
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type railway station
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type village
action count
action filter_multi_types
action find_reverse
entity Andorra
relation country
type railway station
type village
[[{'concept': 'railway station'}, {'concept': 'village'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { FILTER ( ?m = ?v ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { ?w property:country resource:Andorra . { { ?w rdf:type ontology:railway_station } UNION { ?w rdf:type ontology:village } } } } . { SELECT DISTINCT ?c ( COUNT ( ?a ) AS ?m ) WHERE { { ?a property:country ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:railway_station } UNION { ?a property:country ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:village } } GROUP BY ?c } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q854
P17
Q15617994 Q55488 Q532
USER
And also tell me about Sri Lanka?
(c(Q55488)|c(Q532),P17,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q55488
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q532
action count
action filter_multi_types
action find_reverse
entity Q854
relation P17
type Q55488
type Q532
[[{'concept': 'Q55488'}, {'concept': 'Q532'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { FILTER ( ?t = ?d ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { ?o property:P17 resource:Q854 . { { ?o rdf:type ontology:Q55488 } UNION { ?o rdf:type ontology:Q532 } } } } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) ?e WHERE { { ?r property:P17 ?e . ?r rdf:type ontology:Q55488 . ?e rdf:type ontology:Q15617994 } UNION { ?r property:P17 ?e . ?e rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q532 } } GROUP BY ?e } }
Sri Lanka
action count
action approx
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type railway station
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type village
action count
action filter_multi_types
action find_reverse
entity Sri Lanka
relation country
type railway station
type village
[[{'concept': 'railway station'}, {'concept': 'village'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { FILTER ( ?t = ?d ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { ?o property:country resource:Sri_Lanka . { { ?o rdf:type ontology:railway_station } UNION { ?o rdf:type ontology:village } } } } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) ?e WHERE { { ?r property:country ?e . ?r rdf:type ontology:railway_station . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?r property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:village } } GROUP BY ?e } }
[]
designation for an administrative territorial entity railway station village
SYSTEM
228
Q702 Q804 Q801 Q800 Q1256 Q709 Q398 Q805 Q339952 Q419 Q270508 Q668 Q684030 Q2172530 Q414 Q55 Q12536 Q262 Q783 Q784 Q265 Q214 Q640426 Q36678 Q736029 Q712 Q711 Q710 Q717 Q837 Q565812 Q187035 Q252 Q399 Q1462 Q403 Q657 Q258 Q45 Q43 Q41 Q155 Q792 Q790 Q517333 Q796 Q794 Q954 Q889 Q2001966 Q326029 Q884 Q958 Q881 Q986 Q153529 Q695316 Q4628 Q826 Q165040 Q822 Q241 Q242 Q244 Q315667 Q811 Q736 Q153136 Q1210 Q33 Q921 Q31 Q924 Q36 Q34 Q928 Q155019 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q107426 Q424 Q730 Q1282 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1042 Q1041 Q27 Q28 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 Q17 Q704288 Q10957559 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q389004 Q754 Q750 Q212 Q213 Q211 Q217 Q1013 Q215 Q218 Q160307 Q164092 Q37 Q1483510 Q912 Q2662372 Q917 Q916 Q1007 Q1006 Q1005 Q833 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 Q813 Q1014 Q1016 Q148499 Q1011 Q945 Q678 Q8575586 Q529605 Q1039 Q672 Q33788 Q929 Q11024667 Q863 Q1049 Q869 Q426025 Q953
(c(Q55488)|c(Q532),P17,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q55488
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q532
action count
action filter_multi_types
action find_reverse
entity Q854
relation P17
type Q55488
type Q532
[ANSWER]
[[{'concept': 'Q55488'}, {'concept': 'Q532'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { FILTER ( ?t = ?d ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { ?o property:P17 resource:Q854 . { { ?o rdf:type ontology:Q55488 } UNION { ?o rdf:type ontology:Q532 } } } } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) ?e WHERE { { ?r property:P17 ?e . ?r rdf:type ontology:Q55488 . ?e rdf:type ontology:Q15617994 } UNION { ?r property:P17 ?e . ?e rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q532 } } GROUP BY ?e } }
Federated States of Micronesia Panama Israel Costa Rica Liguria Marshall Islands Bahrain Yemen Principality of Orange-Nassau Peru Andora India Principality of Serbia Electorate of Württemberg Argentina Netherlands Abbasid caliphate Algeria Honduras Dominica Uzbekistan Slovakia Stahnsdorf West Bank Nassau-Siegen Fiji Mongolia Kiribati Venezuela Nepal Principality of Calenberg Principality of Albania Indonesia Armenia Sardinia Serbia Chad South Africa Portugal Turkey Greece Brazil El Salvador Haiti Principality of Polotsk Iraq Iran Zimbabwe Afghanistan Company rule in India Duchy of Brunswick South Korea 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 Finland Brunei Belgium Tanzania Poland Sweden Philippines Duchy of Lorraine Switzerland Italy 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 Norway Somalia Sierra Leone Seychelles Senegal Ireland Hungary 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 Japan Duchy of Holstein Moldavia Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Wallachia Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Lesotho Slovenia Romania Fatimid caliphate Duchy of Saxony Lithuania Principality of Wales Mali Principality of Minsk Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia 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 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
228
action count
action approx
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type railway station
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type village
action count
action filter_multi_types
action find_reverse
entity Sri Lanka
relation country
type railway station
type village
[[{'concept': 'railway station'}, {'concept': 'village'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { FILTER ( ?t = ?d ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { ?o property:country resource:Sri_Lanka . { { ?o rdf:type ontology:railway_station } UNION { ?o rdf:type ontology:village } } } } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) ?e WHERE { { ?r property:country ?e . ?r rdf:type ontology:railway_station . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?r property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:village } } GROUP BY ?e } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P38
Q8142
USER
What is used as the currency of United Kingdom ?
(Q145,P38,c(Q8142))
action filter_type
action find
entity Q145
relation P38
type Q8142
['Q145', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q8142 . resource:Q145 property:P38 ?l }
United Kingdom
action filter_type
action find
entity United Kingdom
relation currency
type currency
['United Kingdom', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:currency . resource:United_Kingdom property:currency ?l }
[]
currency
Q25224
SYSTEM
pound sterling
Q25224
(Q145,P38,c(Q8142))
action filter_type
action find
entity Q145
relation P38
type Q8142
Coin [ANSWER] is used as the currency of United Kingdom
['Q145', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q8142 . resource:Q145 property:P38 ?l }
pound sterling
Coin pound sterling is used as the currency of United Kingdom
pound sterling
action filter_type
action find
entity United Kingdom
relation currency
type currency
['United Kingdom', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:currency . resource:United_Kingdom property:currency ?l }
[]