Simple Question (Direct)
Simple Question
Q7358332
P21
Q290
USER
What is the sex of Roger Heywood ?
(Q7358332,P21,c(Q290))
action filter_type
action find
entity Q7358332
relation P21
type Q290
['Q7358332', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q7358332 property:P21 ?w . ?w rdf:type ontology:Q290 }
Roger Heywood
action filter_type
action find
entity Roger Heywood
relation gender
type sex
['Roger Heywood', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Roger_Heywood property:gender ?w . ?w rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q7358332,P21,c(Q290))
action filter_type
action find
entity Q7358332
relation P21
type Q290
The sex of Roger Heywood is a [ANSWER]
['Q7358332', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q7358332 property:P21 ?w . ?w rdf:type ontology:Q290 }
male
The sex of Roger Heywood is a male
male
action filter_type
action find
entity Roger Heywood
relation gender
type sex
['Roger Heywood', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Roger_Heywood property:gender ?w . ?w rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7358332
P27
Q15617994
USER
Which administrative territory is Roger Heywood a civilian of ?
(Q7358332,P27,c(Q15617994))
action filter_type
action find
entity Q7358332
relation P27
type Q15617994
['Q7358332', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q7358332 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
Roger Heywood
action filter_type
action find
entity Roger Heywood
relation country of citizenship
type designation for an administrative territorial entity
['Roger Heywood', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Roger_Heywood property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q7358332,P27,c(Q15617994))
action filter_type
action find
entity Q7358332
relation P27
type Q15617994
The [ANSWER] is Roger Heywood a civilian of
['Q7358332', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q7358332 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
United Kingdom
The United Kingdom is Roger Heywood a civilian of
United Kingdom
action filter_type
action find
entity Roger Heywood
relation country of citizenship
type designation for an administrative territorial entity
['Roger Heywood', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Roger_Heywood property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q145
P710
Q178561
USER
What event did that administrative territory particiate in ?
(c(Q178561),P710,Q145)
action filter_type
action find_reverse
entity Q145
relation P710
type Q178561
[{'concept': 'Q178561'}, 'P710', 'Q145']
SELECT DISTINCT ?e WHERE { ?e property:P710 resource:Q145 . ?e rdf:type ontology:Q178561 }
United Kingdom
action filter_type
action find_reverse
entity United Kingdom
relation participant
type battle
[{'concept': 'battle'}, 'participant', 'United Kingdom']
SELECT DISTINCT ?e WHERE { ?e property:participant resource:United_Kingdom . ?e rdf:type ontology:battle }
[]
battle
Q2887830 Q238440
SYSTEM
Battle of Alvøen, Battle of Navarino
Q2887830 Q238440
(c(Q178561),P710,Q145)
action filter_type
action find_reverse
entity Q145
relation P710
type Q178561
That administrative territory particiated in [ANSWERS]
[{'concept': 'Q178561'}, 'P710', 'Q145']
SELECT DISTINCT ?e WHERE { ?e property:P710 resource:Q145 . ?e rdf:type ontology:Q178561 }
Battle of Alvøen Battle of Navarino
That administrative territory particiated in Battle of Alvøen and Battle of Navarino
Battle of Alvøen Battle of Navarino
action filter_type
action find_reverse
entity United Kingdom
relation participant
type battle
[{'concept': 'battle'}, 'participant', 'United Kingdom']
SELECT DISTINCT ?e WHERE { ?e property:participant resource:United_Kingdom . ?e rdf:type ontology:battle }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2887830
P361
Q350604
USER
What is that battle a portion of ?
(Q2887830,P361,c(Q350604))
action filter_type
action find
entity Q2887830
relation P361
type Q350604
['Q2887830', 'P361', {'concept': 'Q350604'}]
SELECT DISTINCT ?r WHERE { resource:Q2887830 property:P361 ?r . ?r rdf:type ontology:Q350604 }
Battle of Alvøen
action filter_type
action find
entity Battle of Alvøen
relation part of
type armed conflict
['Battle of Alvøen', 'part of', {'concept': 'armed conflict'}]
SELECT DISTINCT ?r WHERE { resource:Battle_of_Alvøen property:part_of ?r . ?r rdf:type ontology:armed_conflict }
[]
armed conflict
Clarification for simple ques.
Q2887830
SYSTEM
Did you mean Battle of Alvøen ?
Q2887830 Q238440
(Q2887830,P361,c(Q350604)) (Q238440,P361,c(Q350604))
[ANSWER]
['Q2887830', 'P361', {'concept': 'Q350604'}] ['Q238440', 'P361', {'concept': 'Q350604'}]
SELECT DISTINCT ?r WHERE { resource:Q2887830 property:P361 ?r . ?r rdf:type ontology:Q350604 }
Battle of Alvøen Battle of Navarino
Did you mean Battle of Alvøen ?
Battle of Alvøen
['Battle of Alvøen', 'part of', {'concept': 'armed conflict'}] ['Battle of Navarino', 'part of', {'concept': 'armed conflict'}]
SELECT DISTINCT ?r WHERE { resource:Battle_of_Alvøen property:part_of ?r . ?r rdf:type ontology:armed_conflict }
[]
Simple Question (Coreferenced)
USER
Yes
(Q2887830,P361,c(Q350604))
['Q2887830', 'P361', {'concept': 'Q350604'}]
['Battle of Alvøen', 'part of', {'concept': 'armed conflict'}]
[]
Q426201
SYSTEM
Gunboat War
Q426201
(Q2887830,P361,c(Q350604))
action filter_type
action find
entity Q2887830
relation P361
type Q350604
That battle a portion of is in [ANSWER]
['Q2887830', 'P361', {'concept': 'Q350604'}]
SELECT DISTINCT ?r WHERE { resource:Q2887830 property:P361 ?r . ?r rdf:type ontology:Q350604 }
Gunboat War
That battle a portion of is in Gunboat War
Gunboat War
action filter_type
action find
entity Battle of Alvøen
relation part of
type armed conflict
['Battle of Alvøen', 'part of', {'concept': 'armed conflict'}]
SELECT DISTINCT ?r WHERE { resource:Battle_of_Alvøen property:part_of ?r . ?r rdf:type ontology:armed_conflict }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q426201
P607
Q502895
USER
Which people were that armed conflict a part of ?
(c(Q502895),P607,Q426201)
action filter_type
action find_reverse
entity Q426201
relation P607
type Q502895
[{'concept': 'Q502895'}, 'P607', 'Q426201']
SELECT DISTINCT ?a WHERE { ?a property:P607 resource:Q426201 . ?a rdf:type ontology:Q502895 }
Gunboat War
action filter_type
action find_reverse
entity Gunboat War
relation conflict
type common name
[{'concept': 'common name'}, 'conflict', 'Gunboat War']
SELECT DISTINCT ?a WHERE { ?a property:conflict resource:Gunboat_War . ?a rdf:type ontology:common_name }
[]
common name
Q5344626 Q6321462 Q679886
SYSTEM
Edward Nicolls, Jørgen Conrad de Falsen, George Edmund Byron Bettesworth
Q5344626 Q679886 Q6321462 Q3183818
(c(Q502895),P607,Q426201)
action filter_type
action find_reverse
entity Q426201
relation P607
type Q502895
[ANSWERS] were that armed conflict a part of
[{'concept': 'Q502895'}, 'P607', 'Q426201']
SELECT DISTINCT ?a WHERE { ?a property:P607 resource:Q426201 . ?a rdf:type ontology:Q502895 }
Edward Nicolls George Edmund Byron Bettesworth Jørgen Conrad de Falsen Hans Peter Holm
Edward Nicolls, Jørgen Conrad de Falsen and George Edmund Byron Bettesworth were that armed conflict a part of
Edward Nicolls Jørgen Conrad de Falsen George Edmund Byron Bettesworth
action filter_type
action find_reverse
entity Gunboat War
relation conflict
type common name
[{'concept': 'common name'}, 'conflict', 'Gunboat War']
SELECT DISTINCT ?a WHERE { ?a property:conflict resource:Gunboat_War . ?a rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q577081
P361
Q350604 Q198 Q178561
USER
Which battles are parts of less number of armed conflicts or wars than Battle of Camperdown ?
(c(Q178561),P361,c(Q350604)|c(Q198))
action less
action union
action find_tuple_counts
relation P361
type Q178561
type Q350604
action find_tuple_counts
relation P361
type Q178561
type Q198
action count
action filter_multi_types
action find
entity Q577081
relation P361
type Q350604
type Q198
[{'concept': 'Q178561'}, 'P361', [{'concept': 'Q350604'}, {'concept': 'Q198'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?r ) AS ?x ) WHERE { VALUES ( ?j ) { ( ontology:Q350604 ) ( ontology:Q198 ) } . ?r rdf:type ?j } GROUP BY ?u } . FILTER ( ?x < ?d ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { resource:Q577081 property:P361 ?m . { { ?m rdf:type ontology:Q198 } UNION { ?m rdf:type ontology:Q350604 } } } } }
Battle of Camperdown
action less
action union
action find_tuple_counts
relation part of
type battle
type armed conflict
action find_tuple_counts
relation part of
type battle
type war
action count
action filter_multi_types
action find
entity Battle of Camperdown
relation part of
type armed conflict
type war
[{'concept': 'battle'}, 'part of', [{'concept': 'armed conflict'}, {'concept': 'war'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?r ) AS ?x ) WHERE { VALUES ( ?j ) { ( ontology:armed_conflict ) ( ontology:war ) } . ?r rdf:type ?j } GROUP BY ?u } . FILTER ( ?x < ?d ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { resource:Battle_of_Camperdown property:part_of ?m . { { ?m rdf:type ontology:war } UNION { ?m rdf:type ontology:armed_conflict } } } } }
[]
armed conflict war battle
Q957491 Q160387 Q238440
SYSTEM
Singeing the King of Spain's Beard, Battle of Actium, Battle of Navarino
Q2888502 Q2984988 Q734934 Q4870826 Q4870470 Q13414922 Q2092338 Q1389655 Q241110 Q3062432 Q3379096 Q1278576 Q4927230 Q4873063 Q4872056 Q944506 Q1054975 Q1343040 Q902181 Q331740 Q2473448 Q2063617 Q2064362 Q4677353 Q18326240 Q178850 Q160387 Q713529 Q2889681 Q1001479 Q2336452 Q1814863 Q1953346 Q2578358 Q24204942 Q243709 Q3378627 Q968676 Q19895511 Q19871523 Q835077 Q1781080 Q4872923 Q4090280 Q957491 Q2578430 Q3403845 Q19865266 Q2003416 Q2657874 Q1814482 Q238440 Q15262148 Q4871029 Q2601178 Q3796996 Q1814494 Q2724014 Q16058055 Q2984990 Q2431866 Q5977822 Q5452541 Q1362057 Q1291963 Q10130 Q3270927 Q4677225 Q4677281
(c(Q178561),P361,c(Q350604)|c(Q198))
action less
action union
action find_tuple_counts
relation P361
type Q178561
type Q350604
action find_tuple_counts
relation P361
type Q178561
type Q198
action count
action filter_multi_types
action find
entity Q577081
relation P361
type Q350604
type Q198
[ANSWERS] are parts of less number of armed conflicts or wars than Battle of Camperdown
[{'concept': 'Q178561'}, 'P361', [{'concept': 'Q350604'}, {'concept': 'Q198'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?r ) AS ?x ) WHERE { VALUES ( ?j ) { ( ontology:Q350604 ) ( ontology:Q198 ) } . ?r rdf:type ?j } GROUP BY ?u } . FILTER ( ?x < ?d ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { resource:Q577081 property:P361 ?m . { { ?m rdf:type ontology:Q198 } UNION { ?m rdf:type ontology:Q350604 } } } } }
Battle of Flamborough Head Battle of Cap de la Roque Four Days' Battle Battle of Cádiz Battle of Berlengas Islands Raid on Boulogne Battle of Swally Capture of the Rosily Squadron Battle of Cape Passaro Hudson Bay expedition Battle of Grönvikssund Battle of the Masts Blockade of Saint-Domingue Battle off Cape Palos Battle of Pirano St. James's Day Battle Battle of Preveza First Battle of Ushant Battle of Cape Ortegal Raid on the Medway Battle of Lissa Battle of the Gabbard Battle of Texel Action of 31 May 1809 Battle of the Bay of Biscay Battle of Salamis Battle of Actium Battle of the River Plate Battle of Sapienza Battle of Cape Finisterre Battle of Odessa Battle of Stromboli Battle of Cape Rachado Battle of Ushant (1781) Battle of Wilton Second Battle of Sirte Battle of Sandöström Battle of Dan-no-ura Battle of Jobourg Action of 24 March 1811 Battle of Vistula Lagoon Battle of Cape Spartel Battle of the Gulf of Oman Battle of Ushant (1782) Singeing the King of Spain's Beard Battle of Svensksund Capture of San Pietro and Sant'Antioco Battle of Edgar's Lane Battle of Portland Battle of Hogland Battle of Elba Battle of Navarino Newfoundland expedition Battle of Flores Battle of Negapatam SMS Viribus Unitis#Italian sabotage and sinking Battle of the Kentish Knock Battle of Texel Action of 28 June 1803 Action of 14 February 1795 Battle of Zierikzee Newfoundland expedition First Battle of Tripoli Harbor First battle of Schooneveld Battle of Lake Poyang Operation Harpoon Battle of Ushant (1944) Action of 10 February 1809 Action of 18 November 1809
Singeing the King of Spain's Beard, Battle of Actium and Battle of Navarino are parts of less number of armed conflicts or wars than Battle of Camperdown
Singeing the King of Spain's Beard Battle of Actium Battle of Navarino
action less
action union
action find_tuple_counts
relation part of
type battle
type armed conflict
action find_tuple_counts
relation part of
type battle
type war
action count
action filter_multi_types
action find
entity Battle of Camperdown
relation part of
type armed conflict
type war
[{'concept': 'battle'}, 'part of', [{'concept': 'armed conflict'}, {'concept': 'war'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?r ) AS ?x ) WHERE { VALUES ( ?j ) { ( ontology:armed_conflict ) ( ontology:war ) } . ?r rdf:type ?j } GROUP BY ?u } . FILTER ( ?x < ?d ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { resource:Battle_of_Camperdown property:part_of ?m . { { ?m rdf:type ontology:war } UNION { ?m rdf:type ontology:armed_conflict } } } } }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P361
Q1190554 Q350604 Q178561
USER
Which battles are a part of more number of events or armed conflicts than that battle ?
(c(Q178561),P361,c(Q1190554)|c(Q350604))
[{'concept': 'Q178561'}, 'P361', [{'concept': 'Q1190554'}, {'concept': 'Q350604'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:P361 ?y } UNION { ?z property:P361 ?x } } . ?z rdf:type ontology:Q178561 . ?y rdf:type ontology:Q5416694 . ?x rdf:type ontology:Q350604 }
[{'concept': 'battle'}, 'part of', [{'concept': 'event'}, {'concept': 'armed conflict'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:part_of ?y } UNION { ?z property:part_of ?x } } . ?z rdf:type ontology:battle . ?y rdf:type ontology:event . ?x rdf:type ontology:armed_conflict }
[]
event armed conflict battle
Comparative|More/Less|Mult. entity type|Clarification
Q160387
SYSTEM
Did you mean Battle of Actium ?
(c(Q178561),P361,c(Q1190554)|c(Q350604))
[ANSWER]
[{'concept': 'Q178561'}, 'P361', [{'concept': 'Q1190554'}, {'concept': 'Q350604'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:P361 ?y } UNION { ?z property:P361 ?x } } . ?z rdf:type ontology:Q178561 . ?y rdf:type ontology:Q5416694 . ?x rdf:type ontology:Q350604 }
Did you mean Battle of Actium ?
Battle of Actium
[{'concept': 'battle'}, 'part of', [{'concept': 'event'}, {'concept': 'armed conflict'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:part_of ?y } UNION { ?z property:part_of ?x } } . ?z rdf:type ontology:battle . ?y rdf:type ontology:event . ?x rdf:type ontology:armed_conflict }
[]
Comparative Reasoning (All)
USER
No, I meant Battle of Navarino. Could you tell me the answer for that?
(c(Q178561),P361,c(Q1190554)|c(Q350604))
Q238440
[{'concept': 'Q178561'}, 'P361', [{'concept': 'Q1190554'}, {'concept': 'Q350604'}]]
[{'concept': 'battle'}, 'part of', [{'concept': 'event'}, {'concept': 'armed conflict'}]]
[]
SYSTEM
4
Q1795012 Q145934 Q1362057 Q2171443
(c(Q178561),P361,c(Q1190554)|c(Q350604))
[ANSWER]
[{'concept': 'Q178561'}, 'P361', [{'concept': 'Q1190554'}, {'concept': 'Q350604'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:P361 ?y } UNION { ?z property:P361 ?x } } . ?z rdf:type ontology:Q178561 . ?y rdf:type ontology:Q5416694 . ?x rdf:type ontology:Q350604 }
Battle of Getaria English Armada First battle of Schooneveld Action of 1 January 1800
4
[{'concept': 'battle'}, 'part of', [{'concept': 'event'}, {'concept': 'armed conflict'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:part_of ?y } UNION { ?z property:part_of ?x } } . ?z rdf:type ontology:battle . ?y rdf:type ontology:event . ?x rdf:type ontology:armed_conflict }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q238440
P276
Q56061
USER
Which administrative territory is the place where Battle of Navarino is located ?
(Q238440,P276,c(Q56061))
action filter_type
action find
entity Q238440
relation P276
type Q56061
['Q238440', 'P276', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q238440 property:P276 ?k . ?k rdf:type ontology:Q56061 }
Battle of Navarino
action filter_type
action find
entity Battle of Navarino
relation location
type administrative territorial entity
['Battle of Navarino', 'location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Battle_of_Navarino property:location ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q7263152
SYSTEM
Pylos
Q7263152
(Q238440,P276,c(Q56061))
action filter_type
action find
entity Q238440
relation P276
type Q56061
[ANSWER] is the place where Battle of Navarino is located
['Q238440', 'P276', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q238440 property:P276 ?k . ?k rdf:type ontology:Q56061 }
Pylos
Pylos is the place where Battle of Navarino is located
Pylos
action filter_type
action find
entity Battle of Navarino
relation location
type administrative territorial entity
['Battle of Navarino', 'location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Battle_of_Navarino property:location ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7263152
P47
Q56061
USER
Which administrative territory shares border with that one ?
(c(Q56061),P47,Q7263152)
action filter_type
action find_reverse
entity Q7263152
relation P47
type Q56061
[{'concept': 'Q56061'}, 'P47', 'Q7263152']
SELECT DISTINCT ?u WHERE { ?u property:P47 resource:Q7263152 . ?u rdf:type ontology:Q56061 }
Pylos
action filter_type
action find_reverse
entity Pylos
relation shares border with
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Pylos']
SELECT DISTINCT ?u WHERE { ?u property:shares_border_with resource:Pylos . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q998805
SYSTEM
Methoni
Q998805
(c(Q56061),P47,Q7263152)
action filter_type
action find_reverse
entity Q7263152
relation P47
type Q56061
[ANSWER] shares border with that one
[{'concept': 'Q56061'}, 'P47', 'Q7263152']
SELECT DISTINCT ?u WHERE { ?u property:P47 resource:Q7263152 . ?u rdf:type ontology:Q56061 }
Methoni
Methoni shares border with that one
Methoni
action filter_type
action find_reverse
entity Pylos
relation shares border with
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Pylos']
SELECT DISTINCT ?u WHERE { ?u property:shares_border_with resource:Pylos . ?u rdf:type ontology:administrative_territorial_entity }
[]