Simple Question (Direct)
Simple Question
Q6483544
P106
Q12737077
USER
Which occupation has Lance Sijan as his/her 's career ?
(Q6483544,P106,c(Q12737077))
action filter_type
action find
entity Q6483544
relation P106
type Q12737077
['Q6483544', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q6483544 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
Lance Sijan
action filter_type
action find
entity Lance Sijan
relation occupation
type occupation
['Lance Sijan', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Lance_Sijan property:occupation ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q189290
SYSTEM
officer
Q189290
(Q6483544,P106,c(Q12737077))
action filter_type
action find
entity Q6483544
relation P106
type Q12737077
[ANSWER] has Lance Sijan as his/her 's career
['Q6483544', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q6483544 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
officer
Officer has Lance Sijan as his/her 's career
officer
action filter_type
action find
entity Lance Sijan
relation occupation
type occupation
['Lance Sijan', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Lance_Sijan property:occupation ?a . ?a rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6483544
P410
Q4189293
USER
Which title has that person achieved ?
(Q189290,P410,c(Q4189293))
action filter_type
action find
entity Q6483544
relation P410
type Q4189293
['Q189290', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?v WHERE { resource:Q6483544 property:P410 ?v . ?v rdf:type ontology:Q4189293 }
Lance Sijan
action filter_type
action find
entity Lance Sijan
relation military rank
type title
['officer', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?v WHERE { resource:Lance_Sijan property:military_rank ?v . ?v rdf:type ontology:title }
[]
title
Q2937293
SYSTEM
captain
Q2937293
(Q189290,P410,c(Q4189293))
action filter_type
action find
entity Q6483544
relation P410
type Q4189293
That person has achieved a [ANSWER]
['Q189290', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?v WHERE { resource:Q6483544 property:P410 ?v . ?v rdf:type ontology:Q4189293 }
captain
That person has achieved a captain
captain
action filter_type
action find
entity Lance Sijan
relation military rank
type title
['officer', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?v WHERE { resource:Lance_Sijan property:military_rank ?v . ?v rdf:type ontology:title }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6483544
P172
Q2472587
USER
Which ethnic group does Lance Sijan belong ?
(Q6483544,P172,c(Q2472587))
action filter_type
action find
entity Q6483544
relation P172
type Q2472587
['Q6483544', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?q WHERE { resource:Q6483544 property:P172 ?q . ?q rdf:type ontology:Q2472587 }
Lance Sijan
action filter_type
action find
entity Lance Sijan
relation ethnic group
type people
['Lance Sijan', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?q WHERE { resource:Lance_Sijan property:ethnic_group ?q . ?q rdf:type ontology:people }
[]
people
Q127885
SYSTEM
Serbs
Q127885
(Q6483544,P172,c(Q2472587))
action filter_type
action find
entity Q6483544
relation P172
type Q2472587
Lance Sijan belongs to [ANSWER]
['Q6483544', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?q WHERE { resource:Q6483544 property:P172 ?q . ?q rdf:type ontology:Q2472587 }
Serbs
Lance Sijan belongs to Serbs
Serbs
action filter_type
action find
entity Lance Sijan
relation ethnic group
type people
['Lance Sijan', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?q WHERE { resource:Lance_Sijan property:ethnic_group ?q . ?q rdf:type ontology:people }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6483544
P20
Q178706
USER
Where did the expiration of Lance Sijan occur ?
(Q6483544,P20,c(Q178706))
action filter_type
action find
entity Q6483544
relation P20
type Q178706
['Q6483544', 'P20', {'concept': 'Q178706'}]
SELECT DISTINCT ?i WHERE { resource:Q6483544 property:P20 ?i . ?i rdf:type ontology:Q178706 }
Lance Sijan
action filter_type
action find
entity Lance Sijan
relation place of death
type institution
['Lance Sijan', 'place of death', {'concept': 'institution'}]
SELECT DISTINCT ?i WHERE { resource:Lance_Sijan property:place_of_death ?i . ?i rdf:type ontology:institution }
[]
institution
Q1359941
SYSTEM
Hỏa Lò Prison
Q1359941
(Q6483544,P20,c(Q178706))
action filter_type
action find
entity Q6483544
relation P20
type Q178706
The expiration of Lance Sijan occurred at [ANSWER]
['Q6483544', 'P20', {'concept': 'Q178706'}]
SELECT DISTINCT ?i WHERE { resource:Q6483544 property:P20 ?i . ?i rdf:type ontology:Q178706 }
Hỏa Lò Prison
The expiration of Lance Sijan occurred at Hỏa Lò Prison
Hỏa Lò Prison
action filter_type
action find
entity Lance Sijan
relation place of death
type institution
['Lance Sijan', 'place of death', {'concept': 'institution'}]
SELECT DISTINCT ?i WHERE { resource:Lance_Sijan property:place_of_death ?i . ?i rdf:type ontology:institution }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6483544
P166
Q618779
USER
Which awards were received by that person ?
(Q1359941,P166,c(Q618779))
action filter_type
action find
entity Q6483544
relation P166
type Q618779
['Q1359941', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?o WHERE { resource:Q6483544 property:P166 ?o . ?o rdf:type ontology:Q618779 }
Lance Sijan
action filter_type
action find
entity Lance Sijan
relation award received
type award
['Hỏa Lò Prison', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?o WHERE { resource:Lance_Sijan property:award_received ?o . ?o rdf:type ontology:award }
[]
award
Q145752 Q203535
SYSTEM
Purple Heart, Medal of Honor
Q145752 Q203535
(Q1359941,P166,c(Q618779))
action filter_type
action find
entity Q6483544
relation P166
type Q618779
Who [ANSWERS] were received by that person
['Q1359941', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?o WHERE { resource:Q6483544 property:P166 ?o . ?o rdf:type ontology:Q618779 }
Purple Heart Medal of Honor
Who Purple Heart and Medal of Honor were received by that person
Purple Heart Medal of Honor
action filter_type
action find
entity Lance Sijan
relation award received
type award
['Hỏa Lò Prison', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?o WHERE { resource:Lance_Sijan property:award_received ?o . ?o rdf:type ontology:award }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q22284435 Q6483544
P27 P17
Q15617994
USER
Which administrative territories are the countries of citizenship of Lance Sijan or are Pogled situated in ?
OR((Q6483544,P27,c(Q15617994)), (Q22284435,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q6483544
relation P27
action find
entity Q22284435
relation P17
type Q15617994
{'OR': [['Q6483544', 'P27', {'concept': 'Q15617994'}], ['Q22284435', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q6483544 property:P27 ?m } UNION { resource:Q22284435 property:P17 ?m } } . ?m rdf:type ontology:Q15617994 }
Pogled Lance Sijan
action filter_type
action union
action find
entity Lance Sijan
relation country of citizenship
action find
entity Pogled
relation country
type designation for an administrative territorial entity
{'OR': [['Lance Sijan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Pogled', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Lance_Sijan property:country_of_citizenship ?m } UNION { resource:Pogled property:country ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q403 Q30
SYSTEM
Serbia, United States of America
Q403 Q30
OR((Q6483544,P27,c(Q15617994)), (Q22284435,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q6483544
relation P27
action find
entity Q22284435
relation P17
type Q15617994
[ANSWERS] are the countries of citizenship of Lance Sijan or are Pogled situated in
{'OR': [['Q6483544', 'P27', {'concept': 'Q15617994'}], ['Q22284435', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q6483544 property:P27 ?m } UNION { resource:Q22284435 property:P17 ?m } } . ?m rdf:type ontology:Q15617994 }
Serbia United States of America
Serbia and United States of America are the countries of citizenship of Lance Sijan or are Pogled situated in
Serbia United States of America
action filter_type
action union
action find
entity Lance Sijan
relation country of citizenship
action find
entity Pogled
relation country
type designation for an administrative territorial entity
{'OR': [['Lance Sijan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Pogled', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Lance_Sijan property:country_of_citizenship ?m } UNION { resource:Pogled property:country ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q32
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relationships with approximately the same number of administrative territories as Luxembourg ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q32
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?a ) AS ?f ) WHERE { ?a property:P530 ?o . ?o rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15617994 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { resource:Q32 property:P530 ?c . ?c rdf:type ontology:Q15617994 } } . FILTER ( ?f = ?u ) }
Luxembourg
action count
action approx
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 Luxembourg
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 ( COUNT ( ?o ) AS ?n ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?a ) AS ?f ) WHERE { ?a property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { resource:Luxembourg property:diplomatic_relation ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?f = ?u ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
158
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 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 approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q32
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?a ) AS ?f ) WHERE { ?a property:P530 ?o . ?o rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15617994 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { resource:Q32 property:P530 ?c . ?c rdf:type ontology:Q15617994 } } . FILTER ( ?f = ?u ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria 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
158
action count
action approx
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 Luxembourg
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 ( COUNT ( ?o ) AS ?n ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?a ) AS ?f ) WHERE { ?a property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { resource:Luxembourg property:diplomatic_relation ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?f = ?u ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q804
P530
Q15617994 Q15617994
USER
And what about Panama?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q804
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?j ) AS ?t ) WHERE { ?j property:P530 ?d . ?d rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { resource:Q804 property:P530 ?o . ?o rdf:type ontology:Q15617994 } } . FILTER ( ?t = ?h ) }
Panama
action count
action approx
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 Panama
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 ( COUNT ( ?d ) AS ?q ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?j ) AS ?t ) WHERE { ?j property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { resource:Panama property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?t = ?h ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
151
Q702 Q804 Q800 Q419 Q414 Q55 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q657 Q258 Q45 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 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 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q804
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?j ) AS ?t ) WHERE { ?j property:P530 ?d . ?d rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { resource:Q804 property:P530 ?o . ?o rdf:type ontology:Q15617994 } } . FILTER ( ?t = ?h ) }
Federated States of Micronesia Panama Costa Rica Peru Argentina Netherlands Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Chad South Africa Portugal 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 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 Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Togo Tonga Spain New Caledonia Thailand Zambia
151
action count
action approx
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 Panama
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 ( COUNT ( ?d ) AS ?q ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?j ) AS ?t ) WHERE { ?j property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { resource:Panama property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?t = ?h ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P710
Q1190554
USER
Which events did United States of America participate in ?
(c(Q1190554),P710,Q30)
action filter_type
action find_reverse
entity Q30
relation P710
type Q1190554
[{'concept': 'Q1190554'}, 'P710', 'Q30']
SELECT DISTINCT ?v WHERE { ?v property:P710 resource:Q30 . ?v rdf:type ontology:Q1190554 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation participant
type event
[{'concept': 'event'}, 'participant', 'United States of America']
SELECT DISTINCT ?v WHERE { ?v property:participant resource:United_States_of_America . ?v rdf:type ontology:event }
[]
event
Q218678 Q16470 Q750567
SYSTEM
North African Campaign, Normandy landings, Spring Offensive
Q4871186 Q4872216 Q3354826 Q4872357 Q4870748 Q4870881 Q3636553 Q218678 Q1402530 Q714223 Q504347 Q1634629 Q610048 Q2237268 Q1063735 Q1141380 Q856168 Q327052 Q128160 Q2889960 Q2888379 Q4871421 Q609030 Q1934591 Q2026308 Q16470 Q4870165 Q750567 Q1638488 Q214456 Q2888122 Q4872463 Q41894 Q22894201 Q3636251
(c(Q1190554),P710,Q30)
action filter_type
action find_reverse
entity Q30
relation P710
type Q1190554
United States of America participated in [ANSWERS]
[{'concept': 'Q1190554'}, 'P710', 'Q30']
SELECT DISTINCT ?v WHERE { ?v property:P710 resource:Q30 . ?v rdf:type ontology:Q1190554 }
Battle of Hampden Battle of Rumaila Operation Red Wings Battle of Setauket Battle of Cieneguilla Battle of Do Ab Battle of Norfolk North African Campaign Battle of 73 Easting Battle for Brest Battle of the Philippine Sea Battle of Medina Ridge Battle of Balikpapan Battle of Umm Qasr Second Battle of the Somme Battle of Wake Island Pastry War Battle of Aachen Cuban Missile Crisis Battle of Shewan Battle of Dahaneh Battle of Khaz Oruzgan Battle of Peleliu Battle of North Borneo Operation Praying Mantis Normandy landings Battle for Jalibah Airfield Spring Offensive Battle of Monmouth Philippine–American War Battle of Basra Battle of Sunset Pass Battle of New Orleans Al-Shaddadi offensive (2016) Battle of Wadi Al-Batin
United States of America participated in North African Campaign, Normandy landings and Spring Offensive
North African Campaign Normandy landings Spring Offensive
action filter_type
action find_reverse
entity United States of America
relation participant
type event
[{'concept': 'event'}, 'participant', 'United States of America']
SELECT DISTINCT ?v WHERE { ?v property:participant resource:United_States_of_America . ?v rdf:type ontology:event }
[]
Clarification
Simple Question|Single Entity|Indirect
Q750567
P276
Q15617994
USER
Where can that event be found ?
(Q750567,P276,c(Q15617994))
action filter_type
action find
entity Q750567
relation P276
type Q15617994
['Q750567', 'P276', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . resource:Q750567 property:P276 ?s }
Spring Offensive
action filter_type
action find
entity Spring Offensive
relation location
type designation for an administrative territorial entity
['Spring Offensive', 'location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Spring_Offensive property:location ?s }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q750567
SYSTEM
Did you mean Spring Offensive ?
Q218678 Q16470 Q750567
(Q218678,P276,c(Q15617994)) (Q16470,P276,c(Q15617994)) (Q750567,P276,c(Q15617994))
[ANSWER]
['Q218678', 'P276', {'concept': 'Q15617994'}] ['Q16470', 'P276', {'concept': 'Q15617994'}] ['Q750567', 'P276', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . resource:Q750567 property:P276 ?s }
North African Campaign Normandy landings Spring Offensive
Did you mean Spring Offensive ?
Spring Offensive
['North African Campaign', 'location', {'concept': 'designation for an administrative territorial entity'}] ['Normandy landings', 'location', {'concept': 'designation for an administrative territorial entity'}] ['Spring Offensive', 'location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Spring_Offensive property:location ?s }
[]
Simple Question (Coreferenced)
USER
Yes
(Q750567,P276,c(Q15617994))
['Q750567', 'P276', {'concept': 'Q15617994'}]
['Spring Offensive', 'location', {'concept': 'designation for an administrative territorial entity'}]
[]
Q142 Q31
SYSTEM
France, Belgium
Q142 Q31
(Q750567,P276,c(Q15617994))
action filter_type
action find
entity Q750567
relation P276
type Q15617994
That event can be found in [ANSWERS]
['Q750567', 'P276', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . resource:Q750567 property:P276 ?s }
France Belgium
That event can be found in France and Belgium
France Belgium
action filter_type
action find
entity Spring Offensive
relation location
type designation for an administrative territorial entity
['Spring Offensive', 'location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Spring_Offensive property:location ?s }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q142 Q31
P30
Q2221906
USER
Which geographic locations are those administrative territories situated in ?
(Q142,P30,c(Q2221906)) (Q31,P30,c(Q2221906))
action filter_type
action find
entity prev_answer
relation P30
type Q2221906
['Q142', 'P30', {'concept': 'Q2221906'}] ['Q31', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?t WHERE { ?g property:P30 ?t . VALUES ( ?g ) { ( resource:Q142 ) ( resource:Q31 ) } . ?t rdf:type ontology:Q2221906 }
France Belgium
action filter_type
action find
entity prev_answer
relation continent
type geographic location
['France', 'continent', {'concept': 'geographic location'}] ['Belgium', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?t WHERE { ?g property:continent ?t . VALUES ( ?g ) { ( resource:France ) ( resource:Belgium ) } . ?t rdf:type ontology:geographic_location }
[]
geographic location
Q51 Q15 Q46
SYSTEM
Antarctica, Africa, Europe
Q46 Q15 Q51 Q828 Q538 Q46
(Q142,P30,c(Q2221906)) (Q31,P30,c(Q2221906))
action filter_type
action find
entity prev_answer
relation P30
type Q2221906
Those administrative territories are situated in [ANSWERS]
['Q142', 'P30', {'concept': 'Q2221906'}] ['Q31', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?t WHERE { ?g property:P30 ?t . VALUES ( ?g ) { ( resource:Q142 ) ( resource:Q31 ) } . ?t rdf:type ontology:Q2221906 }
Europe Africa Antarctica Americas Oceania Europe
Those administrative territories are situated in Antarctica, Africa and Europe
Antarctica Africa Europe
action filter_type
action find
entity prev_answer
relation continent
type geographic location
['France', 'continent', {'concept': 'geographic location'}] ['Belgium', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?t WHERE { ?g property:continent ?t . VALUES ( ?g ) { ( resource:France ) ( resource:Belgium ) } . ?t rdf:type ontology:geographic_location }
[]