Simple Question (Direct)
Simple Question
Q15575352
P27
Q15617994
USER
Which administrative territory is Srđan Stanić an inhabitant of ?
(Q15575352,P27,c(Q15617994))
action filter_type
action find
entity Q15575352
relation P27
type Q15617994
['Q15575352', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q15575352 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
Srđan Stanić
action filter_type
action find
entity Srđan Stanić
relation country of citizenship
type designation for an administrative territorial entity
['Srđan Stanić', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Srđan_Stanić property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q225
SYSTEM
Bosnia and Herzegovina
Q225
(Q15575352,P27,c(Q15617994))
action filter_type
action find
entity Q15575352
relation P27
type Q15617994
[ANSWER] is Srđan Stanić an inhabitant of
['Q15575352', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q15575352 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
Bosnia and Herzegovina
Bosnia and Herzegovina is Srđan Stanić an inhabitant of
Bosnia and Herzegovina
action filter_type
action find
entity Srđan Stanić
relation country of citizenship
type designation for an administrative territorial entity
['Srđan Stanić', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Srđan_Stanić property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q225
P1376
Q515
USER
Which city is center of administration for that administrative territory ?
(c(Q515),P1376,Q225)
action filter_type
action find_reverse
entity Q225
relation P1376
type Q515
[{'concept': 'Q515'}, 'P1376', 'Q225']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q515 . ?n property:P1376 resource:Q225 }
Bosnia and Herzegovina
action filter_type
action find_reverse
entity Bosnia and Herzegovina
relation capital of
type city
[{'concept': 'city'}, 'capital of', 'Bosnia and Herzegovina']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:city . ?n property:capital_of resource:Bosnia_and_Herzegovina }
[]
city
Q11194
SYSTEM
Sarajevo
Q11194
(c(Q515),P1376,Q225)
action filter_type
action find_reverse
entity Q225
relation P1376
type Q515
Is [ANSWER] is center of administration for that administrative territory
[{'concept': 'Q515'}, 'P1376', 'Q225']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q515 . ?n property:P1376 resource:Q225 }
Sarajevo
Is Sarajevo is center of administration for that administrative territory
Sarajevo
action filter_type
action find_reverse
entity Bosnia and Herzegovina
relation capital of
type city
[{'concept': 'city'}, 'capital of', 'Bosnia and Herzegovina']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:city . ?n property:capital_of resource:Bosnia_and_Herzegovina }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11194
P190
Q56061
USER
Which administrative territories are partner town of that city ?
(c(Q56061),P190,Q11194)
action filter_type
action find
entity Q11194
relation P190
type Q56061
[{'concept': 'Q56061'}, 'P190', 'Q11194']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q56061 . resource:Q11194 property:P190 ?i }
Sarajevo
action filter_type
action find
entity Sarajevo
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Sarajevo']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:administrative_territorial_entity . resource:Sarajevo property:sister_city ?i }
[]
administrative territorial entity
Q2807 Q1781 Q406
SYSTEM
Madrid, Budapest, Istanbul
Q437 Q1754 Q641 Q185134 Q727 Q1735 Q1733 Q384 Q4656 Q13377 Q9248 Q1524 Q1520 Q2634 Q35178 Q4051 Q1781 Q40738 Q85 Q406 Q13362 Q34739 Q2807 Q3640 Q3805 Q1492 Q6225
(c(Q56061),P190,Q11194)
action filter_type
action find
entity Q11194
relation P190
type Q56061
[ANSWERS] are partner town of that city
[{'concept': 'Q56061'}, 'P190', 'Q11194']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q56061 . resource:Q11194 property:P190 ?i }
Ljubljana Stockholm Venice Tlemcen Amsterdam Innsbruck Magdeburg Skopje Pula Prato Baku Athens Astana Naples Kuwait City Friedrichshafen Budapest Bursa Cairo Istanbul Ferrara Dayton Madrid Ankara Amman Barcelona Coventry
Madrid, Budapest and Istanbul are partner town of that city
Madrid Budapest Istanbul
action filter_type
action find
entity Sarajevo
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Sarajevo']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:administrative_territorial_entity . resource:Sarajevo property:sister_city ?i }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q3766
P190
Q56061
USER
Are Damascus twin city of those ones ?
(Q3766,P190,Q2807) (Q3766,P190,Q1781) (Q3766,P190,Q406)
action is_in
entity prev_answer
action find
entity Q3766
relation P190
['Q3766', 'P190', 'Q2807'] ['Q3766', 'P190', 'Q1781'] ['Q3766', 'P190', 'Q406']
ASK WHERE { VALUES ( ?x ) { ( resource:Q437 ) ( resource:Q1754 ) ( resource:Q641 ) } . resource:Q3766 property:P190 ?x }
Damascus
action is_in
entity prev_answer
action find
entity Damascus
relation sister city
['Damascus', 'sister city', 'Madrid'] ['Damascus', 'sister city', 'Budapest'] ['Damascus', 'sister city', 'Istanbul']
ASK WHERE { VALUES ( ?x ) { ( resource:Ljubljana ) ( resource:Stockholm ) ( resource:Venice ) } . resource:Damascus property:sister_city ?x }
[]
administrative territorial entity
SYSTEM
YES
(Q3766,P190,Q2807) (Q3766,P190,Q1781) (Q3766,P190,Q406)
action is_in
entity prev_answer
action find
entity Q3766
relation P190
[ANSWER]
['Q3766', 'P190', 'Q2807'] ['Q3766', 'P190', 'Q1781'] ['Q3766', 'P190', 'Q406']
ASK WHERE { VALUES ( ?x ) { ( resource:Q437 ) ( resource:Q1754 ) ( resource:Q641 ) } . resource:Q3766 property:P190 ?x }
Yes
action is_in
entity prev_answer
action find
entity Damascus
relation sister city
['Damascus', 'sister city', 'Madrid'] ['Damascus', 'sister city', 'Budapest'] ['Damascus', 'sister city', 'Istanbul']
ASK WHERE { VALUES ( ?x ) { ( resource:Ljubljana ) ( resource:Stockholm ) ( resource:Venice ) } . resource:Damascus property:sister_city ?x }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q801
P1001
Q15617994 Q17335294 Q1292279
USER
How many administrative territories are judicially linked to lesser number of coats of arms or political borders than Israel ?
(c(Q17335294)|c(Q1292279),P1001,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q17335294
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q1292279
action count
action filter_multi_types
action find_reverse
entity Q801
relation P1001
type Q17335294
type Q1292279
[[{'concept': 'Q17335294'}, {'concept': 'Q1292279'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) ?l WHERE { { ?l rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q1292279 . ?b property:P1001 ?l } UNION { ?l rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q17335294 . ?b property:P1001 ?l } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { ?u property:P1001 resource:Q801 . { { ?u rdf:type ontology:Q17335294 } UNION { ?u rdf:type ontology:Q1292279 } } } } . FILTER ( ?i < ?j ) }
Israel
action count
action less
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag or coat of arms
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type political border
action count
action filter_multi_types
action find_reverse
entity Israel
relation applies to jurisdiction
type flag or coat of arms
type political border
[[{'concept': 'flag or coat of arms'}, {'concept': 'political border'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) ?l WHERE { { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:political_border . ?b property:applies_to_jurisdiction ?l } UNION { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:flag_or_coat_of_arms . ?b property:applies_to_jurisdiction ?l } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { ?u property:applies_to_jurisdiction resource:Israel . { { ?u rdf:type ontology:flag_or_coat_of_arms } UNION { ?u rdf:type ontology:political_border } } } } . FILTER ( ?i < ?j ) }
[]
designation for an administrative territorial entity flag or coat of arms political border
SYSTEM
168
Q701 Q702 Q804 Q705 Q707 Q709 Q811 Q706679 Q2765 Q163012 Q22273061 Q55 Q2871 Q189 Q784 Q24764 Q2742 Q398 Q874 Q711 Q837 Q213 Q443815 Q50198 Q1028 Q187035 Q22274206 Q399 Q1462 Q6465 Q1979 Q45 Q792 Q4628 Q954 Q884 Q7688 Q3097 Q826 Q158893 Q2942 Q822 Q1965 Q817 Q11340 Q244 Q11343 Q1142326 Q1974 Q1019 Q2899 Q2758 Q1952 Q813 Q33 Q921 Q4712 Q155019 Q3389 Q423 Q983 Q733 Q854 Q424 Q163966 Q769680 Q3068 Q730 Q1013 Q11323 Q230 Q1948 Q233 Q1093 Q238 Q119284 Q1045 Q3403547 Q27 Q2667658 Q1027 Q1020 Q2009 Q2007 Q1101 Q2003 Q736 Q1904 Q32 Q228 Q3462133 Q225 Q223 Q347 Q1050 Q1989 Q2838 Q902 Q1037 Q1030 Q191 Q967 Q962 Q963 Q697 Q694 Q695 Q117 Q752 Q22274534 Q11337 Q11331 Q217 Q215 Q12642 Q154547 Q683 Q242 Q1216 Q12753 Q2805 Q917 Q2107 Q1007 Q1005 Q977 Q1951 Q1438 Q34020 Q2380910 Q686 Q760 Q574 Q11301 Q2904 Q158095 Q1044 Q77 Q878 Q775 Q774 Q948 Q776 Q770 Q773 Q772 Q1014 Q158083 Q1011 Q1243 Q945 Q72449 Q12549 Q22273285 Q129003 Q800 Q1039 Q672 Q176 Q33788 Q1267638 Q298 Q329609 Q863 Q2938 Q2023 Q1231 Q1237
(c(Q17335294)|c(Q1292279),P1001,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q17335294
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q1292279
action count
action filter_multi_types
action find_reverse
entity Q801
relation P1001
type Q17335294
type Q1292279
[ANSWER]
[[{'concept': 'Q17335294'}, {'concept': 'Q1292279'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) ?l WHERE { { ?l rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q1292279 . ?b property:P1001 ?l } UNION { ?l rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q17335294 . ?b property:P1001 ?l } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { ?u property:P1001 resource:Q801 . { { ?u rdf:type ontology:Q17335294 } UNION { ?u rdf:type ontology:Q1292279 } } } } . FILTER ( ?i < ?j ) }
North Holland Federated States of Micronesia Panama Zeeland Flevoland Marshall Islands Nicaragua Duchy of Bar Gelsenkirchen Pankow Duchy of Nemours Netherlands Hagen Iceland Dominica municipality of the Philippines Münster Bahrain Turkmenistan Mongolia Nepal Czech Republic Altomünster province of Thailand Morocco Principality of Albania Duchy of Mercoeur Armenia Sardinia department of France Prince Edward Island Portugal El Salvador Faroe Islands Zimbabwe South Korea raion Remscheid Maldives Friedrichshain-Kreuzberg Solingen Lebanon New Brunswick Kuwait Sprockhövel Barbados Wetter (Ruhr) Seine British Columbia Madagascar Mülheim an der Ruhr Mönchengladbach Nova Scotia Kyrgyzstan Finland Brunei Duchy of Burgundy Duchy of Lorraine Finistère North Korea Equatorial Guinea Paraguay Sri Lanka Cambodia Mitte Bornholm Loire-Atlantique Suriname Lesotho Breckerfeld Georgia Manitoba Malta Limburg San Marino Marzahn-Hellersdorf Somalia principality of Phalsbourg and Lixheim Ireland Shushary, Saint Petersburg Mauritius Malawi Yukon Northwest Territories North Brabant Newfoundland and Labrador Ecuador Ontario Luxembourg Andorra Saxe-Coburg and Gotha Bosnia and Herzegovina Greenland Liechtenstein Swaziland Saskatchewan Oberhausen Bangladesh Rwanda Namibia Estonia Burundi Benin Botswana Nauru South Holland Palau Ghana Groningen Duchy of Elbeuf Herdecke Gevelsberg Republic of Moldova Slovenia Morbihan duchy Samoa Belize Piedmont Seine-et-Marne Krefeld Bhutan Wuppertal Guinea-Bissau Gambia Djibouti Alberta Campania Niue Duchy of Zaslawye Vanuatu Saint Lucia East Timor Ennepetal Herne Charlottenburg-Wilmersdorf Sierra Leone Uruguay United Arab Emirates Gelderland Guatemala Tunisia Utrecht Friesland Overijssel Drenthe Liberia Spandau Cape Verde Veneto Togo Roccarainola Ille-et-Vilaine Duchy of Guise French Southern and Antarctic Lands Costa Rica Sao Tomé and Príncipe Tuvalu Quebec New Caledonia Beloostrov Chile Lichtenberg Tajikistan Leverkusen Nunavut Kosovo Region Trentino-South Tyrol
168
action count
action less
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag or coat of arms
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type political border
action count
action filter_multi_types
action find_reverse
entity Israel
relation applies to jurisdiction
type flag or coat of arms
type political border
[[{'concept': 'flag or coat of arms'}, {'concept': 'political border'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) ?l WHERE { { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:political_border . ?b property:applies_to_jurisdiction ?l } UNION { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:flag_or_coat_of_arms . ?b property:applies_to_jurisdiction ?l } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { ?u property:applies_to_jurisdiction resource:Israel . { { ?u rdf:type ontology:flag_or_coat_of_arms } UNION { ?u rdf:type ontology:political_border } } } } . FILTER ( ?i < ?j ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q734
P1001
Q15617994 Q17335294 Q1292279
USER
And also tell me about Guyana?
(c(Q17335294)|c(Q1292279),P1001,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q17335294
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q1292279
action count
action filter_multi_types
action find_reverse
entity Q734
relation P1001
type Q17335294
type Q1292279
[[{'concept': 'Q17335294'}, {'concept': 'Q1292279'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?h ) WHERE { VALUES ( ?k ) { ( ontology:Q17335294 ) ( ontology:Q1292279 ) } . ?n rdf:type ?k } GROUP BY ?q } . FILTER ( ?h < ?u ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { { { ?y rdf:type ontology:Q17335294 } UNION { ?y rdf:type ontology:Q1292279 } } . ?y property:P1001 resource:Q734 } } }
Guyana
action count
action less
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag or coat of arms
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type political border
action count
action filter_multi_types
action find_reverse
entity Guyana
relation applies to jurisdiction
type flag or coat of arms
type political border
[[{'concept': 'flag or coat of arms'}, {'concept': 'political border'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?h ) WHERE { VALUES ( ?k ) { ( ontology:flag_or_coat_of_arms ) ( ontology:political_border ) } . ?n rdf:type ?k } GROUP BY ?q } . FILTER ( ?h < ?u ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { { { ?y rdf:type ontology:flag_or_coat_of_arms } UNION { ?y rdf:type ontology:political_border } } . ?y property:applies_to_jurisdiction resource:Guyana } } }
[]
designation for an administrative territorial entity flag or coat of arms political border
SYSTEM
168
Q701 Q702 Q804 Q705 Q707 Q709 Q811 Q706679 Q2765 Q163012 Q22273061 Q55 Q2871 Q189 Q784 Q24764 Q2742 Q398 Q874 Q711 Q837 Q213 Q443815 Q50198 Q1028 Q187035 Q22274206 Q399 Q1462 Q6465 Q1979 Q45 Q792 Q4628 Q954 Q884 Q7688 Q3097 Q826 Q158893 Q2942 Q822 Q1965 Q817 Q11340 Q244 Q11343 Q1142326 Q1974 Q1019 Q2899 Q2758 Q1952 Q813 Q33 Q921 Q4712 Q155019 Q3389 Q423 Q983 Q733 Q854 Q424 Q163966 Q769680 Q3068 Q730 Q1013 Q11323 Q230 Q1948 Q233 Q1093 Q238 Q119284 Q1045 Q3403547 Q27 Q2667658 Q1027 Q1020 Q2009 Q2007 Q1101 Q2003 Q736 Q1904 Q32 Q228 Q3462133 Q225 Q223 Q347 Q1050 Q1989 Q2838 Q902 Q1037 Q1030 Q191 Q967 Q962 Q963 Q697 Q694 Q695 Q117 Q752 Q22274534 Q11337 Q11331 Q217 Q215 Q12642 Q154547 Q683 Q242 Q1216 Q12753 Q2805 Q917 Q2107 Q1007 Q1005 Q977 Q1951 Q1438 Q34020 Q2380910 Q686 Q760 Q574 Q11301 Q2904 Q158095 Q1044 Q77 Q878 Q775 Q774 Q948 Q776 Q770 Q773 Q772 Q1014 Q158083 Q1011 Q1243 Q945 Q72449 Q12549 Q22273285 Q129003 Q800 Q1039 Q672 Q176 Q33788 Q1267638 Q298 Q329609 Q863 Q2938 Q2023 Q1231 Q1237
(c(Q17335294)|c(Q1292279),P1001,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q17335294
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q1292279
action count
action filter_multi_types
action find_reverse
entity Q734
relation P1001
type Q17335294
type Q1292279
[ANSWER]
[[{'concept': 'Q17335294'}, {'concept': 'Q1292279'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?h ) WHERE { VALUES ( ?k ) { ( ontology:Q17335294 ) ( ontology:Q1292279 ) } . ?n rdf:type ?k } GROUP BY ?q } . FILTER ( ?h < ?u ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { { { ?y rdf:type ontology:Q17335294 } UNION { ?y rdf:type ontology:Q1292279 } } . ?y property:P1001 resource:Q734 } } }
North Holland Federated States of Micronesia Panama Zeeland Flevoland Marshall Islands Nicaragua Duchy of Bar Gelsenkirchen Pankow Duchy of Nemours Netherlands Hagen Iceland Dominica municipality of the Philippines Münster Bahrain Turkmenistan Mongolia Nepal Czech Republic Altomünster province of Thailand Morocco Principality of Albania Duchy of Mercoeur Armenia Sardinia department of France Prince Edward Island Portugal El Salvador Faroe Islands Zimbabwe South Korea raion Remscheid Maldives Friedrichshain-Kreuzberg Solingen Lebanon New Brunswick Kuwait Sprockhövel Barbados Wetter (Ruhr) Seine British Columbia Madagascar Mülheim an der Ruhr Mönchengladbach Nova Scotia Kyrgyzstan Finland Brunei Duchy of Burgundy Duchy of Lorraine Finistère North Korea Equatorial Guinea Paraguay Sri Lanka Cambodia Mitte Bornholm Loire-Atlantique Suriname Lesotho Breckerfeld Georgia Manitoba Malta Limburg San Marino Marzahn-Hellersdorf Somalia principality of Phalsbourg and Lixheim Ireland Shushary, Saint Petersburg Mauritius Malawi Yukon Northwest Territories North Brabant Newfoundland and Labrador Ecuador Ontario Luxembourg Andorra Saxe-Coburg and Gotha Bosnia and Herzegovina Greenland Liechtenstein Swaziland Saskatchewan Oberhausen Bangladesh Rwanda Namibia Estonia Burundi Benin Botswana Nauru South Holland Palau Ghana Groningen Duchy of Elbeuf Herdecke Gevelsberg Republic of Moldova Slovenia Morbihan duchy Samoa Belize Piedmont Seine-et-Marne Krefeld Bhutan Wuppertal Guinea-Bissau Gambia Djibouti Alberta Campania Niue Duchy of Zaslawye Vanuatu Saint Lucia East Timor Ennepetal Herne Charlottenburg-Wilmersdorf Sierra Leone Uruguay United Arab Emirates Gelderland Guatemala Tunisia Utrecht Friesland Overijssel Drenthe Liberia Spandau Cape Verde Veneto Togo Roccarainola Ille-et-Vilaine Duchy of Guise French Southern and Antarctic Lands Costa Rica Sao Tomé and Príncipe Tuvalu Quebec New Caledonia Beloostrov Chile Lichtenberg Tajikistan Leverkusen Nunavut Kosovo Region Trentino-South Tyrol
168
action count
action less
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag or coat of arms
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type political border
action count
action filter_multi_types
action find_reverse
entity Guyana
relation applies to jurisdiction
type flag or coat of arms
type political border
[[{'concept': 'flag or coat of arms'}, {'concept': 'political border'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?h ) WHERE { VALUES ( ?k ) { ( ontology:flag_or_coat_of_arms ) ( ontology:political_border ) } . ?n rdf:type ?k } GROUP BY ?q } . FILTER ( ?h < ?u ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { { { ?y rdf:type ontology:flag_or_coat_of_arms } UNION { ?y rdf:type ontology:political_border } } . ?y property:applies_to_jurisdiction resource:Guyana } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q225
P706
Q151885
USER
Which concept has its location as Bosnia and Herzegovina ?
(c(Q151885),P706,Q225)
action filter_type
action find_reverse
entity Q225
relation P706
type Q151885
[{'concept': 'Q151885'}, 'P706', 'Q225']
SELECT DISTINCT ?f WHERE { ?f property:P706 resource:Q225 . ?f rdf:type ontology:Q151885 }
Bosnia and Herzegovina
action filter_type
action find_reverse
entity Bosnia and Herzegovina
relation located on terrain feature
type concept
[{'concept': 'concept'}, 'located on terrain feature', 'Bosnia and Herzegovina']
SELECT DISTINCT ?f WHERE { ?f property:located_on_terrain_feature resource:Bosnia_and_Herzegovina . ?f rdf:type ontology:concept }
[]
concept
Q1017984
SYSTEM
Butmir culture
Q1017984
(c(Q151885),P706,Q225)
action filter_type
action find_reverse
entity Q225
relation P706
type Q151885
[ANSWER] has its location as Bosnia and Herzegovina
[{'concept': 'Q151885'}, 'P706', 'Q225']
SELECT DISTINCT ?f WHERE { ?f property:P706 resource:Q225 . ?f rdf:type ontology:Q151885 }
Butmir culture
Butmir culture has its location as Bosnia and Herzegovina
Butmir culture
action filter_type
action find_reverse
entity Bosnia and Herzegovina
relation located on terrain feature
type concept
[{'concept': 'concept'}, 'located on terrain feature', 'Bosnia and Herzegovina']
SELECT DISTINCT ?f WHERE { ?f property:located_on_terrain_feature resource:Bosnia_and_Herzegovina . ?f rdf:type ontology:concept }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1017984
P138
Q56061
USER
Which administrative territory is the origin of that concept ?
(Q1017984,P138,c(Q56061))
action filter_type
action find
entity Q1017984
relation P138
type Q56061
['Q1017984', 'P138', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q56061 . resource:Q1017984 property:P138 ?x }
Butmir culture
action filter_type
action find
entity Butmir culture
relation named after
type administrative territorial entity
['Butmir culture', 'named after', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:administrative_territorial_entity . resource:Butmir_culture property:named_after ?x }
[]
administrative territorial entity
Q1288954
SYSTEM
Butmir
Q1288954
(Q1017984,P138,c(Q56061))
action filter_type
action find
entity Q1017984
relation P138
type Q56061
[ANSWER] is the origin of that concept
['Q1017984', 'P138', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q56061 . resource:Q1017984 property:P138 ?x }
Butmir
Butmir is the origin of that concept
Butmir
action filter_type
action find
entity Butmir culture
relation named after
type administrative territorial entity
['Butmir culture', 'named after', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:administrative_territorial_entity . resource:Butmir_culture property:named_after ?x }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1017984
P361
Q1790144
USER
Which unit of time is that concept a part of ?
(Q1288954,P361,c(Q1790144))
action filter_type
action find
entity Q1017984
relation P361
type Q1790144
['Q1288954', 'P361', {'concept': 'Q1790144'}]
SELECT DISTINCT ?b WHERE { resource:Q1017984 property:P361 ?b . ?b rdf:type ontology:Q1790144 }
Butmir culture
action filter_type
action find
entity Butmir culture
relation part of
type unit of time
['Butmir', 'part of', {'concept': 'unit of time'}]
SELECT DISTINCT ?b WHERE { resource:Butmir_culture property:part_of ?b . ?b rdf:type ontology:unit_of_time }
[]
unit of time
Q36422
SYSTEM
Neolithic era
Q36422
(Q1288954,P361,c(Q1790144))
action filter_type
action find
entity Q1017984
relation P361
type Q1790144
The [ANSWER] is that concept a part of
['Q1288954', 'P361', {'concept': 'Q1790144'}]
SELECT DISTINCT ?b WHERE { resource:Q1017984 property:P361 ?b . ?b rdf:type ontology:Q1790144 }
Neolithic era
The Neolithic era is that concept a part of
Neolithic era
action filter_type
action find
entity Butmir culture
relation part of
type unit of time
['Butmir', 'part of', {'concept': 'unit of time'}]
SELECT DISTINCT ?b WHERE { resource:Butmir_culture property:part_of ?b . ?b rdf:type ontology:unit_of_time }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q36422 Q312503
P61
Q502895
USER
Was John Lubbock, 1st Baron Avebury the first person to come up with that unit of time ?
(Q36422,P61,Q312503)
action is_in
entity Q312503
action find
entity Q36422
relation P61
['Q36422', 'P61', 'Q312503']
ASK WHERE { resource:Q36422 property:P61 resource:Q312503 }
Neolithic era John Lubbock, 1st Baron Avebury
action is_in
entity John Lubbock, 1st Baron Avebury
action find
entity Neolithic era
relation discoverer or inventor
['Neolithic era', 'discoverer or inventor', 'John Lubbock, 1st Baron Avebury']
ASK WHERE { resource:Neolithic_era property:discoverer_or_inventor resource:John_Lubbock,_1st_Baron_Avebury }
[]
common name
SYSTEM
YES
(Q36422,P61,Q312503)
action is_in
entity Q312503
action find
entity Q36422
relation P61
[ANSWER]
['Q36422', 'P61', 'Q312503']
ASK WHERE { resource:Q36422 property:P61 resource:Q312503 }
Yes
action is_in
entity John Lubbock, 1st Baron Avebury
action find
entity Neolithic era
relation discoverer or inventor
['Neolithic era', 'discoverer or inventor', 'John Lubbock, 1st Baron Avebury']
ASK WHERE { resource:Neolithic_era property:discoverer_or_inventor resource:John_Lubbock,_1st_Baron_Avebury }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P291
Q56061 Q2342494 Q21114848
USER
Which administrative territories are the publication regions of atmost 129 collectables or magazine genres ?
(c(Q2342494)|c(Q21114848),P291,c(Q56061))
action atmost
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q2342494
action find_reverse_tuple_counts
relation P291
type Q56061
type Q21114848
value 129
[[{'concept': 'Q2342494'}, {'concept': 'Q21114848'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { FILTER ( ?k <= 129 ) . { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?k ) WHERE { { ?z property:P291 ?u . ?u rdf:type ontology:Q56061 . ?z rdf:type ontology:Q2342494 } UNION { ?z property:P291 ?u . ?u rdf:type ontology:Q56061 . ?z rdf:type ontology:Q21114848 } } GROUP BY ?u } }
action atmost
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type magazine genre
value 129
[[{'concept': 'collectable'}, {'concept': 'magazine genre'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { FILTER ( ?k <= 129 ) . { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?k ) WHERE { { ?z property:place_of_publication ?u . ?u rdf:type ontology:administrative_territorial_entity . ?z rdf:type ontology:collectable } UNION { ?z property:place_of_publication ?u . ?u rdf:type ontology:administrative_territorial_entity . ?z rdf:type ontology:magazine_genre } } GROUP BY ?u } }
[]
administrative territorial entity collectable magazine genre
Q1085 Q72 Q649
SYSTEM
Prague, Zürich, Moscow
Q807 Q909146 Q2536016 Q2512312 Q190583 Q27918 Q736775 Q2035368 Q3897 Q38511 Q3711 Q130191 Q203619 Q393 Q80670 Q25286 Q1544563 Q490595 Q3808 Q501661 Q982367 Q3150 Q484678 Q11974 Q151920 Q13375 Q36378 Q4093 Q2560090 Q10305 Q3404679 Q23337 Q33959 Q987 Q8692 Q23051 Q586 Q2656 Q1289 Q4581188 Q8851 Q10690 Q25748 Q9920 Q15688 Q12155 Q323801 Q15682 Q15684 Q170497 Q1757 Q41876 Q1754 Q1022 Q749 Q99151 Q39561 Q48329 Q3992 Q2132 Q7880 Q1930 Q949651 Q3846 Q81046 Q597 Q5831 Q22889 Q12892 Q365 Q5836 Q132572 Q6157 Q12411 Q1718 Q43631 Q8818 Q11125 Q8810 Q15283655 Q4713350 Q428829 Q1335 Q1895 Q1034159 Q1155 Q103717 Q28911 Q3400328 Q14323 Q186237 Q14325 Q180233 Q484799 Q14328 Q576110 Q5083 Q1524 Q1489 Q209055 Q2020203 Q3561 Q40347 Q406 Q234178 Q739452 Q8678 Q15468 Q490 Q6346 Q495 Q2044 Q887 Q576165 Q5465 Q2141 Q54217 Q23436 Q1679567 Q2814 Q15093 Q2280 Q162279 Q3141 Q671288 Q72 Q17151 Q1490 Q1191195 Q102217 Q237 Q334 Q239 Q16559 Q16554 Q16555 Q16557 Q486306 Q621 Q8686 Q994 Q1513 Q3130 Q192517 Q1296 Q1297 Q3033 Q936183 Q1563 Q170263 Q35381 Q1748 Q45412 Q87 Q84 Q40269 Q2081145 Q1024911 Q193478 Q5112 Q2103 Q1741 Q178093 Q191133 Q11959 Q35493 Q538915 Q78 Q49111 Q71 Q2617448 Q37100 Q38022 Q36405 Q270 Q60 Q286048 Q1235510 Q15678 Q1931927 Q49241 Q3183 Q172157 Q1781 Q33935 Q582121 Q16567 Q1861 Q14318 Q14314 Q5092 Q15090 Q134620 Q956 Q15095 Q15098 Q1492 Q437 Q8745 Q1479 Q13580 Q2766547 Q18419 Q2941325 Q12258 Q202158 Q1017331 Q2090 Q2807 Q49145 Q42735 Q242478 Q327022 Q12225 Q23154 Q220 Q340 Q342 Q10282 Q26421 Q429676 Q672545 Q188304 Q617 Q634054 Q472 Q37995 Q6576 Q6761 Q28249 Q13666 Q761 Q9580 Q569661 Q2634 Q8356 Q3584 Q49179 Q735583 Q1726 Q1724 Q11967 Q1729 Q8717 Q3519 Q64 Q65 Q159232 Q207891 Q2028 Q61 Q62 Q3395358 Q683512 Q18125 Q3889 Q9125 Q5818 Q1867 Q204382 Q12439 Q269 Q27393 Q470445 Q126148 Q1352 Q771986 Q49229 Q33405 Q79990 Q8385 Q493794 Q6537 Q6106 Q2391194 Q10313 Q72259 Q1295 Q19785 Q647 Q641 Q193367 Q727 Q649 Q59169 Q669171 Q204720 Q206988 Q3012 Q24826 Q15699 Q485329 Q15696 Q15695 Q985271 Q28848 Q128306 Q15088 Q3366952 Q997170 Q203263 Q580 Q213898 Q193180 Q585 Q8757 Q34370 Q47048 Q178277 Q192155 Q883 Q207639 Q41262 Q6441 Q125080 Q2066 Q12303 Q100 Q156990 Q3834 Q81137 Q40840 Q955640 Q281839 Q485172 Q26793 Q3426 Q10686 Q211020 Q181854 Q648 Q487786 Q12233 Q172 Q216 Q646620 Q350 Q720627 Q13972 Q215277 Q8826 Q129610 Q179385 Q1348 Q29303 Q628667 Q127159 Q14336 Q34647 Q1085
(c(Q2342494)|c(Q21114848),P291,c(Q56061))
action atmost
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q2342494
action find_reverse_tuple_counts
relation P291
type Q56061
type Q21114848
value 129
[ANSWERS] are the publication regions of atmost 129 collectables or magazine genres
[[{'concept': 'Q2342494'}, {'concept': 'Q21114848'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { FILTER ( ?k <= 129 ) . { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?k ) WHERE { { ?z property:P291 ?u . ?u rdf:type ontology:Q56061 . ?z rdf:type ontology:Q2342494 } UNION { ?z property:P291 ?u . ?u rdf:type ontology:Q56061 . ?z rdf:type ontology:Q21114848 } } GROUP BY ?u } }
Lausanne Godalming Crickhowell Eppegem Mikkeli Bad Rappenau Toronto Tremadog Luanda Turku Belgrade Norwich Kemi Szczecin Mühlacker Uppsala Hellerup Daytona Beach Yaoundé Schleswig Mineola Jena Berkeley Las Palmas de Gran Canaria Tiberias Pisa Fribourg Glasgow Athol Zaragoza Crumlin Salt Lake City Nice New Delhi Bilbao Swansea Bonn Palermo Grenoble Straume Málaga Cardiff Gävle Haarlem Ávila Soria Nampula Cádiz Segovia Gloucester Helsinki Reims Stockholm Stuttgart Groningen Ourense Burbank Mariehamn Liège Victoria Toulouse Ottawa Wilmington Minden Charleroi Lisbon Melilla Bath Antwerp Cologne Toledo Tiraspol Seinäjoki Pontevedra Düsseldorf Leiden Valencia Lugo Granada Elverum Alcones Caernarfon Montevideo Petrozavodsk Harstad Busto Arsizio Rovaniemi Lahti St Athan Mérida Joensuu Logroño Pori Marbella Santa Cruz de Tenerife Nauvoo Seattle Athens Mexico City Torquay Rhyl Algiers Norman Istanbul Bangor Garden City Rio de Janeiro Badalona Milan Indianapolis Turin Florence Yekaterinburg Warsaw Cape Town Halifax Norwalk Edinburgh Jakobstad Halle (Saale) Ciudad Real Minsk Kuopio Melbourne Bend Zürich Thessaloniki Tokyo Mold Vitebsk Vatican City Singapore Brussels Austin Denver Houston Dallas Pensacola Versailles Shanghai Tbilisi Nagpur Sydney Boulder Ghent Chicago Göttingen Tonbridge Havana Chester Colombo Copenhagen Coimbra Alexandria London Porto Alegre Milborne Port Welshpool Buda Adelaide Bochum Vienna Poughkeepsie Fátima Alicante Almaty Mjölby Basel Cambridge Geneva Edinburgh Auckland St. Louis Aberdeen Warsaw New York City New Glasgow, Nova Scotia Dolgellau Cáceres Bracon Ash Lexington Perth Winchester Budapest Tel Aviv Bradenton Columbus Bangkok Vitoria-Gasteiz Santiago de Compostela Baltimore Lleida Jyväskylä Beijing Albacete Cuenca Barcelona Ljubljana Vigo Bordeaux Metro Manila 's-Hertogenbosch Brooklyn Corbin Sabadell Hämeenlinna Westport, County Mayo Nuremberg Madrid New Haven Olympia Levoča Rockville Murcia Bristol Rome Montreal Quimper Pamplona Dordrecht Sereď Barmouth Sunderland Padua Conwy Sofia Yangon Irkutsk Livorno Concord Messina Białystok Burgos Königstein im Taunus Naples Valladolid Nový Jičín Worcester Ylivieska Munich Saarbrücken Huesca Erfurt Seville Bari Berlin Los Angeles Santa Cruz Kokkola Verona Washington, D.C. San Francisco Kidwelly Savonlinna Manchester Maputo Winterthur Córdoba Taipei Kouvola Detroit Tashkent Herning Prostějov Tangier Chennai Chepstow Durham Little Rock Christchurch Ostrava Dubuque Vicenza Portland Saint-Idesbald Donostia/San Sebastián Portsmouth Dortmund Harpenden Rennes Venice Porvoo Amsterdam Moscow Mo i Rana Newtown Hereford Cheltenham Ulm Liverpool León Ferrol Zamora Salamanca The Dalles Saint Paul Denton Tarragona Alta Waterville Athens Łódź Preveza Kajaani Oslo A Coruña Rotterdam Oulu Montvale Kotka Novosibirsk Chichester Nottingham Montpellier Vaasa Essen Jerez de la Frontera Boston Monmouth Konstanz Olomouc Tampere Glasgow Englewood Cliffs, New Jersey Ann Arbor Bergen Voronezh Belfast Imatra Lappeenranta Lille Orihuela Santander Toronto Vilnius Estella-Lizarra Cambridge Kanhangad Tartu Jaffna Palma Galway Greenwich Kolkata Canterbury Spangenberg Bletchley Teruel Johannesburg Prague
Prague, Zürich and Moscow are the publication regions of atmost 129 collectables or magazine genres
Prague Zürich Moscow
action atmost
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type magazine genre
value 129
[[{'concept': 'collectable'}, {'concept': 'magazine genre'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { FILTER ( ?k <= 129 ) . { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?k ) WHERE { { ?z property:place_of_publication ?u . ?u rdf:type ontology:administrative_territorial_entity . ?z rdf:type ontology:collectable } UNION { ?z property:place_of_publication ?u . ?u rdf:type ontology:administrative_territorial_entity . ?z rdf:type ontology:magazine_genre } } GROUP BY ?u } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1085 Q72 Q649
P17
Q15617994
USER
Which administrative territories are Prague, Zürich and Moscow situated in ?
(Q1085,P17,c(Q15617994)) (Q72,P17,c(Q15617994)) (Q649,P17,c(Q15617994))
action union
action filter_type
action find
entity Q1085
relation P17
type Q15617994
action filter_type
action find
entity Q72
relation P17
type Q15617994
action filter_type
action find
entity Q649
relation P17
type Q15617994
['Q1085', 'P17', {'concept': 'Q15617994'}] ['Q72', 'P17', {'concept': 'Q15617994'}] ['Q649', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { { resource:Q1085 property:P17 ?k . ?k rdf:type ontology:Q15617994 } UNION { resource:Q72 property:P17 ?k . ?k rdf:type ontology:Q15617994 } }
Prague Zürich Moscow
action union
action filter_type
action find
entity Prague
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Zürich
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Moscow
relation country
type designation for an administrative territorial entity
['Prague', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Zürich', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Moscow', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { { resource:Prague property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Zürich property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q213 Q39 Q159
SYSTEM
Czech Republic, Switzerland, Russia
Q213 Q39 Q159
(Q1085,P17,c(Q15617994)) (Q72,P17,c(Q15617994)) (Q649,P17,c(Q15617994))
action union
action filter_type
action find
entity Q1085
relation P17
type Q15617994
action filter_type
action find
entity Q72
relation P17
type Q15617994
action filter_type
action find
entity Q649
relation P17
type Q15617994
Prague , Zürich and Moscow are situated in [ANSWERS]
['Q1085', 'P17', {'concept': 'Q15617994'}] ['Q72', 'P17', {'concept': 'Q15617994'}] ['Q649', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { { resource:Q1085 property:P17 ?k . ?k rdf:type ontology:Q15617994 } UNION { resource:Q72 property:P17 ?k . ?k rdf:type ontology:Q15617994 } }
Czech Republic Switzerland Russia
Prague , Zürich and Moscow are situated in Czech Republic, Switzerland and Russia
Czech Republic Switzerland Russia
action union
action filter_type
action find
entity Prague
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Zürich
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Moscow
relation country
type designation for an administrative territorial entity
['Prague', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Zürich', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Moscow', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { { resource:Prague property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Zürich property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]