Simple Question (Direct)
Simple Question
Q1356570
P102
Q7210356
USER
Which political organization is Ernest W. Roberts a member of ?
(Q1356570,P102,c(Q7210356))
action filter_type
action find
entity Q1356570
relation P102
type Q7210356
['Q1356570', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?h WHERE { resource:Q1356570 property:P102 ?h . ?h rdf:type ontology:Q7210356 }
Ernest W. Roberts
action filter_type
action find
entity Ernest W. Roberts
relation member of political party
type political organization
['Ernest W. Roberts', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?h WHERE { resource:Ernest_W._Roberts property:member_of_political_party ?h . ?h rdf:type ontology:political_organization }
[]
political organization
Q29468
SYSTEM
Republican Party
Q29468
(Q1356570,P102,c(Q7210356))
action filter_type
action find
entity Q1356570
relation P102
type Q7210356
The [ANSWER] is Ernest W. Roberts a member of
['Q1356570', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?h WHERE { resource:Q1356570 property:P102 ?h . ?h rdf:type ontology:Q7210356 }
Republican Party
The Republican Party is Ernest W. Roberts a member of
Republican Party
action filter_type
action find
entity Ernest W. Roberts
relation member of political party
type political organization
['Ernest W. Roberts', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?h WHERE { resource:Ernest_W._Roberts property:member_of_political_party ?h . ?h rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1356570
P69
Q3918
USER
Where was that person educated ?
(Q29468,P69,c(Q3918))
action filter_type
action find
entity Q1356570
relation P69
type Q3918
['Q29468', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?n WHERE { resource:Q1356570 property:P69 ?n . ?n rdf:type ontology:Q3918 }
Ernest W. Roberts
action filter_type
action find
entity Ernest W. Roberts
relation educated at
type university
['Republican Party', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?n WHERE { resource:Ernest_W._Roberts property:educated_at ?n . ?n rdf:type ontology:university }
[]
university
Q3064264
SYSTEM
Boston University School of Law
Q3064264
(Q29468,P69,c(Q3918))
action filter_type
action find
entity Q1356570
relation P69
type Q3918
That person was educated by [ANSWER]
['Q29468', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?n WHERE { resource:Q1356570 property:P69 ?n . ?n rdf:type ontology:Q3918 }
Boston University School of Law
That person was educated by Boston University School of Law
Boston University School of Law
action filter_type
action find
entity Ernest W. Roberts
relation educated at
type university
['Republican Party', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?n WHERE { resource:Ernest_W._Roberts property:educated_at ?n . ?n rdf:type ontology:university }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q5238330 Q1356570
P69
Q3918
USER
Or David P. Schmitt?
OR((Q1356570,P69,c(Q3918)), (Q5238330,P69,c(Q3918)))
action filter_type
action union
action find
entity Q1356570
relation P69
action find
entity Q5238330
relation P69
type Q3918
{'OR': [['Q1356570', 'P69', {'concept': 'Q3918'}], ['Q5238330', 'P69', {'concept': 'Q3918'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q3918 . { { resource:Q1356570 property:P69 ?q } UNION { resource:Q5238330 property:P69 ?q } } }
David P. Schmitt Ernest W. Roberts
action filter_type
action union
action find
entity Ernest W. Roberts
relation educated at
action find
entity David P. Schmitt
relation educated at
type university
{'OR': [['Ernest W. Roberts', 'educated at', {'concept': 'university'}], ['David P. Schmitt', 'educated at', {'concept': 'university'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:university . { { resource:Ernest_W._Roberts property:educated_at ?q } UNION { resource:David_P._Schmitt property:educated_at ?q } } }
[]
university
Q230492 Q3064264
SYSTEM
University of Michigan, Boston University School of Law
Q230492 Q3064264
OR((Q1356570,P69,c(Q3918)), (Q5238330,P69,c(Q3918)))
action filter_type
action union
action find
entity Q1356570
relation P69
action find
entity Q5238330
relation P69
type Q3918
[ANSWERS]
{'OR': [['Q1356570', 'P69', {'concept': 'Q3918'}], ['Q5238330', 'P69', {'concept': 'Q3918'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q3918 . { { resource:Q1356570 property:P69 ?q } UNION { resource:Q5238330 property:P69 ?q } } }
University of Michigan Boston University School of Law
University of Michigan Boston University School of Law
action filter_type
action union
action find
entity Ernest W. Roberts
relation educated at
action find
entity David P. Schmitt
relation educated at
type university
{'OR': [['Ernest W. Roberts', 'educated at', {'concept': 'university'}], ['David P. Schmitt', 'educated at', {'concept': 'university'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:university . { { resource:Ernest_W._Roberts property:educated_at ?q } UNION { resource:David_P._Schmitt property:educated_at ?q } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5408544
P69
Q502895
USER
Were Eugène Cuniot-Hury educated at those universities ?
(Q5408544,P69,Q230492) (Q5408544,P69,Q3064264)
action is_in
entity prev_answer
action find
entity Q5408544
relation P69
['Q5408544', 'P69', 'Q230492'] ['Q5408544', 'P69', 'Q3064264']
ASK WHERE { resource:Q5408544 property:P69 ?t . VALUES ( ?t ) { ( resource:Q230492 ) ( resource:Q3064264 ) } }
Eugène Cuniot-Hury
action is_in
entity prev_answer
action find
entity Eugène Cuniot-Hury
relation educated at
['Eugène Cuniot-Hury', 'educated at', 'University of Michigan'] ['Eugène Cuniot-Hury', 'educated at', 'Boston University School of Law']
ASK WHERE { resource:Eugène_Cuniot-Hury property:educated_at ?t . VALUES ( ?t ) { ( resource:University_of_Michigan ) ( resource:Boston_University_School_of_Law ) } }
[]
common name
SYSTEM
NO
(Q5408544,P69,Q230492) (Q5408544,P69,Q3064264)
action is_in
entity prev_answer
action find
entity Q5408544
relation P69
[ANSWER]
['Q5408544', 'P69', 'Q230492'] ['Q5408544', 'P69', 'Q3064264']
ASK WHERE { resource:Q5408544 property:P69 ?t . VALUES ( ?t ) { ( resource:Q230492 ) ( resource:Q3064264 ) } }
No
action is_in
entity prev_answer
action find
entity Eugène Cuniot-Hury
relation educated at
['Eugène Cuniot-Hury', 'educated at', 'University of Michigan'] ['Eugène Cuniot-Hury', 'educated at', 'Boston University School of Law']
ASK WHERE { resource:Eugène_Cuniot-Hury property:educated_at ?t . VALUES ( ?t ) { ( resource:University_of_Michigan ) ( resource:Boston_University_School_of_Law ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1505386 Q1356570
P27
Q15617994
USER
Which administrative territories are Ernest W. Roberts or Georg Peter Meri a civilian of ?
OR((Q1356570,P27,c(Q15617994)), (Q1505386,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1356570
relation P27
action find
entity Q1505386
relation P27
type Q15617994
{'OR': [['Q1356570', 'P27', {'concept': 'Q15617994'}], ['Q1505386', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?f ) { ( resource:Q1356570 ) ( resource:Q1505386 ) } . ?f property:P27 ?e } . ?e rdf:type ontology:Q15617994 }
Georg Peter Meri Ernest W. Roberts
action filter_type
action union
action find
entity Ernest W. Roberts
relation country of citizenship
action find
entity Georg Peter Meri
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Ernest W. Roberts', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Georg Peter Meri', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?f ) { ( resource:Ernest_W._Roberts ) ( resource:Georg_Peter_Meri ) } . ?f property:country_of_citizenship ?e } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q191 Q30
SYSTEM
Estonia, United States of America
Q191 Q30
OR((Q1356570,P27,c(Q15617994)), (Q1505386,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1356570
relation P27
action find
entity Q1505386
relation P27
type Q15617994
[ANSWERS] are Ernest W. Roberts or Georg Peter Meri a civilian of
{'OR': [['Q1356570', 'P27', {'concept': 'Q15617994'}], ['Q1505386', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?f ) { ( resource:Q1356570 ) ( resource:Q1505386 ) } . ?f property:P27 ?e } . ?e rdf:type ontology:Q15617994 }
Estonia United States of America
Estonia and United States of America are Ernest W. Roberts or Georg Peter Meri a civilian of
Estonia United States of America
action filter_type
action union
action find
entity Ernest W. Roberts
relation country of citizenship
action find
entity Georg Peter Meri
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Ernest W. Roberts', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Georg Peter Meri', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?f ) { ( resource:Ernest_W._Roberts ) ( resource:Georg_Peter_Meri ) } . ?f property:country_of_citizenship ?e } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q21170831
P27
Q502895
USER
Are Erik Schuil civilians of those administrative territories ?
(Q21170831,P27,Q191) (Q21170831,P27,Q30)
action is_in
entity prev_answer
action find
entity Q21170831
relation P27
['Q21170831', 'P27', 'Q191'] ['Q21170831', 'P27', 'Q30']
ASK WHERE { VALUES ( ?l ) { ( resource:Q191 ) ( resource:Q30 ) } . resource:Q21170831 property:P27 ?l }
Erik Schuil
action is_in
entity prev_answer
action find
entity Erik Schuil
relation country of citizenship
['Erik Schuil', 'country of citizenship', 'Estonia'] ['Erik Schuil', 'country of citizenship', 'United States of America']
ASK WHERE { VALUES ( ?l ) { ( resource:Estonia ) ( resource:United_States_of_America ) } . resource:Erik_Schuil property:country_of_citizenship ?l }
[]
common name
SYSTEM
NO
(Q21170831,P27,Q191) (Q21170831,P27,Q30)
action is_in
entity prev_answer
action find
entity Q21170831
relation P27
[ANSWER]
['Q21170831', 'P27', 'Q191'] ['Q21170831', 'P27', 'Q30']
ASK WHERE { VALUES ( ?l ) { ( resource:Q191 ) ( resource:Q30 ) } . resource:Q21170831 property:P27 ?l }
No
action is_in
entity prev_answer
action find
entity Erik Schuil
relation country of citizenship
['Erik Schuil', 'country of citizenship', 'Estonia'] ['Erik Schuil', 'country of citizenship', 'United States of America']
ASK WHERE { VALUES ( ?l ) { ( resource:Estonia ) ( resource:United_States_of_America ) } . resource:Erik_Schuil property:country_of_citizenship ?l }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q107255 Q5408544
P106
Q12737077
USER
Which occupations are the professions of Eugène Cuniot-Hury or Manfred Grothe ?
OR((Q5408544,P106,c(Q12737077)), (Q107255,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q5408544
relation P106
action find
entity Q107255
relation P106
type Q12737077
{'OR': [['Q5408544', 'P106', {'concept': 'Q12737077'}], ['Q107255', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q12737077 . { { resource:Q5408544 property:P106 ?t } UNION { resource:Q107255 property:P106 ?t } } }
Manfred Grothe Eugène Cuniot-Hury
action filter_type
action union
action find
entity Eugène Cuniot-Hury
relation occupation
action find
entity Manfred Grothe
relation occupation
type occupation
{'OR': [['Eugène Cuniot-Hury', 'occupation', {'concept': 'occupation'}], ['Manfred Grothe', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:occupation . { { resource:Eugène_Cuniot-Hury property:occupation ?t } UNION { resource:Manfred_Grothe property:occupation ?t } } }
[]
occupation
Q250867 Q1955150
SYSTEM
Catholic priest, musical instrument maker
Q250867 Q1955150
OR((Q5408544,P106,c(Q12737077)), (Q107255,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q5408544
relation P106
action find
entity Q107255
relation P106
type Q12737077
[ANSWERS] are the professions of Eugène Cuniot-Hury or Manfred Grothe
{'OR': [['Q5408544', 'P106', {'concept': 'Q12737077'}], ['Q107255', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q12737077 . { { resource:Q5408544 property:P106 ?t } UNION { resource:Q107255 property:P106 ?t } } }
Catholic priest musical instrument maker
Catholic priest and musical instrument maker are the professions of Eugène Cuniot-Hury or Manfred Grothe
Catholic priest musical instrument maker
action filter_type
action union
action find
entity Eugène Cuniot-Hury
relation occupation
action find
entity Manfred Grothe
relation occupation
type occupation
{'OR': [['Eugène Cuniot-Hury', 'occupation', {'concept': 'occupation'}], ['Manfred Grothe', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:occupation . { { resource:Eugène_Cuniot-Hury property:occupation ?t } UNION { resource:Manfred_Grothe property:occupation ?t } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q233
P840
Q15617994 Q15416 Q166142
USER
How many administrative territories are the narrative locations of less number of television programs and applications than Malta ?
(c(Q15416)|c(Q166142),P840,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
action count
action filter_multi_types
action find_reverse
entity Q233
relation P840
type Q15416
type Q166142
[[{'concept': 'Q15416'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) ?v WHERE { { ?q property:P840 ?v . ?v rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q15416 } UNION { ?v rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q166142 . ?q property:P840 ?v } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { ?t property:P840 resource:Q233 . { VALUES ( ?x ) { ( ontology:Q15416 ) ( ontology:Q166142 ) } . ?t rdf:type ?x } } } . FILTER ( ?d < ?c ) }
Malta
action count
action less
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
action count
action filter_multi_types
action find_reverse
entity Malta
relation narrative location
type television program
type application
[[{'concept': 'television program'}, {'concept': 'application'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) ?v WHERE { { ?q property:narrative_location ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:television_program } UNION { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:application . ?q property:narrative_location ?v } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { ?t property:narrative_location resource:Malta . { VALUES ( ?x ) { ( ontology:television_program ) ( ontology:application ) } . ?t rdf:type ?x } } } . FILTER ( ?d < ?c ) }
[]
designation for an administrative territorial entity television program application
SYSTEM
90
Q377277 Q804 Q20837 Q278221 Q186115 Q262 Q189 Q265 Q47428 Q18021 Q842 Q36678 Q712 Q711 Q710 Q252 Q1460 Q399 Q1979 Q45 Q790 Q165040 Q822 Q232782 Q244 Q1974 Q490398 Q12515 Q37 Q34 Q733 Q854 Q819 Q340628 Q769680 Q12798 Q236 Q230 Q12538 Q1093 Q1044 Q1860611 Q1041 Q913434 Q127043 Q1027 Q2009 Q2007 Q1029 Q1028 Q511806 Q1458 Q91217 Q1452 Q223 Q12700 Q2336399 Q3207 Q1030 Q962 Q159689 Q114 Q41158 Q517107 Q217 Q218 Q219 Q20571 Q1210 Q912 Q2107 Q1007 Q1005 Q14859 Q2742 Q683 Q836 Q874 Q77 Q774 Q1019 Q1014 Q1273 Q1011 Q12620 Q678 Q800 Q12545 Q53216 Q6247
(c(Q15416)|c(Q166142),P840,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
action count
action filter_multi_types
action find_reverse
entity Q233
relation P840
type Q15416
type Q166142
[ANSWER]
[[{'concept': 'Q15416'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) ?v WHERE { { ?q property:P840 ?v . ?v rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q15416 } UNION { ?v rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q166142 . ?q property:P840 ?v } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { ?t property:P840 resource:Q233 . { VALUES ( ?x ) { ( ontology:Q15416 ) ( ontology:Q166142 ) } . ?t rdf:type ?x } } } . FILTER ( ?d < ?c ) }
Glückstadt Panama Fanø Berchtesgaden Montmartre Algeria Iceland Uzbekistan Valdobbiadene Biella Oman West Bank Fiji Mongolia Kiribati Indonesia Sicily Armenia Prince Edward Island Portugal Haiti Duchy of Parma Lebanon Portofino Barbados British Columbia Peenemünde Gard Lithuania Sweden Paraguay Sri Lanka Laos Aggius Bornholm Vendée Montenegro Georgia Haute-Garonne Limburg Sierra Leone Viby Senegal Les Halles Garmisch-Partenkirchen Mauritius Yukon Northwest Territories Mozambique Morocco North Slope Borough Calabria Montepulciano Basilicata Greenland Hautes-Pyrénées Baluchistan Aude Namibia Benin Bomarzo Kenya Cortina d'Ampezzo Rudolstadt Republic of Moldova Romania Bulgaria Spoleto Lombardy Mali Wuppertal Guinea-Bissau Gambia Ansbach Münster Samoa Myanmar Turkmenistan Uruguay Guatemala Madagascar Liberia Tuscany Cape Verde Mayenne Tonga Costa Rica Hérault Aquileia Mantua
90
action count
action less
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
action count
action filter_multi_types
action find_reverse
entity Malta
relation narrative location
type television program
type application
[[{'concept': 'television program'}, {'concept': 'application'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) ?v WHERE { { ?q property:narrative_location ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:television_program } UNION { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:application . ?q property:narrative_location ?v } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { ?t property:narrative_location resource:Malta . { VALUES ( ?x ) { ( ontology:television_program ) ( ontology:application ) } . ?t rdf:type ?x } } } . FILTER ( ?d < ?c ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q212
P840
Q15617994 Q15416 Q166142
USER
And how about Ukraine?
(c(Q15416)|c(Q166142),P840,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
action count
action filter_multi_types
action find_reverse
entity Q212
relation P840
type Q15416
type Q166142
[[{'concept': 'Q15416'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) ?u WHERE { { ?c property:P840 ?u . ?u rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q15416 } UNION { ?c property:P840 ?u . ?c rdf:type ontology:Q166142 . ?u rdf:type ontology:Q15617994 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) WHERE { ?g property:P840 resource:Q212 . { ?g rdf:type ?l . VALUES ( ?l ) { ( ontology:Q15416 ) ( ontology:Q166142 ) } } } } . FILTER ( ?n < ?i ) }
Ukraine
action count
action less
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
action count
action filter_multi_types
action find_reverse
entity Ukraine
relation narrative location
type television program
type application
[[{'concept': 'television program'}, {'concept': 'application'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) ?u WHERE { { ?c property:narrative_location ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:television_program } UNION { ?c property:narrative_location ?u . ?c rdf:type ontology:application . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) WHERE { ?g property:narrative_location resource:Ukraine . { ?g rdf:type ?l . VALUES ( ?l ) { ( ontology:television_program ) ( ontology:application ) } } } } . FILTER ( ?n < ?i ) }
[]
designation for an administrative territorial entity television program application
SYSTEM
115
Q377277 Q804 Q801 Q20837 Q278221 Q186115 Q3278 Q1948 Q262 Q189 Q265 Q47428 Q18021 Q842 Q36678 Q712 Q711 Q710 Q717 Q837 Q252 Q1460 Q399 Q403 Q1979 Q45 Q790 Q419 Q165040 Q822 Q232782 Q244 Q1974 Q490398 Q12515 Q37 Q34 Q928 Q58477 Q424 Q733 Q854 Q819 Q340628 Q769680 Q12798 Q236 Q230 Q12538 Q232 Q233 Q1093 Q1045 Q1044 Q1860611 Q1041 Q913434 Q127043 Q1027 Q2009 Q843 Q2007 Q184 Q1029 Q1028 Q511806 Q1458 Q91217 Q1452 Q225 Q163966 Q223 Q12700 Q2336399 Q3207 Q1033 Q1030 Q191 Q962 Q159689 Q114 Q41158 Q517107 Q217 Q218 Q219 Q20571 Q1210 Q912 Q2107 Q1007 Q1005 Q833 Q14859 Q2742 Q683 Q836 Q874 Q77 Q774 Q948 Q810 Q1019 Q1014 Q1016 Q1273 Q1011 Q28 Q12620 Q678 Q800 Q12545 Q1952 Q53216 Q6247
(c(Q15416)|c(Q166142),P840,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
action count
action filter_multi_types
action find_reverse
entity Q212
relation P840
type Q15416
type Q166142
[ANSWER]
[[{'concept': 'Q15416'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) ?u WHERE { { ?c property:P840 ?u . ?u rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q15416 } UNION { ?c property:P840 ?u . ?c rdf:type ontology:Q166142 . ?u rdf:type ontology:Q15617994 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) WHERE { ?g property:P840 resource:Q212 . { ?g rdf:type ?l . VALUES ( ?l ) { ( ontology:Q15416 ) ( ontology:Q166142 ) } } } } . FILTER ( ?n < ?i ) }
Glückstadt Panama Israel Fanø Berchtesgaden Montmartre Charente-Maritime Manitoba Algeria Iceland Uzbekistan Valdobbiadene Biella Oman West Bank Fiji Mongolia Kiribati Venezuela Nepal Indonesia Sicily Armenia Serbia Prince Edward Island Portugal Haiti Peru Duchy of Parma Lebanon Portofino Barbados British Columbia Peenemünde Gard Lithuania Sweden Philippines Capua Cambodia Paraguay Sri Lanka Laos Aggius Bornholm Vendée Montenegro Georgia Haute-Garonne Kazakhstan Malta Limburg Somalia Sierra Leone Viby Senegal Les Halles Garmisch-Partenkirchen Mauritius Yukon Pakistan Northwest Territories Belarus Mozambique Morocco North Slope Borough Calabria Montepulciano Basilicata Bosnia and Herzegovina Mitte Greenland Hautes-Pyrénées Baluchistan Aude Nigeria Namibia Estonia Benin Bomarzo Kenya Cortina d'Ampezzo Rudolstadt Republic of Moldova Romania Bulgaria Spoleto Lombardy Mali Wuppertal Guinea-Bissau Gambia Malaysia Ansbach Münster Samoa Myanmar Turkmenistan Uruguay Guatemala Tunisia Jordan Madagascar Liberia Libya Tuscany Cape Verde Hungary Mayenne Tonga Costa Rica Hérault Nova Scotia Aquileia Mantua
115
action count
action less
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
action count
action filter_multi_types
action find_reverse
entity Ukraine
relation narrative location
type television program
type application
[[{'concept': 'television program'}, {'concept': 'application'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) ?u WHERE { { ?c property:narrative_location ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:television_program } UNION { ?c property:narrative_location ?u . ?c rdf:type ontology:application . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) WHERE { ?g property:narrative_location resource:Ukraine . { ?g rdf:type ?l . VALUES ( ?l ) { ( ontology:television_program ) ( ontology:application ) } } } } . FILTER ( ?n < ?i ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q191
P30
Q2221906
USER
Which geographic location is Estonia located in ?
(Q191,P30,c(Q2221906))
action filter_type
action find
entity Q191
relation P30
type Q2221906
['Q191', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q2221906 . resource:Q191 property:P30 ?q }
Estonia
action filter_type
action find
entity Estonia
relation continent
type geographic location
['Estonia', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:geographic_location . resource:Estonia property:continent ?q }
[]
geographic location
Q46
SYSTEM
Europe
Q46
(Q191,P30,c(Q2221906))
action filter_type
action find
entity Q191
relation P30
type Q2221906
Estonia is located in [ANSWER]
['Q191', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q2221906 . resource:Q191 property:P30 ?q }
Europe
Estonia is located in Europe
Europe
action filter_type
action find
entity Estonia
relation continent
type geographic location
['Estonia', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:geographic_location . resource:Estonia property:continent ?q }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q191
P137
Q43229
USER
Which organization can be described as service operator of Estonia ?
(c(Q43229),P137,Q191)
action filter_type
action find_reverse
entity Q191
relation P137
type Q43229
[{'concept': 'Q43229'}, 'P137', 'Q191']
SELECT DISTINCT ?y WHERE { ?y property:P137 resource:Q191 . ?y rdf:type ontology:Q43229 }
Estonia
action filter_type
action find_reverse
entity Estonia
relation operator
type organization
[{'concept': 'organization'}, 'operator', 'Estonia']
SELECT DISTINCT ?y WHERE { ?y property:operator resource:Estonia . ?y rdf:type ontology:organization }
[]
organization
Q438543
SYSTEM
Eesti Rahvusringhääling
Q438543
(c(Q43229),P137,Q191)
action filter_type
action find_reverse
entity Q191
relation P137
type Q43229
[ANSWER] can be described as service operator of Estonia
[{'concept': 'Q43229'}, 'P137', 'Q191']
SELECT DISTINCT ?y WHERE { ?y property:P137 resource:Q191 . ?y rdf:type ontology:Q43229 }
Eesti Rahvusringhääling
Eesti Rahvusringhääling can be described as service operator of Estonia
Eesti Rahvusringhääling
action filter_type
action find_reverse
entity Estonia
relation operator
type organization
[{'concept': 'organization'}, 'operator', 'Estonia']
SELECT DISTINCT ?y WHERE { ?y property:operator resource:Estonia . ?y rdf:type ontology:organization }
[]