Simple Question (Direct)
Simple Question
Q310188
P166
Q1788716
USER
What was won by Norman Schwarzkopf, Jr. ?
(Q310188,P166,c(Q1788716))
action filter_type
action find
entity Q310188
relation P166
type Q1788716
['Q310188', 'P166', {'concept': 'Q1788716'}]
SELECT DISTINCT ?w WHERE { resource:Q310188 property:P166 ?w . ?w rdf:type ontology:Q1788716 }
Norman Schwarzkopf, Jr.
action filter_type
action find
entity Norman Schwarzkopf, Jr.
relation award received
type military decoration
['Norman Schwarzkopf, Jr.', 'award received', {'concept': 'military decoration'}]
SELECT DISTINCT ?w WHERE { resource:Norman_Schwarzkopf,_Jr. property:award_received ?w . ?w rdf:type ontology:military_decoration }
[]
military decoration
Q17231624
SYSTEM
legionnaire of Legion of Merit
Q17231624
(Q310188,P166,c(Q1788716))
action filter_type
action find
entity Q310188
relation P166
type Q1788716
The [ANSWER] was won by Norman Schwarzkopf, Jr.
['Q310188', 'P166', {'concept': 'Q1788716'}]
SELECT DISTINCT ?w WHERE { resource:Q310188 property:P166 ?w . ?w rdf:type ontology:Q1788716 }
legionnaire of Legion of Merit
The legionnaire of Legion of Merit was won by Norman Schwarzkopf, Jr.
legionnaire of Legion of Merit
action filter_type
action find
entity Norman Schwarzkopf, Jr.
relation award received
type military decoration
['Norman Schwarzkopf, Jr.', 'award received', {'concept': 'military decoration'}]
SELECT DISTINCT ?w WHERE { resource:Norman_Schwarzkopf,_Jr. property:award_received ?w . ?w rdf:type ontology:military_decoration }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q310188
P710
Q1190554
USER
Which events did that person participate in ?
(c(Q1190554),P710,Q17231624)
action filter_type
action find_reverse
entity Q310188
relation P710
type Q1190554
[{'concept': 'Q1190554'}, 'P710', 'Q17231624']
SELECT DISTINCT ?o WHERE { ?o property:P710 resource:Q310188 . ?o rdf:type ontology:Q1190554 }
Norman Schwarzkopf, Jr.
action filter_type
action find_reverse
entity Norman Schwarzkopf, Jr.
relation participant
type event
[{'concept': 'event'}, 'participant', 'legionnaire of Legion of Merit']
SELECT DISTINCT ?o WHERE { ?o property:participant resource:Norman_Schwarzkopf,_Jr. . ?o rdf:type ontology:event }
[]
event
Q3636553 Q1402530 Q1634629
SYSTEM
Battle of Norfolk, Battle of 73 Easting, Battle of Medina Ridge
Q1634629 Q3636553 Q4872147 Q4872216 Q1402530 Q3636251
(c(Q1190554),P710,Q17231624)
action filter_type
action find_reverse
entity Q310188
relation P710
type Q1190554
That person participated in [ANSWERS]
[{'concept': 'Q1190554'}, 'P710', 'Q17231624']
SELECT DISTINCT ?o WHERE { ?o property:P710 resource:Q310188 . ?o rdf:type ontology:Q1190554 }
Battle of Medina Ridge Battle of Norfolk Battle of Qurah and Umm al Maradim Battle of Rumaila Battle of 73 Easting Battle of Wadi Al-Batin
That person participated in Battle of Norfolk, Battle of 73 Easting and Battle of Medina Ridge
Battle of Norfolk Battle of 73 Easting Battle of Medina Ridge
action filter_type
action find_reverse
entity Norman Schwarzkopf, Jr.
relation participant
type event
[{'concept': 'event'}, 'participant', 'legionnaire of Legion of Merit']
SELECT DISTINCT ?o WHERE { ?o property:participant resource:Norman_Schwarzkopf,_Jr. . ?o rdf:type ontology:event }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q34266 Q310188
P710
Q178561
USER
Which battles were Norman Schwarzkopf, Jr. or Russian Empire a participant of ?
OR((c(Q178561),P710,Q310188), (c(Q178561),P710,Q34266))
action filter_type
action union
action find_reverse
entity Q310188
relation P710
action find_reverse
entity Q34266
relation P710
type Q178561
{'OR': [[{'concept': 'Q178561'}, 'P710', 'Q310188'], [{'concept': 'Q178561'}, 'P710', 'Q34266']]}
SELECT DISTINCT ?e WHERE { { { ?e property:P710 resource:Q310188 } UNION { ?e property:P710 resource:Q34266 } } . ?e rdf:type ontology:Q178561 }
Russian Empire Norman Schwarzkopf, Jr.
action filter_type
action union
action find_reverse
entity Norman Schwarzkopf, Jr.
relation participant
action find_reverse
entity Russian Empire
relation participant
type battle
{'OR': [[{'concept': 'battle'}, 'participant', 'Norman Schwarzkopf, Jr.'], [{'concept': 'battle'}, 'participant', 'Russian Empire']]}
SELECT DISTINCT ?e WHERE { { { ?e property:participant resource:Norman_Schwarzkopf,_Jr. } UNION { ?e property:participant resource:Russian_Empire } } . ?e rdf:type ontology:battle }
[]
battle
Q4870215 Q238440
SYSTEM
Battle of Ad-Dawrah, Battle of Navarino
Q4870215 Q238440
OR((c(Q178561),P710,Q310188), (c(Q178561),P710,Q34266))
action filter_type
action union
action find_reverse
entity Q310188
relation P710
action find_reverse
entity Q34266
relation P710
type Q178561
The [ANSWERS] were Norman Schwarzkopf, Jr. or Russian Empire a participant of
{'OR': [[{'concept': 'Q178561'}, 'P710', 'Q310188'], [{'concept': 'Q178561'}, 'P710', 'Q34266']]}
SELECT DISTINCT ?e WHERE { { { ?e property:P710 resource:Q310188 } UNION { ?e property:P710 resource:Q34266 } } . ?e rdf:type ontology:Q178561 }
Battle of Ad-Dawrah Battle of Navarino
The Battle of Ad-Dawrah and Battle of Navarino were Norman Schwarzkopf, Jr. or Russian Empire a participant of
Battle of Ad-Dawrah Battle of Navarino
action filter_type
action union
action find_reverse
entity Norman Schwarzkopf, Jr.
relation participant
action find_reverse
entity Russian Empire
relation participant
type battle
{'OR': [[{'concept': 'battle'}, 'participant', 'Norman Schwarzkopf, Jr.'], [{'concept': 'battle'}, 'participant', 'Russian Empire']]}
SELECT DISTINCT ?e WHERE { { { ?e property:participant resource:Norman_Schwarzkopf,_Jr. } UNION { ?e property:participant resource:Russian_Empire } } . ?e rdf:type ontology:battle }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P361
Q198 Q178561
USER
How many wars are atleast 6 battles a part of ?
(c(Q178561),P361,c(Q198))
action count
action atleast
action find_reverse_tuple_counts
relation P361
type Q198
type Q178561
value 6
[{'concept': 'Q178561'}, 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?a ) AS ?p ) WHERE { ?a property:P361 ?v . ?v rdf:type ontology:Q198 . ?a rdf:type ontology:Q178561 } GROUP BY ?v } . FILTER ( ?p >= 6 ) }
action count
action atleast
action find_reverse_tuple_counts
relation part of
type war
type battle
value 6
[{'concept': 'battle'}, 'part of', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?a ) AS ?p ) WHERE { ?a property:part_of ?v . ?v rdf:type ontology:war . ?a rdf:type ontology:battle } GROUP BY ?v } . FILTER ( ?p >= 6 ) }
[]
war battle
SYSTEM
2
Q362 Q361
(c(Q178561),P361,c(Q198))
action count
action atleast
action find_reverse_tuple_counts
relation P361
type Q198
type Q178561
value 6
[ANSWER]
[{'concept': 'Q178561'}, 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?a ) AS ?p ) WHERE { ?a property:P361 ?v . ?v rdf:type ontology:Q198 . ?a rdf:type ontology:Q178561 } GROUP BY ?v } . FILTER ( ?p >= 6 ) }
World War II World War I
2
action count
action atleast
action find_reverse_tuple_counts
relation part of
type war
type battle
value 6
[{'concept': 'battle'}, 'part of', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?a ) AS ?p ) WHERE { ?a property:part_of ?v . ?v rdf:type ontology:war . ?a rdf:type ontology:battle } GROUP BY ?v } . FILTER ( ?p >= 6 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q238440
P607
Q502895
USER
Which people were Battle of Navarino a part of ?
(c(Q502895),P607,Q238440)
action filter_type
action find_reverse
entity Q238440
relation P607
type Q502895
[{'concept': 'Q502895'}, 'P607', 'Q238440']
SELECT DISTINCT ?w WHERE { ?w property:P607 resource:Q238440 . ?w rdf:type ontology:Q502895 }
Battle of Navarino
action filter_type
action find_reverse
entity Battle of Navarino
relation conflict
type common name
[{'concept': 'common name'}, 'conflict', 'Battle of Navarino']
SELECT DISTINCT ?w WHERE { ?w property:conflict resource:Battle_of_Navarino . ?w rdf:type ontology:common_name }
[]
common name
Q638642 Q186203 Q163876
SYSTEM
Dmitry Senyavin, Mikhail Lazarev, Vasily Zavoyko
Q186203 Q638642 Q7791788 Q163876 Q4772122
(c(Q502895),P607,Q238440)
action filter_type
action find_reverse
entity Q238440
relation P607
type Q502895
[ANSWERS] were Battle of Navarino a part of
[{'concept': 'Q502895'}, 'P607', 'Q238440']
SELECT DISTINCT ?w WHERE { ?w property:P607 resource:Q238440 . ?w rdf:type ontology:Q502895 }
Mikhail Lazarev Dmitry Senyavin Thomas Leeke Massie Vasily Zavoyko Anthony Blaxland Stransham
Dmitry Senyavin, Mikhail Lazarev and Vasily Zavoyko were Battle of Navarino a part of
Dmitry Senyavin Mikhail Lazarev Vasily Zavoyko
action filter_type
action find_reverse
entity Battle of Navarino
relation conflict
type common name
[{'concept': 'common name'}, 'conflict', 'Battle of Navarino']
SELECT DISTINCT ?w WHERE { ?w property:conflict resource:Battle_of_Navarino . ?w rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q638642
P410
Q4189293
USER
Which titles were the military ranks held by that person ?
(Q638642,P410,c(Q4189293))
action filter_type
action find
entity Q638642
relation P410
type Q4189293
['Q638642', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q4189293 . resource:Q638642 property:P410 ?l }
Dmitry Senyavin
action filter_type
action find
entity Dmitry Senyavin
relation military rank
type title
['Dmitry Senyavin', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:title . resource:Dmitry_Senyavin property:military_rank ?l }
[]
title
Clarification for simple ques.
Q186203
SYSTEM
Did you mean Mikhail Lazarev ?
Q638642 Q186203 Q163876
(Q638642,P410,c(Q4189293)) (Q186203,P410,c(Q4189293)) (Q163876,P410,c(Q4189293))
[ANSWER]
['Q638642', 'P410', {'concept': 'Q4189293'}] ['Q186203', 'P410', {'concept': 'Q4189293'}] ['Q163876', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q4189293 . resource:Q638642 property:P410 ?l }
Dmitry Senyavin Mikhail Lazarev Vasily Zavoyko
Did you mean Mikhail Lazarev ?
Mikhail Lazarev
['Dmitry Senyavin', 'military rank', {'concept': 'title'}] ['Mikhail Lazarev', 'military rank', {'concept': 'title'}] ['Vasily Zavoyko', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:title . resource:Dmitry_Senyavin property:military_rank ?l }
[]
Simple Question (Coreferenced)
USER
No, I meant Dmitry Senyavin. Could you tell me the answer for that?
(Q638642,P410,c(Q4189293))
Q638642
['Q638642', 'P410', {'concept': 'Q4189293'}]
['Dmitry Senyavin', 'military rank', {'concept': 'title'}]
[]
Q457271 Q163500 Q330399
SYSTEM
lieutenant, Captain, Gardes de la Marine
Q457271 Q163500 Q330399
(Q638642,P410,c(Q4189293))
action filter_type
action find
entity Q638642
relation P410
type Q4189293
[ANSWERS] were the military ranks held by that person
['Q638642', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q4189293 . resource:Q638642 property:P410 ?l }
lieutenant Captain Gardes de la Marine
Lieutenant, Captain and Gardes de la Marine were the military ranks held by that person
lieutenant Captain Gardes de la Marine
action filter_type
action find
entity Dmitry Senyavin
relation military rank
type title
['Dmitry Senyavin', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:title . resource:Dmitry_Senyavin property:military_rank ?l }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q186203
P607
Q178561 Q1190554
USER
How many battles or events did Mikhail Lazarev take part in ?
(Q186203,P607,c(Q178561)) (Q186203,P607,c(Q1190554))
action count
action union
action filter_type
action find
entity Q186203
relation P607
type Q178561
action filter_type
action find
entity Q186203
relation P607
type Q1190554
['Q186203', 'P607', {'concept': 'Q178561'}] ['Q186203', 'P607', {'concept': 'Q1190554'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { { resource:Q186203 property:P607 ?w . ?w rdf:type ontology:Q178561 } UNION { resource:Q186203 property:P607 ?w . ?w rdf:type ontology:Q1190554 } }
Mikhail Lazarev
action count
action union
action filter_type
action find
entity Mikhail Lazarev
relation conflict
type battle
action filter_type
action find
entity Mikhail Lazarev
relation conflict
type event
['Mikhail Lazarev', 'conflict', {'concept': 'battle'}] ['Mikhail Lazarev', 'conflict', {'concept': 'event'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { { resource:Mikhail_Lazarev property:conflict ?w . ?w rdf:type ontology:battle } UNION { resource:Mikhail_Lazarev property:conflict ?w . ?w rdf:type ontology:event } }
[]
battle event
SYSTEM
2
Q736268 Q238440
(Q186203,P607,c(Q178561)) (Q186203,P607,c(Q1190554))
action count
action union
action filter_type
action find
entity Q186203
relation P607
type Q178561
action filter_type
action find
entity Q186203
relation P607
type Q1190554
[ANSWER]
['Q186203', 'P607', {'concept': 'Q178561'}] ['Q186203', 'P607', {'concept': 'Q1190554'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { { resource:Q186203 property:P607 ?w . ?w rdf:type ontology:Q178561 } UNION { resource:Q186203 property:P607 ?w . ?w rdf:type ontology:Q1190554 } }
Finnish War Battle of Navarino
2
action count
action union
action filter_type
action find
entity Mikhail Lazarev
relation conflict
type battle
action filter_type
action find
entity Mikhail Lazarev
relation conflict
type event
['Mikhail Lazarev', 'conflict', {'concept': 'battle'}] ['Mikhail Lazarev', 'conflict', {'concept': 'event'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { { resource:Mikhail_Lazarev property:conflict ?w . ?w rdf:type ontology:battle } UNION { resource:Mikhail_Lazarev property:conflict ?w . ?w rdf:type ontology:event } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q198 Q350604 Q178561
USER
How many battles are a portion of exactly 1 wars and armed conflicts ?
(c(Q178561),P361,c(Q198)|c(Q350604))
action count
action equal
action union
action find_tuple_counts
relation P361
type Q178561
type Q198
action find_tuple_counts
relation P361
type Q178561
type Q350604
value 1
[{'concept': 'Q178561'}, 'P361', [{'concept': 'Q198'}, {'concept': 'Q350604'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { FILTER ( ?w = 1 ) . { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?w ) WHERE { { ?n rdf:type ontology:Q178561 . ?o rdf:type ontology:Q198 . ?n property:P361 ?o } UNION { ?n rdf:type ontology:Q178561 . ?o rdf:type ontology:Q350604 . ?n property:P361 ?o } } GROUP BY ?n } }
action count
action equal
action union
action find_tuple_counts
relation part of
type battle
type war
action find_tuple_counts
relation part of
type battle
type armed conflict
value 1
[{'concept': 'battle'}, 'part of', [{'concept': 'war'}, {'concept': 'armed conflict'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { FILTER ( ?w = 1 ) . { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?w ) WHERE { { ?n rdf:type ontology:battle . ?o rdf:type ontology:war . ?n property:part_of ?o } UNION { ?n rdf:type ontology:battle . ?o rdf:type ontology:armed_conflict . ?n property:part_of ?o } } GROUP BY ?n } }
[]
war armed conflict battle
SYSTEM
120
Q1984410 Q4677365 Q871617 Q18148113 Q2890888 Q4872996 Q2890877 Q165425 Q2888498 Q2890640 Q6881 Q156554 Q2013772 Q207165 Q1541340 Q667179 Q1795012 Q19870576 Q679831 Q4870677 Q2562509 Q577081 Q3606777 Q3284956 Q700864 Q1778176 Q277345 Q3822486 Q4871836 Q518005 Q4871774 Q2351714 Q2657479 Q145934 Q2114424 Q696607 Q3432591 Q4872106 Q338370 Q233430 Q2589203 Q2127400 Q2236812 Q4872378 Q3636368 Q3439306 Q4677371 Q178912 Q4677411 Q6065903 Q21070658 Q15076387 Q2984958 Q3090819 Q157627 Q73194 Q7283750 Q2293284 Q432515 Q766015 Q7510095 Q2887830 Q1196554 Q2286942 Q5504481 Q5470224 Q2364944 Q1636800 Q544090 Q699411 Q19871866 Q4872926 Q1083872 Q160011 Q2890865 Q4677312 Q19873489 Q7311095 Q20036668 Q4340192 Q677660 Q7509956 Q1325495 Q15048733 Q5037004 Q610242 Q1034037 Q645723 Q263245 Q1432659 Q2266114 Q1475679 Q696815 Q7443113 Q702255 Q2386251 Q7283740 Q2624708 Q2553656 Q11688129 Q4870215 Q1134649 Q18207868 Q1844815 Q208127 Q4677338 Q58459 Q4677298 Q4697761 Q784397 Q2053006 Q2237192 Q751452 Q2890861 Q4438427 Q4872247 Q4872078 Q715886 Q590014 Q742187
(c(Q178561),P361,c(Q198)|c(Q350604))
action count
action equal
action union
action find_tuple_counts
relation P361
type Q178561
type Q198
action find_tuple_counts
relation P361
type Q178561
type Q350604
value 1
[ANSWER]
[{'concept': 'Q178561'}, 'P361', [{'concept': 'Q198'}, {'concept': 'Q350604'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { FILTER ( ?w = 1 ) . { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?w ) WHERE { { ?n rdf:type ontology:Q178561 . ?o rdf:type ontology:Q198 . ?n property:P361 ?o } UNION { ?n rdf:type ontology:Q178561 . ?o rdf:type ontology:Q350604 . ?n property:P361 ?o } } GROUP BY ?n } }
Banja Luka incident Action of 4 August 1800 Operation Albion Action of 13 August 1780 Battle of the Malta Convoy Battle of the Port of Carthage Battle of Cape Espartel Battle of Lepanto Battle of Møn Battle of Albrolhos Battle of Cape Ecnomus Battle of Jutland Battle of Dogger Bank Battle of the Coral Sea Battle of Cape Spartivento Battle of Gibraltar (1607) Battle of Getaria Action of 24 June 1795 Battle of Flushing Battle of Castlehaven Battle of Fuzhou Battle of Camperdown Action of 22 July 1713 Hundimiento del Belgrano Zeebrugge Raid Battle of Antivari Battle of Mylae Battle of Carteia Battle of Más a Tierra battle of La Rochelle Battle of Monte Santiago Battle of Zonchio raid on Scarborough, Hartlepool and Whitby English Armada Battle of Sluis Battle of the Denmark Strait Battle of Zealand Point Battle of Preveza Battle of Grengam Second Battle of Cape Finisterre Battle off Lizard Point Siege of Massilia Battle of Riachuelo Battle of Silda Capo d'Orlando battle 1992 Yugoslav People's Army column incident in Sarajevo Action of 4 May 1917 Battle of Cape St. Vincent Action off Lerwick Siege of Curupaiti Battle of Anguilla Skirmish at Joncherey Action of 23 April 1794 Battle of Dover Strait Battle of the Atlantic Battle of Dogger Bank Raid on Le Havre Battle of Alborán Algeciras Campaign Battle of Dover Strait Siege of Humaitá Battle of Alvøen Battle of Minorca Battle of Ebro River Frigate action of 29 May 1794 Formosa Air Battle Battle of Cherbourg Battle of Cape Spada Battle of Cape Matapan Battle of the Barents Sea Battle of Cape Finisterre Battle of the Gulf of Naples Glorious First of June Battle of the Falkland Islands Battle of Gibraltar (1621) Action of 24 October 1793 Raid on Genoa Relief of Genoa Action of 30 June 1798 Cornwallis's Retreat Battle of Heligoland Bight (1914) Invasion of Curaçao Battle of Santa Cruz de Tenerife Assault on the battleships Cabral and Lima Barros Capture of Demerara and Essequibo Battle of Rennell Island Battle of the Strait of Otranto Battle of Ösel Island Bombardment of Yarmouth and Lowestoft Battle of the Lipari Islands Battle of Lyngør Battle of Tassafaronga Battle of Heligoland (1864) Second Battle of San Juan Battle of the Gulf of Riga Battle on the Zuiderzee Raid on Dunkirk Battle of Lilybaeum Battle of the Tarigo Convoy Battle of Pula Battle of Ad-Dawrah Battle of the Aegates Islands Ambush of the steamboat J. R. Williams Battle of Dynekilen Battle of Tsushima Action of 2 March 1808 Battle between HMAS Sydney and German auxiliary cruiser Kormoran Action of 22 August 1795 Air Battle of South Korea Battle of the Paracel Islands pursuit of Goeben and Breslau Battle of Moon Sound 1992 Yugoslav People's Army column incident in Tuzla Battle of Cape St. Vincent Battle of Tendra Battle of Saltholm Battle of Ponza Battle of the North Cape Battle of Drepana Battle of Hyères Islands
120
action count
action equal
action union
action find_tuple_counts
relation part of
type battle
type war
action find_tuple_counts
relation part of
type battle
type armed conflict
value 1
[{'concept': 'battle'}, 'part of', [{'concept': 'war'}, {'concept': 'armed conflict'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { FILTER ( ?w = 1 ) . { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?w ) WHERE { { ?n rdf:type ontology:battle . ?o rdf:type ontology:war . ?n property:part_of ?o } UNION { ?n rdf:type ontology:battle . ?o rdf:type ontology:armed_conflict . ?n property:part_of ?o } } GROUP BY ?n } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q238440
P20
Q502895
USER
Which person has Battle of Navarino as the area of death ?
(c(Q502895),P20,Q238440)
action filter_type
action find_reverse
entity Q238440
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q238440']
SELECT DISTINCT ?f WHERE { ?f property:P20 resource:Q238440 . ?f rdf:type ontology:Q502895 }
Battle of Navarino
action filter_type
action find_reverse
entity Battle of Navarino
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Battle of Navarino']
SELECT DISTINCT ?f WHERE { ?f property:place_of_death resource:Battle_of_Navarino . ?f rdf:type ontology:common_name }
[]
common name
Q7964266
SYSTEM
Walter Bathurst
Q7964266
(c(Q502895),P20,Q238440)
action filter_type
action find_reverse
entity Q238440
relation P20
type Q502895
[ANSWER] has Battle of Navarino as the area of death
[{'concept': 'Q502895'}, 'P20', 'Q238440']
SELECT DISTINCT ?f WHERE { ?f property:P20 resource:Q238440 . ?f rdf:type ontology:Q502895 }
Walter Bathurst
Walter Bathurst has Battle of Navarino as the area of death
Walter Bathurst
action filter_type
action find_reverse
entity Battle of Navarino
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Battle of Navarino']
SELECT DISTINCT ?f WHERE { ?f property:place_of_death resource:Battle_of_Navarino . ?f rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q238440
P276
Q56061
USER
Which administrative territory is the location of Battle of Navarino ?
(Q238440,P276,c(Q56061))
action filter_type
action find
entity Q238440
relation P276
type Q56061
['Q238440', 'P276', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q238440 property:P276 ?p . ?p 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 ?p WHERE { resource:Battle_of_Navarino property:location ?p . ?p 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 location of Battle of Navarino
['Q238440', 'P276', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q238440 property:P276 ?p . ?p rdf:type ontology:Q56061 }
Pylos
Pylos is the location of Battle of Navarino
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 ?p WHERE { resource:Battle_of_Navarino property:location ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7263152
P19
Q502895
USER
Who were born at that administrative territory ?
(c(Q502895),P19,Q7263152)
action filter_type
action find_reverse
entity Q7263152
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q7263152']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . ?m property:P19 resource:Q7263152 }
Pylos
action filter_type
action find_reverse
entity Pylos
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Pylos']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . ?m property:place_of_birth resource:Pylos }
[]
common name
Q1408714 Q1671936 Q360872
SYSTEM
Yiannis Spyropoulos, Ioannis Zepos, Konstantinos Tsiklitiras
Q1408714 Q1671936 Q360872
(c(Q502895),P19,Q7263152)
action filter_type
action find_reverse
entity Q7263152
relation P19
type Q502895
[ANSWERS] were born at that administrative territory
[{'concept': 'Q502895'}, 'P19', 'Q7263152']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . ?m property:P19 resource:Q7263152 }
Yiannis Spyropoulos Ioannis Zepos Konstantinos Tsiklitiras
Yiannis Spyropoulos, Ioannis Zepos and Konstantinos Tsiklitiras were born at that administrative territory
Yiannis Spyropoulos Ioannis Zepos Konstantinos Tsiklitiras
action filter_type
action find_reverse
entity Pylos
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Pylos']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . ?m property:place_of_birth resource:Pylos }
[]