Simple Question (Direct)
Simple Question
Q358439
P39
Q12737077
USER
Which occupation was a position occupied by Rufus Bullock ?
(Q358439,P39,c(Q12737077))
action filter_type
action find
entity Q358439
relation P39
type Q12737077
['Q358439', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q358439 property:P39 ?u . ?u rdf:type ontology:Q12737077 }
Rufus Bullock
action filter_type
action find
entity Rufus Bullock
relation position held
type occupation
['Rufus Bullock', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Rufus_Bullock property:position_held ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q880198
SYSTEM
Governor of Georgia
Q880198
(Q358439,P39,c(Q12737077))
action filter_type
action find
entity Q358439
relation P39
type Q12737077
The [ANSWER] was a position occupied by Rufus Bullock
['Q358439', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q358439 property:P39 ?u . ?u rdf:type ontology:Q12737077 }
Governor of Georgia
The Governor of Georgia was a position occupied by Rufus Bullock
Governor of Georgia
action filter_type
action find
entity Rufus Bullock
relation position held
type occupation
['Rufus Bullock', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Rufus_Bullock property:position_held ?u . ?u rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q358439
P102
Q7210356
USER
Which party does that person belong to ?
(Q880198,P102,c(Q7210356))
action filter_type
action find
entity Q358439
relation P102
type Q7210356
['Q880198', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?s WHERE { resource:Q358439 property:P102 ?s . ?s rdf:type ontology:Q7210356 }
Rufus Bullock
action filter_type
action find
entity Rufus Bullock
relation member of political party
type political organization
['Governor of Georgia', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?s WHERE { resource:Rufus_Bullock property:member_of_political_party ?s . ?s rdf:type ontology:political_organization }
[]
political organization
Q29468
SYSTEM
Republican Party
Q29468
(Q880198,P102,c(Q7210356))
action filter_type
action find
entity Q358439
relation P102
type Q7210356
That person belongs to [ANSWER]
['Q880198', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?s WHERE { resource:Q358439 property:P102 ?s . ?s rdf:type ontology:Q7210356 }
Republican Party
That person belongs to Republican Party
Republican Party
action filter_type
action find
entity Rufus Bullock
relation member of political party
type political organization
['Governor of Georgia', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?s WHERE { resource:Rufus_Bullock property:member_of_political_party ?s . ?s rdf:type ontology:political_organization }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q29468 Q1357640 Q1825213
P488
Q502895
USER
Does Reince Priebus and Lilli Wislicenus serve as a chairman for Q29468 ?
(Q29468,P488,Q1357640) (Q29468,P488,Q1825213)
action is_in
entity Q29468
action intersection
action find_reverse
entity Q1357640
relation P488
action find_reverse
entity Q1825213
relation P488
['Q29468', 'P488', 'Q1357640'] ['Q29468', 'P488', 'Q1825213']
ASK WHERE { resource:Q29468 property:P488 resource:Q1825213 . resource:Q29468 property:P488 resource:Q1357640 }
Republican Party Reince Priebus Lilli Wislicenus
action is_in
entity Republican Party
action intersection
action find_reverse
entity Reince Priebus
relation chairperson
action find_reverse
entity Lilli Wislicenus
relation chairperson
['Republican Party', 'chairperson', 'Reince Priebus'] ['Republican Party', 'chairperson', 'Lilli Wislicenus']
ASK WHERE { resource:Republican_Party property:chairperson resource:Lilli_Wislicenus . resource:Republican_Party property:chairperson resource:Reince_Priebus }
[]
common name
SYSTEM
YES and NO respectively
(Q29468,P488,Q1357640) (Q29468,P488,Q1825213)
action is_in
entity Q29468
action intersection
action find_reverse
entity Q1357640
relation P488
action find_reverse
entity Q1825213
relation P488
[ANSWER]
['Q29468', 'P488', 'Q1357640'] ['Q29468', 'P488', 'Q1825213']
ASK WHERE { resource:Q29468 property:P488 resource:Q1825213 . resource:Q29468 property:P488 resource:Q1357640 }
YES and NO respectively
action is_in
entity Republican Party
action intersection
action find_reverse
entity Reince Priebus
relation chairperson
action find_reverse
entity Lilli Wislicenus
relation chairperson
['Republican Party', 'chairperson', 'Reince Priebus'] ['Republican Party', 'chairperson', 'Lilli Wislicenus']
ASK WHERE { resource:Republican_Party property:chairperson resource:Lilli_Wislicenus . resource:Republican_Party property:chairperson resource:Reince_Priebus }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4936827 Q358439
P27
Q15617994
USER
Which administrative territories are Rufus Bullock or Astrid Assefa a civilian of ?
OR((Q358439,P27,c(Q15617994)), (Q4936827,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q358439
relation P27
action find
entity Q4936827
relation P27
type Q15617994
{'OR': [['Q358439', 'P27', {'concept': 'Q15617994'}], ['Q4936827', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { ?f property:P27 ?a . VALUES ( ?f ) { ( resource:Q358439 ) ( resource:Q4936827 ) } } . ?a rdf:type ontology:Q15617994 }
Astrid Assefa Rufus Bullock
action filter_type
action union
action find
entity Rufus Bullock
relation country of citizenship
action find
entity Astrid Assefa
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Rufus Bullock', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Astrid Assefa', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { ?f property:country_of_citizenship ?a . VALUES ( ?f ) { ( resource:Rufus_Bullock ) ( resource:Astrid_Assefa ) } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q115 Q34
SYSTEM
United States of America, Ethiopia, Sweden
Q30 Q115 Q34
OR((Q358439,P27,c(Q15617994)), (Q4936827,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q358439
relation P27
action find
entity Q4936827
relation P27
type Q15617994
[ANSWERS] are Rufus Bullock or Astrid Assefa a civilian of
{'OR': [['Q358439', 'P27', {'concept': 'Q15617994'}], ['Q4936827', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { ?f property:P27 ?a . VALUES ( ?f ) { ( resource:Q358439 ) ( resource:Q4936827 ) } } . ?a rdf:type ontology:Q15617994 }
United States of America Ethiopia Sweden
United States of America, Ethiopia and Sweden are Rufus Bullock or Astrid Assefa a civilian of
United States of America Ethiopia Sweden
action filter_type
action union
action find
entity Rufus Bullock
relation country of citizenship
action find
entity Astrid Assefa
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Rufus Bullock', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Astrid Assefa', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { ?f property:country_of_citizenship ?a . VALUES ( ?f ) { ( resource:Rufus_Bullock ) ( resource:Astrid_Assefa ) } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q16
P530
Q1048835
USER
Are Canada known to have diplomatic connections with those administrative territories ?
(Q16,P530,Q30) (Q16,P530,Q115) (Q16,P530,Q34)
action is_in
entity prev_answer
action find
entity Q16
relation P530
['Q16', 'P530', 'Q30'] ['Q16', 'P530', 'Q115'] ['Q16', 'P530', 'Q34']
ASK WHERE { VALUES ( ?b ) { ( resource:Q30 ) ( resource:Q115 ) ( resource:Q34 ) } . resource:Q16 property:P530 ?b }
Canada
action is_in
entity prev_answer
action find
entity Canada
relation diplomatic relation
['Canada', 'diplomatic relation', 'United States of America'] ['Canada', 'diplomatic relation', 'Ethiopia'] ['Canada', 'diplomatic relation', 'Sweden']
ASK WHERE { VALUES ( ?b ) { ( resource:United_States_of_America ) ( resource:Ethiopia ) ( resource:Sweden ) } . resource:Canada property:diplomatic_relation ?b }
[]
political territorial entity
SYSTEM
YES
(Q16,P530,Q30) (Q16,P530,Q115) (Q16,P530,Q34)
action is_in
entity prev_answer
action find
entity Q16
relation P530
[ANSWER]
['Q16', 'P530', 'Q30'] ['Q16', 'P530', 'Q115'] ['Q16', 'P530', 'Q34']
ASK WHERE { VALUES ( ?b ) { ( resource:Q30 ) ( resource:Q115 ) ( resource:Q34 ) } . resource:Q16 property:P530 ?b }
Yes
action is_in
entity prev_answer
action find
entity Canada
relation diplomatic relation
['Canada', 'diplomatic relation', 'United States of America'] ['Canada', 'diplomatic relation', 'Ethiopia'] ['Canada', 'diplomatic relation', 'Sweden']
ASK WHERE { VALUES ( ?b ) { ( resource:United_States_of_America ) ( resource:Ethiopia ) ( resource:Sweden ) } . resource:Canada property:diplomatic_relation ?b }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q414
P1001
Q15617994 Q192350 Q1292279
USER
Which administrative territories come under the supervision of more number of ministries or political borders than Argentina ?
(c(Q192350)|c(Q1292279),P1001,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q192350
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q1292279
action count
action filter_multi_types
action find_reverse
entity Q414
relation P1001
type Q192350
type Q1292279
[[{'concept': 'Q192350'}, {'concept': 'Q1292279'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?p ) AS ?f ) WHERE { VALUES ( ?j ) { ( ontology:Q192350 ) ( ontology:Q1292279 ) } . ?p rdf:type ?j } GROUP BY ?u } . FILTER ( ?f > ?v ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { ?m property:P1001 resource:Q414 . { ?m rdf:type ?s . VALUES ( ?s ) { ( ontology:Q192350 ) ( ontology:Q1292279 ) } } } } }
Argentina
action greater
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type ministry
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type political border
action count
action filter_multi_types
action find_reverse
entity Argentina
relation applies to jurisdiction
type ministry
type political border
[[{'concept': 'ministry'}, {'concept': 'political border'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?p ) AS ?f ) WHERE { VALUES ( ?j ) { ( ontology:ministry ) ( ontology:political_border ) } . ?p rdf:type ?j } GROUP BY ?u } . FILTER ( ?f > ?v ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { ?m property:applies_to_jurisdiction resource:Argentina . { ?m rdf:type ?s . VALUES ( ?s ) { ( ontology:ministry ) ( ontology:political_border ) } } } } }
[]
designation for an administrative territorial entity ministry political border
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q668 Q142 Q145 Q262 Q148 Q717 Q252 Q403 Q159 Q43 Q41 Q155 Q794 Q739 Q30 Q924 Q36 Q34 Q38 Q851 Q1049 Q1029 Q974 Q212 Q29 Q1016
(c(Q192350)|c(Q1292279),P1001,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q192350
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q1292279
action count
action filter_multi_types
action find_reverse
entity Q414
relation P1001
type Q192350
type Q1292279
[ANSWERS] come under the supervision of more number of ministries or political borders than Argentina
[[{'concept': 'Q192350'}, {'concept': 'Q1292279'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?p ) AS ?f ) WHERE { VALUES ( ?j ) { ( ontology:Q192350 ) ( ontology:Q1292279 ) } . ?p rdf:type ?j } GROUP BY ?u } . FILTER ( ?f > ?v ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { ?m property:P1001 resource:Q414 . { ?m rdf:type ?s . VALUES ( ?s ) { ( ontology:Q192350 ) ( ontology:Q1292279 ) } } } } }
India France United Kingdom Algeria People's Republic of China Venezuela Indonesia Serbia Russia Turkey Greece Brazil Iran Colombia United States of America Tanzania Poland Sweden Italy Saudi Arabia Sudan Mozambique Democratic Republic of the Congo Ukraine Spain Libya
Italy, Brazil and United States of America come under the supervision of more number of ministries or political borders than Argentina
Italy Brazil United States of America
action greater
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type ministry
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type political border
action count
action filter_multi_types
action find_reverse
entity Argentina
relation applies to jurisdiction
type ministry
type political border
[[{'concept': 'ministry'}, {'concept': 'political border'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?p ) AS ?f ) WHERE { VALUES ( ?j ) { ( ontology:ministry ) ( ontology:political_border ) } . ?p rdf:type ?j } GROUP BY ?u } . FILTER ( ?f > ?v ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { ?m property:applies_to_jurisdiction resource:Argentina . { ?m rdf:type ?s . VALUES ( ?s ) { ( ontology:ministry ) ( ontology:political_border ) } } } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q34 Q403
P530
Q15617994
USER
How many administrative territories have ambassadorial relations with Sweden and Serbia ?
(c(Q15617994),P530,Q34) (c(Q15617994),P530,Q403)
action count
action intersection
action filter_type
action find_reverse
entity Q34
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q403
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q34'] [{'concept': 'Q15617994'}, 'P530', 'Q403']
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { ?g rdf:type ontology:Q15617994 . ?g property:P530 resource:Q34 . ?g property:P530 resource:Q403 . ?g rdf:type ontology:Q15617994 }
Sweden Serbia
action count
action intersection
action filter_type
action find_reverse
entity Sweden
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Serbia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Sweden'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Serbia']
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g property:diplomatic_relation resource:Sweden . ?g property:diplomatic_relation resource:Serbia . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
2
Q184 Q38
(c(Q15617994),P530,Q34) (c(Q15617994),P530,Q403)
action count
action intersection
action filter_type
action find_reverse
entity Q34
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q403
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', 'Q34'] [{'concept': 'Q15617994'}, 'P530', 'Q403']
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { ?g rdf:type ontology:Q15617994 . ?g property:P530 resource:Q34 . ?g property:P530 resource:Q403 . ?g rdf:type ontology:Q15617994 }
Belarus Italy
2
action count
action intersection
action filter_type
action find_reverse
entity Sweden
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Serbia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Sweden'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Serbia']
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g property:diplomatic_relation resource:Sweden . ?g property:diplomatic_relation resource:Serbia . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relations with atmost 22 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action atmost
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 22
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { FILTER ( ?o <= 22 ) . { SELECT DISTINCT ?d ( COUNT ( ?u ) AS ?o ) WHERE { ?u property:P530 ?d . ?d rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q15617994 } GROUP BY ?d } }
action count
action atmost
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 22
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { FILTER ( ?o <= 22 ) . { SELECT DISTINCT ?d ( COUNT ( ?u ) AS ?o ) WHERE { ?u property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
162
Q702 Q804 Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action atmost
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 22
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { FILTER ( ?o <= 22 ) . { SELECT DISTINCT ?d ( COUNT ( ?u ) AS ?o ) WHERE { ?u property:P530 ?d . ?d rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q15617994 } GROUP BY ?d } }
Federated States of Micronesia Panama Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius 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 Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau 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 Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
162
action count
action atmost
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 22
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { FILTER ( ?o <= 22 ) . { SELECT DISTINCT ?d ( COUNT ( ?u ) AS ?o ) WHERE { ?u property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q403
P6
Q502895
USER
Who is the head of the government of Serbia ?
(Q403,P6,c(Q502895))
action filter_type
action find
entity Q403
relation P6
type Q502895
['Q403', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q403 property:P6 ?o . ?o rdf:type ontology:Q502895 }
Serbia
action filter_type
action find
entity Serbia
relation head of government
type common name
['Serbia', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Serbia property:head_of_government ?o . ?o rdf:type ontology:common_name }
[]
common name
Q222031
SYSTEM
Aleksandar Vučić
Q222031
(Q403,P6,c(Q502895))
action filter_type
action find
entity Q403
relation P6
type Q502895
The head of the government of Serbia is Prince [ANSWER]
['Q403', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q403 property:P6 ?o . ?o rdf:type ontology:Q502895 }
Aleksandar Vučić
The head of the government of Serbia is Prince Aleksandar Vučić
Aleksandar Vučić
action filter_type
action find
entity Serbia
relation head of government
type common name
['Serbia', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Serbia property:head_of_government ?o . ?o rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q403
P706
Q151885
USER
Which concepts are located in Serbia ?
(c(Q151885),P706,Q403)
action filter_type
action find_reverse
entity Q403
relation P706
type Q151885
[{'concept': 'Q151885'}, 'P706', 'Q403']
SELECT DISTINCT ?d WHERE { ?d property:P706 resource:Q403 . ?d rdf:type ontology:Q151885 }
Serbia
action filter_type
action find_reverse
entity Serbia
relation located on terrain feature
type concept
[{'concept': 'concept'}, 'located on terrain feature', 'Serbia']
SELECT DISTINCT ?d WHERE { ?d property:located_on_terrain_feature resource:Serbia . ?d rdf:type ontology:concept }
[]
concept
Q1483547 Q4096641
SYSTEM
Starčevo culture, Brnjica culture
Q1483547 Q4096641
(c(Q151885),P706,Q403)
action filter_type
action find_reverse
entity Q403
relation P706
type Q151885
[ANSWERS] are located in Serbia
[{'concept': 'Q151885'}, 'P706', 'Q403']
SELECT DISTINCT ?d WHERE { ?d property:P706 resource:Q403 . ?d rdf:type ontology:Q151885 }
Starčevo culture Brnjica culture
Starčevo culture and Brnjica culture are located in Serbia
Starčevo culture Brnjica culture
action filter_type
action find_reverse
entity Serbia
relation located on terrain feature
type concept
[{'concept': 'concept'}, 'located on terrain feature', 'Serbia']
SELECT DISTINCT ?d WHERE { ?d property:located_on_terrain_feature resource:Serbia . ?d rdf:type ontology:concept }
[]
Clarification
Simple Question|Single Entity|Indirect
Q4096641
P361
Q1790144
USER
What is that concept a component of ?
(Q4096641,P361,c(Q1790144))
action filter_type
action find
entity Q4096641
relation P361
type Q1790144
['Q4096641', 'P361', {'concept': 'Q1790144'}]
SELECT DISTINCT ?z WHERE { resource:Q4096641 property:P361 ?z . ?z rdf:type ontology:Q1790144 }
Brnjica culture
action filter_type
action find
entity Brnjica culture
relation part of
type unit of time
['Brnjica culture', 'part of', {'concept': 'unit of time'}]
SELECT DISTINCT ?z WHERE { resource:Brnjica_culture property:part_of ?z . ?z rdf:type ontology:unit_of_time }
[]
unit of time
Clarification for simple ques.
Q1483547
SYSTEM
Did you mean Starčevo culture ?
Q1483547 Q4096641
(Q1483547,P361,c(Q1790144)) (Q4096641,P361,c(Q1790144))
[ANSWER]
['Q1483547', 'P361', {'concept': 'Q1790144'}] ['Q4096641', 'P361', {'concept': 'Q1790144'}]
SELECT DISTINCT ?z WHERE { resource:Q4096641 property:P361 ?z . ?z rdf:type ontology:Q1790144 }
Starčevo culture Brnjica culture
Did you mean Starčevo culture ?
Starčevo culture
['Starčevo culture', 'part of', {'concept': 'unit of time'}] ['Brnjica culture', 'part of', {'concept': 'unit of time'}]
SELECT DISTINCT ?z WHERE { resource:Brnjica_culture property:part_of ?z . ?z rdf:type ontology:unit_of_time }
[]
Simple Question (Coreferenced)
USER
No, I meant Brnjica culture. Could you tell me the answer for that?
(Q4096641,P361,c(Q1790144))
Q4096641
['Q4096641', 'P361', {'concept': 'Q1790144'}]
['Brnjica culture', 'part of', {'concept': 'unit of time'}]
[]
Q11761
SYSTEM
Bronze Age
Q11761
(Q4096641,P361,c(Q1790144))
action filter_type
action find
entity Q4096641
relation P361
type Q1790144
That concept a component of is the [ANSWER]
['Q4096641', 'P361', {'concept': 'Q1790144'}]
SELECT DISTINCT ?z WHERE { resource:Q4096641 property:P361 ?z . ?z rdf:type ontology:Q1790144 }
Bronze Age
That concept a component of is the Bronze Age
Bronze Age
action filter_type
action find
entity Brnjica culture
relation part of
type unit of time
['Brnjica culture', 'part of', {'concept': 'unit of time'}]
SELECT DISTINCT ?z WHERE { resource:Brnjica_culture property:part_of ?z . ?z rdf:type ontology:unit_of_time }
[]