Simple Question (Direct)
Simple Question
Q1550513
P607
Q350604
USER
What battle was Otto von Derenthal a part of ?
(Q1550513,P607,c(Q350604))
action filter_type
action find
entity Q1550513
relation P607
type Q350604
['Q1550513', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?k WHERE { resource:Q1550513 property:P607 ?k . ?k rdf:type ontology:Q350604 }
Otto von Derenthal
action filter_type
action find
entity Otto von Derenthal
relation conflict
type armed conflict
['Otto von Derenthal', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?k WHERE { resource:Otto_von_Derenthal property:conflict ?k . ?k rdf:type ontology:armed_conflict }
[]
armed conflict
Q46083
SYSTEM
Franco-Prussian war
Q46083
(Q1550513,P607,c(Q350604))
action filter_type
action find
entity Q1550513
relation P607
type Q350604
What battle was Otto von Derenthal a part of
['Q1550513', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?k WHERE { resource:Q1550513 property:P607 ?k . ?k rdf:type ontology:Q350604 }
Franco-Prussian war
What battle was Otto von Derenthal a part of
Franco-Prussian war
action filter_type
action find
entity Otto von Derenthal
relation conflict
type armed conflict
['Otto von Derenthal', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?k WHERE { resource:Otto_von_Derenthal property:conflict ?k . ?k rdf:type ontology:armed_conflict }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1550513
P106
Q12737077
USER
Which occupation is the profession of that person ?
(Q46083,P106,c(Q12737077))
action filter_type
action find
entity Q1550513
relation P106
type Q12737077
['Q46083', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q1550513 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
Otto von Derenthal
action filter_type
action find
entity Otto von Derenthal
relation occupation
type occupation
['Franco-Prussian war', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Otto_von_Derenthal property:occupation ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q189290
SYSTEM
officer
Q189290
(Q46083,P106,c(Q12737077))
action filter_type
action find
entity Q1550513
relation P106
type Q12737077
[ANSWER] is the profession of that person
['Q46083', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q1550513 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
officer
Officer is the profession of that person
officer
action filter_type
action find
entity Otto von Derenthal
relation occupation
type occupation
['Franco-Prussian war', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Otto_von_Derenthal property:occupation ?f . ?f rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1550513
P166
Q618779
USER
What was awarded to Otto von Derenthal ?
(Q1550513,P166,c(Q618779))
action filter_type
action find
entity Q1550513
relation P166
type Q618779
['Q1550513', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?u WHERE { resource:Q1550513 property:P166 ?u . ?u rdf:type ontology:Q618779 }
Otto von Derenthal
action filter_type
action find
entity Otto von Derenthal
relation award received
type award
['Otto von Derenthal', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?u WHERE { resource:Otto_von_Derenthal property:award_received ?u . ?u rdf:type ontology:award }
[]
award
Q18579585
SYSTEM
Order of the Red Eagle 1st Class
Q18579585
(Q1550513,P166,c(Q618779))
action filter_type
action find
entity Q1550513
relation P166
type Q618779
The [ANSWER] was awarded to Otto von Derenthal
['Q1550513', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?u WHERE { resource:Q1550513 property:P166 ?u . ?u rdf:type ontology:Q618779 }
Order of the Red Eagle 1st Class
The Order of the Red Eagle 1st Class was awarded to Otto von Derenthal
Order of the Red Eagle 1st Class
action filter_type
action find
entity Otto von Derenthal
relation award received
type award
['Otto von Derenthal', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?u WHERE { resource:Otto_von_Derenthal property:award_received ?u . ?u rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1550513
P20
Q515
USER
Where did Otto von Derenthal die ?
(Q1550513,P20,c(Q515))
action filter_type
action find
entity Q1550513
relation P20
type Q515
['Q1550513', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?g WHERE { resource:Q1550513 property:P20 ?g . ?g rdf:type ontology:Q515 }
Otto von Derenthal
action filter_type
action find
entity Otto von Derenthal
relation place of death
type city
['Otto von Derenthal', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?g WHERE { resource:Otto_von_Derenthal property:place_of_death ?g . ?g rdf:type ontology:city }
[]
city
Q3955
SYSTEM
Weimar
Q3955
(Q1550513,P20,c(Q515))
action filter_type
action find
entity Q1550513
relation P20
type Q515
Otto von Derenthal died in [ANSWER]
['Q1550513', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?g WHERE { resource:Q1550513 property:P20 ?g . ?g rdf:type ontology:Q515 }
Weimar
Otto von Derenthal died in Weimar
Weimar
action filter_type
action find
entity Otto von Derenthal
relation place of death
type city
['Otto von Derenthal', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?g WHERE { resource:Otto_von_Derenthal property:place_of_death ?g . ?g rdf:type ontology:city }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1040316
Q515
USER
And also tell me about Carl Rudolf Bohtz?
(Q1040316,P20,c(Q515))
action filter_type
action find
entity Q1040316
relation P20
type Q515
['Q1040316', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?z WHERE { resource:Q1040316 property:P20 ?z . ?z rdf:type ontology:Q515 }
Carl Rudolf Bohtz
action filter_type
action find
entity Carl Rudolf Bohtz
relation place of death
type city
['Carl Rudolf Bohtz', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?z WHERE { resource:Carl_Rudolf_Bohtz property:place_of_death ?z . ?z rdf:type ontology:city }
[]
city
Q1721
SYSTEM
Wiesbaden
Q1721
(Q1040316,P20,c(Q515))
action filter_type
action find
entity Q1040316
relation P20
type Q515
[ANSWER]
['Q1040316', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?z WHERE { resource:Q1040316 property:P20 ?z . ?z rdf:type ontology:Q515 }
Wiesbaden
Wiesbaden
action filter_type
action find
entity Carl Rudolf Bohtz
relation place of death
type city
['Carl Rudolf Bohtz', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?z WHERE { resource:Carl_Rudolf_Bohtz property:place_of_death ?z . ?z rdf:type ontology:city }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1721 Q4111702 Q4522137
P17
Q1048835
USER
Is that city situated in Vynohradnyi Yar and Shevchenko ?
(Q1721,P17,Q4111702) (Q1721,P17,Q4522137)
action is_in
entity Q1721
action intersection
action find_reverse
entity Q4111702
relation P17
action find_reverse
entity Q4522137
relation P17
['Q1721', 'P17', 'Q4111702'] ['Q1721', 'P17', 'Q4522137']
ASK WHERE { resource:Q1721 property:P17 resource:Q4111702 . resource:Q1721 property:P17 resource:Q4522137 }
Wiesbaden Vynohradnyi Yar Shevchenko
action is_in
entity Wiesbaden
action intersection
action find_reverse
entity Vynohradnyi Yar
relation country
action find_reverse
entity Shevchenko
relation country
['Wiesbaden', 'country', 'Vynohradnyi Yar'] ['Wiesbaden', 'country', 'Shevchenko']
ASK WHERE { resource:Wiesbaden property:country resource:Vynohradnyi_Yar . resource:Wiesbaden property:country resource:Shevchenko }
[]
political territorial entity
SYSTEM
NO
(Q1721,P17,Q4111702) (Q1721,P17,Q4522137)
action is_in
entity Q1721
action intersection
action find_reverse
entity Q4111702
relation P17
action find_reverse
entity Q4522137
relation P17
[ANSWER]
['Q1721', 'P17', 'Q4111702'] ['Q1721', 'P17', 'Q4522137']
ASK WHERE { resource:Q1721 property:P17 resource:Q4111702 . resource:Q1721 property:P17 resource:Q4522137 }
No
action is_in
entity Wiesbaden
action intersection
action find_reverse
entity Vynohradnyi Yar
relation country
action find_reverse
entity Shevchenko
relation country
['Wiesbaden', 'country', 'Vynohradnyi Yar'] ['Wiesbaden', 'country', 'Shevchenko']
ASK WHERE { resource:Wiesbaden property:country resource:Vynohradnyi_Yar . resource:Wiesbaden property:country resource:Shevchenko }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1550513 Q6317672 Q1630828
P27
Q1048835
USER
Is Otto von Derenthal a native of Ayabaca District and Valencia del Ventoso ?
(Q1550513,P27,Q6317672) (Q1550513,P27,Q1630828)
action is_in
entity Q1550513
action intersection
action find_reverse
entity Q6317672
relation P27
action find_reverse
entity Q1630828
relation P27
['Q1550513', 'P27', 'Q6317672'] ['Q1550513', 'P27', 'Q1630828']
ASK WHERE { resource:Q1550513 property:P27 resource:Q6317672 . resource:Q1550513 property:P27 resource:Q1630828 }
Otto von Derenthal Ayabaca District Valencia del Ventoso
action is_in
entity Otto von Derenthal
action intersection
action find_reverse
entity Ayabaca District
relation country of citizenship
action find_reverse
entity Valencia del Ventoso
relation country of citizenship
['Otto von Derenthal', 'country of citizenship', 'Ayabaca District'] ['Otto von Derenthal', 'country of citizenship', 'Valencia del Ventoso']
ASK WHERE { resource:Otto_von_Derenthal property:country_of_citizenship resource:Ayabaca_District . resource:Otto_von_Derenthal property:country_of_citizenship resource:Valencia_del_Ventoso }
[]
political territorial entity
SYSTEM
NO
(Q1550513,P27,Q6317672) (Q1550513,P27,Q1630828)
action is_in
entity Q1550513
action intersection
action find_reverse
entity Q6317672
relation P27
action find_reverse
entity Q1630828
relation P27
[ANSWER]
['Q1550513', 'P27', 'Q6317672'] ['Q1550513', 'P27', 'Q1630828']
ASK WHERE { resource:Q1550513 property:P27 resource:Q6317672 . resource:Q1550513 property:P27 resource:Q1630828 }
No
action is_in
entity Otto von Derenthal
action intersection
action find_reverse
entity Ayabaca District
relation country of citizenship
action find_reverse
entity Valencia del Ventoso
relation country of citizenship
['Otto von Derenthal', 'country of citizenship', 'Ayabaca District'] ['Otto von Derenthal', 'country of citizenship', 'Valencia del Ventoso']
ASK WHERE { resource:Otto_von_Derenthal property:country_of_citizenship resource:Ayabaca_District . resource:Otto_von_Derenthal property:country_of_citizenship resource:Valencia_del_Ventoso }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q427703
P1376
Q7275 Q515
USER
Which states have greater number of cities have their center of administration than Free State of Schaumburg-Lippe ?
(c(Q515),P1376,c(Q7275))
action greater
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q515
action count
action filter_type
action find
entity Q427703
relation P1376
type Q7275
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { ?f rdf:type ontology:Q7275 . resource:Q427703 property:P1376 ?f } } . FILTER ( ?q > ?h ) . { SELECT DISTINCT ?t ( COUNT ( ?x ) AS ?q ) WHERE { ?x property:P1376 ?t . ?t rdf:type ontology:Q7275 . ?x rdf:type ontology:Q515 } GROUP BY ?t } }
Free State of Schaumburg-Lippe
action greater
action find_reverse_tuple_counts
relation capital of
type state
type city
action count
action filter_type
action find
entity Free State of Schaumburg-Lippe
relation capital of
type state
[{'concept': 'city'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { ?f rdf:type ontology:state . resource:Free_State_of_Schaumburg-Lippe property:capital_of ?f } } . FILTER ( ?q > ?h ) . { SELECT DISTINCT ?t ( COUNT ( ?x ) AS ?q ) WHERE { ?x property:capital_of ?t . ?t rdf:type ontology:state . ?x rdf:type ontology:city } GROUP BY ?t } }
[]
state city
Q133356 Q213586 Q15864
SYSTEM
Ukrainian Soviet Socialist Republic, Gondor, United Kingdom of the Netherlands
Q178665 Q18285930 Q855044 Q210198 Q133356 Q215530 Q912043 Q203493 Q1574107 Q15864 Q698089 Q210542 Q2114397 Q220110 Q1414395 Q756895 Q49697 Q6500954 Q274488 Q476757 Q1274468 Q234197 Q1108445 Q153080 Q1154540 Q550374 Q19831559 Q1048918 Q783489 Q618399 Q180573 Q216786 Q752662 Q1668970 Q320930 Q849623 Q139670 Q1138904 Q7352 Q9903 Q941881 Q38060 Q844250 Q738144 Q207521 Q1658411 Q157734 Q1415585 Q146328 Q1508143 Q940821 Q248572 Q697084 Q213586 Q11196 Q146713 Q427941 Q697837 Q747314 Q307069 Q28278 Q62454 Q1192067 Q2372248 Q505503 Q153015 Q846670 Q696242 Q1479726 Q467864 Q212056 Q13426199 Q3041595 Q484104 Q648297 Q149805
(c(Q515),P1376,c(Q7275))
action greater
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q515
action count
action filter_type
action find
entity Q427703
relation P1376
type Q7275
[ANSWERS] have greater number of cities have their center of administration than Free State of Schaumburg-Lippe
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { ?f rdf:type ontology:Q7275 . resource:Q427703 property:P1376 ?f } } . FILTER ( ?q > ?h ) . { SELECT DISTINCT ?t ( COUNT ( ?x ) AS ?q ) WHERE { ?x property:P1376 ?t . ?t rdf:type ontology:Q7275 . ?x rdf:type ontology:Q515 } GROUP BY ?t } }
Mitanni German Empire of 1848/1849 Bhopal State Erivan Khanate Ukrainian Soviet Socialist Republic Kingdom of Ireland Jin Kingdom of Romania Han Zhao United Kingdom of the Netherlands Grand Duchy of Würzburg Second Brazilian Republic Yogyakarta Sultanate Rohan Republic of South Maluku Kediri Liu Song dynasty Zaire Eastern Wu Democratic Republic of Afghanistan Republic of Bosnia and Herzegovina Srivijaya Kievan Rus' East Francia Later Jin Dynasty South African Republic Oldenburg Suebic Kingdom of Galicia Later Liang dynasty Republic of the Congo South Vietnam Champa Hafsid dynasty Western Qin Cao Wei Oyo Empire Democratic Republic of Armenia Kingdom of Afghanistan Jin dynasty Ming imperium Netherlands New Guinea Gaul Lordship of Ireland United Provinces of the Río de la Plata Abyssinia Kingdom of Sarawak Muscat and Oman Islamic State of Afghanistan Commonwealth of the Philippines Ukrainian State People's Democratic Republic of Ethiopia Sultanate of Maguindanao Duchy of Oldenburg Gondor Republika Srpska Arab Federation Islamic Emirate of Afghanistan Mengjiang Bechuanaland Protectorate Eastern Wei Provisional Government of the Republic of Korea Chen dynasty Min Free State of Oldenburg Cochinchina Kingdom of Saxony Danishmends Reorganized National Government of China Federation of Malaya People's Socialist Republic of Albania Mongolian People's Republic Republic of China Republic of Iraq United States Army Military Government in Korea Free State of Brunswick Kingdom of Iraq
Ukrainian Soviet Socialist Republic, Gondor and United Kingdom of the Netherlands have greater number of cities have their center of administration than Free State of Schaumburg-Lippe
Ukrainian Soviet Socialist Republic Gondor United Kingdom of the Netherlands
action greater
action find_reverse_tuple_counts
relation capital of
type state
type city
action count
action filter_type
action find
entity Free State of Schaumburg-Lippe
relation capital of
type state
[{'concept': 'city'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { ?f rdf:type ontology:state . resource:Free_State_of_Schaumburg-Lippe property:capital_of ?f } } . FILTER ( ?q > ?h ) . { SELECT DISTINCT ?t ( COUNT ( ?x ) AS ?q ) WHERE { ?x property:capital_of ?t . ?t rdf:type ontology:state . ?x rdf:type ontology:city } GROUP BY ?t } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q15864
P140
Q13414953
USER
Which religious denomination is the religion of that state ?
(Q15864,P140,c(Q13414953))
action filter_type
action find
entity Q15864
relation P140
type Q13414953
['Q15864', 'P140', {'concept': 'Q13414953'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q13414953 . resource:Q15864 property:P140 ?x }
United Kingdom of the Netherlands
action filter_type
action find
entity United Kingdom of the Netherlands
relation religion
type religious denomination
['United Kingdom of the Netherlands', 'religion', {'concept': 'religious denomination'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:religious_denomination . resource:United_Kingdom_of_the_Netherlands property:religion ?x }
[]
religious denomination
Clarification for simple ques.
Q213586
SYSTEM
Did you mean Gondor ?
Q133356 Q213586 Q15864
(Q133356,P140,c(Q13414953)) (Q213586,P140,c(Q13414953)) (Q15864,P140,c(Q13414953))
[ANSWER]
['Q133356', 'P140', {'concept': 'Q13414953'}] ['Q213586', 'P140', {'concept': 'Q13414953'}] ['Q15864', 'P140', {'concept': 'Q13414953'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q13414953 . resource:Q15864 property:P140 ?x }
Ukrainian Soviet Socialist Republic Gondor United Kingdom of the Netherlands
Did you mean Gondor ?
Gondor
['Ukrainian Soviet Socialist Republic', 'religion', {'concept': 'religious denomination'}] ['Gondor', 'religion', {'concept': 'religious denomination'}] ['United Kingdom of the Netherlands', 'religion', {'concept': 'religious denomination'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:religious_denomination . resource:United_Kingdom_of_the_Netherlands property:religion ?x }
[]
Simple Question (Coreferenced)
USER
No, I meant United Kingdom of the Netherlands. Could you tell me the answer for that?
(Q15864,P140,c(Q13414953))
Q15864
['Q15864', 'P140', {'concept': 'Q13414953'}]
['United Kingdom of the Netherlands', 'religion', {'concept': 'religious denomination'}]
[]
Q515880
SYSTEM
Dutch Reformed Church
Q515880
(Q15864,P140,c(Q13414953))
action filter_type
action find
entity Q15864
relation P140
type Q13414953
[ANSWER] is the religion of that state
['Q15864', 'P140', {'concept': 'Q13414953'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q13414953 . resource:Q15864 property:P140 ?x }
Dutch Reformed Church
Dutch Reformed Church is the religion of that state
Dutch Reformed Church
action filter_type
action find
entity United Kingdom of the Netherlands
relation religion
type religious denomination
['United Kingdom of the Netherlands', 'religion', {'concept': 'religious denomination'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:religious_denomination . resource:United_Kingdom_of_the_Netherlands property:religion ?x }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3955
P740
Q484652
USER
Which international organization was formed at Weimar ?
(c(Q484652),P740,Q3955)
action filter_type
action find_reverse
entity Q3955
relation P740
type Q484652
[{'concept': 'Q484652'}, 'P740', 'Q3955']
SELECT DISTINCT ?p WHERE { ?p property:P740 resource:Q3955 . ?p rdf:type ontology:Q484652 }
Weimar
action filter_type
action find_reverse
entity Weimar
relation location of formation
type international organization
[{'concept': 'international organization'}, 'location of formation', 'Weimar']
SELECT DISTINCT ?p WHERE { ?p property:location_of_formation resource:Weimar . ?p rdf:type ontology:international_organization }
[]
international organization
Q566397
SYSTEM
Weimar Triangle
Q566397
(c(Q484652),P740,Q3955)
action filter_type
action find_reverse
entity Q3955
relation P740
type Q484652
In [ANSWER] was formed at Weimar
[{'concept': 'Q484652'}, 'P740', 'Q3955']
SELECT DISTINCT ?p WHERE { ?p property:P740 resource:Q3955 . ?p rdf:type ontology:Q484652 }
Weimar Triangle
In Weimar Triangle was formed at Weimar
Weimar Triangle
action filter_type
action find_reverse
entity Weimar
relation location of formation
type international organization
[{'concept': 'international organization'}, 'location of formation', 'Weimar']
SELECT DISTINCT ?p WHERE { ?p property:location_of_formation resource:Weimar . ?p rdf:type ontology:international_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15864
P710
Q1190554
USER
Which event has United Kingdom of the Netherlands as its participant ?
(c(Q1190554),P710,Q15864)
action filter_type
action find_reverse
entity Q15864
relation P710
type Q1190554
[{'concept': 'Q1190554'}, 'P710', 'Q15864']
SELECT DISTINCT ?q WHERE { ?q property:P710 resource:Q15864 . ?q rdf:type ontology:Q1190554 }
United Kingdom of the Netherlands
action filter_type
action find_reverse
entity United Kingdom of the Netherlands
relation participant
type event
[{'concept': 'event'}, 'participant', 'United Kingdom of the Netherlands']
SELECT DISTINCT ?q WHERE { ?q property:participant resource:United_Kingdom_of_the_Netherlands . ?q rdf:type ontology:event }
[]
event
Q48314
SYSTEM
Battle of Waterloo
Q48314
(c(Q1190554),P710,Q15864)
action filter_type
action find_reverse
entity Q15864
relation P710
type Q1190554
[ANSWER] has United Kingdom of the Netherlands as its participant
[{'concept': 'Q1190554'}, 'P710', 'Q15864']
SELECT DISTINCT ?q WHERE { ?q property:P710 resource:Q15864 . ?q rdf:type ontology:Q1190554 }
Battle of Waterloo
Battle of Waterloo has United Kingdom of the Netherlands as its participant
Battle of Waterloo
action filter_type
action find_reverse
entity United Kingdom of the Netherlands
relation participant
type event
[{'concept': 'event'}, 'participant', 'United Kingdom of the Netherlands']
SELECT DISTINCT ?q WHERE { ?q property:participant resource:United_Kingdom_of_the_Netherlands . ?q rdf:type ontology:event }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q48314
P361
Q1190554
USER
What is that one a part of ?
(Q48314,P361,c(Q1190554))
action filter_type
action find
entity Q48314
relation P361
type Q1190554
['Q48314', 'P361', {'concept': 'Q1190554'}]
SELECT DISTINCT ?x WHERE { resource:Q48314 property:P361 ?x . ?x rdf:type ontology:Q1190554 }
Battle of Waterloo
action filter_type
action find
entity Battle of Waterloo
relation part of
type event
['Battle of Waterloo', 'part of', {'concept': 'event'}]
SELECT DISTINCT ?x WHERE { resource:Battle_of_Waterloo property:part_of ?x . ?x rdf:type ontology:event }
[]
event
Q78994
SYSTEM
Napoleonic Wars
Q78994
(Q48314,P361,c(Q1190554))
action filter_type
action find
entity Q48314
relation P361
type Q1190554
That one a part of is the [ANSWER]
['Q48314', 'P361', {'concept': 'Q1190554'}]
SELECT DISTINCT ?x WHERE { resource:Q48314 property:P361 ?x . ?x rdf:type ontology:Q1190554 }
Napoleonic Wars
That one a part of is the Napoleonic Wars
Napoleonic Wars
action filter_type
action find
entity Battle of Waterloo
relation part of
type event
['Battle of Waterloo', 'part of', {'concept': 'event'}]
SELECT DISTINCT ?x WHERE { resource:Battle_of_Waterloo property:part_of ?x . ?x rdf:type ontology:event }
[]