Simple Question (Direct)
Simple Question
Q531336
P69
Q3918
USER
Which university is the alma mater of Helen Vinson ?
(Q531336,P69,c(Q3918))
action filter_type
action find
entity Q531336
relation P69
type Q3918
['Q531336', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?k WHERE { resource:Q531336 property:P69 ?k . ?k rdf:type ontology:Q3918 }
Helen Vinson
action filter_type
action find
entity Helen Vinson
relation educated at
type university
['Helen Vinson', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?k WHERE { resource:Helen_Vinson property:educated_at ?k . ?k rdf:type ontology:university }
[]
university
Q49213
SYSTEM
University of Texas at Austin
Q49213
(Q531336,P69,c(Q3918))
action filter_type
action find
entity Q531336
relation P69
type Q3918
The [ANSWER] is the alma mater of Helen Vinson
['Q531336', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?k WHERE { resource:Q531336 property:P69 ?k . ?k rdf:type ontology:Q3918 }
University of Texas at Austin
The University of Texas at Austin is the alma mater of Helen Vinson
University of Texas at Austin
action filter_type
action find
entity Helen Vinson
relation educated at
type university
['Helen Vinson', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?k WHERE { resource:Helen_Vinson property:educated_at ?k . ?k rdf:type ontology:university }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q49213
P17
Q15617994
USER
Which administrative territory does that university belong to ?
(Q49213,P17,c(Q15617994))
action filter_type
action find
entity Q49213
relation P17
type Q15617994
['Q49213', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q49213 property:P17 ?y . ?y rdf:type ontology:Q15617994 }
University of Texas at Austin
action filter_type
action find
entity University of Texas at Austin
relation country
type designation for an administrative territorial entity
['University of Texas at Austin', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:University_of_Texas_at_Austin property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q49213,P17,c(Q15617994))
action filter_type
action find
entity Q49213
relation P17
type Q15617994
That university belongs to the [ANSWER]
['Q49213', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q49213 property:P17 ?y . ?y rdf:type ontology:Q15617994 }
United States of America
That university belongs to the United States of America
United States of America
action filter_type
action find
entity University of Texas at Austin
relation country
type designation for an administrative territorial entity
['University of Texas at Austin', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:University_of_Texas_at_Austin property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q30 Q212198
P921
Q838948
USER
How many works of art have United States of America or pub as their main topic ?
(c(Q838948),P921,Q30) (c(Q838948),P921,Q212198)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P921
type Q838948
action filter_type
action find_reverse
entity Q212198
relation P921
type Q838948
[{'concept': 'Q838948'}, 'P921', 'Q30'] [{'concept': 'Q838948'}, 'P921', 'Q212198']
SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { VALUES ( ?p ) { ( resource:Q30 ) ( resource:Q212198 ) } . ?c property:P921 ?p }
United States of America pub
action count
action union
action filter_type
action find_reverse
entity United States of America
relation main subject
type work of art
action filter_type
action find_reverse
entity pub
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'United States of America'] [{'concept': 'work of art'}, 'main subject', 'pub']
SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { VALUES ( ?p ) { ( resource:United_States_of_America ) ( resource:pub ) } . ?c property:main_subject ?p }
[]
work of art
SYSTEM
13
Q7714895 Q5567488 Q7759774 Q7990968 Q7156451 Q5652328 Q12126242 Q16997904 Q7501322 Q3201948 Q5225923 Q7598480 Q7769252
(c(Q838948),P921,Q30) (c(Q838948),P921,Q212198)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P921
type Q838948
action filter_type
action find_reverse
entity Q212198
relation P921
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P921', 'Q30'] [{'concept': 'Q838948'}, 'P921', 'Q212198']
SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { VALUES ( ?p ) { ( resource:Q30 ) ( resource:Q212198 ) } . ?c property:P921 ?p }
The Augustas Gleeful: The Real Show Choirs of America The Recess Ends What America Needs Pax Americana and the Weaponization of Space Happiness Is Money-Driven Medicine Mirage Men Shore Things America As Seen by a Frenchman Darwin Standing Army The Tiger Next Door
13
action count
action union
action filter_type
action find_reverse
entity United States of America
relation main subject
type work of art
action filter_type
action find_reverse
entity pub
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'United States of America'] [{'concept': 'work of art'}, 'main subject', 'pub']
SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { VALUES ( ?p ) { ( resource:United_States_of_America ) ( resource:pub ) } . ?c property:main_subject ?p }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q611237 Q30
P47 P530
Q1048835
USER
Which political territories have diplomatic relationships with United States of America or share the border with Pedro Martínez ?
OR((Q30,P530,c(Q1048835)), (Q611237,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q30
relation P530
action find
entity Q611237
relation P47
type Q1048835
{'OR': [['Q30', 'P530', {'concept': 'Q1048835'}], ['Q611237', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q30 property:P530 ?z } UNION { resource:Q611237 property:P47 ?z } } . ?z rdf:type ontology:Q1048835 }
Pedro Martínez United States of America
action filter_type
action union
action find
entity United States of America
relation diplomatic relation
action find
entity Pedro Martínez
relation shares border with
type political territorial entity
{'OR': [['United States of America', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Pedro Martínez', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:United_States_of_America property:diplomatic_relation ?z } UNION { resource:Pedro_Martínez property:shares_border_with ?z } } . ?z rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q619519 Q575634 Q16 Q559308 Q550664 Q574337 Q618392 Q574353 Q593725 Q1631944
SYSTEM
Some of them are Villanueva de las Torres, Huélago, Canada, Dehesas de Guadix, Alicún de Ortega, Fonelas, Torre-Cardela, Gobernador, Morelábor, Alamedilla
Q559308 Q593725 Q575634 Q550664 Q618392 Q575658 Q1631944 Q183 Q574353 Q619519 Q408 Q16 Q574337
OR((Q30,P530,c(Q1048835)), (Q611237,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q30
relation P530
action find
entity Q611237
relation P47
type Q1048835
[ANSWERS] have diplomatic relationships with United States of America or share the border with Pedro Martínez
{'OR': [['Q30', 'P530', {'concept': 'Q1048835'}], ['Q611237', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q30 property:P530 ?z } UNION { resource:Q611237 property:P47 ?z } } . ?z rdf:type ontology:Q1048835 }
Dehesas de Guadix Morelábor Huélago Alicún de Ortega Torre-Cardela Guadahortuna Alamedilla Germany Gobernador Villanueva de las Torres Australia Canada Fonelas
Villanueva de las Torres, Huélago, Canada, Dehesas de Guadix, Alicún de Ortega, Fonelas, Torre-Cardela, Gobernador, Morelábor and Alamedilla have diplomatic relationships with United States of America or share the border with Pedro Martínez
Villanueva de las Torres Huélago Canada Dehesas de Guadix Alicún de Ortega Fonelas Torre-Cardela Gobernador Morelábor Alamedilla
action filter_type
action union
action find
entity United States of America
relation diplomatic relation
action find
entity Pedro Martínez
relation shares border with
type political territorial entity
{'OR': [['United States of America', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Pedro Martínez', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:United_States_of_America property:diplomatic_relation ?z } UNION { resource:Pedro_Martínez property:shares_border_with ?z } } . ?z rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P85
Q484692 Q7725634 Q1048835
USER
Which political territories have around 2 hymns and literary works as their national anthem ?
(c(Q1048835),P85,c(Q484692)|c(Q7725634))
action approx
action union
action find_tuple_counts
relation P85
type Q1048835
type Q484692
action find_tuple_counts
relation P85
type Q1048835
type Q7725634
value 2
[{'concept': 'Q1048835'}, 'P85', [{'concept': 'Q484692'}, {'concept': 'Q7725634'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) ?u WHERE { { ?u rdf:type ontology:Q1048835 . ?e rdf:type ontology:Q484692 . ?u property:P85 ?e } UNION { ?u rdf:type ontology:Q1048835 . ?e rdf:type ontology:Q7725634 . ?u property:P85 ?e } } GROUP BY ?u } . FILTER ( ?c = 2 ) }
action approx
action union
action find_tuple_counts
relation anthem
type political territorial entity
type hymn
action find_tuple_counts
relation anthem
type political territorial entity
type literary work
value 2
[{'concept': 'political territorial entity'}, 'anthem', [{'concept': 'hymn'}, {'concept': 'literary work'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) ?u WHERE { { ?u rdf:type ontology:political_territorial_entity . ?e rdf:type ontology:hymn . ?u property:anthem ?e } UNION { ?u rdf:type ontology:political_territorial_entity . ?e rdf:type ontology:literary_work . ?u property:anthem ?e } } GROUP BY ?u } . FILTER ( ?c = 2 ) }
[]
hymn literary work political territorial entity
Q408 Q35 Q769
SYSTEM
Australia, Denmark, Grenada
Q769 Q766 Q781 Q35 Q408
(c(Q1048835),P85,c(Q484692)|c(Q7725634))
action approx
action union
action find_tuple_counts
relation P85
type Q1048835
type Q484692
action find_tuple_counts
relation P85
type Q1048835
type Q7725634
value 2
[ANSWERS] have around 2 hymns and literary works as their national anthem
[{'concept': 'Q1048835'}, 'P85', [{'concept': 'Q484692'}, {'concept': 'Q7725634'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) ?u WHERE { { ?u rdf:type ontology:Q1048835 . ?e rdf:type ontology:Q484692 . ?u property:P85 ?e } UNION { ?u rdf:type ontology:Q1048835 . ?e rdf:type ontology:Q7725634 . ?u property:P85 ?e } } GROUP BY ?u } . FILTER ( ?c = 2 ) }
Grenada Jamaica Antigua and Barbuda Denmark Australia
Australia, Denmark and Grenada have around 2 hymns and literary works as their national anthem
Australia Denmark Grenada
action approx
action union
action find_tuple_counts
relation anthem
type political territorial entity
type hymn
action find_tuple_counts
relation anthem
type political territorial entity
type literary work
value 2
[{'concept': 'political territorial entity'}, 'anthem', [{'concept': 'hymn'}, {'concept': 'literary work'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) ?u WHERE { { ?u rdf:type ontology:political_territorial_entity . ?e rdf:type ontology:hymn . ?u property:anthem ?e } UNION { ?u rdf:type ontology:political_territorial_entity . ?e rdf:type ontology:literary_work . ?u property:anthem ?e } } GROUP BY ?u } . FILTER ( ?c = 2 ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q408 Q35 Q769
P17
Q12737077
USER
Which occupations are located in Australia, Denmark and Grenada ?
(c(Q12737077),P17,Q408) (c(Q12737077),P17,Q35) (c(Q12737077),P17,Q769)
action union
action filter_type
action find_reverse
entity Q408
relation P17
type Q12737077
action filter_type
action find_reverse
entity Q35
relation P17
type Q12737077
action filter_type
action find_reverse
entity Q769
relation P17
type Q12737077
[{'concept': 'Q12737077'}, 'P17', 'Q408'] [{'concept': 'Q12737077'}, 'P17', 'Q35'] [{'concept': 'Q12737077'}, 'P17', 'Q769']
SELECT DISTINCT ?o WHERE { { ?o rdf:type ontology:Q12737077 . ?o property:P17 resource:Q408 } UNION { ?o property:P17 resource:Q35 . ?o rdf:type ontology:Q12737077 } }
Australia Denmark Grenada
action union
action filter_type
action find_reverse
entity Australia
relation country
type occupation
action filter_type
action find_reverse
entity Denmark
relation country
type occupation
action filter_type
action find_reverse
entity Grenada
relation country
type occupation
[{'concept': 'occupation'}, 'country', 'Australia'] [{'concept': 'occupation'}, 'country', 'Denmark'] [{'concept': 'occupation'}, 'country', 'Grenada']
SELECT DISTINCT ?o WHERE { { ?o rdf:type ontology:occupation . ?o property:country resource:Australia } UNION { ?o property:country resource:Denmark . ?o rdf:type ontology:occupation } }
[]
occupation
Q319145 Q2390270 Q795477
SYSTEM
Prime Minister of Australia, Treasurer of Australia, Prime Minister of Denmark
Q7574300 Q18534408 Q6865821 Q7574308 Q2390270 Q17007714 Q6865857 Q13527909 Q1528895 Q24025931 Q6865833 Q6865868 Q14931512 Q11796917 Q5097000 Q5053086 Q11122003 Q23782667 Q6865809 Q13527933 Q7574624 Q18720358 Q26998278 Q11796986 Q6866013 Q19597471 Q6865914 Q7079348 Q6865883 Q4763428 Q6865979 Q13526082 Q3315112 Q11796981 Q3409185 Q2985706 Q18526194 Q7836759 Q22667435 Q6865900 Q11796950 Q11796967 Q19299542 Q19346403 Q11796976 Q11796971 Q2460433 Q19346446 Q6814428 Q6865994 Q5261010 Q5096681 Q6865874 Q16147127 Q6865985 Q4818607 Q4818610 Q5261065 Q6865888 Q319145 Q19299327 Q5670366 Q2660943 Q6865898 Q18220900 Q19627913 Q7241351 Q19007285 Q7574256 Q20751425 Q18912794 Q7241304 Q20165902 Q18810377 Q6508572 Q6865787 Q6865784 Q2627286 Q6508531 Q6508557 Q6508551 Q23893016 Q5096806 Q6508546 Q27171911 Q6508571 Q4917935 Q23893038 Q6508566 Q6508561 Q19202748 Q18662245 Q6865745 Q19185341 Q5690600 Q24300568 Q6865812 Q18913290 Q7689385 Q20069142 Q18913269 Q12311817 Q12341969 Q795477 Q1311756 Q20830736 Q5340905 Q1815344 Q1030099 Q6317024 Q13409304 Q12310252 Q5449541 Q6866144 Q6865806 Q6443269 Q26869646 Q18345267
(c(Q12737077),P17,Q408) (c(Q12737077),P17,Q35) (c(Q12737077),P17,Q769)
action union
action filter_type
action find_reverse
entity Q408
relation P17
type Q12737077
action filter_type
action find_reverse
entity Q35
relation P17
type Q12737077
action filter_type
action find_reverse
entity Q769
relation P17
type Q12737077
[ANSWERS] are located in Australia, Denmark and Grenada
[{'concept': 'Q12737077'}, 'P17', 'Q408'] [{'concept': 'Q12737077'}, 'P17', 'Q35'] [{'concept': 'Q12737077'}, 'P17', 'Q769']
SELECT DISTINCT ?o WHERE { { ?o rdf:type ontology:Q12737077 . ?o property:P17 resource:Q408 } UNION { ?o property:P17 resource:Q35 . ?o rdf:type ontology:Q12737077 } }
Speaker of the New South Wales Legislative Assembly member of the Victorian Legislative Assembly Minister for Social Services Speaker of the Tasmanian House of Assembly Treasurer of Australia Minister for Indigenous Affairs Minister for Health Premier of Victoria Governor of New South Wales managing director of the Australian Broadcasting Corporation Minister for Finance Minister for Home Affairs monarch of Australia Minister for Broadband, Communications and the Digital Economy (Australia) Chief of Air Force Catholic Archbishop of Sydney Vice-President of the Executive Council Lord Mayor of Melbourne Minister for Employment and Workplace Relations Premier of Tasmania Special Minister of State Mayor of Melbourne member of the Northern Territory Legislative Assembly Minister for Sustainability, Environment, Water, Population and Communities (Australia) Minister for the Status of Women Member of the Parliament of South Australia Minister for Local Government, Territories and Roads Chief Scientist of Australia Minister for Industry and Innovation Archbishop of Sydney Minister for Trade Premier of Queensland Minister for Defence Minister for Sport Chief Justice of Australia Chief of the Defence Force Member of the Queensland Legislative Assembly Treasurer of South Australia Member of the Queensland Legislative Council Minister for Justice Minister for Immigration and Border Protection Minister for School Education, Early Childhood and Youth Member of the Tasmanian Legislative Council Lord Mayor of Sydney Minister for Social Inclusion (Australia) Minister for Small Business (Australia) Leader of the Opposition Mayor of Sydney member of the Australian Senate Minister for the Arts Deputy Chief of Army Chief Capability Development Group Minister for Human Services Leader of the House Minister for Veterans' Affairs Attorney-General of Australia Attorney-General of South Australia Deputy Prime Minister of Australia Minister for Infrastructure and Transport Prime Minister of Australia Member of Parliament of Tasmania remote area nurse Minister for Foreign Affairs Minister for Justice Member of the South Australian House of Assembly Member of the Western Australian Legislative Council President of the New South Wales Legislative Council Member of the Tasmanian House of Assembly Speaker of the House of Representatives Chief Commissioner of Victoria Police Member of the Australian House of Representatives President of the Australian Senate Member of the Western Australian Legislative Assembly Member of the New South Wales Legislative Council Leader of the Opposition Minister for Defence Science and Personnel Minister for Defence Materiel bushranger Leader of the Opposition Leader of the Opposition Leader of the Opposition Australian chargé d'affaires to the United States of America Chief Justice of Victoria Leader of the Opposition Director of the National Gallery of Australia Leader of the Opposition Bishop of North Queensland Australian Envoy Extraordinary and Minister Plenipotentiary to the United States of America Leader of the Opposition Leader of the Opposition Member of the New South Wales Legislative Assembly Member of the South Australian Legislative Council Minister for Agriculture, Fisheries and Forestry Member of the Victorian Legislative Council Health Minister Minister for Food, Agriculture and Fisheries Minister for Ecclesiastical Affairs of Denmark Speaker of the Folketing Tax Minister of Denmark Danish Minister of Transport Minister of the Interior member of the Folketing Minister of Economic and Business Affairs Prime Minister of Denmark Minister for the Environment Governor of the Danish West Indies Education Minister of Denmark Defence Minister of Denmark Culture Minister of Denmark Justice Minister of Denmark Statsminister Danish commerce minister Finance Minister of Denmark Minister of Foreign Affairs Minister for Development Cooperation of Denmark Kultus Minister of Denmark monarch of Grenada Minister of Foreign Affairs
Prime Minister of Australia, Treasurer of Australia and Prime Minister of Denmark are located in Australia, Denmark and Grenada
Prime Minister of Australia Treasurer of Australia Prime Minister of Denmark
action union
action filter_type
action find_reverse
entity Australia
relation country
type occupation
action filter_type
action find_reverse
entity Denmark
relation country
type occupation
action filter_type
action find_reverse
entity Grenada
relation country
type occupation
[{'concept': 'occupation'}, 'country', 'Australia'] [{'concept': 'occupation'}, 'country', 'Denmark'] [{'concept': 'occupation'}, 'country', 'Grenada']
SELECT DISTINCT ?o WHERE { { ?o rdf:type ontology:occupation . ?o property:country resource:Australia } UNION { ?o property:country resource:Denmark . ?o rdf:type ontology:occupation } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q319145 Q2390270 Q795477
P17
Q1048835
USER
Which political territories are those occupations a part of ?
(Q319145,P17,c(Q1048835)) (Q2390270,P17,c(Q1048835)) (Q795477,P17,c(Q1048835))
action filter_type
action find
entity prev_answer
relation P17
type Q1048835
['Q319145', 'P17', {'concept': 'Q1048835'}] ['Q2390270', 'P17', {'concept': 'Q1048835'}] ['Q795477', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { ?s property:P17 ?q . VALUES ( ?s ) { ( resource:Q7574300 ) ( resource:Q18534408 ) ( resource:Q6865821 ) } . ?q rdf:type ontology:Q1048835 }
Prime Minister of Australia Treasurer of Australia Prime Minister of Denmark
action filter_type
action find
entity prev_answer
relation country
type political territorial entity
['Prime Minister of Australia', 'country', {'concept': 'political territorial entity'}] ['Treasurer of Australia', 'country', {'concept': 'political territorial entity'}] ['Prime Minister of Denmark', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { ?s property:country ?q . VALUES ( ?s ) { ( resource:Speaker_of_the_New_South_Wales_Legislative_Assembly ) ( resource:member_of_the_Victorian_Legislative_Assembly ) ( resource:Minister_for_Social_Services ) } . ?q rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408 Q408 Q35
SYSTEM
Australia for 1st, 2nd, Denmark for 3rd
Q408 Q408 Q35
(Q319145,P17,c(Q1048835)) (Q2390270,P17,c(Q1048835)) (Q795477,P17,c(Q1048835))
action filter_type
action find
entity prev_answer
relation P17
type Q1048835
[ANSWERS]
['Q319145', 'P17', {'concept': 'Q1048835'}] ['Q2390270', 'P17', {'concept': 'Q1048835'}] ['Q795477', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { ?s property:P17 ?q . VALUES ( ?s ) { ( resource:Q7574300 ) ( resource:Q18534408 ) ( resource:Q6865821 ) } . ?q rdf:type ontology:Q1048835 }
Australia Australia Denmark
Australia, Australia and Denmark are those occupations a part of
Australia Australia Denmark
action filter_type
action find
entity prev_answer
relation country
type political territorial entity
['Prime Minister of Australia', 'country', {'concept': 'political territorial entity'}] ['Treasurer of Australia', 'country', {'concept': 'political territorial entity'}] ['Prime Minister of Denmark', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { ?s property:country ?q . VALUES ( ?s ) { ( resource:Speaker_of_the_New_South_Wales_Legislative_Assembly ) ( resource:member_of_the_Victorian_Legislative_Assembly ) ( resource:Minister_for_Social_Services ) } . ?q rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q319145
P1001
Q1048835
USER
Which political territory is linked to Prime Minister of Australia ?
(Q319145,P1001,c(Q1048835))
action filter_type
action find
entity Q319145
relation P1001
type Q1048835
['Q319145', 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { resource:Q319145 property:P1001 ?d . ?d rdf:type ontology:Q1048835 }
Prime Minister of Australia
action filter_type
action find
entity Prime Minister of Australia
relation applies to jurisdiction
type political territorial entity
['Prime Minister of Australia', 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Prime_Minister_of_Australia property:applies_to_jurisdiction ?d . ?d rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
(Q319145,P1001,c(Q1048835))
action filter_type
action find
entity Q319145
relation P1001
type Q1048835
[ANSWER] is linked to Prime Minister of [ANSWER]
['Q319145', 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { resource:Q319145 property:P1001 ?d . ?d rdf:type ontology:Q1048835 }
Australia
Australia is linked to Prime Minister of Australia
Australia
action filter_type
action find
entity Prime Minister of Australia
relation applies to jurisdiction
type political territorial entity
['Prime Minister of Australia', 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Prime_Minister_of_Australia property:applies_to_jurisdiction ?d . ?d rdf:type ontology:political_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q26691222
Q1048835
USER
And how about mayor of Los Gallardos?
(Q26691222,P1001,c(Q1048835))
action filter_type
action find
entity Q26691222
relation P1001
type Q1048835
['Q26691222', 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ?v WHERE { resource:Q26691222 property:P1001 ?v . ?v rdf:type ontology:Q1048835 }
mayor of Los Gallardos
action filter_type
action find
entity mayor of Los Gallardos
relation applies to jurisdiction
type political territorial entity
['mayor of Los Gallardos', 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:mayor_of_Los_Gallardos property:applies_to_jurisdiction ?v . ?v rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1407152
SYSTEM
Los Gallardos
Q1407152
(Q26691222,P1001,c(Q1048835))
action filter_type
action find
entity Q26691222
relation P1001
type Q1048835
[ANSWER]
['Q26691222', 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ?v WHERE { resource:Q26691222 property:P1001 ?v . ?v rdf:type ontology:Q1048835 }
Los Gallardos
Los Gallardos
action filter_type
action find
entity mayor of Los Gallardos
relation applies to jurisdiction
type political territorial entity
['mayor of Los Gallardos', 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:mayor_of_Los_Gallardos property:applies_to_jurisdiction ?v . ?v rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1407152 Q15061073
P19
Q502895
USER
Does Galina Shirshina have location of birth at that political territory ?
(Q15061073,P19,Q1407152)
action is_in
entity Q15061073
action find
entity Q1407152
relation P19
['Q15061073', 'P19', 'Q1407152']
ASK WHERE { resource:Q1407152 property:P19 resource:Q15061073 }
Los Gallardos Galina Shirshina
action is_in
entity Galina Shirshina
action find
entity Los Gallardos
relation place of birth
['Galina Shirshina', 'place of birth', 'Los Gallardos']
ASK WHERE { resource:Los_Gallardos property:place_of_birth resource:Galina_Shirshina }
[]
common name
SYSTEM
NO
(Q15061073,P19,Q1407152)
action is_in
entity Q15061073
action find
entity Q1407152
relation P19
[ANSWER]
['Q15061073', 'P19', 'Q1407152']
ASK WHERE { resource:Q1407152 property:P19 resource:Q15061073 }
No
action is_in
entity Galina Shirshina
action find
entity Los Gallardos
relation place of birth
['Galina Shirshina', 'place of birth', 'Los Gallardos']
ASK WHERE { resource:Los_Gallardos property:place_of_birth resource:Galina_Shirshina }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q16 Q34
P530
Q15617994
USER
Does Sweden have diplomatic relationships with Canada ?
(Q16,P530,Q34)
action is_in
entity Q34
action find
entity Q16
relation P530
['Q16', 'P530', 'Q34']
ASK WHERE { resource:Q16 property:P530 resource:Q34 }
Canada Sweden
action is_in
entity Sweden
action find
entity Canada
relation diplomatic relation
['Canada', 'diplomatic relation', 'Sweden']
ASK WHERE { resource:Canada property:diplomatic_relation resource:Sweden }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q16,P530,Q34)
action is_in
entity Q34
action find
entity Q16
relation P530
[ANSWER]
['Q16', 'P530', 'Q34']
ASK WHERE { resource:Q16 property:P530 resource:Q34 }
Yes
action is_in
entity Sweden
action find
entity Canada
relation diplomatic relation
['Canada', 'diplomatic relation', 'Sweden']
ASK WHERE { resource:Canada property:diplomatic_relation resource:Sweden }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16
P1532
Q6979593
USER
Which national association football teams play for that political territory ?
action filter_type
action find_reverse
entity Q16
relation P1532
type Q6979593
SELECT DISTINCT ?y WHERE { ?y property:P1532 resource:Q16 . ?y rdf:type ontology:Q6979593 }
Canada
action filter_type
action find_reverse
entity Canada
relation country for sport
type national association football team
SELECT DISTINCT ?y WHERE { ?y property:country_for_sport resource:Canada . ?y rdf:type ontology:national_association_football_team }
[]
national association football team
Q499946 Q5029537 Q3873967
SYSTEM
Canada women's national soccer team, Canada women's national under-17 soccer team, Canada Olympic soccer team
Q5029537 Q3873967 Q499946 Q5029539
action filter_type
action find_reverse
entity Q16
relation P1532
type Q6979593
[ANSWERS] play for that political territory
SELECT DISTINCT ?y WHERE { ?y property:P1532 resource:Q16 . ?y rdf:type ontology:Q6979593 }
Canada women's national under-17 soccer team Canada Olympic soccer team Canada women's national soccer team Canada women's national under-20 soccer team
Canada women's national soccer team, Canada women's national under-17 soccer team and Canada Olympic soccer team play for that political territory
Canada women's national soccer team Canada women's national under-17 soccer team Canada Olympic soccer team
action filter_type
action find_reverse
entity Canada
relation country for sport
type national association football team
SELECT DISTINCT ?y WHERE { ?y property:country_for_sport resource:Canada . ?y rdf:type ontology:national_association_football_team }
[]