Simple Question (Direct)
Simple Question
Q595324
P20
Q56061
USER
Where did Anton Weißmann expire ?
(Q595324,P20,c(Q56061))
action filter_type
action find
entity Q595324
relation P20
type Q56061
['Q595324', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q595324 property:P20 ?q . ?q rdf:type ontology:Q56061 }
Anton Weißmann
action filter_type
action find
entity Anton Weißmann
relation place of death
type administrative territorial entity
['Anton Weißmann', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Anton_Weißmann property:place_of_death ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1040
SYSTEM
Karlsruhe
Q1040
(Q595324,P20,c(Q56061))
action filter_type
action find
entity Q595324
relation P20
type Q56061
Anton Weißmann expired in [ANSWER]
['Q595324', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q595324 property:P20 ?q . ?q rdf:type ontology:Q56061 }
Karlsruhe
Anton Weißmann expired in Karlsruhe
Karlsruhe
action filter_type
action find
entity Anton Weißmann
relation place of death
type administrative territorial entity
['Anton Weißmann', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Anton_Weißmann property:place_of_death ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1040
P740
Q43229
USER
Which organization originated at that administrative territory ?
(c(Q43229),P740,Q1040)
action filter_type
action find_reverse
entity Q1040
relation P740
type Q43229
[{'concept': 'Q43229'}, 'P740', 'Q1040']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q43229 . ?z property:P740 resource:Q1040 }
Karlsruhe
action filter_type
action find_reverse
entity Karlsruhe
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Karlsruhe']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:organization . ?z property:location_of_formation resource:Karlsruhe }
[]
organization
Q287560
SYSTEM
Gameforge
Q287560
(c(Q43229),P740,Q1040)
action filter_type
action find_reverse
entity Q1040
relation P740
type Q43229
[ANSWER] originated at that administrative territory
[{'concept': 'Q43229'}, 'P740', 'Q1040']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q43229 . ?z property:P740 resource:Q1040 }
Gameforge
Gameforge originated at that administrative territory
Gameforge
action filter_type
action find_reverse
entity Karlsruhe
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Karlsruhe']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:organization . ?z property:location_of_formation resource:Karlsruhe }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q287560 Q3129145
P123
Q166142
USER
Was Heavy Metal: Geomatrix issued by that organization ?
(Q3129145,P123,Q287560)
action is_in
entity Q3129145
action find
entity Q287560
relation P123
['Q3129145', 'P123', 'Q287560']
ASK WHERE { resource:Q287560 property:P123 resource:Q3129145 }
Gameforge Heavy Metal: Geomatrix
action is_in
entity Heavy Metal: Geomatrix
action find
entity Gameforge
relation publisher
['Heavy Metal: Geomatrix', 'publisher', 'Gameforge']
ASK WHERE { resource:Gameforge property:publisher resource:Heavy_Metal:_Geomatrix }
[]
application
SYSTEM
NO
(Q3129145,P123,Q287560)
action is_in
entity Q3129145
action find
entity Q287560
relation P123
[ANSWER]
['Q3129145', 'P123', 'Q287560']
ASK WHERE { resource:Q287560 property:P123 resource:Q3129145 }
No
action is_in
entity Heavy Metal: Geomatrix
action find
entity Gameforge
relation publisher
['Heavy Metal: Geomatrix', 'publisher', 'Gameforge']
ASK WHERE { resource:Gameforge property:publisher resource:Heavy_Metal:_Geomatrix }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q43919
P840
Q56061 Q15416 Q838948
USER
How many administrative territories are more number of television programs or works of art set in than Salem ?
(c(Q15416)|c(Q838948),P840,c(Q56061))
action count
action greater
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q15416
action find_reverse_tuple_counts
relation P840
type Q56061
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q43919
relation P840
type Q15416
type Q838948
[[{'concept': 'Q15416'}, {'concept': 'Q838948'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) ?l WHERE { VALUES ( ?o ) { ( ontology:Q838948 ) ( ontology:Q15416 ) } . ?t rdf:type ?o } GROUP BY ?l } . FILTER ( ?j > ?y ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { { ?v rdf:type ?k . VALUES ( ?k ) { ( ontology:Q838948 ) ( ontology:Q15416 ) } } . ?v property:P840 resource:Q43919 } } }
Salem
action count
action greater
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Salem
relation narrative location
type television program
type work of art
[[{'concept': 'television program'}, {'concept': 'work of art'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) ?l WHERE { VALUES ( ?o ) { ( ontology:work_of_art ) ( ontology:television_program ) } . ?t rdf:type ?o } GROUP BY ?l } . FILTER ( ?j > ?y ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { { ?v rdf:type ?k . VALUES ( ?k ) { ( ontology:work_of_art ) ( ontology:television_program ) } } . ?v property:narrative_location resource:Salem } } }
[]
administrative territorial entity television program work of art
SYSTEM
241
Q1715 Q34804 Q990616 Q1183 Q3711 Q33486 Q1874 Q331990 Q210292 Q25286 Q25287 Q2280 Q3805 Q501661 Q49233 Q1255278 Q42096 Q18808 Q1050826 Q4093 Q3659 Q16563 Q8692 Q2656 Q10690 Q585 Q1425428 Q124739 Q1754 Q1022 Q90 Q101625 Q48320 Q80985 Q215646 Q1930 Q597 Q690 Q257536 Q22889 Q49272 Q12273 Q365 Q5836 Q12994 Q667268 Q33935 Q54140 Q180294 Q8818 Q16555 Q1335 Q1891 Q39121 Q9427 Q262483 Q186237 Q5083 Q23154 Q2567585 Q1489 Q209055 Q7094142 Q11864 Q83387 Q406 Q462799 Q8673 Q2861 Q11703 Q2868 Q8678 Q495 Q2044 Q36036 Q3703 Q208287 Q54212 Q23436 Q3141 Q3630 Q17151 Q237 Q25416 Q16559 Q16554 Q753121 Q16557 Q8686 Q994 Q35178 Q113546 Q3130 Q3037 Q1297 Q723329 Q490737 Q1563 Q900 Q131491 Q1741 Q1748 Q169492 Q26881 Q84 Q85 Q128321 Q1737 Q37320 Q25390 Q214178 Q45301 Q25395 Q34863 Q72 Q71 Q178168 Q38022 Q174 Q172 Q270 Q2028 Q184587 Q208472 Q79985 Q49241 Q49243 Q472 Q1070 Q3590079 Q837165 Q41819 Q1861 Q5092 Q956 Q1555 Q1490 Q1491 Q1492 Q16562 Q437 Q124539 Q387047 Q18419 Q1780 Q1781 Q690052 Q2073211 Q1851 Q127856 Q2807 Q18705 Q3820 Q49149 Q1353 Q1352 Q1524 Q220 Q340 Q125434 Q494728 Q25230 Q612 Q430464 Q3305102 Q990168 Q1015727 Q24639 Q34713 Q1218 Q915 Q985531 Q193082 Q1020373 Q23070 Q1659757 Q26 Q1726 Q530090 Q34404 Q8717 Q3825 Q64 Q65 Q60 Q61 Q62 Q1757 Q18125 Q1867 Q5813 Q12439 Q126148 Q23556 Q837478 Q184345 Q13362 Q6106 Q495373 Q10313 Q42810 Q49255 Q3640 Q641 Q727 Q649 Q41621 Q3483936 Q3358921 Q158119 Q79848 Q1449 Q47048 Q1764 Q34932 Q2211 Q41262 Q2704 Q1040 Q165972 Q100 Q374748 Q485172 Q26793 Q10686 Q165413 Q1574020 Q3992 Q3110 Q3114 Q743521 Q24826 Q1348 Q630533 Q1156 Q2751 Q41876 Q485186 Q42448 Q34647 Q1085
(c(Q15416)|c(Q838948),P840,c(Q56061))
action count
action greater
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q15416
action find_reverse_tuple_counts
relation P840
type Q56061
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q43919
relation P840
type Q15416
type Q838948
[ANSWER]
[[{'concept': 'Q15416'}, {'concept': 'Q838948'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) ?l WHERE { VALUES ( ?o ) { ( ontology:Q838948 ) ( ontology:Q15416 ) } . ?t rdf:type ?o } GROUP BY ?l } . FILTER ( ?j > ?y ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { { ?v rdf:type ?k . VALUES ( ?k ) { ( ontology:Q838948 ) ( ontology:Q15416 ) } } . ?v property:P840 resource:Q43919 } } }
Hanover Albuquerque Harwich Puerto Rico Belgrade Hartford Odessa Korean Demilitarized Zone Yozgat Uppsala Gothenburg Minsk Amman Schleswig Orlando Dragør Miryang Pyongyang Greater Los Angeles Area Glasgow N'Djamena Memphis Bilbao Palermo Cardiff Oslo Newcastle upon Tyne Tijuana Stockholm Stuttgart Paris Marrakesh Kōbe Fes Edo Ottawa Lisbon Delft Janesville Bath Chandler Gijón Cologne Toledo Bruges Nevada City Tel Aviv Salem Jaffa Valencia Houston Montevideo Bologna Leeds Timbuktu Deadwood Joensuu Seattle Bristol Dybbøl Mexico City Torquay Onllwyn Junagadh Diyarbakır Istanbul Evanston Lagos Rostock United States Virgin Islands Lima Rio de Janeiro Turin Florence Lviv Bamako Kauniainen Barnsley Edinburgh Melbourne Jakarta Thessaloniki Vatican City Stavanger Austin Denver Atacames Dallas Shanghai Tbilisi Kuwait City Blackeberg Sydney Kathmandu Chicago Ascot Bloomington Havana Kazan Brighton Vienna Copenhagen Neukölln Helsingør London Cairo Midland Bregenz Cleveland Leeuwarden Nablus Trabzon Newark Oklahoma City Zürich Geneva Mitrovica St. Louis São Paulo Toronto Warsaw Verona Grand Rapids Bingöl Kodiak Lexington Riverside Sofia Ahmedabad Hvidovre Hyrylä Kansas City Bangkok Baltimore Beijing Guatemala City Tokyo La Paz Barcelona El Paso Ljubljana Whitechapel Malibu Brooklyn Bratislava Budapest Trebinje Talamone Arkhangelsk Beverly Hills Madrid Bajram Curri Beirut Nantucket Delhi Chennai Athens Rome Montreal Port Elizabeth West Covina Guernsey Dubai Dearborn Tsamantas Keighley Mbale Vancouver Salzburg Jerusalem Perm Tulkarm Svishtov Jindabyne Sneek Gimli Northern Ireland Munich Jerichow New Orleans Seville Libreville Berlin Los Angeles New York City Washington, D.C. San Francisco Helsinki Manchester Taipei Canary Islands Detroit Tangier Atlanta Sabinov Viña del Mar Ferrara Portland Visalia Donostia/San Sebastián Le Havre Tampa Ankara Venice Amsterdam Moscow Haifa Sils Maria Overschild Ramallah Southampton Genoa Oulu Reykjavík Brisbane Malmö Nottingham Pescara Karlsruhe Fort Lauderdale Boston Jenin Ann Arbor Bergen Belfast Baikonur The Hamptons Liège San Salvador Canberra Scarborough Liverpool Kolkata Tire Mumbai Siena Reims Key West Sheffield Johannesburg Prague
241
action count
action greater
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Salem
relation narrative location
type television program
type work of art
[[{'concept': 'television program'}, {'concept': 'work of art'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) ?l WHERE { VALUES ( ?o ) { ( ontology:work_of_art ) ( ontology:television_program ) } . ?t rdf:type ?o } GROUP BY ?l } . FILTER ( ?j > ?y ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { { ?v rdf:type ?k . VALUES ( ?k ) { ( ontology:work_of_art ) ( ontology:television_program ) } } . ?v property:narrative_location resource:Salem } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q485172
P840
Q56061 Q15416 Q838948
USER
And how about Ann Arbor?
(c(Q15416)|c(Q838948),P840,c(Q56061))
action count
action greater
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q15416
action find_reverse_tuple_counts
relation P840
type Q56061
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q485172
relation P840
type Q15416
type Q838948
[[{'concept': 'Q15416'}, {'concept': 'Q838948'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?w ) AS ?b ) WHERE { ?w rdf:type ?z . VALUES ( ?z ) { ( ontology:Q15416 ) ( ontology:Q838948 ) } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { ?x property:P840 resource:Q485172 . { { ?x rdf:type ontology:Q15416 } UNION { ?x rdf:type ontology:Q838948 } } } } . FILTER ( ?b > ?a ) }
Ann Arbor
action count
action greater
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Ann Arbor
relation narrative location
type television program
type work of art
[[{'concept': 'television program'}, {'concept': 'work of art'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?w ) AS ?b ) WHERE { ?w rdf:type ?z . VALUES ( ?z ) { ( ontology:television_program ) ( ontology:work_of_art ) } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { ?x property:narrative_location resource:Ann_Arbor . { { ?x rdf:type ontology:television_program } UNION { ?x rdf:type ontology:work_of_art } } } } . FILTER ( ?b > ?a ) }
[]
administrative territorial entity television program work of art
SYSTEM
114
Q1183 Q3711 Q331990 Q25287 Q18808 Q4093 Q16563 Q8692 Q10690 Q585 Q1425428 Q1754 Q1022 Q90 Q101625 Q48320 Q215646 Q597 Q365 Q33935 Q54140 Q16555 Q1335 Q1891 Q39121 Q186237 Q5083 Q23154 Q1489 Q83387 Q406 Q8673 Q2868 Q8678 Q495 Q2044 Q36036 Q208287 Q23436 Q3141 Q3630 Q17151 Q237 Q16559 Q16557 Q8686 Q3130 Q1297 Q1563 Q131491 Q1741 Q1748 Q84 Q85 Q72 Q71 Q38022 Q174 Q172 Q270 Q837165 Q1861 Q5092 Q956 Q1490 Q1492 Q387047 Q18419 Q1780 Q1781 Q127856 Q2807 Q3820 Q1353 Q1352 Q1524 Q220 Q340 Q24639 Q1218 Q26 Q1726 Q34404 Q8717 Q64 Q65 Q60 Q61 Q62 Q1757 Q18125 Q1867 Q12439 Q126148 Q23556 Q6106 Q49255 Q3640 Q641 Q727 Q649 Q1449 Q1764 Q34932 Q41262 Q100 Q374748 Q10686 Q3110 Q3114 Q24826 Q1348 Q1156 Q1085
(c(Q15416)|c(Q838948),P840,c(Q56061))
action count
action greater
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q15416
action find_reverse_tuple_counts
relation P840
type Q56061
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q485172
relation P840
type Q15416
type Q838948
[ANSWER]
[[{'concept': 'Q15416'}, {'concept': 'Q838948'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?w ) AS ?b ) WHERE { ?w rdf:type ?z . VALUES ( ?z ) { ( ontology:Q15416 ) ( ontology:Q838948 ) } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { ?x property:P840 resource:Q485172 . { { ?x rdf:type ontology:Q15416 } UNION { ?x rdf:type ontology:Q838948 } } } } . FILTER ( ?b > ?a ) }
Puerto Rico Belgrade Korean Demilitarized Zone Gothenburg Pyongyang Glasgow Memphis Bilbao Cardiff Oslo Newcastle upon Tyne Stockholm Stuttgart Paris Marrakesh Kōbe Edo Lisbon Cologne Tel Aviv Salem Houston Montevideo Bologna Leeds Joensuu Seattle Bristol Mexico City Diyarbakır Istanbul Lagos Lima Rio de Janeiro Turin Florence Lviv Kauniainen Edinburgh Melbourne Jakarta Thessaloniki Vatican City Austin Dallas Shanghai Sydney Chicago Havana Brighton Vienna Copenhagen London Cairo Zürich Geneva St. Louis São Paulo Toronto Warsaw Hyrylä Bangkok Baltimore Beijing Tokyo Barcelona Malibu Brooklyn Bratislava Budapest Beverly Hills Madrid Beirut Delhi Chennai Athens Rome Montreal Vancouver Jerusalem Northern Ireland Munich New Orleans Seville Berlin Los Angeles New York City Washington, D.C. San Francisco Helsinki Manchester Taipei Detroit Tangier Atlanta Portland Tampa Ankara Venice Amsterdam Moscow Genoa Reykjavík Brisbane Nottingham Boston Jenin Belfast San Salvador Canberra Liverpool Kolkata Mumbai Prague
114
action count
action greater
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Ann Arbor
relation narrative location
type television program
type work of art
[[{'concept': 'television program'}, {'concept': 'work of art'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?w ) AS ?b ) WHERE { ?w rdf:type ?z . VALUES ( ?z ) { ( ontology:television_program ) ( ontology:work_of_art ) } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { ?x property:narrative_location resource:Ann_Arbor . { { ?x rdf:type ontology:television_program } UNION { ?x rdf:type ontology:work_of_art } } } } . FILTER ( ?b > ?a ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q287560
P17
Q1048835
USER
Which political territory is Gameforge a part of ?
(Q287560,P17,c(Q1048835))
action filter_type
action find
entity Q287560
relation P17
type Q1048835
['Q287560', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q1048835 . resource:Q287560 property:P17 ?c }
Gameforge
action filter_type
action find
entity Gameforge
relation country
type political territorial entity
['Gameforge', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:political_territorial_entity . resource:Gameforge property:country ?c }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q287560,P17,c(Q1048835))
action filter_type
action find
entity Q287560
relation P17
type Q1048835
Game [ANSWER] is Gameforge a part of
['Q287560', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q1048835 . resource:Q287560 property:P17 ?c }
Germany
Game Germany is Gameforge a part of
Germany
action filter_type
action find
entity Gameforge
relation country
type political territorial entity
['Gameforge', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:political_territorial_entity . resource:Gameforge property:country ?c }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q781
P530
Q1048835 Q1048835 Q15617994
USER
Which political territories have diplomatic relationships with greater number of political territories and administrative territories than Antigua and Barbuda ?
(c(Q1048835)|c(Q15617994),P530,c(Q1048835))
action greater
action union
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q1048835
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q781
relation P530
type Q1048835
type Q15617994
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?z ) WHERE { ?x rdf:type ?n . VALUES ( ?n ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } } GROUP BY ?e } . FILTER ( ?z > ?b ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { ?i property:P530 resource:Q781 . { { ?i rdf:type ontology:Q15617994 } UNION { ?i rdf:type ontology:Q1048835 } } } } }
Antigua and Barbuda
action greater
action union
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Antigua and Barbuda
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?z ) WHERE { ?x rdf:type ?n . VALUES ( ?n ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?e } . FILTER ( ?z > ?b ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { ?i property:diplomatic_relation resource:Antigua_and_Barbuda . { { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?i rdf:type ontology:political_territorial_entity } } } } }
[]
political territorial entity political territorial entity designation for an administrative territorial entity
Q183 Q408 Q35
SYSTEM
Germany, Australia, Denmark
Q40 Q183 Q408 Q35 Q16 Q664 Q766
(c(Q1048835)|c(Q15617994),P530,c(Q1048835))
action greater
action union
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q1048835
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q781
relation P530
type Q1048835
type Q15617994
[ANSWERS] have diplomatic relationships with greater number of political territories and administrative territories than Antigua and Barbuda
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?z ) WHERE { ?x rdf:type ?n . VALUES ( ?n ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } } GROUP BY ?e } . FILTER ( ?z > ?b ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { ?i property:P530 resource:Q781 . { { ?i rdf:type ontology:Q15617994 } UNION { ?i rdf:type ontology:Q1048835 } } } } }
Austria Germany Australia Denmark Canada New Zealand Jamaica
Germany, Australia and Denmark have diplomatic relationships with greater number of political territories and administrative territories than Antigua and Barbuda
Germany Australia Denmark
action greater
action union
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Antigua and Barbuda
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?z ) WHERE { ?x rdf:type ?n . VALUES ( ?n ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?e } . FILTER ( ?z > ?b ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { ?i property:diplomatic_relation resource:Antigua_and_Barbuda . { { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?i rdf:type ontology:political_territorial_entity } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1000
P530
Q1048835 Q1048835 Q15617994
USER
And also tell me about Gabon?
(c(Q1048835)|c(Q15617994),P530,c(Q1048835))
action greater
action union
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q1048835
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q1000
relation P530
type Q1048835
type Q15617994
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { ?o property:P530 resource:Q1000 . { ?o rdf:type ?e . VALUES ( ?e ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } } } } . FILTER ( ?s > ?x ) . { SELECT DISTINCT ?g ( COUNT ( ?q ) AS ?s ) WHERE { { ?q property:P530 ?g . ?q rdf:type ontology:Q1048835 . ?g rdf:type ontology:Q1048835 } UNION { ?q property:P530 ?g . ?g rdf:type ontology:Q1048835 . ?q rdf:type ontology:Q15617994 } } GROUP BY ?g } }
Gabon
action greater
action union
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Gabon
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { ?o property:diplomatic_relation resource:Gabon . { ?o rdf:type ?e . VALUES ( ?e ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } } } . FILTER ( ?s > ?x ) . { SELECT DISTINCT ?g ( COUNT ( ?q ) AS ?s ) WHERE { { ?q property:diplomatic_relation ?g . ?q rdf:type ontology:political_territorial_entity . ?g rdf:type ontology:political_territorial_entity } UNION { ?q property:diplomatic_relation ?g . ?g rdf:type ontology:political_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?g } }
[]
political territorial entity political territorial entity designation for an administrative territorial entity
Q183 Q408 Q35
SYSTEM
Germany, Australia, Denmark
Q40 Q183 Q408 Q35 Q16 Q664 Q766
(c(Q1048835)|c(Q15617994),P530,c(Q1048835))
action greater
action union
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q1048835
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q1000
relation P530
type Q1048835
type Q15617994
[ANSWERS]
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { ?o property:P530 resource:Q1000 . { ?o rdf:type ?e . VALUES ( ?e ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } } } } . FILTER ( ?s > ?x ) . { SELECT DISTINCT ?g ( COUNT ( ?q ) AS ?s ) WHERE { { ?q property:P530 ?g . ?q rdf:type ontology:Q1048835 . ?g rdf:type ontology:Q1048835 } UNION { ?q property:P530 ?g . ?g rdf:type ontology:Q1048835 . ?q rdf:type ontology:Q15617994 } } GROUP BY ?g } }
Austria Germany Australia Denmark Canada New Zealand Jamaica
Germany Australia Denmark
action greater
action union
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Gabon
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { ?o property:diplomatic_relation resource:Gabon . { ?o rdf:type ?e . VALUES ( ?e ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } } } . FILTER ( ?s > ?x ) . { SELECT DISTINCT ?g ( COUNT ( ?q ) AS ?s ) WHERE { { ?q property:diplomatic_relation ?g . ?q rdf:type ontology:political_territorial_entity . ?g rdf:type ontology:political_territorial_entity } UNION { ?q property:diplomatic_relation ?g . ?g rdf:type ontology:political_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?g } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q183 Q7060084
P740
Q215380
USER
How many bands were formed at Germany or Northwest Indiana ?
(c(Q215380),P740,Q183) (c(Q215380),P740,Q7060084)
action count
action union
action filter_type
action find_reverse
entity Q183
relation P740
type Q215380
action filter_type
action find_reverse
entity Q7060084
relation P740
type Q215380
[{'concept': 'Q215380'}, 'P740', 'Q183'] [{'concept': 'Q215380'}, 'P740', 'Q7060084']
SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { { ?w property:P740 resource:Q183 . ?w rdf:type ontology:Q215380 } UNION { ?w property:P740 resource:Q7060084 . ?w rdf:type ontology:Q215380 } }
Germany Northwest Indiana
action count
action union
action filter_type
action find_reverse
entity Germany
relation location of formation
type band
action filter_type
action find_reverse
entity Northwest Indiana
relation location of formation
type band
[{'concept': 'band'}, 'location of formation', 'Germany'] [{'concept': 'band'}, 'location of formation', 'Northwest Indiana']
SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { { ?w property:location_of_formation resource:Germany . ?w rdf:type ontology:band } UNION { ?w property:location_of_formation resource:Northwest_Indiana . ?w rdf:type ontology:band } }
[]
band
SYSTEM
3
Q573366 Q27417 Q553375
(c(Q215380),P740,Q183) (c(Q215380),P740,Q7060084)
action count
action union
action filter_type
action find_reverse
entity Q183
relation P740
type Q215380
action filter_type
action find_reverse
entity Q7060084
relation P740
type Q215380
[ANSWER]
[{'concept': 'Q215380'}, 'P740', 'Q183'] [{'concept': 'Q215380'}, 'P740', 'Q7060084']
SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { { ?w property:P740 resource:Q183 . ?w rdf:type ontology:Q215380 } UNION { ?w property:P740 resource:Q7060084 . ?w rdf:type ontology:Q215380 } }
Ich + Ich Modern Talking Milk & Honey
3
action count
action union
action filter_type
action find_reverse
entity Germany
relation location of formation
type band
action filter_type
action find_reverse
entity Northwest Indiana
relation location of formation
type band
[{'concept': 'band'}, 'location of formation', 'Germany'] [{'concept': 'band'}, 'location of formation', 'Northwest Indiana']
SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { { ?w property:location_of_formation resource:Germany . ?w rdf:type ontology:band } UNION { ?w property:location_of_formation resource:Northwest_Indiana . ?w rdf:type ontology:band } }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q14084451 Q183
P530 P27
Q15617994
USER
Which administrative territories have diplomatic relations with Germany and are not the countries of citizenship of Maria Luz Gabas Ariño ?
AND((Q183,P530,c(Q15617994)), NOT((Q14084451,P27,c(Q15617994))))
action filter_type
action difference
action find
entity Q183
relation P530
action find
entity Q14084451
relation P27
type Q15617994
{'AND': [['Q183', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q14084451', 'P27', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15617994 . FILTER NOT EXISTS { resource:Q14084451 property:P27 ?i } . resource:Q183 property:P530 ?i }
Maria Luz Gabas Ariño Germany
action filter_type
action difference
action find
entity Germany
relation diplomatic relation
action find
entity Maria Luz Gabas Ariño
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['Maria Luz Gabas Ariño', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . FILTER NOT EXISTS { resource:Maria_Luz_Gabas_Ariño property:country_of_citizenship ?i } . resource:Germany property:diplomatic_relation ?i }
[]
designation for an administrative territorial entity
Q403 Q1011 Q884 Q733 Q810 Q881 Q945 Q20 Q213 Q39
SYSTEM
Some of them are Serbia, Cape Verde, South Korea, Paraguay, Jordan, Vietnam, Togo, Norway, Czech Republic, Switzerland
Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q833 Q711 Q717 Q252 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q739 Q241 Q242 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q929 Q39 Q38 Q986 Q423 Q983 Q851 Q733 Q734 Q736 Q730 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q1049 Q189 Q843 Q184 Q1029 Q1028 Q786 Q347 Q227 Q225 Q224 Q222 Q96 Q229 Q228 Q17 Q902 Q1036 Q1037 Q1008 Q1032 Q1033 Q1030 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1009 Q974 Q971 Q79 Q77 Q878 Q774 Q948 Q810 Q1019 Q1016 Q1011 Q945 Q869 Q953
AND((Q183,P530,c(Q15617994)), NOT((Q14084451,P27,c(Q15617994))))
action filter_type
action difference
action find
entity Q183
relation P530
action find
entity Q14084451
relation P27
type Q15617994
[ANSWERS] have diplomatic relations with Germany and are not the countries of citizenship of Maria Luz Gabas Ariño
{'AND': [['Q183', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q14084451', 'P27', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15617994 . FILTER NOT EXISTS { resource:Q14084451 property:P27 ?i } . resource:Q183 property:P530 ?i }
Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Malaysia Mongolia Venezuela Indonesia Serbia Chad South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Colombia Cuba Belize Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Central African Republic Switzerland Italy Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Ecuador Suriname Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Sudan Iceland Pakistan Belarus Mozambique Morocco Dominican Republic Liechtenstein Azerbaijan Bosnia and Herzegovina Croatia Albania Mexico Cyprus Andorra Japan Bangladesh Uganda Rwanda Côte d'Ivoire Niger Nigeria Namibia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Cameroon Democratic Republic of the Congo Republic of the Congo Egypt Uruguay United Arab Emirates Guatemala Tunisia Jordan Madagascar Libya Cape Verde Togo Thailand Zambia
Serbia, Cape Verde, South Korea, Paraguay, Jordan, Vietnam, Togo, Norway, Czech Republic and Switzerland have diplomatic relations with Germany and are not the countries of citizenship of Maria Luz Gabas Ariño
Serbia Cape Verde South Korea Paraguay Jordan Vietnam Togo Norway Czech Republic Switzerland
action filter_type
action difference
action find
entity Germany
relation diplomatic relation
action find
entity Maria Luz Gabas Ariño
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['Maria Luz Gabas Ariño', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . FILTER NOT EXISTS { resource:Maria_Luz_Gabas_Ariño property:country_of_citizenship ?i } . resource:Germany property:diplomatic_relation ?i }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q213
P27
Q930933 Q215380
USER
How many relationships and bands are a native of Czech Republic ?
(c(Q930933),P27,Q213) (c(Q215380),P27,Q213)
action count
action union
action filter_type
action find_reverse
entity Q213
relation P27
type Q930933
action filter_type
action find_reverse
entity Q213
relation P27
type Q215380
[{'concept': 'Q930933'}, 'P27', 'Q213'] [{'concept': 'Q215380'}, 'P27', 'Q213']
SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { VALUES ( ?g ) { ( ontology:Q930933 ) ( ontology:Q215380 ) } . ?s rdf:type ?g }
Czech Republic
action count
action union
action filter_type
action find_reverse
entity Czech Republic
relation country of citizenship
type relationship
action filter_type
action find_reverse
entity Czech Republic
relation country of citizenship
type band
[{'concept': 'relationship'}, 'country of citizenship', 'Czech Republic'] [{'concept': 'band'}, 'country of citizenship', 'Czech Republic']
SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { VALUES ( ?g ) { ( ontology:relationship ) ( ontology:band ) } . ?s rdf:type ?g }
[]
relationship band
SYSTEM
1 relationships and 1 bands
Q871087 Q6835842
(c(Q930933),P27,Q213) (c(Q215380),P27,Q213)
action count
action union
action filter_type
action find_reverse
entity Q213
relation P27
type Q930933
action filter_type
action find_reverse
entity Q213
relation P27
type Q215380
[ANSWER]
[{'concept': 'Q930933'}, 'P27', 'Q213'] [{'concept': 'Q215380'}, 'P27', 'Q213']
SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { VALUES ( ?g ) { ( ontology:Q930933 ) ( ontology:Q215380 ) } . ?s rdf:type ?g }
Czech nationality law Michal Vepřek
1 relationships and 1 bands
action count
action union
action filter_type
action find_reverse
entity Czech Republic
relation country of citizenship
type relationship
action filter_type
action find_reverse
entity Czech Republic
relation country of citizenship
type band
[{'concept': 'relationship'}, 'country of citizenship', 'Czech Republic'] [{'concept': 'band'}, 'country of citizenship', 'Czech Republic']
SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { VALUES ( ?g ) { ( ontology:relationship ) ( ontology:band ) } . ?s rdf:type ?g }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
Which political territories are known to have diplomatic connections with approximately 63 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 63
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?v ) AS ?q ) WHERE { ?i property:P530 ?v . ?i rdf:type ontology:Q1048835 . ?v rdf:type ontology:Q15617994 } GROUP BY ?i } . FILTER ( ?q = 63 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 63
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?v ) AS ?q ) WHERE { ?i property:diplomatic_relation ?v . ?i rdf:type ontology:political_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?i } . FILTER ( ?q = 63 ) }
[]
designation for an administrative territorial entity political territorial entity
Q16
SYSTEM
Canada
Q16
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 63
[ANSWER] is known to have diplomatic connections with approximately 63 administrative territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?v ) AS ?q ) WHERE { ?i property:P530 ?v . ?i rdf:type ontology:Q1048835 . ?v rdf:type ontology:Q15617994 } GROUP BY ?i } . FILTER ( ?q = 63 ) }
Canada
Canada is known to have diplomatic connections with approximately 63 administrative territories
Canada
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 63
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?v ) AS ?q ) WHERE { ?i property:diplomatic_relation ?v . ?i rdf:type ontology:political_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?i } . FILTER ( ?q = 63 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
How many administrative territories have tactful political relations with atleast 11 political territories ?
(c(Q15617994),P530,c(Q1048835))
action count
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 11
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?y ) WHERE { ?e property:P530 ?t . ?t rdf:type ontology:Q1048835 . ?e rdf:type ontology:Q15617994 } GROUP BY ?e } . FILTER ( ?y >= 11 ) }
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 11
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?y ) WHERE { ?e property:diplomatic_relation ?t . ?t rdf:type ontology:political_territorial_entity . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?e } . FILTER ( ?y >= 11 ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
1
Q230
(c(Q15617994),P530,c(Q1048835))
action count
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 11
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?y ) WHERE { ?e property:P530 ?t . ?t rdf:type ontology:Q1048835 . ?e rdf:type ontology:Q15617994 } GROUP BY ?e } . FILTER ( ?y >= 11 ) }
Georgia
1
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 11
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?y ) WHERE { ?e property:diplomatic_relation ?t . ?t rdf:type ontology:political_territorial_entity . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?e } . FILTER ( ?y >= 11 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q786
P495
Q15617994 Q7725634 Q2031291
USER
How many administrative territories are the origins of greater number of literary works and releases than Dominican Republic ?
(c(Q7725634)|c(Q2031291),P495,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_multi_types
action find_reverse
entity Q786
relation P495
type Q7725634
type Q2031291
[[{'concept': 'Q7725634'}, {'concept': 'Q2031291'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { ?p property:P495 resource:Q786 . { ?p rdf:type ?k . VALUES ( ?k ) { ( ontology:Q7725634 ) ( ontology:Q2031291 ) } } } } . FILTER ( ?w > ?g ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) ?o WHERE { { ?l property:P495 ?o . ?o rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q7725634 } UNION { ?l property:P495 ?o . ?o rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q2031291 } } GROUP BY ?o } }
Dominican Republic
action count
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_multi_types
action find_reverse
entity Dominican Republic
relation country of origin
type literary work
type release
[[{'concept': 'literary work'}, {'concept': 'release'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { ?p property:country_of_origin resource:Dominican_Republic . { ?p rdf:type ?k . VALUES ( ?k ) { ( ontology:literary_work ) ( ontology:release ) } } } } . FILTER ( ?w > ?g ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) ?o WHERE { { ?l property:country_of_origin ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:literary_work } UNION { ?l property:country_of_origin ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:release } } GROUP BY ?o } }
[]
designation for an administrative territorial entity literary work release
SYSTEM
49
Q801 Q419 Q668 Q414 Q142 Q55 Q145 Q148 Q37 Q712 Q837 Q252 Q258 Q45 Q159 Q43 Q41 Q155 Q884 Q881 Q826 Q242 Q33 Q32 Q31 Q30 Q36 Q34 Q39 Q38 Q739 Q232 Q20 Q27 Q28 Q843 Q184 Q96 Q17 Q902 Q191 Q298 Q212 Q213 Q211 Q215 Q79 Q77 Q29
(c(Q7725634)|c(Q2031291),P495,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_multi_types
action find_reverse
entity Q786
relation P495
type Q7725634
type Q2031291
[ANSWER]
[[{'concept': 'Q7725634'}, {'concept': 'Q2031291'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { ?p property:P495 resource:Q786 . { ?p rdf:type ?k . VALUES ( ?k ) { ( ontology:Q7725634 ) ( ontology:Q2031291 ) } } } } . FILTER ( ?w > ?g ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) ?o WHERE { { ?l property:P495 ?o . ?o rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q7725634 } UNION { ?l property:P495 ?o . ?o rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q2031291 } } GROUP BY ?o } }
Israel Peru India Argentina France Netherlands United Kingdom People's Republic of China Lithuania Fiji Nepal Indonesia South Africa Portugal Russia Turkey Greece Brazil South Korea Vietnam Maldives Belize Finland Luxembourg Belgium United States of America Poland Sweden Switzerland Italy Colombia Kazakhstan Norway Ireland Hungary Pakistan Belarus Mexico Japan Bangladesh Estonia Chile Ukraine Czech Republic Latvia Slovenia Egypt Uruguay Spain
49
action count
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_multi_types
action find_reverse
entity Dominican Republic
relation country of origin
type literary work
type release
[[{'concept': 'literary work'}, {'concept': 'release'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { ?p property:country_of_origin resource:Dominican_Republic . { ?p rdf:type ?k . VALUES ( ?k ) { ( ontology:literary_work ) ( ontology:release ) } } } } . FILTER ( ?w > ?g ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) ?o WHERE { { ?l property:country_of_origin ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:literary_work } UNION { ?l property:country_of_origin ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:release } } GROUP BY ?o } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q398
P495
Q15617994 Q7725634 Q2031291
USER
And what about Bahrain?
(c(Q7725634)|c(Q2031291),P495,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_multi_types
action find_reverse
entity Q398
relation P495
type Q7725634
type Q2031291
[[{'concept': 'Q7725634'}, {'concept': 'Q2031291'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?j ) WHERE { { ?r property:P495 ?b . ?b rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q7725634 } UNION { ?r property:P495 ?b . ?b rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q2031291 } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { ?n property:P495 resource:Q398 . { VALUES ( ?x ) { ( ontology:Q7725634 ) ( ontology:Q2031291 ) } . ?n rdf:type ?x } } } . FILTER ( ?j > ?p ) }
Bahrain
action count
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_multi_types
action find_reverse
entity Bahrain
relation country of origin
type literary work
type release
[[{'concept': 'literary work'}, {'concept': 'release'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?j ) WHERE { { ?r property:country_of_origin ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:literary_work } UNION { ?r property:country_of_origin ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:release } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { ?n property:country_of_origin resource:Bahrain . { VALUES ( ?x ) { ( ontology:literary_work ) ( ontology:release ) } . ?n rdf:type ?x } } } . FILTER ( ?j > ?p ) }
[]
designation for an administrative territorial entity literary work release
SYSTEM
49
Q801 Q419 Q668 Q414 Q142 Q55 Q145 Q148 Q37 Q712 Q837 Q252 Q258 Q45 Q159 Q43 Q41 Q155 Q884 Q881 Q826 Q242 Q33 Q32 Q31 Q30 Q36 Q34 Q39 Q38 Q739 Q232 Q20 Q27 Q28 Q843 Q184 Q96 Q17 Q902 Q191 Q298 Q212 Q213 Q211 Q215 Q79 Q77 Q29
(c(Q7725634)|c(Q2031291),P495,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_multi_types
action find_reverse
entity Q398
relation P495
type Q7725634
type Q2031291
[ANSWER]
[[{'concept': 'Q7725634'}, {'concept': 'Q2031291'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?j ) WHERE { { ?r property:P495 ?b . ?b rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q7725634 } UNION { ?r property:P495 ?b . ?b rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q2031291 } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { ?n property:P495 resource:Q398 . { VALUES ( ?x ) { ( ontology:Q7725634 ) ( ontology:Q2031291 ) } . ?n rdf:type ?x } } } . FILTER ( ?j > ?p ) }
Israel Peru India Argentina France Netherlands United Kingdom People's Republic of China Lithuania Fiji Nepal Indonesia South Africa Portugal Russia Turkey Greece Brazil South Korea Vietnam Maldives Belize Finland Luxembourg Belgium United States of America Poland Sweden Switzerland Italy Colombia Kazakhstan Norway Ireland Hungary Pakistan Belarus Mexico Japan Bangladesh Estonia Chile Ukraine Czech Republic Latvia Slovenia Egypt Uruguay Spain
49
action count
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_multi_types
action find_reverse
entity Bahrain
relation country of origin
type literary work
type release
[[{'concept': 'literary work'}, {'concept': 'release'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?j ) WHERE { { ?r property:country_of_origin ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:literary_work } UNION { ?r property:country_of_origin ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:release } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { ?n property:country_of_origin resource:Bahrain . { VALUES ( ?x ) { ( ontology:literary_work ) ( ontology:release ) } . ?n rdf:type ?x } } } . FILTER ( ?j > ?p ) }
[]