Simple Question (Direct)
Simple Question
Q5048745
P495
Q15617994
USER
What is the country of origin of Cashier Wants to Go to the Seaside ?
(Q5048745,P495,c(Q15617994))
action filter_type
action find
entity Q5048745
relation P495
type Q15617994
['Q5048745', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q5048745 property:P495 ?w . ?w rdf:type ontology:Q15617994 }
Cashier Wants to Go to the Seaside
action filter_type
action find
entity Cashier Wants to Go to the Seaside
relation country of origin
type designation for an administrative territorial entity
['Cashier Wants to Go to the Seaside', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Cashier_Wants_to_Go_to_the_Seaside property:country_of_origin ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q224
SYSTEM
Croatia
Q224
(Q5048745,P495,c(Q15617994))
action filter_type
action find
entity Q5048745
relation P495
type Q15617994
The country of origin of Cashier Wants to Go to the Seaside is in [ANSWER]
['Q5048745', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q5048745 property:P495 ?w . ?w rdf:type ontology:Q15617994 }
Croatia
The country of origin of Cashier Wants to Go to the Seaside is in Croatia
Croatia
action filter_type
action find
entity Cashier Wants to Go to the Seaside
relation country of origin
type designation for an administrative territorial entity
['Cashier Wants to Go to the Seaside', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Cashier_Wants_to_Go_to_the_Seaside property:country_of_origin ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5048745
P58
Q502895
USER
Which person wrote the script for Cashier Wants to Go to the Seaside ?
(Q5048745,P58,c(Q502895))
action filter_type
action find
entity Q5048745
relation P58
type Q502895
['Q5048745', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q5048745 property:P58 ?f . ?f rdf:type ontology:Q502895 }
Cashier Wants to Go to the Seaside
action filter_type
action find
entity Cashier Wants to Go to the Seaside
relation screenwriter
type common name
['Cashier Wants to Go to the Seaside', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Cashier_Wants_to_Go_to_the_Seaside property:screenwriter ?f . ?f rdf:type ontology:common_name }
[]
common name
Q5210962
SYSTEM
Dalibor Matanić
Q5210962
(Q5048745,P58,c(Q502895))
action filter_type
action find
entity Q5048745
relation P58
type Q502895
[ANSWER] wrote the script for Cashier Wants to Go to the Seaside
['Q5048745', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q5048745 property:P58 ?f . ?f rdf:type ontology:Q502895 }
Dalibor Matanić
Dalibor Matanić wrote the script for Cashier Wants to Go to the Seaside
Dalibor Matanić
action filter_type
action find
entity Cashier Wants to Go to the Seaside
relation screenwriter
type common name
['Cashier Wants to Go to the Seaside', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Cashier_Wants_to_Go_to_the_Seaside property:screenwriter ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3212936
Q502895
USER
And what about Akitsu Springs?
(Q3212936,P58,c(Q502895))
action filter_type
action find
entity Q3212936
relation P58
type Q502895
['Q3212936', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q3212936 property:P58 ?o . ?o rdf:type ontology:Q502895 }
Akitsu Springs
action filter_type
action find
entity Akitsu Springs
relation screenwriter
type common name
['Akitsu Springs', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Akitsu_Springs property:screenwriter ?o . ?o rdf:type ontology:common_name }
[]
common name
Q11623205
SYSTEM
Shinji Fujiwara
Q11623205
(Q3212936,P58,c(Q502895))
action filter_type
action find
entity Q3212936
relation P58
type Q502895
[ANSWER]
['Q3212936', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q3212936 property:P58 ?o . ?o rdf:type ontology:Q502895 }
Shinji Fujiwara
Shinji Fujiwara
action filter_type
action find
entity Akitsu Springs
relation screenwriter
type common name
['Akitsu Springs', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Akitsu_Springs property:screenwriter ?o . ?o rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q11623205 Q1490 Q676343
P19
Q56061
USER
Does that person have birthplace at Tokyo and Badgers Mount ?
(Q11623205,P19,Q1490) (Q11623205,P19,Q676343)
action is_in
entity Q11623205
action intersection
action find_reverse
entity Q1490
relation P19
action find_reverse
entity Q676343
relation P19
['Q11623205', 'P19', 'Q1490'] ['Q11623205', 'P19', 'Q676343']
ASK WHERE { resource:Q11623205 property:P19 resource:Q1490 . resource:Q11623205 property:P19 resource:Q676343 }
Shinji Fujiwara Tokyo Badgers Mount
action is_in
entity Shinji Fujiwara
action intersection
action find_reverse
entity Tokyo
relation place of birth
action find_reverse
entity Badgers Mount
relation place of birth
['Shinji Fujiwara', 'place of birth', 'Tokyo'] ['Shinji Fujiwara', 'place of birth', 'Badgers Mount']
ASK WHERE { resource:Shinji_Fujiwara property:place_of_birth resource:Tokyo . resource:Shinji_Fujiwara property:place_of_birth resource:Badgers_Mount }
[]
administrative territorial entity
SYSTEM
YES and NO respectively
(Q11623205,P19,Q1490) (Q11623205,P19,Q676343)
action is_in
entity Q11623205
action intersection
action find_reverse
entity Q1490
relation P19
action find_reverse
entity Q676343
relation P19
[ANSWER]
['Q11623205', 'P19', 'Q1490'] ['Q11623205', 'P19', 'Q676343']
ASK WHERE { resource:Q11623205 property:P19 resource:Q1490 . resource:Q11623205 property:P19 resource:Q676343 }
YES and NO respectively
action is_in
entity Shinji Fujiwara
action intersection
action find_reverse
entity Tokyo
relation place of birth
action find_reverse
entity Badgers Mount
relation place of birth
['Shinji Fujiwara', 'place of birth', 'Tokyo'] ['Shinji Fujiwara', 'place of birth', 'Badgers Mount']
ASK WHERE { resource:Shinji_Fujiwara property:place_of_birth resource:Tokyo . resource:Shinji_Fujiwara property:place_of_birth resource:Badgers_Mount }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q424
P840
Q15617994 Q166142 Q15416
USER
Which administrative territories are the narrative locations of approximately the same number of applications or television programs as Cambodia ?
(c(Q166142)|c(Q15416),P840,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q424
relation P840
type Q166142
type Q15416
[[{'concept': 'Q166142'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) ?v WHERE { { ?v rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15416 . ?t property:P840 ?v } UNION { ?v rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q166142 . ?t property:P840 ?v } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { ?l property:P840 resource:Q424 . { { ?l rdf:type ontology:Q166142 } UNION { ?l rdf:type ontology:Q15416 } } } } . FILTER ( ?x = ?m ) }
Cambodia
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
action count
action filter_multi_types
action find_reverse
entity Cambodia
relation narrative location
type application
type television program
[[{'concept': 'application'}, {'concept': 'television program'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) ?v WHERE { { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:television_program . ?t property:narrative_location ?v } UNION { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:application . ?t property:narrative_location ?v } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { ?l property:narrative_location resource:Cambodia . { { ?l rdf:type ontology:application } UNION { ?l rdf:type ontology:television_program } } } } . FILTER ( ?x = ?m ) }
[]
designation for an administrative territorial entity application television program
Q30 Q230 Q55
SYSTEM
United States of America, Georgia, Netherlands
Q377277 Q805 Q804 Q801 Q20837 Q278221 Q186115 Q414 Q3278 Q55 Q1948 Q262 Q148 Q189 Q265 Q47428 Q18021 Q842 Q36678 Q712 Q711 Q710 Q717 Q837 Q252 Q1460 Q399 Q403 Q258 Q1979 Q45 Q43 Q790 Q796 Q794 Q889 Q884 Q881 Q858 Q419 Q165040 Q822 Q241 Q232782 Q244 Q1974 Q490398 Q12515 Q33 Q32 Q31 Q30 Q37 Q36 Q34 Q928 Q39 Q58477 Q739 Q423 Q424 Q851 Q733 Q854 Q819 Q340628 Q769680 Q12798 Q236 Q230 Q12538 Q232 Q233 Q1093 Q20 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 Q79 Q77 Q774 Q948 Q817 Q810 Q1019 Q1014 Q1016 Q1273 Q1011 Q28 Q12620 Q678 Q800 Q12545 Q1952 Q53216 Q869 Q6247
(c(Q166142)|c(Q15416),P840,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q424
relation P840
type Q166142
type Q15416
[ANSWERS] are the narrative locations of approximately the same number of applications or television programs as Cambodia
[[{'concept': 'Q166142'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) ?v WHERE { { ?v rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15416 . ?t property:P840 ?v } UNION { ?v rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q166142 . ?t property:P840 ?v } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { ?l property:P840 resource:Q424 . { { ?l rdf:type ontology:Q166142 } UNION { ?l rdf:type ontology:Q15416 } } } } . FILTER ( ?x = ?m ) }
Glückstadt Yemen Panama Israel Fanø Berchtesgaden Montmartre Argentina Charente-Maritime Netherlands Manitoba Algeria People's Republic of China Iceland Uzbekistan Valdobbiadene Biella Oman West Bank Fiji Mongolia Kiribati Venezuela Nepal Indonesia Sicily Armenia Serbia South Africa Prince Edward Island Portugal Turkey Haiti Iraq Iran Afghanistan South Korea Vietnam Syria Peru Duchy of Parma Lebanon Cuba Portofino Barbados British Columbia Peenemünde Gard Finland Luxembourg Belgium United States of America Lithuania Poland Sweden Philippines Switzerland Capua Colombia North Korea Cambodia Saudi Arabia Paraguay Sri Lanka Laos Aggius Bornholm Vendée Montenegro Georgia Haute-Garonne Kazakhstan Malta Limburg Norway 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 Egypt Uruguay Guatemala Tunisia Kuwait Jordan Madagascar Liberia Libya Tuscany Cape Verde Hungary Mayenne Tonga Costa Rica Hérault Nova Scotia Aquileia Thailand Mantua
United States of America, Georgia and Netherlands are the narrative locations of approximately the same number of applications or television programs as Cambodia
United States of America Georgia Netherlands
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
action count
action filter_multi_types
action find_reverse
entity Cambodia
relation narrative location
type application
type television program
[[{'concept': 'application'}, {'concept': 'television program'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) ?v WHERE { { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:television_program . ?t property:narrative_location ?v } UNION { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:application . ?t property:narrative_location ?v } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { ?l property:narrative_location resource:Cambodia . { { ?l rdf:type ontology:application } UNION { ?l rdf:type ontology:television_program } } } } . FILTER ( ?x = ?m ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q490398
P840
Q15617994 Q166142 Q15416
USER
And how about Peenemünde?
(c(Q166142)|c(Q15416),P840,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q490398
relation P840
type Q166142
type Q15416
[[{'concept': 'Q166142'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) ?t WHERE { { ?x property:P840 ?t . ?t rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q166142 } UNION { ?x property:P840 ?t . ?t rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15416 } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { ?k property:P840 resource:Q490398 . { ?k rdf:type ?z . VALUES ( ?z ) { ( ontology:Q166142 ) ( ontology:Q15416 ) } } } } . FILTER ( ?d = ?q ) }
Peenemünde
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
action count
action filter_multi_types
action find_reverse
entity Peenemünde
relation narrative location
type application
type television program
[[{'concept': 'application'}, {'concept': 'television program'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) ?t WHERE { { ?x property:narrative_location ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:application } UNION { ?x property:narrative_location ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:television_program } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { ?k property:narrative_location resource:Peenemünde . { ?k rdf:type ?z . VALUES ( ?z ) { ( ontology:application ) ( ontology:television_program ) } } } } . FILTER ( ?d = ?q ) }
[]
designation for an administrative territorial entity application television program
Q30 Q230 Q55
SYSTEM
United States of America, Georgia, Netherlands
Q377277 Q805 Q804 Q801 Q20837 Q278221 Q186115 Q414 Q3278 Q55 Q1948 Q262 Q148 Q189 Q265 Q47428 Q18021 Q842 Q36678 Q712 Q711 Q710 Q717 Q837 Q252 Q1460 Q399 Q403 Q258 Q1979 Q45 Q43 Q790 Q796 Q794 Q889 Q884 Q881 Q858 Q419 Q165040 Q822 Q241 Q232782 Q244 Q1974 Q490398 Q12515 Q33 Q32 Q31 Q30 Q37 Q36 Q34 Q928 Q39 Q58477 Q739 Q423 Q424 Q851 Q733 Q854 Q819 Q340628 Q769680 Q12798 Q236 Q230 Q12538 Q232 Q233 Q1093 Q20 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 Q79 Q77 Q774 Q948 Q817 Q810 Q1019 Q1014 Q1016 Q1273 Q1011 Q28 Q12620 Q678 Q800 Q12545 Q1952 Q53216 Q869 Q6247
(c(Q166142)|c(Q15416),P840,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q490398
relation P840
type Q166142
type Q15416
[ANSWERS]
[[{'concept': 'Q166142'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) ?t WHERE { { ?x property:P840 ?t . ?t rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q166142 } UNION { ?x property:P840 ?t . ?t rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15416 } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { ?k property:P840 resource:Q490398 . { ?k rdf:type ?z . VALUES ( ?z ) { ( ontology:Q166142 ) ( ontology:Q15416 ) } } } } . FILTER ( ?d = ?q ) }
Glückstadt Yemen Panama Israel Fanø Berchtesgaden Montmartre Argentina Charente-Maritime Netherlands Manitoba Algeria People's Republic of China Iceland Uzbekistan Valdobbiadene Biella Oman West Bank Fiji Mongolia Kiribati Venezuela Nepal Indonesia Sicily Armenia Serbia South Africa Prince Edward Island Portugal Turkey Haiti Iraq Iran Afghanistan South Korea Vietnam Syria Peru Duchy of Parma Lebanon Cuba Portofino Barbados British Columbia Peenemünde Gard Finland Luxembourg Belgium United States of America Lithuania Poland Sweden Philippines Switzerland Capua Colombia North Korea Cambodia Saudi Arabia Paraguay Sri Lanka Laos Aggius Bornholm Vendée Montenegro Georgia Haute-Garonne Kazakhstan Malta Limburg Norway 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 Egypt Uruguay Guatemala Tunisia Kuwait Jordan Madagascar Liberia Libya Tuscany Cape Verde Hungary Mayenne Tonga Costa Rica Hérault Nova Scotia Aquileia Thailand Mantua
United States of America Georgia Netherlands
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
action count
action filter_multi_types
action find_reverse
entity Peenemünde
relation narrative location
type application
type television program
[[{'concept': 'application'}, {'concept': 'television program'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) ?t WHERE { { ?x property:narrative_location ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:application } UNION { ?x property:narrative_location ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:television_program } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { ?k property:narrative_location resource:Peenemünde . { ?k rdf:type ?z . VALUES ( ?z ) { ( ontology:application ) ( ontology:television_program ) } } } } . FILTER ( ?d = ?q ) }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P495
Q15617994 Q2031291 Q2342494
USER
Which administrative territories are the countries of origin of lesser number of releases or collectables than that administrative territory ?
(c(Q2031291)|c(Q2342494),P495,c(Q15617994))
[[{'concept': 'Q2031291'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2342494 }
[[{'concept': 'release'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:collectable }
[]
designation for an administrative territorial entity release collectable
Comparative|More/Less|Mult. entity type|Clarification
Q55
SYSTEM
Did you mean Netherlands ?
(c(Q2031291)|c(Q2342494),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q2031291'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2342494 }
Did you mean Netherlands ?
Netherlands
[[{'concept': 'release'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:collectable }
[]
Comparative Reasoning (All)
USER
No, I meant Georgia. Could you tell me the answer for that?
(c(Q2031291)|c(Q2342494),P495,c(Q15617994))
Q230
[[{'concept': 'Q2031291'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
[[{'concept': 'release'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
Q953 Q184 Q32
SYSTEM
Zambia, Belarus, Luxembourg
Q805 Q804 Q800 Q1462 Q419 Q12536 Q262 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q45 Q41 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q32 Q924 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q232 Q233 Q238 Q1045 Q1044 Q1041 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q672 Q176 Q863 Q869 Q953
(c(Q2031291)|c(Q2342494),P495,c(Q15617994))
[ANSWERS] are the countries of origin of lesser number of releases or collectables than that administrative territory
[[{'concept': 'Q2031291'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2342494 }
Yemen Panama Costa Rica Sardinia Peru Abbasid caliphate Algeria Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad Portugal Greece El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Luxembourg Tanzania Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Kazakhstan Malta San Marino Somalia Sierra Leone Senegal Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Tuvalu Quebec Tajikistan Thailand Zambia
Zambia, Belarus and Luxembourg are the countries of origin of lesser number of releases or collectables than that administrative territory
Zambia Belarus Luxembourg
[[{'concept': 'release'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:collectable }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P1376
Q56061
USER
Which administrative territories are the county seat for United States of America ?
(c(Q56061),P1376,Q30)
action filter_type
action find_reverse
entity Q30
relation P1376
type Q56061
[{'concept': 'Q56061'}, 'P1376', 'Q30']
SELECT DISTINCT ?r WHERE { ?r property:P1376 resource:Q30 . ?r rdf:type ontology:Q56061 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'United States of America']
SELECT DISTINCT ?r WHERE { ?r property:capital_of resource:United_States_of_America . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q60 Q61
SYSTEM
New York City, Washington, D.C.
Q60 Q61
(c(Q56061),P1376,Q30)
action filter_type
action find_reverse
entity Q30
relation P1376
type Q56061
[ANSWERS]
[{'concept': 'Q56061'}, 'P1376', 'Q30']
SELECT DISTINCT ?r WHERE { ?r property:P1376 resource:Q30 . ?r rdf:type ontology:Q56061 }
New York City Washington, D.C.
The New York City and Washington, D.C. are the county seat for United States of America
New York City Washington, D.C.
action filter_type
action find_reverse
entity United States of America
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'United States of America']
SELECT DISTINCT ?r WHERE { ?r property:capital_of resource:United_States_of_America . ?r rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q60 Q61
P190
Q515
USER
Which cities are sister towns of those administrative territories ?
(Q60,P190,c(Q515)) (Q61,P190,c(Q515))
action filter_type
action find
entity prev_answer
relation P190
type Q515
['Q60', 'P190', {'concept': 'Q515'}] ['Q61', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q515 . VALUES ( ?l ) { ( resource:Q60 ) ( resource:Q61 ) } . ?l property:P190 ?j }
New York City Washington, D.C.
action filter_type
action find
entity prev_answer
relation sister city
type city
['New York City', 'sister city', {'concept': 'city'}] ['Washington, D.C.', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:city . VALUES ( ?l ) { ( resource:New_York_City ) ( resource:Washington,_D.C. ) } . ?l property:sister_city ?j }
[]
city
Q8684 Q9005 Q3624
SYSTEM
Seoul, Brussels, Addis Ababa
Q2844 Q8684 Q3624 Q3926 Q2844 Q9005
(Q60,P190,c(Q515)) (Q61,P190,c(Q515))
action filter_type
action find
entity prev_answer
relation P190
type Q515
[ANSWERS] are sister towns of those administrative territories
['Q60', 'P190', {'concept': 'Q515'}] ['Q61', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q515 . VALUES ( ?l ) { ( resource:Q60 ) ( resource:Q61 ) } . ?l property:P190 ?j }
Brasília Seoul Addis Ababa Pretoria Brasília Brussels
Seoul, Brussels and Addis Ababa are sister towns of those administrative territories
Seoul Brussels Addis Ababa
action filter_type
action find
entity prev_answer
relation sister city
type city
['New York City', 'sister city', {'concept': 'city'}] ['Washington, D.C.', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:city . VALUES ( ?l ) { ( resource:New_York_City ) ( resource:Washington,_D.C. ) } . ?l property:sister_city ?j }
[]
Clarification
Simple Question|Single Entity|Indirect
Q9005
P17
Q15617994
USER
Which administrative territories do that city belong to ?
(Q9005,P17,c(Q15617994))
action filter_type
action find
entity Q9005
relation P17
type Q15617994
['Q9005', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q9005 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
Brussels
action filter_type
action find
entity Brussels
relation country
type designation for an administrative territorial entity
['Brussels', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Brussels property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q9005
SYSTEM
Did you mean Brussels ?
Q8684 Q9005 Q3624
(Q8684,P17,c(Q15617994)) (Q9005,P17,c(Q15617994)) (Q3624,P17,c(Q15617994))
[ANSWER]
['Q8684', 'P17', {'concept': 'Q15617994'}] ['Q9005', 'P17', {'concept': 'Q15617994'}] ['Q3624', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q9005 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
Seoul Brussels Addis Ababa
Did you mean Brussels ?
Brussels
['Seoul', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Brussels', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Addis Ababa', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Brussels property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q9005,P17,c(Q15617994))
['Q9005', 'P17', {'concept': 'Q15617994'}]
['Brussels', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q142 Q31 Q159856
SYSTEM
France, Belgium, Duchy of Brabant
Q142 Q31 Q159856
(Q9005,P17,c(Q15617994))
action filter_type
action find
entity Q9005
relation P17
type Q15617994
That city belong to [ANSWERS]
['Q9005', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q9005 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
France Belgium Duchy of Brabant
That city belong to France, Belgium and Duchy of Brabant
France Belgium Duchy of Brabant
action filter_type
action find
entity Brussels
relation country
type designation for an administrative territorial entity
['Brussels', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Brussels property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]