Simple Question (Direct)
Simple Question
Q5079194
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Charles Howson ?
(Q5079194,P27,c(Q15617994))
action filter_type
action find
entity Q5079194
relation P27
type Q15617994
['Q5079194', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q5079194 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
Charles Howson
action filter_type
action find
entity Charles Howson
relation country of citizenship
type designation for an administrative territorial entity
['Charles Howson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Charles_Howson property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q5079194,P27,c(Q15617994))
action filter_type
action find
entity Q5079194
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Charles Howson
['Q5079194', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q5079194 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is the country of citizenship of Charles Howson
United Kingdom
action filter_type
action find
entity Charles Howson
relation country of citizenship
type designation for an administrative territorial entity
['Charles Howson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Charles_Howson property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5079194
P19
Q56061
USER
Which administrative territory is the place of birth of Charles Howson ?
(Q5079194,P19,c(Q56061))
action filter_type
action find
entity Q5079194
relation P19
type Q56061
['Q5079194', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q5079194 property:P19 ?d . ?d rdf:type ontology:Q56061 }
Charles Howson
action filter_type
action find
entity Charles Howson
relation place of birth
type administrative territorial entity
['Charles Howson', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Charles_Howson property:place_of_birth ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2096359
SYSTEM
Wombwell
Q2096359
(Q5079194,P19,c(Q56061))
action filter_type
action find
entity Q5079194
relation P19
type Q56061
[ANSWER] is the place of birth of Charles Howson
['Q5079194', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q5079194 property:P19 ?d . ?d rdf:type ontology:Q56061 }
Wombwell
Wombwell is the place of birth of Charles Howson
Wombwell
action filter_type
action find
entity Charles Howson
relation place of birth
type administrative territorial entity
['Charles Howson', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Charles_Howson property:place_of_birth ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5079194
P106
Q12737077
USER
What is the job of Charles Howson ?
(Q5079194,P106,c(Q12737077))
action filter_type
action find
entity Q5079194
relation P106
type Q12737077
['Q5079194', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q5079194 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
Charles Howson
action filter_type
action find
entity Charles Howson
relation occupation
type occupation
['Charles Howson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Charles_Howson property:occupation ?e . ?e rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q5079194,P106,c(Q12737077))
action filter_type
action find
entity Q5079194
relation P106
type Q12737077
The job of Charles Howson is an [ANSWER]
['Q5079194', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q5079194 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
association football player
The job of Charles Howson is an association football player
association football player
action filter_type
action find
entity Charles Howson
relation occupation
type occupation
['Charles Howson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Charles_Howson property:occupation ?e . ?e rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1458040
Q12737077
USER
And also tell me about Friedrich Aemmer?
(Q1458040,P106,c(Q12737077))
action filter_type
action find
entity Q1458040
relation P106
type Q12737077
['Q1458040', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q12737077 . resource:Q1458040 property:P106 ?c }
Friedrich Aemmer
action filter_type
action find
entity Friedrich Aemmer
relation occupation
type occupation
['Friedrich Aemmer', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:occupation . resource:Friedrich_Aemmer property:occupation ?c }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q1458040,P106,c(Q12737077))
action filter_type
action find
entity Q1458040
relation P106
type Q12737077
[ANSWER]
['Q1458040', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q12737077 . resource:Q1458040 property:P106 ?c }
politician
politician
action filter_type
action find
entity Friedrich Aemmer
relation occupation
type occupation
['Friedrich Aemmer', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:occupation . resource:Friedrich_Aemmer property:occupation ?c }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1458040
P21
Q290
USER
Which sex does that person possess ?
(Q82955,P21,c(Q290))
action filter_type
action find
entity Q1458040
relation P21
type Q290
['Q82955', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q1458040 property:P21 ?a . ?a rdf:type ontology:Q290 }
Friedrich Aemmer
action filter_type
action find
entity Friedrich Aemmer
relation gender
type sex
['politician', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Friedrich_Aemmer property:gender ?a . ?a rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q82955,P21,c(Q290))
action filter_type
action find
entity Q1458040
relation P21
type Q290
That person possesses a [ANSWER]
['Q82955', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q1458040 property:P21 ?a . ?a rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Friedrich Aemmer
relation gender
type sex
['politician', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Friedrich_Aemmer property:gender ?a . ?a rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1458040
P102
Q7210356
USER
Which party is that person affiliated with ?
(Q6581097,P102,c(Q7210356))
action filter_type
action find
entity Q1458040
relation P102
type Q7210356
['Q6581097', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?a WHERE { resource:Q1458040 property:P102 ?a . ?a rdf:type ontology:Q7210356 }
Friedrich Aemmer
action filter_type
action find
entity Friedrich Aemmer
relation member of political party
type political organization
['male', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?a WHERE { resource:Friedrich_Aemmer property:member_of_political_party ?a . ?a rdf:type ontology:political_organization }
[]
political organization
Q13850128
SYSTEM
Free Democratic Party of Switzerland
Q13850128
(Q6581097,P102,c(Q7210356))
action filter_type
action find
entity Q1458040
relation P102
type Q7210356
That person is affiliated with [ANSWER]
['Q6581097', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?a WHERE { resource:Q1458040 property:P102 ?a . ?a rdf:type ontology:Q7210356 }
Free Democratic Party of Switzerland
That person is affiliated with Free Democratic Party of Switzerland
Free Democratic Party of Switzerland
action filter_type
action find
entity Friedrich Aemmer
relation member of political party
type political organization
['male', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?a WHERE { resource:Friedrich_Aemmer property:member_of_political_party ?a . ?a rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1458040
P20
Q13220204
USER
Where did the expiration of that person occur ?
(Q13850128,P20,c(Q13220204))
action filter_type
action find
entity Q1458040
relation P20
type Q13220204
['Q13850128', 'P20', {'concept': 'Q13220204'}]
SELECT DISTINCT ?c WHERE { resource:Q1458040 property:P20 ?c . ?c rdf:type ontology:Q13220204 }
Friedrich Aemmer
action filter_type
action find
entity Friedrich Aemmer
relation place of death
type second-level administrative country subdivision
['Free Democratic Party of Switzerland', 'place of death', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?c WHERE { resource:Friedrich_Aemmer property:place_of_death ?c . ?c rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q68019
SYSTEM
Saint-Sulpice
Q68019
(Q13850128,P20,c(Q13220204))
action filter_type
action find
entity Q1458040
relation P20
type Q13220204
The expiration of that person occurred at [ANSWER]
['Q13850128', 'P20', {'concept': 'Q13220204'}]
SELECT DISTINCT ?c WHERE { resource:Q1458040 property:P20 ?c . ?c rdf:type ontology:Q13220204 }
Saint-Sulpice
The expiration of that person occurred at Saint-Sulpice
Saint-Sulpice
action filter_type
action find
entity Friedrich Aemmer
relation place of death
type second-level administrative country subdivision
['Free Democratic Party of Switzerland', 'place of death', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?c WHERE { resource:Friedrich_Aemmer property:place_of_death ?c . ?c rdf:type ontology:second-level_administrative_country_subdivision }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q186115
P840
Q15617994 Q15416 Q838948
USER
Which administrative territories are approximately the same number of television programs and works of art set in as Montmartre ?
(c(Q15416)|c(Q838948),P840,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q186115
relation P840
type Q15416
type Q838948
[[{'concept': 'Q15416'}, {'concept': 'Q838948'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) ?v WHERE { ?h rdf:type ?a . VALUES ( ?a ) { ( ontology:Q15416 ) ( ontology:Q838948 ) } } GROUP BY ?v } . FILTER ( ?u = ?q ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { { { ?f rdf:type ontology:Q15416 } UNION { ?f rdf:type ontology:Q838948 } } . ?f property:P840 resource:Q186115 } } }
Montmartre
action approx
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 work of art
action count
action filter_multi_types
action find_reverse
entity Montmartre
relation narrative location
type television program
type work of art
[[{'concept': 'television program'}, {'concept': 'work of art'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) ?v WHERE { ?h rdf:type ?a . VALUES ( ?a ) { ( ontology:television_program ) ( ontology:work_of_art ) } } GROUP BY ?v } . FILTER ( ?u = ?q ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { { { ?f rdf:type ontology:television_program } UNION { ?f rdf:type ontology:work_of_art } } . ?f property:narrative_location resource:Montmartre } } }
[]
designation for an administrative territorial entity television program work of art
Q230 Q159 Q142
SYSTEM
Georgia, Russia, France
Q377277 Q805 Q804 Q801 Q20837 Q278221 Q186115 Q414 Q3278 Q142 Q1948 Q262 Q148 Q189 Q265 Q47428 Q18021 Q842 Q36678 Q712 Q711 Q710 Q717 Q837 Q252 Q1460 Q399 Q403 Q1979 Q45 Q159 Q790 Q796 Q794 Q889 Q884 Q881 Q858 Q419 Q165040 Q822 Q241 Q232782 Q244 Q1974 Q490398 Q12515 Q33 Q32 Q37 Q34 Q928 Q58477 Q739 Q423 Q424 Q851 Q733 Q854 Q819 Q340628 Q769680 Q12798 Q236 Q230 Q12538 Q232 Q233 Q1093 Q1045 Q1044 Q1860611 Q1041 Q27 Q913434 Q29 Q127043 Q1027 Q2009 Q843 Q2007 Q184 Q1029 Q1028 Q511806 Q1458 Q91217 Q1452 Q227 Q225 Q163966 Q223 Q12700 Q2336399 Q3207 Q1033 Q1030 Q191 Q962 Q963 Q159689 Q298 Q114 Q41158 Q750 Q212 Q213 Q517107 Q217 Q218 Q219 Q20571 Q1210 Q912 Q2107 Q1007 Q1005 Q833 Q14859 Q2742 Q683 Q836 Q874 Q77 Q774 Q948 Q817 Q810 Q1019 Q1014 Q1016 Q1273 Q1011 Q28 Q12620 Q678 Q800 Q12545 Q1952 Q53216 Q6247
(c(Q15416)|c(Q838948),P840,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q186115
relation P840
type Q15416
type Q838948
[ANSWERS] are approximately the same number of television programs and works of art set in as Montmartre
[[{'concept': 'Q15416'}, {'concept': 'Q838948'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) ?v WHERE { ?h rdf:type ?a . VALUES ( ?a ) { ( ontology:Q15416 ) ( ontology:Q838948 ) } } GROUP BY ?v } . FILTER ( ?u = ?q ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { { { ?f rdf:type ontology:Q15416 } UNION { ?f rdf:type ontology:Q838948 } } . ?f property:P840 resource:Q186115 } } }
Glückstadt Yemen Panama Israel Fanø Berchtesgaden Montmartre Argentina Charente-Maritime France Manitoba Algeria People's Republic of China Iceland Uzbekistan Valdobbiadene Biella Oman West Bank Fiji Mongolia Kiribati Venezuela Nepal Indonesia Sicily Armenia Serbia Prince Edward Island Portugal Russia Haiti Iraq Iran Afghanistan South Korea Vietnam Syria Peru Duchy of Parma Lebanon Cuba Portofino Barbados British Columbia Peenemünde Gard Finland Luxembourg Lithuania Sweden Philippines Capua Colombia North Korea Cambodia Saudi Arabia Paraguay Sri Lanka Laos Aggius Bornholm Vendée Montenegro Georgia Haute-Garonne Kazakhstan Malta Limburg Somalia Sierra Leone Viby Senegal Ireland Les Halles Spain Garmisch-Partenkirchen Mauritius Yukon Pakistan Northwest Territories Belarus Mozambique Morocco North Slope Borough Calabria Montepulciano Basilicata Azerbaijan Bosnia and Herzegovina Mitte Greenland Hautes-Pyrénées Baluchistan Aude Nigeria Namibia Estonia Benin Botswana Bomarzo Chile Kenya Cortina d'Ampezzo Bolivia Ukraine Czech Republic Rudolstadt Republic of Moldova Romania Bulgaria Spoleto Lombardy Mali Wuppertal Guinea-Bissau Gambia Malaysia Ansbach Münster Samoa Myanmar Turkmenistan Uruguay Guatemala Tunisia Kuwait Jordan Madagascar Liberia Libya Tuscany Cape Verde Hungary Mayenne Tonga Costa Rica Hérault Nova Scotia Aquileia Mantua
Georgia, Russia and France are approximately the same number of television programs and works of art set in as Montmartre
Georgia Russia France
action approx
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 work of art
action count
action filter_multi_types
action find_reverse
entity Montmartre
relation narrative location
type television program
type work of art
[[{'concept': 'television program'}, {'concept': 'work of art'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) ?v WHERE { ?h rdf:type ?a . VALUES ( ?a ) { ( ontology:television_program ) ( ontology:work_of_art ) } } GROUP BY ?v } . FILTER ( ?u = ?q ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { { { ?f rdf:type ontology:television_program } UNION { ?f rdf:type ontology:work_of_art } } . ?f property:narrative_location resource:Montmartre } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1027
P840
Q15617994 Q15416 Q838948
USER
And what about Mauritius?
(c(Q15416)|c(Q838948),P840,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q1027
relation P840
type Q15416
type Q838948
[[{'concept': 'Q15416'}, {'concept': 'Q838948'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?p ) AS ?b ) WHERE { ?p rdf:type ?g . VALUES ( ?g ) { ( ontology:Q838948 ) ( ontology:Q15416 ) } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { ?i property:P840 resource:Q1027 . { { ?i rdf:type ontology:Q15416 } UNION { ?i rdf:type ontology:Q838948 } } } } . FILTER ( ?b = ?a ) }
Mauritius
action approx
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 work of art
action count
action filter_multi_types
action find_reverse
entity Mauritius
relation narrative location
type television program
type work of art
[[{'concept': 'television program'}, {'concept': 'work of art'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?p ) AS ?b ) WHERE { ?p rdf:type ?g . VALUES ( ?g ) { ( ontology:work_of_art ) ( ontology:television_program ) } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { ?i property:narrative_location resource:Mauritius . { { ?i rdf:type ontology:television_program } UNION { ?i rdf:type ontology:work_of_art } } } } . FILTER ( ?b = ?a ) }
[]
designation for an administrative territorial entity television program work of art
Q230 Q159 Q142
SYSTEM
Georgia, Russia, France
Q377277 Q805 Q804 Q801 Q20837 Q278221 Q186115 Q414 Q3278 Q142 Q1948 Q262 Q148 Q189 Q265 Q47428 Q18021 Q842 Q36678 Q712 Q711 Q710 Q717 Q837 Q252 Q1460 Q399 Q403 Q1979 Q45 Q159 Q790 Q796 Q794 Q889 Q884 Q881 Q858 Q419 Q165040 Q822 Q241 Q232782 Q244 Q1974 Q490398 Q12515 Q33 Q32 Q37 Q34 Q928 Q58477 Q739 Q423 Q424 Q851 Q733 Q854 Q819 Q340628 Q769680 Q12798 Q236 Q230 Q12538 Q232 Q233 Q1093 Q1045 Q1044 Q1860611 Q1041 Q27 Q913434 Q29 Q127043 Q1027 Q2009 Q843 Q2007 Q184 Q1029 Q1028 Q511806 Q1458 Q91217 Q1452 Q227 Q225 Q163966 Q223 Q12700 Q2336399 Q3207 Q1033 Q1030 Q191 Q962 Q963 Q159689 Q298 Q114 Q41158 Q750 Q212 Q213 Q517107 Q217 Q218 Q219 Q20571 Q1210 Q912 Q2107 Q1007 Q1005 Q833 Q14859 Q2742 Q683 Q836 Q874 Q77 Q774 Q948 Q817 Q810 Q1019 Q1014 Q1016 Q1273 Q1011 Q28 Q12620 Q678 Q800 Q12545 Q1952 Q53216 Q6247
(c(Q15416)|c(Q838948),P840,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q1027
relation P840
type Q15416
type Q838948
[ANSWERS]
[[{'concept': 'Q15416'}, {'concept': 'Q838948'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?p ) AS ?b ) WHERE { ?p rdf:type ?g . VALUES ( ?g ) { ( ontology:Q838948 ) ( ontology:Q15416 ) } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { ?i property:P840 resource:Q1027 . { { ?i rdf:type ontology:Q15416 } UNION { ?i rdf:type ontology:Q838948 } } } } . FILTER ( ?b = ?a ) }
Glückstadt Yemen Panama Israel Fanø Berchtesgaden Montmartre Argentina Charente-Maritime France Manitoba Algeria People's Republic of China Iceland Uzbekistan Valdobbiadene Biella Oman West Bank Fiji Mongolia Kiribati Venezuela Nepal Indonesia Sicily Armenia Serbia Prince Edward Island Portugal Russia Haiti Iraq Iran Afghanistan South Korea Vietnam Syria Peru Duchy of Parma Lebanon Cuba Portofino Barbados British Columbia Peenemünde Gard Finland Luxembourg Lithuania Sweden Philippines Capua Colombia North Korea Cambodia Saudi Arabia Paraguay Sri Lanka Laos Aggius Bornholm Vendée Montenegro Georgia Haute-Garonne Kazakhstan Malta Limburg Somalia Sierra Leone Viby Senegal Ireland Les Halles Spain Garmisch-Partenkirchen Mauritius Yukon Pakistan Northwest Territories Belarus Mozambique Morocco North Slope Borough Calabria Montepulciano Basilicata Azerbaijan Bosnia and Herzegovina Mitte Greenland Hautes-Pyrénées Baluchistan Aude Nigeria Namibia Estonia Benin Botswana Bomarzo Chile Kenya Cortina d'Ampezzo Bolivia Ukraine Czech Republic Rudolstadt Republic of Moldova Romania Bulgaria Spoleto Lombardy Mali Wuppertal Guinea-Bissau Gambia Malaysia Ansbach Münster Samoa Myanmar Turkmenistan Uruguay Guatemala Tunisia Kuwait Jordan Madagascar Liberia Libya Tuscany Cape Verde Hungary Mayenne Tonga Costa Rica Hérault Nova Scotia Aquileia Mantua
Georgia Russia France
action approx
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 work of art
action count
action filter_multi_types
action find_reverse
entity Mauritius
relation narrative location
type television program
type work of art
[[{'concept': 'television program'}, {'concept': 'work of art'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?p ) AS ?b ) WHERE { ?p rdf:type ?g . VALUES ( ?g ) { ( ontology:work_of_art ) ( ontology:television_program ) } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { ?i property:narrative_location resource:Mauritius . { { ?i rdf:type ontology:television_program } UNION { ?i rdf:type ontology:work_of_art } } } } . FILTER ( ?b = ?a ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q230 Q159 Q142
P47
Q15617994
USER
Who share the border with those ones ?
(Q230,P47,c(Q15617994)) (Q159,P47,c(Q15617994)) (Q142,P47,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P47
type Q15617994
['Q230', 'P47', {'concept': 'Q15617994'}] ['Q159', 'P47', {'concept': 'Q15617994'}] ['Q142', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15617994 . VALUES ( ?q ) { ( resource:Q377277 ) ( resource:Q805 ) ( resource:Q804 ) } . ?q property:P47 ?t }
Georgia Russia France
action filter_type
action find
entity prev_answer
relation shares border with
type designation for an administrative territorial entity
['Georgia', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Russia', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['France', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?q ) { ( resource:Glückstadt ) ( resource:Yemen ) ( resource:Panama ) } . ?q property:shares_border_with ?t }
[]
designation for an administrative territorial entity
Q38 Q155 Q230
SYSTEM
Italy, Brazil, Georgia
Q227 Q159 Q43 Q399 Q227 Q20 Q423 Q211 Q230 Q232 Q191 Q184 Q711 Q33 Q17 Q30 Q37 Q36 Q212 Q148 Q717 Q145 Q155 Q730 Q29999 Q228 Q32 Q31 Q29 Q39 Q38
(Q230,P47,c(Q15617994)) (Q159,P47,c(Q15617994)) (Q142,P47,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P47
type Q15617994
[ANSWERS] share the border with those ones
['Q230', 'P47', {'concept': 'Q15617994'}] ['Q159', 'P47', {'concept': 'Q15617994'}] ['Q142', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15617994 . VALUES ( ?q ) { ( resource:Q377277 ) ( resource:Q805 ) ( resource:Q804 ) } . ?q property:P47 ?t }
Azerbaijan Russia Turkey Armenia Azerbaijan Norway North Korea Latvia Georgia Kazakhstan Estonia Belarus Mongolia Finland Japan United States of America Lithuania Poland Ukraine People's Republic of China Venezuela United Kingdom Brazil Suriname Kingdom of the Netherlands Andorra Luxembourg Belgium Spain Switzerland Italy
Italy, Brazil and Georgia share the border with those ones
Italy Brazil Georgia
action filter_type
action find
entity prev_answer
relation shares border with
type designation for an administrative territorial entity
['Georgia', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Russia', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['France', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?q ) { ( resource:Glückstadt ) ( resource:Yemen ) ( resource:Panama ) } . ?q property:shares_border_with ?t }
[]