Simple Question (Direct)
Simple Question
Q752362
P915
Q852446
USER
Which US administrative territory was Ransom filmed at ?
(Q752362,P915,c(Q852446))
action filter_type
action find
entity Q752362
relation P915
type Q852446
['Q752362', 'P915', {'concept': 'Q852446'}]
SELECT DISTINCT ?j WHERE { resource:Q752362 property:P915 ?j . ?j rdf:type ontology:Q852446 }
Ransom
action filter_type
action find
entity Ransom
relation filming location
type administrative territorial entity of the United States
['Ransom', 'filming location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?j WHERE { resource:Ransom property:filming_location ?j . ?j rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
administrative territorial entity of the United States
Q1408
SYSTEM
New Jersey
Q1408
(Q752362,P915,c(Q852446))
action filter_type
action find
entity Q752362
relation P915
type Q852446
Which US administrative territory was Ransom filmed at
['Q752362', 'P915', {'concept': 'Q852446'}]
SELECT DISTINCT ?j WHERE { resource:Q752362 property:P915 ?j . ?j rdf:type ontology:Q852446 }
New Jersey
Which US administrative territory was Ransom filmed at
New Jersey
action filter_type
action find
entity Ransom
relation filming location
type administrative territorial entity of the United States
['Ransom', 'filming location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?j WHERE { resource:Ransom property:filming_location ?j . ?j rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1408
P17
Q15617994
USER
Which administrative territory is that US administrative territory a part of ?
(Q1408,P17,c(Q15617994))
action filter_type
action find
entity Q1408
relation P17
type Q15617994
['Q1408', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q1408 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
New Jersey
action filter_type
action find
entity New Jersey
relation country
type designation for an administrative territorial entity
['New Jersey', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:New_Jersey property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q1408,P17,c(Q15617994))
action filter_type
action find
entity Q1408
relation P17
type Q15617994
The [ANSWER] is that US administrative territory a part of
['Q1408', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q1408 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
United States of America
The United States of America is that US administrative territory a part of
United States of America
action filter_type
action find
entity New Jersey
relation country
type designation for an administrative territorial entity
['New Jersey', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:New_Jersey property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q19248979
Q15617994
USER
And what about Henriëttewaard?
(Q19248979,P17,c(Q15617994))
action filter_type
action find
entity Q19248979
relation P17
type Q15617994
['Q19248979', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q19248979 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
Henriëttewaard
action filter_type
action find
entity Henriëttewaard
relation country
type designation for an administrative territorial entity
['Henriëttewaard', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Henriëttewaard property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q55
SYSTEM
Netherlands
Q55
(Q19248979,P17,c(Q15617994))
action filter_type
action find
entity Q19248979
relation P17
type Q15617994
[ANSWER]
['Q19248979', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q19248979 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
Netherlands
Netherlands
action filter_type
action find
entity Henriëttewaard
relation country
type designation for an administrative territorial entity
['Henriëttewaard', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Henriëttewaard property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P495
Q15617994 Q201658 Q2031291
USER
How many administrative territories did approximately the same number of film genres and releases originate as that administrative territory ?
(c(Q201658)|c(Q2031291),P495,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q201658
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_multi_types
action find_reverse
entity Q55
relation P495
type Q201658
type Q2031291
[[{'concept': 'Q201658'}, {'concept': 'Q2031291'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { FILTER ( ?x = ?i ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { { ?m rdf:type ?y . VALUES ( ?y ) { ( ontology:Q201658 ) ( ontology:Q2031291 ) } } . ?m property:P495 resource:Q55 } } . { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?x ) WHERE { { ?b rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q2031291 . ?p property:P495 ?b } UNION { ?p property:P495 ?b . ?p rdf:type ontology:Q201658 . ?b rdf:type ontology:Q15617994 } } GROUP BY ?b } }
action count
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type film genre
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_multi_types
action find_reverse
entity Netherlands
relation country of origin
type film genre
type release
[[{'concept': 'film genre'}, {'concept': 'release'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { FILTER ( ?x = ?i ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { { ?m rdf:type ?y . VALUES ( ?y ) { ( ontology:film_genre ) ( ontology:release ) } } . ?m property:country_of_origin resource:Netherlands } } . { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?x ) WHERE { { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:release . ?p property:country_of_origin ?b } UNION { ?p property:country_of_origin ?b . ?p rdf:type ontology:film_genre . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?b } }
[]
designation for an administrative territorial entity film genre release
SYSTEM
168
Q805 Q804 Q801 Q800 Q1462 Q419 Q668 Q414 Q142 Q55 Q145 Q12536 Q262 Q148 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q17 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 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q29 Q672 Q176 Q863 Q869 Q953
(c(Q201658)|c(Q2031291),P495,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q201658
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_multi_types
action find_reverse
entity Q55
relation P495
type Q201658
type Q2031291
[ANSWER]
[[{'concept': 'Q201658'}, {'concept': 'Q2031291'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { FILTER ( ?x = ?i ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { { ?m rdf:type ?y . VALUES ( ?y ) { ( ontology:Q201658 ) ( ontology:Q2031291 ) } } . ?m property:P495 resource:Q55 } } . { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?x ) WHERE { { ?b rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q2031291 . ?p property:P495 ?b } UNION { ?p property:P495 ?b . ?p rdf:type ontology:Q201658 . ?b rdf:type ontology:Q15617994 } } GROUP BY ?b } }
Yemen Panama Israel Costa Rica Sardinia Peru India Argentina France Netherlands United Kingdom Abbasid caliphate Algeria People's Republic of China Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan 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 Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Spain Tuvalu Quebec Tajikistan Thailand Zambia
168
action count
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type film genre
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_multi_types
action find_reverse
entity Netherlands
relation country of origin
type film genre
type release
[[{'concept': 'film genre'}, {'concept': 'release'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { FILTER ( ?x = ?i ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { { ?m rdf:type ?y . VALUES ( ?y ) { ( ontology:film_genre ) ( ontology:release ) } } . ?m property:country_of_origin resource:Netherlands } } . { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?x ) WHERE { { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:release . ?p property:country_of_origin ?b } UNION { ?p property:country_of_origin ?b . ?p rdf:type ontology:film_genre . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?b } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q23681 Q55
P163
Q14660
USER
What have Netherlands or Turkish Republic of Northern Cyprus as their flag
OR((Q55,P163,c(Q14660)), (Q23681,P163,c(Q14660)))
action filter_type
action union
action find
entity Q55
relation P163
action find
entity Q23681
relation P163
type Q14660
{'OR': [['Q55', 'P163', {'concept': 'Q14660'}], ['Q23681', 'P163', {'concept': 'Q14660'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q14660 . { VALUES ( ?o ) { ( resource:Q55 ) ( resource:Q23681 ) } . ?o property:P163 ?j } }
Turkish Republic of Northern Cyprus Netherlands
action filter_type
action union
action find
entity Netherlands
relation flag
action find
entity Turkish Republic of Northern Cyprus
relation flag
type flag
{'OR': [['Netherlands', 'flag', {'concept': 'flag'}], ['Turkish Republic of Northern Cyprus', 'flag', {'concept': 'flag'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:flag . { VALUES ( ?o ) { ( resource:Netherlands ) ( resource:Turkish_Republic_of_Northern_Cyprus ) } . ?o property:flag ?j } }
[]
flag
Q207518 Q46585
SYSTEM
flag of Northern Cyprus, flag of the Netherlands
Q207518 Q46585
OR((Q55,P163,c(Q14660)), (Q23681,P163,c(Q14660)))
action filter_type
action union
action find
entity Q55
relation P163
action find
entity Q23681
relation P163
type Q14660
[ANSWERS] have Netherlands or Turkish Republic of Northern Cyprus as their flag
{'OR': [['Q55', 'P163', {'concept': 'Q14660'}], ['Q23681', 'P163', {'concept': 'Q14660'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q14660 . { VALUES ( ?o ) { ( resource:Q55 ) ( resource:Q23681 ) } . ?o property:P163 ?j } }
flag of Northern Cyprus flag of the Netherlands
Flag of Northern Cyprus and flag of the Netherlands have Netherlands or Turkish Republic of Northern Cyprus as their flag
flag of Northern Cyprus flag of the Netherlands
action filter_type
action union
action find
entity Netherlands
relation flag
action find
entity Turkish Republic of Northern Cyprus
relation flag
type flag
{'OR': [['Netherlands', 'flag', {'concept': 'flag'}], ['Turkish Republic of Northern Cyprus', 'flag', {'concept': 'flag'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:flag . { VALUES ( ?o ) { ( resource:Netherlands ) ( resource:Turkish_Republic_of_Northern_Cyprus ) } . ?o property:flag ?j } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q12188
P941
Q14660 Q14660
USER
How many flags had less number of flags as a source of inspiration than flag of Brittany ?
(c(Q14660),P941,c(Q14660))
action count
action less
action find_tuple_counts
relation P941
type Q14660
type Q14660
action count
action filter_type
action find
entity Q12188
relation P941
type Q14660
[{'concept': 'Q14660'}, 'P941', {'concept': 'Q14660'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { ?f rdf:type ontology:Q14660 . resource:Q12188 property:P941 ?f } } . FILTER ( ?o < ?u ) . { SELECT DISTINCT ?p ( COUNT ( ?q ) AS ?o ) WHERE { ?p property:P941 ?q . ?p rdf:type ontology:Q14660 . ?q rdf:type ontology:Q14660 } GROUP BY ?p } }
flag of Brittany
action count
action less
action find_tuple_counts
relation inspired by
type flag
type flag
action count
action filter_type
action find
entity flag of Brittany
relation inspired by
type flag
[{'concept': 'flag'}, 'inspired by', {'concept': 'flag'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { ?f rdf:type ontology:flag . resource:flag_of_Brittany property:inspired_by ?f } } . FILTER ( ?o < ?u ) . { SELECT DISTINCT ?p ( COUNT ( ?q ) AS ?o ) WHERE { ?p property:inspired_by ?q . ?p rdf:type ontology:flag . ?q rdf:type ontology:flag } GROUP BY ?p } }
[]
flag flag
SYSTEM
2
Q429900 Q604735
(c(Q14660),P941,c(Q14660))
action count
action less
action find_tuple_counts
relation P941
type Q14660
type Q14660
action count
action filter_type
action find
entity Q12188
relation P941
type Q14660
[ANSWER]
[{'concept': 'Q14660'}, 'P941', {'concept': 'Q14660'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { ?f rdf:type ontology:Q14660 . resource:Q12188 property:P941 ?f } } . FILTER ( ?o < ?u ) . { SELECT DISTINCT ?p ( COUNT ( ?q ) AS ?o ) WHERE { ?p property:P941 ?q . ?p rdf:type ontology:Q14660 . ?q rdf:type ontology:Q14660 } GROUP BY ?p } }
Flag of Saba Flag of Sint Maarten
2
action count
action less
action find_tuple_counts
relation inspired by
type flag
type flag
action count
action filter_type
action find
entity flag of Brittany
relation inspired by
type flag
[{'concept': 'flag'}, 'inspired by', {'concept': 'flag'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { ?f rdf:type ontology:flag . resource:flag_of_Brittany property:inspired_by ?f } } . FILTER ( ?o < ?u ) . { SELECT DISTINCT ?p ( COUNT ( ?q ) AS ?o ) WHERE { ?p property:inspired_by ?q . ?p rdf:type ontology:flag . ?q rdf:type ontology:flag } GROUP BY ?p } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q2221906 Q3516658 Q14660
USER
Which flags express max number of geographic locations or heraldic symbols ?
(c(Q14660),P180,c(Q2221906)|c(Q3516658))
action argmax
action union
action find_tuple_counts
relation P180
type Q14660
type Q2221906
action find_tuple_counts
relation P180
type Q14660
type Q3516658
[{'concept': 'Q14660'}, 'P180', [{'concept': 'Q2221906'}, {'concept': 'Q3516658'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?r ) AS ?e ) WHERE { VALUES ( ?q ) { ( ontology:Q2221906 ) ( ontology:Q3516658 ) } . ?r rdf:type ?q } GROUP BY ?z } . FILTER ( ?e = ?a ) . { SELECT DISTINCT ( MAX ( ?k ) AS ?a ) { SELECT DISTINCT ?c ( COUNT ( ?u ) AS ?k ) WHERE { ?u rdf:type ?i . VALUES ( ?i ) { ( ontology:Q2221906 ) ( ontology:Q3516658 ) } } GROUP BY ?c } } }
action argmax
action union
action find_tuple_counts
relation depicts
type flag
type geographic location
action find_tuple_counts
relation depicts
type flag
type heraldic symbol
[{'concept': 'flag'}, 'depicts', [{'concept': 'geographic location'}, {'concept': 'heraldic symbol'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?r ) AS ?e ) WHERE { VALUES ( ?q ) { ( ontology:geographic_location ) ( ontology:heraldic_symbol ) } . ?r rdf:type ?q } GROUP BY ?z } . FILTER ( ?e = ?a ) . { SELECT DISTINCT ( MAX ( ?k ) AS ?a ) { SELECT DISTINCT ?c ( COUNT ( ?u ) AS ?k ) WHERE { ?u rdf:type ?i . VALUES ( ?i ) { ( ontology:geographic_location ) ( ontology:heraldic_symbol ) } } GROUP BY ?c } } }
[]
geographic location heraldic symbol flag
Q83278 Q1426379 Q266618
SYSTEM
flag of the United Kingdom, Flag of Amsterdam, Flag of Prince Edward Island
Q266618 Q601976 Q83278 Q1426379
(c(Q14660),P180,c(Q2221906)|c(Q3516658))
action argmax
action union
action find_tuple_counts
relation P180
type Q14660
type Q2221906
action find_tuple_counts
relation P180
type Q14660
type Q3516658
[ANSWERS] express max number of geographic locations or heraldic symbols
[{'concept': 'Q14660'}, 'P180', [{'concept': 'Q2221906'}, {'concept': 'Q3516658'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?r ) AS ?e ) WHERE { VALUES ( ?q ) { ( ontology:Q2221906 ) ( ontology:Q3516658 ) } . ?r rdf:type ?q } GROUP BY ?z } . FILTER ( ?e = ?a ) . { SELECT DISTINCT ( MAX ( ?k ) AS ?a ) { SELECT DISTINCT ?c ( COUNT ( ?u ) AS ?k ) WHERE { ?u rdf:type ?i . VALUES ( ?i ) { ( ontology:Q2221906 ) ( ontology:Q3516658 ) } } GROUP BY ?c } } }
Flag of Prince Edward Island Flag of Nova Scotia flag of the United Kingdom Flag of Amsterdam
Flag of the United Kingdom, Flag of Amsterdam and Flag of Prince Edward Island express max number of geographic locations or heraldic symbols
flag of the United Kingdom Flag of Amsterdam Flag of Prince Edward Island
action argmax
action union
action find_tuple_counts
relation depicts
type flag
type geographic location
action find_tuple_counts
relation depicts
type flag
type heraldic symbol
[{'concept': 'flag'}, 'depicts', [{'concept': 'geographic location'}, {'concept': 'heraldic symbol'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?r ) AS ?e ) WHERE { VALUES ( ?q ) { ( ontology:geographic_location ) ( ontology:heraldic_symbol ) } . ?r rdf:type ?q } GROUP BY ?z } . FILTER ( ?e = ?a ) . { SELECT DISTINCT ( MAX ( ?k ) AS ?a ) { SELECT DISTINCT ?c ( COUNT ( ?u ) AS ?k ) WHERE { ?u rdf:type ?i . VALUES ( ?i ) { ( ontology:geographic_location ) ( ontology:heraldic_symbol ) } } GROUP BY ?c } } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q11028 Q207961 Q14660
USER
Which flags demonstrate min number of information and shapes ?
(c(Q14660),P180,c(Q11028)|c(Q207961))
action argmin
action union
action find_tuple_counts
relation P180
type Q14660
type Q11028
action find_tuple_counts
relation P180
type Q14660
type Q207961
[{'concept': 'Q14660'}, 'P180', [{'concept': 'Q11028'}, {'concept': 'Q207961'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MIN ( ?a ) AS ?c ) { SELECT DISTINCT ?f ( COUNT ( ?g ) AS ?a ) WHERE { { ?f rdf:type ontology:Q14660 . ?g rdf:type ontology:Q11028 . ?f property:P180 ?g } UNION { ?f property:P180 ?g . ?f rdf:type ontology:Q14660 . ?g rdf:type ontology:Q207961 } } GROUP BY ?f } } . { SELECT DISTINCT ?z ( COUNT ( ?k ) AS ?h ) WHERE { { ?z property:P180 ?k . ?z rdf:type ontology:Q14660 . ?k rdf:type ontology:Q11028 } UNION { ?z rdf:type ontology:Q14660 . ?k rdf:type ontology:Q207961 . ?z property:P180 ?k } } GROUP BY ?z } . FILTER ( ?h = ?c ) }
action argmin
action union
action find_tuple_counts
relation depicts
type flag
type information
action find_tuple_counts
relation depicts
type flag
type shape
[{'concept': 'flag'}, 'depicts', [{'concept': 'information'}, {'concept': 'shape'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MIN ( ?a ) AS ?c ) { SELECT DISTINCT ?f ( COUNT ( ?g ) AS ?a ) WHERE { { ?f rdf:type ontology:flag . ?g rdf:type ontology:information . ?f property:depicts ?g } UNION { ?f property:depicts ?g . ?f rdf:type ontology:flag . ?g rdf:type ontology:shape } } GROUP BY ?f } } . { SELECT DISTINCT ?z ( COUNT ( ?k ) AS ?h ) WHERE { { ?z property:depicts ?k . ?z rdf:type ontology:flag . ?k rdf:type ontology:information } UNION { ?z rdf:type ontology:flag . ?k rdf:type ontology:shape . ?z property:depicts ?k } } GROUP BY ?z } . FILTER ( ?h = ?c ) }
[]
information shape flag
Q81676 Q185271 Q160260
SYSTEM
flag of Australia, Flag of Papua New Guinea, flag of New Zealand
Q270377 Q159872 Q83392 Q1165949 Q235829 Q168935 Q128480 Q42537 Q1426561 Q185285 Q1091279 Q1074327 Q135034 Q134521 Q266618 Q484249 Q127179 Q601976 Q252995 Q207518 Q599323 Q330517 Q156564 Q163832 Q160260 Q169192 Q124020 Q693558 Q60149 Q162999 Q48409 Q103037 Q36005 Q130458 Q336328 Q105643 Q392167 Q24577771 Q81952 Q104351 Q124329 Q43175 Q127296 Q912854 Q162789 Q79874 Q512175 Q328895 Q130774 Q188477 Q41673 Q134874 Q1426630 Q2062018 Q34599 Q19427 Q673117 Q82236 Q81526 Q167119 Q128347 Q83278 Q188609 Q19373 Q1418784 Q162033 Q1122078 Q102977 Q520966 Q131147 Q185271 Q284396 Q604735 Q301628 Q637134 Q79198 Q170814 Q429900 Q165641 Q80110 Q47214 Q632491 Q165230 Q1064042 Q81676 Q182514 Q1426379
(c(Q14660),P180,c(Q11028)|c(Q207961))
action argmin
action union
action find_tuple_counts
relation P180
type Q14660
type Q11028
action find_tuple_counts
relation P180
type Q14660
type Q207961
[ANSWERS] demonstrate min number of information and shapes
[{'concept': 'Q14660'}, 'P180', [{'concept': 'Q11028'}, {'concept': 'Q207961'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MIN ( ?a ) AS ?c ) { SELECT DISTINCT ?f ( COUNT ( ?g ) AS ?a ) WHERE { { ?f rdf:type ontology:Q14660 . ?g rdf:type ontology:Q11028 . ?f property:P180 ?g } UNION { ?f property:P180 ?g . ?f rdf:type ontology:Q14660 . ?g rdf:type ontology:Q207961 } } GROUP BY ?f } } . { SELECT DISTINCT ?z ( COUNT ( ?k ) AS ?h ) WHERE { { ?z property:P180 ?k . ?z rdf:type ontology:Q14660 . ?k rdf:type ontology:Q11028 } UNION { ?z rdf:type ontology:Q14660 . ?k rdf:type ontology:Q207961 . ?z property:P180 ?k } } GROUP BY ?z } . FILTER ( ?h = ?c ) }
Flag of Tokelau Flag of Cameroon Flag of Algeria Flag of Ontario flag of Guam Flag of Malaysia flag of Israel flag of the United States of America Flag of the Northwest Territories Flag of Vanuatu flag of Western Australia flag of Tasmania Flag of Antigua and Barbuda Flag of Bhutan Flag of Prince Edward Island Flag of Mozambique flag of Bangladesh Flag of Nova Scotia flag of the Australian Capital Territory flag of Northern Cyprus flag of the Northern Territory Flag of California flag of Alaska Flag of Serbia flag of New Zealand flag of Belize flag of Switzerland flag of Saskatchewan Flag of Denmark Flag of Cambodia flag of Albania Flag of Uganda flag of Lebanon flag of Egypt Flag of Christmas Island Flag of Tuvalu flag of Quebec flag of the People's Republic of Benin flag of Turkey Flag of Barbados Flag of Angola Flag of Japan Flag of South Korea flag of South Australia Flag of Tunisia flag of Afghanistan Flag of Manitoba Flag of the Cocos (Keeling) Islands flag of Argentina flag of Samoa flag of India Flag of Bolivia Flag of Nunavut flag of Yukon Flag of Libya flag of Oregon Flag of Indiana Flag of Azerbaijan flag of Andorra Flag of the Republic of Macedonia Flag of Pakistan flag of the United Kingdom Flag of Palau Flag of South Carolina Flag of New Brunswick flag of Bosnia and Herzegovina Flag of Alberta Flag of Mauritania Flag of Rhode Island Flag of the People's Republic of China Flag of Papua New Guinea Flag of Kansas Flag of Sint Maarten Flag of Mississippi flag of British Columbia Flag of Vatican City Flag of Zambia Flag of Saba flag of Kyrgyzstan flag of Canada flag of the Russian Soviet Federative Socialist Republic Flag of Arizona flag of the Soviet Union flag of New South Wales flag of Australia Flag of Fiji Flag of Amsterdam
Flag of Australia, Flag of Papua New Guinea and flag of New Zealand demonstrate min number of information and shapes
flag of Australia Flag of Papua New Guinea flag of New Zealand
action argmin
action union
action find_tuple_counts
relation depicts
type flag
type information
action find_tuple_counts
relation depicts
type flag
type shape
[{'concept': 'flag'}, 'depicts', [{'concept': 'information'}, {'concept': 'shape'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MIN ( ?a ) AS ?c ) { SELECT DISTINCT ?f ( COUNT ( ?g ) AS ?a ) WHERE { { ?f rdf:type ontology:flag . ?g rdf:type ontology:information . ?f property:depicts ?g } UNION { ?f property:depicts ?g . ?f rdf:type ontology:flag . ?g rdf:type ontology:shape } } GROUP BY ?f } } . { SELECT DISTINCT ?z ( COUNT ( ?k ) AS ?h ) WHERE { { ?z property:depicts ?k . ?z rdf:type ontology:flag . ?k rdf:type ontology:information } UNION { ?z rdf:type ontology:flag . ?k rdf:type ontology:shape . ?z property:depicts ?k } } GROUP BY ?z } . FILTER ( ?h = ?c ) }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P1001
Q852446 Q56061 Q14660
USER
How many flags have jurisdiction over around the same number of US administrative territories or administrative territories as that flag ?
(c(Q14660),P1001,c(Q852446)|c(Q56061))
[{'concept': 'Q14660'}, 'P1001', [{'concept': 'Q852446'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:P1001 ?y } UNION { ?z property:P1001 ?x } } . ?z rdf:type ontology:Q14660 . ?y rdf:type ontology:Q852446 . ?x rdf:type ontology:Q56061 }
[{'concept': 'flag'}, 'applies to jurisdiction', [{'concept': 'administrative territorial entity of the United States'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:applies_to_jurisdiction ?y } UNION { ?z property:applies_to_jurisdiction ?x } } . ?z rdf:type ontology:flag . ?y rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity of the United States administrative territorial entity flag
Comparative|Count over More/Less|Mult. entity type|Clarification
Q160260
SYSTEM
Did you mean flag of New Zealand ?
(c(Q14660),P1001,c(Q852446)|c(Q56061))
[ANSWER]
[{'concept': 'Q14660'}, 'P1001', [{'concept': 'Q852446'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:P1001 ?y } UNION { ?z property:P1001 ?x } } . ?z rdf:type ontology:Q14660 . ?y rdf:type ontology:Q852446 . ?x rdf:type ontology:Q56061 }
Did you mean flag of New Zealand ?
flag of New Zealand
[{'concept': 'flag'}, 'applies to jurisdiction', [{'concept': 'administrative territorial entity of the United States'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:applies_to_jurisdiction ?y } UNION { ?z property:applies_to_jurisdiction ?x } } . ?z rdf:type ontology:flag . ?y rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?x rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q14660),P1001,c(Q852446)|c(Q56061))
[{'concept': 'Q14660'}, 'P1001', [{'concept': 'Q852446'}, {'concept': 'Q56061'}]]
[{'concept': 'flag'}, 'applies to jurisdiction', [{'concept': 'administrative territorial entity of the United States'}, {'concept': 'administrative territorial entity'}]]
[]
SYSTEM
297
Q102939 Q279667 Q83392 Q211579 Q42436 Q168935 Q42537 Q46835 Q102944 Q185273 Q147776 Q182514 Q171124 Q185285 Q26491 Q103084 Q24701084 Q33037 Q3039133 Q127974 Q495469 Q133022 Q42876 Q103019 Q134885 Q578054 Q60149 Q169907 Q132633 Q169903 Q104351 Q135014 Q523638 Q164584 Q105643 Q81952 Q201987 Q43175 Q188072 Q127296 Q162980 Q59070 Q134252 Q160242 Q79874 Q82205 Q601391 Q103055 Q165775 Q82194 Q188477 Q616325 Q41673 Q199621 Q33213 Q1426630 Q131650 Q4575 Q174487 Q245213 Q160425 Q188609 Q168711 Q43192 Q225360 Q102977 Q163333 Q101472 Q160861 Q130481 Q637134 Q15962374 Q191731 Q190648 Q171117 Q245269 Q93335 Q127179 Q204678 Q159538 Q184596 Q1064042 Q1856088 Q234956 Q45136 Q165811 Q173535 Q270377 Q159872 Q370111 Q238759 Q131204 Q24701080 Q170543 Q599323 Q484249 Q181120 Q103447 Q163832 Q168925 Q46008 Q122462 Q102993 Q130458 Q392167 Q29074 Q129132 Q102198 Q912854 Q317660 Q80110 Q12990 Q30768 Q328895 Q169192 Q128812 Q47891 Q124020 Q160255 Q160250 Q103046 Q134247 Q170465 Q165542 Q165545 Q102392 Q1418784 Q24577771 Q663111 Q131147 Q202189 Q185271 Q48160 Q185277 Q162699 Q101769 Q102960 Q170814 Q102967 Q160872 Q160877 Q383109 Q47214 Q159746 Q159741 Q148199 Q601206 Q171103 Q173554 Q594095 Q130811 Q81477 Q81471 Q209963 Q184584 Q134933 Q209219 Q165538 Q81970 Q1074327 Q204143 Q4633 Q134521 Q266618 Q645967 Q165500 Q252995 Q462918 Q235445 Q302382 Q209060 Q172517 Q104969 Q134627 Q160260 Q41327 Q658355 Q24701074 Q83278 Q170554 Q170555 Q283772 Q103037 Q36005 Q235846 Q168912 Q168917 Q336328 Q462498 Q543471 Q652088 Q124329 Q102987 Q550083 Q483774 Q130442 Q462674 Q121688 Q102184 Q126622 Q524521 Q165872 Q134874 Q46585 Q435309 Q163753 Q117347 Q184268 Q184265 Q167119 Q81286 Q128347 Q130449 Q232591 Q135034 Q165552 Q165550 Q103070 Q189612 Q82236 Q301628 Q525410 Q16611 Q636719 Q609337 Q165230 Q103414 Q184283 Q159986 Q613188 Q1426379 Q170809 Q182782 Q102953 Q165822 Q12188 Q178179 Q83149 Q375554 Q173548 Q200260 Q162068 Q128480 Q103001 Q133015 Q130774 Q130807 Q204120 Q163008 Q75374 Q207518 Q165905 Q190064 Q235475 Q162999 Q170795 Q530665 Q173201 Q369618 Q48409 Q390593 Q162781 Q162789 Q208671 Q193693 Q512175 Q169441 Q558375 Q154823 Q167584 Q117758 Q34599 Q81526 Q131469 Q188839 Q162033 Q1122078 Q180725 Q170064 Q604735 Q617649 Q170289 Q159865 Q165641 Q103064 Q586585 Q168941 Q189604 Q127155 Q81676 Q186226 Q172530 Q172533 Q179383 Q160676 Q160124 Q329280
(c(Q14660),P1001,c(Q852446)|c(Q56061))
[ANSWER]
[{'concept': 'Q14660'}, 'P1001', [{'concept': 'Q852446'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:P1001 ?y } UNION { ?z property:P1001 ?x } } . ?z rdf:type ontology:Q14660 . ?y rdf:type ontology:Q852446 . ?x rdf:type ontology:Q56061 }
Flag of Honduras Flag of the Republic of Adygea Flag of Algeria Flag of Saint Helena Flag of Poland Flag of Malaysia flag of the United States of America flag of Austria flag of Cape Verde Flag of the Falkland Islands Flag of the Komi Republic Flag of Fiji Flag of Guyana Flag of Vanuatu Flag of Georgia Flag of Burundi flag of the Russian Soviet Federative Socialist Republic Flag of Gibraltar Flag of Rhodesia Flag of Ukraine flag of Lower Saxony flag of Luxembourg Flag of Italy Flag of Madagascar flag of Thailand Flag of Karachay-Cherkessia Flag of Denmark Flag of São Tomé and Príncipe flag of Belarus Flag of Mali Flag of Barbados Flag of the Gambia Flag of Kalmykia Flag of the Democratic Republic of the Congo Flag of Tuvalu flag of Turkey Flag of Somaliland Flag of Japan Flag of Tonga Flag of South Korea Flag of Montenegro Flag of the Republic of Mordovia Flag of Burkina Faso flag of Botswana flag of Afghanistan flag of Ireland flag of Castile-La Mancha flag of Liechtenstein Flag of the Central African Republic flag of Brazil flag of Samoa Flag of Rio Grande do Sul flag of India Flag of Abkhazia flag of Armenia Flag of Nunavut flag of Kazakhstan Flag of the Faroe Islands flag of the Cayman Islands Flag of South Georgia and the South Sandwich Islands flag of Colombia Flag of Palau flag of Kosovo Flag of France Flag of Bulgaria Flag of Mauritania Flag of the Republic of the Congo Flag of Indonesia Flag of Slovakia Flag of Bahrain flag of British Columbia flag of the German Empire Palestinian flag Flag of the Federated States of Micronesia flag of England flag of Montserrat Flag of Iceland flag of Bangladesh Flag of Nagorno-Karabakh Flag of Somalia Flag of Saint Lucia flag of New South Wales Flag of Rotterdam Flag of Saint Pierre and Miquelon Flag of Syria flag of Chad Flag of the Republic of China Flag of Tokelau Flag of Cameroon Flag of the Federation of Bosnia and Herzegovina Flag of Macau Flag of Vietnam flag of the Russian Soviet Federative Socialist Republic flag of Rwanda flag of the Northern Territory Flag of Mozambique Flag of Saint Kitts and Nevis Flag of the Bahamas Flag of Serbia Flag of San Marino flag of Laos flag of Mexico Flag of Swaziland flag of Egypt flag of Quebec Flag of the Latvian Soviet Socialist Republic flag of Greece Flag of Sudan flag of South Australia Flag of Wallis and Futuna flag of Canada flag of Belgium flag of East Timor Flag of the Cocos (Keeling) Islands flag of Belize Flag of Portugal Flag of Finland flag of Switzerland flag of Peru flag of South Africa Flag of Niger Flag of the United Arab Emirates flag of Paraguay flag of Ecuador flag of Kuwait Flag of Scotland Flag of New Brunswick flag of the People's Republic of Benin flag of Mecklenburg-Vorpommern Flag of the People's Republic of China Flag of Niue Flag of Papua New Guinea flag of Germany Flag of Nauru Flag of Yemen Flag of Gabon Flag of Nigeria Flag of Zambia Flag of Ivory Coast flag of Chile Flag of Saudi Arabia Flag of Queensland flag of the Russian Soviet Federative Socialist Republic Flag of Monaco flag of Nepal Flag of Thuringia Flag of Tuva Flag of Uruguay flag of El Salvador flag of Sverdlovsk Oblast Flag of Romania Flag of Lithuania Flag of Estonia Flag of the Netherlands Antilles Flag of Saint Vincent and the Grenadines Flag of Senegal Flag of Martinique flag of Venezuela flag of Hungary flag of Tasmania Flag of the Turks and Caicos Islands Flag of Cyprus Flag of Bhutan Flag of Prince Edward Island flag of Hamburg Flag of Guinea flag of the Australian Capital Territory Flag of Vojvodina Flag of Norfolk Island Flag of Kabardino-Balkaria flag of South Ossetia Flag of Jamaica Flag of Lesotho flag of the Philippines flag of New Zealand flag of Turkmenistan flag of Tyumen Oblast flag of the Russian Soviet Federative Socialist Republic flag of the United Kingdom flag of Equatorial Guinea Flag of Eritrea Flag of Gagauzia Flag of Uganda flag of Lebanon flag of the Pitcairn Islands Flag of Sierra Leone Flag of Comoros Flag of Christmas Island Flag of Tatarstan Flag of the Region of Murcia Flag of Krasnodar Krai Flag of Angola Flag of Haiti Flag of Biafra Flag of Uzbekistan flag of Benin Flag of Transvaal flag of Spain Flag of Djibouti Flag of Iran flag of the Romani people Flag of Brunei Flag of Bolivia flag of the Netherlands Flag of Republika Srpska Flag of Burma Flag of Ulster flag of Greenland Flag of Dominican Republic Flag of the Republic of Macedonia flag of Sweden Flag of Pakistan Flag of Latvia Flag of French Polynesia Flag of Antigua and Barbuda Flag of Mongolia Flag of Oman Flag of Togo Flag of Jersey Flag of Azerbaijan Flag of Mississippi Flag of Réunion flag of Russia Flag of Newfoundland and Labrador Flag of Chechnya flag of the Soviet Union Flag of Grenada Flag of Trinidad and Tobago Flag of Zimbabwe Flag of the Chuvash Republic Flag of Amsterdam Flag of Tanzania Flag of South Sudan Flag of Guinea-Bissau flag of Namibia flag of Brittany Flag of Guatemala flag of Norway Flag of Western Sahara Flag of Mauritius Flag of the Marshall Islands Flag of Ethiopia flag of Israel Flag of Malawi Flag of Croatia flag of Argentina flag of Slovenia Flag of the British Virgin Islands Flag of Cuba Flag of the Solomon Islands flag of Northern Cyprus flag of Kenya Flag of Bermuda Ikurriña Flag of Cambodia Flag of Liberia flag of Orkney Flag of the Seychelles flag of Shetland flag of Albania Flag of Guadeloupe flag of Iraq Flag of Tunisia Flag of Iraqi Kurdistan Flag of the Cook Islands Flag of Manitoba Flag of the Maldives flag of Brandenburg Flag of Sri Lanka Flag of Moldova Flag of Kiribati Flag of Libya flag of Andorra flag of Malta Flag of Aruba flag of Bosnia and Herzegovina Flag of Alberta Flag of Suriname Flag of Jordan Flag of Sint Maarten flag of Wallonia Flag of Costa Rica Flag of Morocco flag of Kyrgyzstan Flag of North Korea Flag of Buenos Aires flag of Panama Flag of Anguilla flag of the Czech Republic flag of Australia flag of the Isle of Man flag of Qatar flag of Nicaragua Flag of Dominica Flag of Ghana Flag of Tajikistan Flag of the British Indian Ocean Territory
297
[{'concept': 'flag'}, 'applies to jurisdiction', [{'concept': 'administrative territorial entity of the United States'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:applies_to_jurisdiction ?y } UNION { ?z property:applies_to_jurisdiction ?x } } . ?z rdf:type ontology:flag . ?y rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?x rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q55
P291
Q732577
USER
What was published in Netherlands ?
(c(Q732577),P291,Q55)
action filter_type
action find_reverse
entity Q55
relation P291
type Q732577
[{'concept': 'Q732577'}, 'P291', 'Q55']
SELECT DISTINCT ?t WHERE { ?t property:P291 resource:Q55 . ?t rdf:type ontology:Q732577 }
Netherlands
action filter_type
action find_reverse
entity Netherlands
relation place of publication
type publication
[{'concept': 'publication'}, 'place of publication', 'Netherlands']
SELECT DISTINCT ?t WHERE { ?t property:place_of_publication resource:Netherlands . ?t rdf:type ontology:publication }
[]
publication
Q1869011
SYSTEM
Res Publica
Q1869011
(c(Q732577),P291,Q55)
action filter_type
action find_reverse
entity Q55
relation P291
type Q732577
Netherlands [ANSWER] was published in Netherlands
[{'concept': 'Q732577'}, 'P291', 'Q55']
SELECT DISTINCT ?t WHERE { ?t property:P291 resource:Q55 . ?t rdf:type ontology:Q732577 }
Res Publica
Netherlands Res Publica was published in Netherlands
Res Publica
action filter_type
action find_reverse
entity Netherlands
relation place of publication
type publication
[{'concept': 'publication'}, 'place of publication', 'Netherlands']
SELECT DISTINCT ?t WHERE { ?t property:place_of_publication resource:Netherlands . ?t rdf:type ontology:publication }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q344452 Q207518
P163 P85
Q5589178
USER
Which regimes can be described by flag of Northern Cyprus and have an anthem named İstiklâl Marşı ?
AND((c(Q5589178),P163,Q207518), (c(Q5589178),P85,Q344452))
action filter_type
action intersection
action find_reverse
entity Q207518
relation P163
action find_reverse
entity Q344452
relation P85
type Q5589178
{'AND': [[{'concept': 'Q5589178'}, 'P163', 'Q207518'], [{'concept': 'Q5589178'}, 'P85', 'Q344452']]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q5589178 . ?h property:P163 resource:Q207518 . ?h property:P85 resource:Q344452 }
İstiklâl Marşı flag of Northern Cyprus
action filter_type
action intersection
action find_reverse
entity flag of Northern Cyprus
relation flag
action find_reverse
entity İstiklâl Marşı
relation anthem
type regime
{'AND': [[{'concept': 'regime'}, 'flag', 'flag of Northern Cyprus'], [{'concept': 'regime'}, 'anthem', 'İstiklâl Marşı']]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:regime . ?h property:flag resource:flag_of_Northern_Cyprus . ?h property:anthem resource:İstiklâl_Marşı }
[]
regime
Q23681
SYSTEM
Turkish Republic of Northern Cyprus
Q23681
AND((c(Q5589178),P163,Q207518), (c(Q5589178),P85,Q344452))
action filter_type
action intersection
action find_reverse
entity Q207518
relation P163
action find_reverse
entity Q344452
relation P85
type Q5589178
[ANSWER] can be described by flag of Northern Cyprus and have an anthem named İstiklâl Marşı
{'AND': [[{'concept': 'Q5589178'}, 'P163', 'Q207518'], [{'concept': 'Q5589178'}, 'P85', 'Q344452']]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q5589178 . ?h property:P163 resource:Q207518 . ?h property:P85 resource:Q344452 }
Turkish Republic of Northern Cyprus
Turkish Republic of Northern Cyprus can be described by flag of Northern Cyprus and have an anthem named İstiklâl Marşı
Turkish Republic of Northern Cyprus
action filter_type
action intersection
action find_reverse
entity flag of Northern Cyprus
relation flag
action find_reverse
entity İstiklâl Marşı
relation anthem
type regime
{'AND': [[{'concept': 'regime'}, 'flag', 'flag of Northern Cyprus'], [{'concept': 'regime'}, 'anthem', 'İstiklâl Marşı']]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:regime . ?h property:flag resource:flag_of_Northern_Cyprus . ?h property:anthem resource:İstiklâl_Marşı }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q23681 Q14330482
P6
Q502895
USER
Does that regime serve as the head of government for Sibel Siber ?
(Q23681,P6,Q14330482)
action is_in
entity Q14330482
action find
entity Q23681
relation P6
['Q23681', 'P6', 'Q14330482']
ASK WHERE { resource:Q23681 property:P6 resource:Q14330482 }
Turkish Republic of Northern Cyprus Sibel Siber
action is_in
entity Sibel Siber
action find
entity Turkish Republic of Northern Cyprus
relation head of government
['Turkish Republic of Northern Cyprus', 'head of government', 'Sibel Siber']
ASK WHERE { resource:Turkish_Republic_of_Northern_Cyprus property:head_of_government resource:Sibel_Siber }
[]
common name
SYSTEM
YES
(Q23681,P6,Q14330482)
action is_in
entity Q14330482
action find
entity Q23681
relation P6
[ANSWER]
['Q23681', 'P6', 'Q14330482']
ASK WHERE { resource:Q23681 property:P6 resource:Q14330482 }
Yes
action is_in
entity Sibel Siber
action find
entity Turkish Republic of Northern Cyprus
relation head of government
['Turkish Republic of Northern Cyprus', 'head of government', 'Sibel Siber']
ASK WHERE { resource:Turkish_Republic_of_Northern_Cyprus property:head_of_government resource:Sibel_Siber }
[]