Simple Question (Direct)
Simple Question
Q214406
P119
Q56061
USER
Where was Albert Sieber buried ?
(Q214406,P119,c(Q56061))
action filter_type
action find
entity Q214406
relation P119
type Q56061
['Q214406', 'P119', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q214406 property:P119 ?u . ?u rdf:type ontology:Q56061 }
Albert Sieber
action filter_type
action find
entity Albert Sieber
relation place of burial
type administrative territorial entity
['Albert Sieber', 'place of burial', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Albert_Sieber property:place_of_burial ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q79823
SYSTEM
Globe
Q79823
(Q214406,P119,c(Q56061))
action filter_type
action find
entity Q214406
relation P119
type Q56061
Albert Sieber was buried in [ANSWER]
['Q214406', 'P119', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q214406 property:P119 ?u . ?u rdf:type ontology:Q56061 }
Globe
Albert Sieber was buried in Globe
Globe
action filter_type
action find
entity Albert Sieber
relation place of burial
type administrative territorial entity
['Albert Sieber', 'place of burial', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Albert_Sieber property:place_of_burial ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q214406
P607
Q180684
USER
What battle was that person a part of ?
(Q79823,P607,c(Q180684))
action filter_type
action find
entity Q214406
relation P607
type Q180684
['Q79823', 'P607', {'concept': 'Q180684'}]
SELECT DISTINCT ?r WHERE { resource:Q214406 property:P607 ?r . ?r rdf:type ontology:Q180684 }
Albert Sieber
action filter_type
action find
entity Albert Sieber
relation conflict
type conflict
['Globe', 'conflict', {'concept': 'conflict'}]
SELECT DISTINCT ?r WHERE { resource:Albert_Sieber property:conflict ?r . ?r rdf:type ontology:conflict }
[]
conflict
Q6268269
SYSTEM
Johnson County War
Q6268269
(Q79823,P607,c(Q180684))
action filter_type
action find
entity Q214406
relation P607
type Q180684
What battle was that person a part of
['Q79823', 'P607', {'concept': 'Q180684'}]
SELECT DISTINCT ?r WHERE { resource:Q214406 property:P607 ?r . ?r rdf:type ontology:Q180684 }
Johnson County War
What battle was that person a part of
Johnson County War
action filter_type
action find
entity Albert Sieber
relation conflict
type conflict
['Globe', 'conflict', {'concept': 'conflict'}]
SELECT DISTINCT ?r WHERE { resource:Albert_Sieber property:conflict ?r . ?r rdf:type ontology:conflict }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q214406
P106
Q12737077
USER
Which occupation is the profession of Albert Sieber ?
(Q214406,P106,c(Q12737077))
action filter_type
action find
entity Q214406
relation P106
type Q12737077
['Q214406', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q214406 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
Albert Sieber
action filter_type
action find
entity Albert Sieber
relation occupation
type occupation
['Albert Sieber', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Albert_Sieber property:occupation ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q11085831
SYSTEM
interpreter
Q11085831
(Q214406,P106,c(Q12737077))
action filter_type
action find
entity Q214406
relation P106
type Q12737077
[ANSWER] is the profession of Albert Sieber
['Q214406', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q214406 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
interpreter
Interpreter is the profession of Albert Sieber
interpreter
action filter_type
action find
entity Albert Sieber
relation occupation
type occupation
['Albert Sieber', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Albert_Sieber property:occupation ?m . ?m rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q214406
P27
Q15617994
USER
Which administrative territory is that person an inhabitant of ?
(Q11085831,P27,c(Q15617994))
action filter_type
action find
entity Q214406
relation P27
type Q15617994
['Q11085831', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q214406 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Albert Sieber
action filter_type
action find
entity Albert Sieber
relation country of citizenship
type designation for an administrative territorial entity
['interpreter', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Albert_Sieber property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q11085831,P27,c(Q15617994))
action filter_type
action find
entity Q214406
relation P27
type Q15617994
The [ANSWER] is that person an inhabitant of
['Q11085831', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q214406 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
United States of America
The United States of America is that person an inhabitant of
United States of America
action filter_type
action find
entity Albert Sieber
relation country of citizenship
type designation for an administrative territorial entity
['interpreter', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Albert_Sieber property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q214406
P19
Q101072
USER
Where was that person born ?
(Q30,P19,c(Q101072))
action filter_type
action find
entity Q214406
relation P19
type Q101072
['Q30', 'P19', {'concept': 'Q101072'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q101072 . resource:Q214406 property:P19 ?f }
Albert Sieber
action filter_type
action find
entity Albert Sieber
relation place of birth
type definition
['United States of America', 'place of birth', {'concept': 'definition'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:definition . resource:Albert_Sieber property:place_of_birth ?f }
[]
definition
Q835695
SYSTEM
Kraichgau
Q835695
(Q30,P19,c(Q101072))
action filter_type
action find
entity Q214406
relation P19
type Q101072
That person was born in [ANSWER]
['Q30', 'P19', {'concept': 'Q101072'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q101072 . resource:Q214406 property:P19 ?f }
Kraichgau
That person was born in Kraichgau
Kraichgau
action filter_type
action find
entity Albert Sieber
relation place of birth
type definition
['United States of America', 'place of birth', {'concept': 'definition'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:definition . resource:Albert_Sieber property:place_of_birth ?f }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q398
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relations with more number of administrative territories than Bahrain ?
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q398
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?g ) WHERE { ?r property:P530 ?n . ?n rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q15617994 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { resource:Q398 property:P530 ?y . ?y rdf:type ontology:Q15617994 } } . FILTER ( ?g > ?l ) }
Bahrain
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Bahrain
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?g ) WHERE { ?r property:diplomatic_relation ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { resource:Bahrain property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?g > ?l ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q805 Q668 Q414 Q142 Q145 Q262 Q148 Q37 Q711 Q252 Q399 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q881 Q822 Q241 Q32 Q31 Q30 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q851 Q27 Q1049 Q843 Q228 Q227 Q224 Q222 Q347 Q17 Q974 Q1033 Q298 Q115 Q114 Q212 Q213 Q211 Q215 Q916 Q79 Q810 Q1016 Q1011 Q29 Q953
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q398
relation P530
type Q15617994
[ANSWERS] have diplomatic relations with more number of administrative territories than Bahrain
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?g ) WHERE { ?r property:P530 ?n . ?n rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q15617994 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { resource:Q398 property:P530 ?y . ?y rdf:type ontology:Q15617994 } } . FILTER ( ?g > ?l ) }
Israel Yemen India Argentina France United Kingdom Algeria People's Republic of China Lithuania Mongolia Indonesia Armenia Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea Vietnam Lebanon Cuba Luxembourg Belgium United States of America Poland Sweden Philippines Switzerland Italy Colombia North Korea Saudi Arabia Ireland Sudan Pakistan Andorra Azerbaijan Croatia Albania Liechtenstein Japan Democratic Republic of the Congo Nigeria Chile Ethiopia Kenya Ukraine Czech Republic Latvia Slovenia Angola Egypt Jordan Libya Cape Verde Spain Zambia
Italy, Brazil and United States of America have diplomatic relations with more number of administrative territories than Bahrain
Italy Brazil United States of America
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Bahrain
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?g ) WHERE { ?r property:diplomatic_relation ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { resource:Bahrain property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?g > ?l ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q265
P530
Q15617994 Q15617994
USER
And how about Uzbekistan?
(c(Q15617994),P530,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q265
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?w ) WHERE { ?o property:P530 ?e . ?e rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15617994 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { resource:Q265 property:P530 ?i . ?i rdf:type ontology:Q15617994 } } . FILTER ( ?w > ?a ) }
Uzbekistan
action greater
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Uzbekistan
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?w ) WHERE { ?o property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { resource:Uzbekistan property:diplomatic_relation ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?w > ?a ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q784 Q37 Q711 Q710 Q717 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q244 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q734 Q819 Q424 Q1013 Q236 Q230 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q34020 Q686 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q265
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?w ) WHERE { ?o property:P530 ?e . ?e rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15617994 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { resource:Q265 property:P530 ?i . ?i rdf:type ontology:Q15617994 } } . FILTER ( ?w > ?a ) }
Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Dominica Lithuania Mongolia Kiribati Venezuela Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Barbados Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Laos Cambodia Lesotho Montenegro Georgia Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Niue Vanuatu East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Jordan Libya Cape Verde Spain Thailand Zambia
Italy Brazil United States of America
action greater
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Uzbekistan
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?w ) WHERE { ?o property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { resource:Uzbekistan property:diplomatic_relation ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?w > ?a ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q38 Q155 Q30
P1001
Q14660
USER
Which flags have control over the jurisdiction of those administrative territories ?
(c(Q14660),P1001,Q38) (c(Q14660),P1001,Q155) (c(Q14660),P1001,Q30)
action filter_type
action find_reverse
entity prev_answer
relation P1001
type Q14660
[{'concept': 'Q14660'}, 'P1001', 'Q38'] [{'concept': 'Q14660'}, 'P1001', 'Q155'] [{'concept': 'Q14660'}, 'P1001', 'Q30']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q14660 . ?c property:P1001 ?z . VALUES ( ?z ) { ( resource:Q801 ) ( resource:Q800 ) ( resource:Q805 ) } }
Italy Brazil United States of America
action filter_type
action find_reverse
entity prev_answer
relation applies to jurisdiction
type flag
[{'concept': 'flag'}, 'applies to jurisdiction', 'Italy'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Brazil'] [{'concept': 'flag'}, 'applies to jurisdiction', 'United States of America']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:flag . ?c property:applies_to_jurisdiction ?z . VALUES ( ?z ) { ( resource:Israel ) ( resource:Costa_Rica ) ( resource:Yemen ) } }
[]
flag
Q42876 Q82194 Q42537
SYSTEM
Flag of Italy, flag of Brazil, flag of the United States of America
Q42876 Q82194 Q42537
(c(Q14660),P1001,Q38) (c(Q14660),P1001,Q155) (c(Q14660),P1001,Q30)
action filter_type
action find_reverse
entity prev_answer
relation P1001
type Q14660
[ANSWERS] have control over the jurisdiction of those administrative territories
[{'concept': 'Q14660'}, 'P1001', 'Q38'] [{'concept': 'Q14660'}, 'P1001', 'Q155'] [{'concept': 'Q14660'}, 'P1001', 'Q30']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q14660 . ?c property:P1001 ?z . VALUES ( ?z ) { ( resource:Q801 ) ( resource:Q800 ) ( resource:Q805 ) } }
Flag of Italy flag of Brazil flag of the United States of America
Flag of Italy, flag of Brazil and flag of the United States of America have control over the jurisdiction of those administrative territories
Flag of Italy flag of Brazil flag of the United States of America
action filter_type
action find_reverse
entity prev_answer
relation applies to jurisdiction
type flag
[{'concept': 'flag'}, 'applies to jurisdiction', 'Italy'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Brazil'] [{'concept': 'flag'}, 'applies to jurisdiction', 'United States of America']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:flag . ?c property:applies_to_jurisdiction ?z . VALUES ( ?z ) { ( resource:Israel ) ( resource:Costa_Rica ) ( resource:Yemen ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q42876 Q82194 Q42537
P163
Q15617994
USER
Which administrative territories are associated with Flag of Italy, flag of Brazil and flag of the United States of America ?
(c(Q15617994),P163,Q42876) (c(Q15617994),P163,Q82194) (c(Q15617994),P163,Q42537)
action union
action filter_type
action find_reverse
entity Q42876
relation P163
type Q15617994
action filter_type
action find_reverse
entity Q82194
relation P163
type Q15617994
action filter_type
action find_reverse
entity Q42537
relation P163
type Q15617994
[{'concept': 'Q15617994'}, 'P163', 'Q42876'] [{'concept': 'Q15617994'}, 'P163', 'Q82194'] [{'concept': 'Q15617994'}, 'P163', 'Q42537']
SELECT DISTINCT ?f WHERE { { ?f property:P163 resource:Q42876 . ?f rdf:type ontology:Q15617994 } UNION { ?f property:P163 resource:Q82194 . ?f rdf:type ontology:Q15617994 } }
Flag of Italy flag of Brazil flag of the United States of America
action union
action filter_type
action find_reverse
entity Flag of Italy
relation flag
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity flag of Brazil
relation flag
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity flag of the United States of America
relation flag
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'flag', 'Flag of Italy'] [{'concept': 'designation for an administrative territorial entity'}, 'flag', 'flag of Brazil'] [{'concept': 'designation for an administrative territorial entity'}, 'flag', 'flag of the United States of America']
SELECT DISTINCT ?f WHERE { { ?f property:flag resource:Flag_of_Italy . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?f property:flag resource:flag_of_Brazil . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q38 Q155 Q30
(c(Q15617994),P163,Q42876) (c(Q15617994),P163,Q82194) (c(Q15617994),P163,Q42537)
action union
action filter_type
action find_reverse
entity Q42876
relation P163
type Q15617994
action filter_type
action find_reverse
entity Q82194
relation P163
type Q15617994
action filter_type
action find_reverse
entity Q42537
relation P163
type Q15617994
[ANSWERS] are associated with Flag of Italy, flag of Brazil and flag of the United States of America
[{'concept': 'Q15617994'}, 'P163', 'Q42876'] [{'concept': 'Q15617994'}, 'P163', 'Q82194'] [{'concept': 'Q15617994'}, 'P163', 'Q42537']
SELECT DISTINCT ?f WHERE { { ?f property:P163 resource:Q42876 . ?f rdf:type ontology:Q15617994 } UNION { ?f property:P163 resource:Q82194 . ?f rdf:type ontology:Q15617994 } }
Italy Brazil United States of America
Italy, Brazil and United States of America are associated with Flag of Italy, flag of Brazil and flag of the United States of America
Italy Brazil United States of America
action union
action filter_type
action find_reverse
entity Flag of Italy
relation flag
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity flag of Brazil
relation flag
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity flag of the United States of America
relation flag
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'flag', 'Flag of Italy'] [{'concept': 'designation for an administrative territorial entity'}, 'flag', 'flag of Brazil'] [{'concept': 'designation for an administrative territorial entity'}, 'flag', 'flag of the United States of America']
SELECT DISTINCT ?f WHERE { { ?f property:flag resource:Flag_of_Italy . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?f property:flag resource:flag_of_Brazil . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q42876
P462
Q1075
USER
What colors are that flag associated with ?
(Q42876,P462,c(Q1075))
action filter_type
action find
entity Q42876
relation P462
type Q1075
['Q42876', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?v WHERE { resource:Q42876 property:P462 ?v . ?v rdf:type ontology:Q1075 }
Flag of Italy
action filter_type
action find
entity Flag of Italy
relation color
type color
['Flag of Italy', 'color', {'concept': 'color'}]
SELECT DISTINCT ?v WHERE { resource:Flag_of_Italy property:color ?v . ?v rdf:type ontology:color }
[]
color
Clarification for simple ques.
Q42876
SYSTEM
Did you mean Flag of Italy ?
Q38 Q155 Q30
(Q38,P462,c(Q1075)) (Q155,P462,c(Q1075)) (Q30,P462,c(Q1075))
[ANSWER]
['Q38', 'P462', {'concept': 'Q1075'}] ['Q155', 'P462', {'concept': 'Q1075'}] ['Q30', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?v WHERE { resource:Q42876 property:P462 ?v . ?v rdf:type ontology:Q1075 }
Italy Brazil United States of America
Did you mean Flag of Italy ?
Flag of Italy
['Italy', 'color', {'concept': 'color'}] ['Brazil', 'color', {'concept': 'color'}] ['United States of America', 'color', {'concept': 'color'}]
SELECT DISTINCT ?v WHERE { resource:Flag_of_Italy property:color ?v . ?v rdf:type ontology:color }
[]
Simple Question (Coreferenced)
USER
Yes
(Q42876,P462,c(Q1075))
['Q42876', 'P462', {'concept': 'Q1075'}]
['Flag of Italy', 'color', {'concept': 'color'}]
[]
Q3142 Q3133
SYSTEM
red, green
Q3142 Q3133
(Q42876,P462,c(Q1075))
action filter_type
action find
entity Q42876
relation P462
type Q1075
That flag are associated with [ANSWERS]
['Q42876', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?v WHERE { resource:Q42876 property:P462 ?v . ?v rdf:type ontology:Q1075 }
red green
That flag are associated with red and green
red green
action filter_type
action find
entity Flag of Italy
relation color
type color
['Flag of Italy', 'color', {'concept': 'color'}]
SELECT DISTINCT ?v WHERE { resource:Flag_of_Italy property:color ?v . ?v rdf:type ontology:color }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q329280
P462
Q14660
USER
Do Flag of the British Indian Ocean Territory have color those ones ?
(Q329280,P462,Q3142) (Q329280,P462,Q3133)
action is_in
entity prev_answer
action find
entity Q329280
relation P462
['Q329280', 'P462', 'Q3142'] ['Q329280', 'P462', 'Q3133']
ASK WHERE { VALUES ( ?j ) { ( resource:Q3142 ) ( resource:Q3133 ) } . resource:Q329280 property:P462 ?j }
Flag of the British Indian Ocean Territory
action is_in
entity prev_answer
action find
entity Flag of the British Indian Ocean Territory
relation color
['Flag of the British Indian Ocean Territory', 'color', 'red'] ['Flag of the British Indian Ocean Territory', 'color', 'green']
ASK WHERE { VALUES ( ?j ) { ( resource:red ) ( resource:green ) } . resource:Flag_of_the_British_Indian_Ocean_Territory property:color ?j }
[]
flag
SYSTEM
YES
(Q329280,P462,Q3142) (Q329280,P462,Q3133)
action is_in
entity prev_answer
action find
entity Q329280
relation P462
[ANSWER]
['Q329280', 'P462', 'Q3142'] ['Q329280', 'P462', 'Q3133']
ASK WHERE { VALUES ( ?j ) { ( resource:Q3142 ) ( resource:Q3133 ) } . resource:Q329280 property:P462 ?j }
Yes
action is_in
entity prev_answer
action find
entity Flag of the British Indian Ocean Territory
relation color
['Flag of the British Indian Ocean Territory', 'color', 'red'] ['Flag of the British Indian Ocean Territory', 'color', 'green']
ASK WHERE { VALUES ( ?j ) { ( resource:red ) ( resource:green ) } . resource:Flag_of_the_British_Indian_Ocean_Territory property:color ?j }
[]