Simple Question (Direct)
Simple Question
Q503938
P26
Q502895
USER
Who is married to Andrew Buchan ?
(Q503938,P26,c(Q502895))
action filter_type
action find
entity Q503938
relation P26
type Q502895
['Q503938', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q503938 property:P26 ?b . ?b rdf:type ontology:Q502895 }
Andrew Buchan
action filter_type
action find
entity Andrew Buchan
relation spouse
type common name
['Andrew Buchan', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Andrew_Buchan property:spouse ?b . ?b rdf:type ontology:common_name }
[]
common name
Q2844572
SYSTEM
Amy Nuttall
Q2844572
(Q503938,P26,c(Q502895))
action filter_type
action find
entity Q503938
relation P26
type Q502895
[ANSWER] is married to Andrew Buchan
['Q503938', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q503938 property:P26 ?b . ?b rdf:type ontology:Q502895 }
Amy Nuttall
Amy Nuttall is married to Andrew Buchan
Amy Nuttall
action filter_type
action find
entity Andrew Buchan
relation spouse
type common name
['Andrew Buchan', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Andrew_Buchan property:spouse ?b . ?b rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q503938
P161
Q838948
USER
Which works of art stars Andrew Buchan as actor ?
(c(Q838948),P161,Q503938)
action filter_type
action find_reverse
entity Q503938
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q503938']
SELECT DISTINCT ?j WHERE { ?j property:P161 resource:Q503938 . ?j rdf:type ontology:Q838948 }
Andrew Buchan
action filter_type
action find_reverse
entity Andrew Buchan
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Andrew Buchan']
SELECT DISTINCT ?j WHERE { ?j property:cast_member resource:Andrew_Buchan . ?j rdf:type ontology:work_of_art }
[]
work of art
Q12124719 Q2314831
SYSTEM
Having You, The Deaths of Ian Stone
Q12124719 Q2314831
(c(Q838948),P161,Q503938)
action filter_type
action find_reverse
entity Q503938
relation P161
type Q838948
[ANSWERS] star Andrew Buchan as actor
[{'concept': 'Q838948'}, 'P161', 'Q503938']
SELECT DISTINCT ?j WHERE { ?j property:P161 resource:Q503938 . ?j rdf:type ontology:Q838948 }
Having You The Deaths of Ian Stone
Having You and The Deaths of Ian Stone star Andrew Buchan as actor
Having You The Deaths of Ian Stone
action filter_type
action find_reverse
entity Andrew Buchan
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Andrew Buchan']
SELECT DISTINCT ?j WHERE { ?j property:cast_member resource:Andrew_Buchan . ?j rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2314831
P364
Q34770
USER
Which language was used originally for the creation of The Deaths of Ian Stone ?
(Q2314831,P364,c(Q34770))
action filter_type
action find
entity Q2314831
relation P364
type Q34770
['Q2314831', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?j WHERE { resource:Q2314831 property:P364 ?j . ?j rdf:type ontology:Q34770 }
The Deaths of Ian Stone
action filter_type
action find
entity The Deaths of Ian Stone
relation original language of work
type language
['The Deaths of Ian Stone', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?j WHERE { resource:The_Deaths_of_Ian_Stone property:original_language_of_work ?j . ?j rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q2314831,P364,c(Q34770))
action filter_type
action find
entity Q2314831
relation P364
type Q34770
In [ANSWER] was used originally for the creation of The Deaths of Ian Stone
['Q2314831', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?j WHERE { resource:Q2314831 property:P364 ?j . ?j rdf:type ontology:Q34770 }
English
In English was used originally for the creation of The Deaths of Ian Stone
English
action filter_type
action find
entity The Deaths of Ian Stone
relation original language of work
type language
['The Deaths of Ian Stone', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?j WHERE { resource:The_Deaths_of_Ian_Stone property:original_language_of_work ?j . ?j rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2314831
P162
Q502895
USER
Who is the producer of The Deaths of Ian Stone ?
(Q2314831,P162,c(Q502895))
action filter_type
action find
entity Q2314831
relation P162
type Q502895
['Q2314831', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q2314831 property:P162 ?y . ?y rdf:type ontology:Q502895 }
The Deaths of Ian Stone
action filter_type
action find
entity The Deaths of Ian Stone
relation producer
type common name
['The Deaths of Ian Stone', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:The_Deaths_of_Ian_Stone property:producer ?y . ?y rdf:type ontology:common_name }
[]
common name
Q320211
SYSTEM
Stan Winston
Q320211
(Q2314831,P162,c(Q502895))
action filter_type
action find
entity Q2314831
relation P162
type Q502895
The producer of The Deaths of Ian Stone is of [ANSWER]
['Q2314831', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q2314831 property:P162 ?y . ?y rdf:type ontology:Q502895 }
Stan Winston
The producer of The Deaths of Ian Stone is of Stan Winston
Stan Winston
action filter_type
action find
entity The Deaths of Ian Stone
relation producer
type common name
['The Deaths of Ian Stone', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:The_Deaths_of_Ian_Stone property:producer ?y . ?y rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4000826
Q502895
USER
And also tell me about Any Wednesday?
(Q4000826,P162,c(Q502895))
action filter_type
action find
entity Q4000826
relation P162
type Q502895
['Q4000826', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . resource:Q4000826 property:P162 ?z }
Any Wednesday
action filter_type
action find
entity Any Wednesday
relation producer
type common name
['Any Wednesday', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . resource:Any_Wednesday property:producer ?z }
[]
common name
Q795022
SYSTEM
Julius J. Epstein
Q795022
(Q4000826,P162,c(Q502895))
action filter_type
action find
entity Q4000826
relation P162
type Q502895
[ANSWER]
['Q4000826', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . resource:Q4000826 property:P162 ?z }
Julius J. Epstein
Julius J. Epstein
action filter_type
action find
entity Any Wednesday
relation producer
type common name
['Any Wednesday', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . resource:Any_Wednesday property:producer ?z }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q795022 Q30
P27
Q15617994
USER
Is United States of America the native country of that person ?
(Q795022,P27,Q30)
action is_in
entity Q30
action find
entity Q795022
relation P27
['Q795022', 'P27', 'Q30']
ASK WHERE { resource:Q795022 property:P27 resource:Q30 }
Julius J. Epstein United States of America
action is_in
entity United States of America
action find
entity Julius J. Epstein
relation country of citizenship
['Julius J. Epstein', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Julius_J._Epstein property:country_of_citizenship resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q795022,P27,Q30)
action is_in
entity Q30
action find
entity Q795022
relation P27
[ANSWER]
['Q795022', 'P27', 'Q30']
ASK WHERE { resource:Q795022 property:P27 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Julius J. Epstein
relation country of citizenship
['Julius J. Epstein', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Julius_J._Epstein property:country_of_citizenship resource:United_States_of_America }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q12124719 Q145 Q70954
P495
Q15617994
USER
Did Having You originate in United Kingdom and Erlau ?
(Q12124719,P495,Q145) (Q12124719,P495,Q70954)
action is_in
entity Q12124719
action intersection
action find_reverse
entity Q145
relation P495
action find_reverse
entity Q70954
relation P495
['Q12124719', 'P495', 'Q145'] ['Q12124719', 'P495', 'Q70954']
ASK WHERE { resource:Q12124719 property:P495 resource:Q145 . resource:Q12124719 property:P495 resource:Q70954 }
Having You United Kingdom Erlau
action is_in
entity Having You
action intersection
action find_reverse
entity United Kingdom
relation country of origin
action find_reverse
entity Erlau
relation country of origin
['Having You', 'country of origin', 'United Kingdom'] ['Having You', 'country of origin', 'Erlau']
ASK WHERE { resource:Having_You property:country_of_origin resource:United_Kingdom . resource:Having_You property:country_of_origin resource:Erlau }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q12124719,P495,Q145) (Q12124719,P495,Q70954)
action is_in
entity Q12124719
action intersection
action find_reverse
entity Q145
relation P495
action find_reverse
entity Q70954
relation P495
[ANSWER]
['Q12124719', 'P495', 'Q145'] ['Q12124719', 'P495', 'Q70954']
ASK WHERE { resource:Q12124719 property:P495 resource:Q145 . resource:Q12124719 property:P495 resource:Q70954 }
YES and NO respectively
action is_in
entity Having You
action intersection
action find_reverse
entity United Kingdom
relation country of origin
action find_reverse
entity Erlau
relation country of origin
['Having You', 'country of origin', 'United Kingdom'] ['Having You', 'country of origin', 'Erlau']
ASK WHERE { resource:Having_You property:country_of_origin resource:United_Kingdom . resource:Having_You property:country_of_origin resource:Erlau }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q4975726 Q145
P530 P27
Q15617994
USER
Which administrative territories have a diplomatic relationship with United Kingdom or are the native countriesof Linnéa Roxeheim ?
OR((Q145,P530,c(Q15617994)), (Q4975726,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q145
relation P530
action find
entity Q4975726
relation P27
type Q15617994
{'OR': [['Q145', 'P530', {'concept': 'Q15617994'}], ['Q4975726', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q4975726 property:P27 ?m } UNION { resource:Q145 property:P530 ?m } } . ?m rdf:type ontology:Q15617994 }
Linnéa Roxeheim United Kingdom
action filter_type
action union
action find
entity United Kingdom
relation diplomatic relation
action find
entity Linnéa Roxeheim
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['United Kingdom', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Linnéa Roxeheim', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Linnéa_Roxeheim property:country_of_citizenship ?m } UNION { resource:United_Kingdom property:diplomatic_relation ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q805 Q801 Q155 Q37 Q34 Q403 Q38
SYSTEM
France, Yemen, Israel, Brazil, Lithuania, Sweden, Serbia, Italy
Q142 Q805 Q801 Q155 Q37 Q34 Q403 Q38
OR((Q145,P530,c(Q15617994)), (Q4975726,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q145
relation P530
action find
entity Q4975726
relation P27
type Q15617994
[ANSWERS] have a diplomatic relationship with United Kingdom or are the native countriesof Linnéa Roxeheim
{'OR': [['Q145', 'P530', {'concept': 'Q15617994'}], ['Q4975726', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q4975726 property:P27 ?m } UNION { resource:Q145 property:P530 ?m } } . ?m rdf:type ontology:Q15617994 }
France Yemen Israel Brazil Lithuania Sweden Serbia Italy
France, Yemen, Israel, Brazil, Lithuania, Sweden, Serbia and Italy have a diplomatic relationship with United Kingdom or are the native countriesof Linnéa Roxeheim
France Yemen Israel Brazil Lithuania Sweden Serbia Italy
action filter_type
action union
action find
entity United Kingdom
relation diplomatic relation
action find
entity Linnéa Roxeheim
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['United Kingdom', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Linnéa Roxeheim', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Linnéa_Roxeheim property:country_of_citizenship ?m } UNION { resource:United_Kingdom property:diplomatic_relation ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q9357 Q2314831
P47 P495
Q15617994
USER
Which administrative territories did The Deaths of Ian Stone originate or are bordered by Fiorano Canavese ?
OR((Q2314831,P495,c(Q15617994)), (Q9357,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q2314831
relation P495
action find
entity Q9357
relation P47
type Q15617994
{'OR': [['Q2314831', 'P495', {'concept': 'Q15617994'}], ['Q9357', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q2314831 property:P495 ?j } UNION { resource:Q9357 property:P47 ?j } } . ?j rdf:type ontology:Q15617994 }
Fiorano Canavese The Deaths of Ian Stone
action filter_type
action union
action find
entity The Deaths of Ian Stone
relation country of origin
action find
entity Fiorano Canavese
relation shares border with
type designation for an administrative territorial entity
{'OR': [['The Deaths of Ian Stone', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Fiorano Canavese', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:The_Deaths_of_Ian_Stone property:country_of_origin ?j } UNION { resource:Fiorano_Canavese property:shares_border_with ?j } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q10252 Q9031 Q8983 Q9409 Q9435 Q9433 Q145 Q9423 Q10255 Q30
SYSTEM
Some of them are Salerano Canavese, Banchette, Alice Superiore, Ivrea, Lugnacco, Loranzè, United Kingdom, Lessolo, Samone, United States of America
Q9487 Q8983 Q145 Q9433 Q9423 Q30 Q9409 Q9435 Q10252 Q10255 Q9031
OR((Q2314831,P495,c(Q15617994)), (Q9357,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q2314831
relation P495
action find
entity Q9357
relation P47
type Q15617994
The Deaths of Ian Stone originated from [ANSWERS]
{'OR': [['Q2314831', 'P495', {'concept': 'Q15617994'}], ['Q9357', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q2314831 property:P495 ?j } UNION { resource:Q9357 property:P47 ?j } } . ?j rdf:type ontology:Q15617994 }
Montalto Dora Alice Superiore United Kingdom Loranzè Lessolo United States of America Ivrea Lugnacco Salerano Canavese Samone Banchette
The Deaths of Ian Stone originated from Salerano Canavese, Banchette, Alice Superiore, Ivrea, Lugnacco, Loranzè, United Kingdom, Lessolo, Samone and United States of America
Salerano Canavese Banchette Alice Superiore Ivrea Lugnacco Loranzè United Kingdom Lessolo Samone United States of America
action filter_type
action union
action find
entity The Deaths of Ian Stone
relation country of origin
action find
entity Fiorano Canavese
relation shares border with
type designation for an administrative territorial entity
{'OR': [['The Deaths of Ian Stone', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Fiorano Canavese', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:The_Deaths_of_Ian_Stone property:country_of_origin ?j } UNION { resource:Fiorano_Canavese property:shares_border_with ?j } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q842
P840
Q15617994 Q838948 Q166142
USER
Which administrative territories are approximately the same number of works of art or applications set in as Oman ?
(c(Q838948)|c(Q166142),P840,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
action count
action filter_multi_types
action find_reverse
entity Q842
relation P840
type Q838948
type Q166142
[[{'concept': 'Q838948'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?n ) AS ?z ) WHERE { VALUES ( ?y ) { ( ontology:Q838948 ) ( ontology:Q166142 ) } . ?n rdf:type ?y } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?k ) WHERE { { ?h rdf:type ?l . VALUES ( ?l ) { ( ontology:Q838948 ) ( ontology:Q166142 ) } } . ?h property:P840 resource:Q842 } } . FILTER ( ?z = ?k ) }
Oman
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
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 Oman
relation narrative location
type work of art
type application
[[{'concept': 'work of art'}, {'concept': 'application'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?n ) AS ?z ) WHERE { VALUES ( ?y ) { ( ontology:work_of_art ) ( ontology:application ) } . ?n rdf:type ?y } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?k ) WHERE { { ?h rdf:type ?l . VALUES ( ?l ) { ( ontology:work_of_art ) ( ontology:application ) } } . ?h property:narrative_location resource:Oman } } . FILTER ( ?z = ?k ) }
[]
designation for an administrative territorial entity work of art application
Q230 Q36 Q148
SYSTEM
Georgia, Poland, People's Republic of China
Q377277 Q805 Q804 Q801 Q20837 Q278221 Q186115 Q414 Q3278 Q1948 Q145 Q262 Q148 Q189 Q265 Q47428 Q18021 Q842 Q36678 Q712 Q711 Q710 Q717 Q837 Q252 Q1460 Q399 Q403 Q1979 Q45 Q790 Q796 Q794 Q889 Q884 Q881 Q858 Q419 Q165040 Q822 Q241 Q232782 Q244 Q1974 Q490398 Q12515 Q32 Q31 Q37 Q36 Q34 Q928 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 Q6247
(c(Q838948)|c(Q166142),P840,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
action count
action filter_multi_types
action find_reverse
entity Q842
relation P840
type Q838948
type Q166142
[ANSWERS] are approximately the same number of works of art or applications set in as Oman
[[{'concept': 'Q838948'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?n ) AS ?z ) WHERE { VALUES ( ?y ) { ( ontology:Q838948 ) ( ontology:Q166142 ) } . ?n rdf:type ?y } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?k ) WHERE { { ?h rdf:type ?l . VALUES ( ?l ) { ( ontology:Q838948 ) ( ontology:Q166142 ) } } . ?h property:P840 resource:Q842 } } . FILTER ( ?z = ?k ) }
Glückstadt Yemen Panama Israel Fanø Berchtesgaden Montmartre Argentina Charente-Maritime Manitoba United Kingdom 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 Haiti Iraq Iran Afghanistan South Korea Vietnam Syria Peru Duchy of Parma Lebanon Cuba Portofino Barbados British Columbia Peenemünde Gard Luxembourg Belgium Lithuania Poland Sweden Philippines 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 Mantua
Georgia, Poland and People's Republic of China are approximately the same number of works of art or applications set in as Oman
Georgia Poland People's Republic of China
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
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 Oman
relation narrative location
type work of art
type application
[[{'concept': 'work of art'}, {'concept': 'application'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?n ) AS ?z ) WHERE { VALUES ( ?y ) { ( ontology:work_of_art ) ( ontology:application ) } . ?n rdf:type ?y } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?k ) WHERE { { ?h rdf:type ?l . VALUES ( ?l ) { ( ontology:work_of_art ) ( ontology:application ) } } . ?h property:narrative_location resource:Oman } } . FILTER ( ?z = ?k ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q6247
P840
Q15617994 Q838948 Q166142
USER
And how about Mantua?
(c(Q838948)|c(Q166142),P840,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
action count
action filter_multi_types
action find_reverse
entity Q6247
relation P840
type Q838948
type Q166142
[[{'concept': 'Q838948'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) ?t WHERE { { ?y property:P840 ?t . ?t rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q838948 } UNION { ?y property:P840 ?t . ?t rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q166142 } } GROUP BY ?t } . FILTER ( ?m = ?x ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z rdf:type ontology:Q838948 } UNION { ?z rdf:type ontology:Q166142 } } . ?z property:P840 resource:Q6247 } } }
Mantua
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
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 Mantua
relation narrative location
type work of art
type application
[[{'concept': 'work of art'}, {'concept': 'application'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) ?t WHERE { { ?y property:narrative_location ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:work_of_art } UNION { ?y property:narrative_location ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:application } } GROUP BY ?t } . FILTER ( ?m = ?x ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z rdf:type ontology:work_of_art } UNION { ?z rdf:type ontology:application } } . ?z property:narrative_location resource:Mantua } } }
[]
designation for an administrative territorial entity work of art application
Q230 Q36 Q148
SYSTEM
Georgia, Poland, People's Republic of China
Q377277 Q805 Q804 Q801 Q20837 Q278221 Q186115 Q414 Q3278 Q1948 Q145 Q262 Q148 Q189 Q265 Q47428 Q18021 Q842 Q36678 Q712 Q711 Q710 Q717 Q837 Q252 Q1460 Q399 Q403 Q1979 Q45 Q790 Q796 Q794 Q889 Q884 Q881 Q858 Q419 Q165040 Q822 Q241 Q232782 Q244 Q1974 Q490398 Q12515 Q32 Q31 Q37 Q36 Q34 Q928 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 Q6247
(c(Q838948)|c(Q166142),P840,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
action count
action filter_multi_types
action find_reverse
entity Q6247
relation P840
type Q838948
type Q166142
[ANSWERS]
[[{'concept': 'Q838948'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) ?t WHERE { { ?y property:P840 ?t . ?t rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q838948 } UNION { ?y property:P840 ?t . ?t rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q166142 } } GROUP BY ?t } . FILTER ( ?m = ?x ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z rdf:type ontology:Q838948 } UNION { ?z rdf:type ontology:Q166142 } } . ?z property:P840 resource:Q6247 } } }
Glückstadt Yemen Panama Israel Fanø Berchtesgaden Montmartre Argentina Charente-Maritime Manitoba United Kingdom 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 Haiti Iraq Iran Afghanistan South Korea Vietnam Syria Peru Duchy of Parma Lebanon Cuba Portofino Barbados British Columbia Peenemünde Gard Luxembourg Belgium Lithuania Poland Sweden Philippines 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 Mantua
Georgia Poland People's Republic of China
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
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 Mantua
relation narrative location
type work of art
type application
[[{'concept': 'work of art'}, {'concept': 'application'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) ?t WHERE { { ?y property:narrative_location ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:work_of_art } UNION { ?y property:narrative_location ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:application } } GROUP BY ?t } . FILTER ( ?m = ?x ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z rdf:type ontology:work_of_art } UNION { ?z rdf:type ontology:application } } . ?z property:narrative_location resource:Mantua } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q478929
P530
Q1048835
USER
Are Bad Doberan-Land known to have diplomatic connections with those administrative territories ?
(Q478929,P530,Q230) (Q478929,P530,Q36) (Q478929,P530,Q148)
action is_in
entity prev_answer
action find
entity Q478929
relation P530
['Q478929', 'P530', 'Q230'] ['Q478929', 'P530', 'Q36'] ['Q478929', 'P530', 'Q148']
ASK WHERE { VALUES ( ?n ) { ( resource:Q377277 ) ( resource:Q805 ) ( resource:Q804 ) } . resource:Q478929 property:P530 ?n }
Bad Doberan-Land
action is_in
entity prev_answer
action find
entity Bad Doberan-Land
relation diplomatic relation
['Bad Doberan-Land', 'diplomatic relation', 'Georgia'] ['Bad Doberan-Land', 'diplomatic relation', 'Poland'] ['Bad Doberan-Land', 'diplomatic relation', "People's Republic of China"]
ASK WHERE { VALUES ( ?n ) { ( resource:Glückstadt ) ( resource:Yemen ) ( resource:Panama ) } . resource:Bad_Doberan-Land property:diplomatic_relation ?n }
[]
political territorial entity
SYSTEM
NO
(Q478929,P530,Q230) (Q478929,P530,Q36) (Q478929,P530,Q148)
action is_in
entity prev_answer
action find
entity Q478929
relation P530
[ANSWER]
['Q478929', 'P530', 'Q230'] ['Q478929', 'P530', 'Q36'] ['Q478929', 'P530', 'Q148']
ASK WHERE { VALUES ( ?n ) { ( resource:Q377277 ) ( resource:Q805 ) ( resource:Q804 ) } . resource:Q478929 property:P530 ?n }
No
action is_in
entity prev_answer
action find
entity Bad Doberan-Land
relation diplomatic relation
['Bad Doberan-Land', 'diplomatic relation', 'Georgia'] ['Bad Doberan-Land', 'diplomatic relation', 'Poland'] ['Bad Doberan-Land', 'diplomatic relation', "People's Republic of China"]
ASK WHERE { VALUES ( ?n ) { ( resource:Glückstadt ) ( resource:Yemen ) ( resource:Panama ) } . resource:Bad_Doberan-Land property:diplomatic_relation ?n }
[]