Simple Question (Direct)
Simple Question
Q7488906
P27
Q1048835
USER
Which political territory is Shannon May an inhabitant of ?
(Q7488906,P27,c(Q1048835))
action filter_type
action find
entity Q7488906
relation P27
type Q1048835
['Q7488906', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { resource:Q7488906 property:P27 ?w . ?w rdf:type ontology:Q1048835 }
Shannon May
action filter_type
action find
entity Shannon May
relation country of citizenship
type political territorial entity
['Shannon May', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Shannon_May property:country_of_citizenship ?w . ?w rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
(Q7488906,P27,c(Q1048835))
action filter_type
action find
entity Q7488906
relation P27
type Q1048835
[ANSWER] is Shannon May an inhabitant of
['Q7488906', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { resource:Q7488906 property:P27 ?w . ?w rdf:type ontology:Q1048835 }
Australia
Australia is Shannon May an inhabitant of
Australia
action filter_type
action find
entity Shannon May
relation country of citizenship
type political territorial entity
['Shannon May', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Shannon_May property:country_of_citizenship ?w . ?w rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q408
P710
Q1190554
USER
Which events were that political territory a participant of ?
(c(Q1190554),P710,Q408)
action filter_type
action find_reverse
entity Q408
relation P710
type Q1190554
[{'concept': 'Q1190554'}, 'P710', 'Q408']
SELECT DISTINCT ?g WHERE { ?g property:P710 resource:Q408 . ?g rdf:type ontology:Q1190554 }
Australia
action filter_type
action find_reverse
entity Australia
relation participant
type event
[{'concept': 'event'}, 'participant', 'Australia']
SELECT DISTINCT ?g WHERE { ?g property:participant resource:Australia . ?g rdf:type ontology:event }
[]
event
Q218678 Q16470 Q3636355
SYSTEM
North African Campaign, Normandy landings, Battle of Broodseinde
Q1934591 Q16470 Q620215 Q218678 Q4871421 Q3636355
(c(Q1190554),P710,Q408)
action filter_type
action find_reverse
entity Q408
relation P710
type Q1190554
[ANSWERS]
[{'concept': 'Q1190554'}, 'P710', 'Q408']
SELECT DISTINCT ?g WHERE { ?g property:P710 resource:Q408 . ?g rdf:type ontology:Q1190554 }
Battle of North Borneo Normandy landings Battle of Mont Saint-Quentin North African Campaign Battle of Khaz Oruzgan Battle of Broodseinde
Which events were that political territory a participant of
North African Campaign Normandy landings Battle of Broodseinde
action filter_type
action find_reverse
entity Australia
relation participant
type event
[{'concept': 'event'}, 'participant', 'Australia']
SELECT DISTINCT ?g WHERE { ?g property:participant resource:Australia . ?g rdf:type ontology:event }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q408
P47
Q15617994
USER
Which administrative territory is adjacent to that political territory ?
(Q218678,P47,c(Q15617994)) (Q16470,P47,c(Q15617994)) (Q3636355,P47,c(Q15617994))
action filter_type
action find
entity Q408
relation P47
type Q15617994
['Q218678', 'P47', {'concept': 'Q15617994'}] ['Q16470', 'P47', {'concept': 'Q15617994'}] ['Q3636355', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . resource:Q408 property:P47 ?u }
Australia
action filter_type
action find
entity Australia
relation shares border with
type designation for an administrative territorial entity
['North African Campaign', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Normandy landings', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Battle of Broodseinde', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Australia property:shares_border_with ?u }
[]
designation for an administrative territorial entity
Q252
SYSTEM
Indonesia
Q252
(Q218678,P47,c(Q15617994)) (Q16470,P47,c(Q15617994)) (Q3636355,P47,c(Q15617994))
action filter_type
action find
entity Q408
relation P47
type Q15617994
[ANSWER] is adjacent to that political territory
['Q218678', 'P47', {'concept': 'Q15617994'}] ['Q16470', 'P47', {'concept': 'Q15617994'}] ['Q3636355', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . resource:Q408 property:P47 ?u }
Indonesia
Indonesia is adjacent to that political territory
Indonesia
action filter_type
action find
entity Australia
relation shares border with
type designation for an administrative territorial entity
['North African Campaign', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Normandy landings', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Battle of Broodseinde', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Australia property:shares_border_with ?u }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P495
Q15617994 Q838948 Q201658
USER
How many administrative territories did approximately the same number of works of art or film genres originate as that administrative territory ?
(c(Q838948)|c(Q201658),P495,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q201658
action count
action filter_multi_types
action find_reverse
entity Q252
relation P495
type Q838948
type Q201658
[[{'concept': 'Q838948'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?r ) AS ?e ) WHERE { { ?r property:P495 ?h . ?h rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q838948 } UNION { ?r property:P495 ?h . ?h rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q201658 } } GROUP BY ?h } . FILTER ( ?e = ?u ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { ?p property:P495 resource:Q252 . { { ?p rdf:type ontology:Q838948 } UNION { ?p rdf:type ontology:Q201658 } } } } }
action count
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type film genre
action count
action filter_multi_types
action find_reverse
entity Indonesia
relation country of origin
type work of art
type film genre
[[{'concept': 'work of art'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?r ) AS ?e ) WHERE { { ?r property:country_of_origin ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:work_of_art } UNION { ?r property:country_of_origin ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:film_genre } } GROUP BY ?h } . FILTER ( ?e = ?u ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { ?p property:country_of_origin resource:Indonesia . { { ?p rdf:type ontology:work_of_art } UNION { ?p rdf:type ontology:film_genre } } } } }
[]
designation for an administrative territorial entity work of art film genre
SYSTEM
164
Q805 Q804 Q801 Q800 Q1462 Q419 Q414 Q55 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 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(Q838948)|c(Q201658),P495,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q201658
action count
action filter_multi_types
action find_reverse
entity Q252
relation P495
type Q838948
type Q201658
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?r ) AS ?e ) WHERE { { ?r property:P495 ?h . ?h rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q838948 } UNION { ?r property:P495 ?h . ?h rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q201658 } } GROUP BY ?h } . FILTER ( ?e = ?u ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { ?p property:P495 resource:Q252 . { { ?p rdf:type ontology:Q838948 } UNION { ?p rdf:type ontology:Q201658 } } } } }
Yemen Panama Israel Costa Rica Sardinia Peru Argentina Netherlands 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 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
164
action count
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type film genre
action count
action filter_multi_types
action find_reverse
entity Indonesia
relation country of origin
type work of art
type film genre
[[{'concept': 'work of art'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?r ) AS ?e ) WHERE { { ?r property:country_of_origin ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:work_of_art } UNION { ?r property:country_of_origin ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:film_genre } } GROUP BY ?h } . FILTER ( ?e = ?u ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { ?p property:country_of_origin resource:Indonesia . { { ?p rdf:type ontology:work_of_art } UNION { ?p rdf:type ontology:film_genre } } } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q408
P937
Q502895
USER
Who have Australia as their work location ?
(c(Q502895),P937,Q408)
action filter_type
action find_reverse
entity Q408
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q408']
SELECT DISTINCT ?z WHERE { ?z property:P937 resource:Q408 . ?z rdf:type ontology:Q502895 }
Australia
action filter_type
action find_reverse
entity Australia
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Australia']
SELECT DISTINCT ?z WHERE { ?z property:work_location resource:Australia . ?z rdf:type ontology:common_name }
[]
common name
Q124155 Q23874683 Q20829707
SYSTEM
Johann Menge, Charles Cousen, Dusan Marek
Q124155 Q21609308 Q23874683 Q20829707 Q20856716
(c(Q502895),P937,Q408)
action filter_type
action find_reverse
entity Q408
relation P937
type Q502895
[ANSWERS] have Australia as their work location
[{'concept': 'Q502895'}, 'P937', 'Q408']
SELECT DISTINCT ?z WHERE { ?z property:P937 resource:Q408 . ?z rdf:type ontology:Q502895 }
Johann Menge Maurice Felton Charles Cousen Dusan Marek Hilarie Mais
Johann Menge, Charles Cousen and Dusan Marek have Australia as their work location
Johann Menge Charles Cousen Dusan Marek
action filter_type
action find_reverse
entity Australia
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Australia']
SELECT DISTINCT ?z WHERE { ?z property:work_location resource:Australia . ?z rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q408
P6
Q502895
USER
Which people have that political territory as their heads of government ?
(Q124155,P6,c(Q502895)) (Q23874683,P6,c(Q502895)) (Q20829707,P6,c(Q502895))
action filter_type
action find
entity Q408
relation P6
type Q502895
['Q124155', 'P6', {'concept': 'Q502895'}] ['Q23874683', 'P6', {'concept': 'Q502895'}] ['Q20829707', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q408 property:P6 ?j . ?j rdf:type ontology:Q502895 }
Australia
action filter_type
action find
entity Australia
relation head of government
type common name
['Johann Menge', 'head of government', {'concept': 'common name'}] ['Charles Cousen', 'head of government', {'concept': 'common name'}] ['Dusan Marek', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Australia property:head_of_government ?j . ?j rdf:type ontology:common_name }
[]
common name
Q214438 Q23358 Q348577
SYSTEM
Robert Menzies, Stanley Bruce, Tony Abbott
Q51330 Q23386 Q152666 Q314016 Q23352 Q23375 Q927550 Q23379 Q269372 Q23358 Q43135 Q23333 Q315979 Q41563 Q348577 Q356411 Q356230 Q370926 Q313805 Q370966 Q312722 Q23369 Q23342 Q23347 Q23362 Q214438 Q356261 Q242654 Q459146
(Q124155,P6,c(Q502895)) (Q23874683,P6,c(Q502895)) (Q20829707,P6,c(Q502895))
action filter_type
action find
entity Q408
relation P6
type Q502895
[ANSWERS] have that political territory as their heads of government
['Q124155', 'P6', {'concept': 'Q502895'}] ['Q23874683', 'P6', {'concept': 'Q502895'}] ['Q20829707', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q408 property:P6 ?j . ?j rdf:type ontology:Q502895 }
John Howard John McEwen Billy Hughes Andrew Fisher George Houstoun Reid John Curtin Malcolm Turnbull Ben Chifley Bob Hawke Stanley Bruce Kevin Rudd Gough Whitlam Malcolm Fraser Julia Gillard Tony Abbott John Gorton Joseph Cook Earle Page Alfred Deakin Joseph Lyons Harold Holt Arthur Fadden Edmund Barton Chris Watson James Scullin Robert Menzies William McMahon Paul Keating Frank Forde
Robert Menzies, Stanley Bruce and Tony Abbott have that political territory as their heads of government
Robert Menzies Stanley Bruce Tony Abbott
action filter_type
action find
entity Australia
relation head of government
type common name
['Johann Menge', 'head of government', {'concept': 'common name'}] ['Charles Cousen', 'head of government', {'concept': 'common name'}] ['Dusan Marek', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Australia property:head_of_government ?j . ?j rdf:type ontology:common_name }
[]