Simple Question (Direct)
Simple Question
Q2916310
P27
Q7275
USER
Which state is Sir George Yonge, 5th Baronet an inhabitant of ?
(Q2916310,P27,c(Q7275))
action filter_type
action find
entity Q2916310
relation P27
type Q7275
['Q2916310', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?c WHERE { resource:Q2916310 property:P27 ?c . ?c rdf:type ontology:Q7275 }
Sir George Yonge, 5th Baronet
action filter_type
action find
entity Sir George Yonge, 5th Baronet
relation country of citizenship
type state
['Sir George Yonge, 5th Baronet', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?c WHERE { resource:Sir_George_Yonge,_5th_Baronet property:country_of_citizenship ?c . ?c rdf:type ontology:state }
[]
state
Q161885
SYSTEM
Kingdom of Great Britain
Q161885
(Q2916310,P27,c(Q7275))
action filter_type
action find
entity Q2916310
relation P27
type Q7275
[ANSWER] is Sir George Yonge, 5th Baronet an inhabitant of
['Q2916310', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?c WHERE { resource:Q2916310 property:P27 ?c . ?c rdf:type ontology:Q7275 }
Kingdom of Great Britain
Kingdom of Great Britain is Sir George Yonge, 5th Baronet an inhabitant of
Kingdom of Great Britain
action filter_type
action find
entity Sir George Yonge, 5th Baronet
relation country of citizenship
type state
['Sir George Yonge, 5th Baronet', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?c WHERE { resource:Sir_George_Yonge,_5th_Baronet property:country_of_citizenship ?c . ?c rdf:type ontology:state }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2916310
P97
Q355567
USER
What was the heriditary title held by that person ?
(Q161885,P97,c(Q355567))
action filter_type
action find
entity Q2916310
relation P97
type Q355567
['Q161885', 'P97', {'concept': 'Q355567'}]
SELECT DISTINCT ?p WHERE { resource:Q2916310 property:P97 ?p . ?p rdf:type ontology:Q355567 }
Sir George Yonge, 5th Baronet
action filter_type
action find
entity Sir George Yonge, 5th Baronet
relation noble title
type royal or noble rank
['Kingdom of Great Britain', 'noble title', {'concept': 'royal or noble rank'}]
SELECT DISTINCT ?p WHERE { resource:Sir_George_Yonge,_5th_Baronet property:noble_title ?p . ?p rdf:type ontology:royal_or_noble_rank }
[]
royal or noble rank
Q282019
SYSTEM
baronet
Q282019
(Q161885,P97,c(Q355567))
action filter_type
action find
entity Q2916310
relation P97
type Q355567
The heriditary title held by that person was a [ANSWER]
['Q161885', 'P97', {'concept': 'Q355567'}]
SELECT DISTINCT ?p WHERE { resource:Q2916310 property:P97 ?p . ?p rdf:type ontology:Q355567 }
baronet
The heriditary title held by that person was a baronet
baronet
action filter_type
action find
entity Sir George Yonge, 5th Baronet
relation noble title
type royal or noble rank
['Kingdom of Great Britain', 'noble title', {'concept': 'royal or noble rank'}]
SELECT DISTINCT ?p WHERE { resource:Sir_George_Yonge,_5th_Baronet property:noble_title ?p . ?p rdf:type ontology:royal_or_noble_rank }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q1237588 Q2916310
P97
Q355567
USER
Or Dominic Corrigan?
OR((Q2916310,P97,c(Q355567)), (Q1237588,P97,c(Q355567)))
action filter_type
action union
action find
entity Q2916310
relation P97
action find
entity Q1237588
relation P97
type Q355567
{'OR': [['Q2916310', 'P97', {'concept': 'Q355567'}], ['Q1237588', 'P97', {'concept': 'Q355567'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q355567 . { { resource:Q2916310 property:P97 ?y } UNION { resource:Q1237588 property:P97 ?y } } }
Dominic Corrigan Sir George Yonge, 5th Baronet
action filter_type
action union
action find
entity Sir George Yonge, 5th Baronet
relation noble title
action find
entity Dominic Corrigan
relation noble title
type royal or noble rank
{'OR': [['Sir George Yonge, 5th Baronet', 'noble title', {'concept': 'royal or noble rank'}], ['Dominic Corrigan', 'noble title', {'concept': 'royal or noble rank'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:royal_or_noble_rank . { { resource:Sir_George_Yonge,_5th_Baronet property:noble_title ?y } UNION { resource:Dominic_Corrigan property:noble_title ?y } } }
[]
royal or noble rank
Q282019
SYSTEM
baronet
Q282019
OR((Q2916310,P97,c(Q355567)), (Q1237588,P97,c(Q355567)))
action filter_type
action union
action find
entity Q2916310
relation P97
action find
entity Q1237588
relation P97
type Q355567
[ANSWER]
{'OR': [['Q2916310', 'P97', {'concept': 'Q355567'}], ['Q1237588', 'P97', {'concept': 'Q355567'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q355567 . { { resource:Q2916310 property:P97 ?y } UNION { resource:Q1237588 property:P97 ?y } } }
baronet
baronet
action filter_type
action union
action find
entity Sir George Yonge, 5th Baronet
relation noble title
action find
entity Dominic Corrigan
relation noble title
type royal or noble rank
{'OR': [['Sir George Yonge, 5th Baronet', 'noble title', {'concept': 'royal or noble rank'}], ['Dominic Corrigan', 'noble title', {'concept': 'royal or noble rank'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:royal_or_noble_rank . { { resource:Sir_George_Yonge,_5th_Baronet property:noble_title ?y } UNION { resource:Dominic_Corrigan property:noble_title ?y } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q161885
P1376
Q56061
USER
What is the capital of Kingdom of Great Britain ?
(c(Q56061),P1376,Q161885)
action filter_type
action find_reverse
entity Q161885
relation P1376
type Q56061
[{'concept': 'Q56061'}, 'P1376', 'Q161885']
SELECT DISTINCT ?k WHERE { ?k property:P1376 resource:Q161885 . ?k rdf:type ontology:Q56061 }
Kingdom of Great Britain
action filter_type
action find_reverse
entity Kingdom of Great Britain
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Kingdom of Great Britain']
SELECT DISTINCT ?k WHERE { ?k property:capital_of resource:Kingdom_of_Great_Britain . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(c(Q56061),P1376,Q161885)
action filter_type
action find_reverse
entity Q161885
relation P1376
type Q56061
The capital of Kingdom of Great Britain is in [ANSWER]
[{'concept': 'Q56061'}, 'P1376', 'Q161885']
SELECT DISTINCT ?k WHERE { ?k property:P1376 resource:Q161885 . ?k rdf:type ontology:Q56061 }
London
The capital of Kingdom of Great Britain is in London
London
action filter_type
action find_reverse
entity Kingdom of Great Britain
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Kingdom of Great Britain']
SELECT DISTINCT ?k WHERE { ?k property:capital_of resource:Kingdom_of_Great_Britain . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2916310
P166
Q24016972
USER
What was won by Sir George Yonge, 5th Baronet ?
(Q2916310,P166,c(Q24016972))
action filter_type
action find
entity Q2916310
relation P166
type Q24016972
['Q2916310', 'P166', {'concept': 'Q24016972'}]
SELECT DISTINCT ?n WHERE { resource:Q2916310 property:P166 ?n . ?n rdf:type ontology:Q24016972 }
Sir George Yonge, 5th Baronet
action filter_type
action find
entity Sir George Yonge, 5th Baronet
relation award received
type type of distinction
['Sir George Yonge, 5th Baronet', 'award received', {'concept': 'type of distinction'}]
SELECT DISTINCT ?n WHERE { resource:Sir_George_Yonge,_5th_Baronet property:award_received ?n . ?n rdf:type ontology:type_of_distinction }
[]
type of distinction
Q15631401
SYSTEM
Fellow of the Royal Society
Q15631401
(Q2916310,P166,c(Q24016972))
action filter_type
action find
entity Q2916310
relation P166
type Q24016972
A [ANSWER] was won by Sir George Yonge, 5th Baronet
['Q2916310', 'P166', {'concept': 'Q24016972'}]
SELECT DISTINCT ?n WHERE { resource:Q2916310 property:P166 ?n . ?n rdf:type ontology:Q24016972 }
Fellow of the Royal Society
A Fellow of the Royal Society was won by Sir George Yonge, 5th Baronet
Fellow of the Royal Society
action filter_type
action find
entity Sir George Yonge, 5th Baronet
relation award received
type type of distinction
['Sir George Yonge, 5th Baronet', 'award received', {'concept': 'type of distinction'}]
SELECT DISTINCT ?n WHERE { resource:Sir_George_Yonge,_5th_Baronet property:award_received ?n . ?n rdf:type ontology:type_of_distinction }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2916310
P69
Q3914
USER
Which school is the alma mater of Sir George Yonge, 5th Baronet ?
(Q2916310,P69,c(Q3914))
action filter_type
action find
entity Q2916310
relation P69
type Q3914
['Q2916310', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?b WHERE { resource:Q2916310 property:P69 ?b . ?b rdf:type ontology:Q3914 }
Sir George Yonge, 5th Baronet
action filter_type
action find
entity Sir George Yonge, 5th Baronet
relation educated at
type school
['Sir George Yonge, 5th Baronet', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?b WHERE { resource:Sir_George_Yonge,_5th_Baronet property:educated_at ?b . ?b rdf:type ontology:school }
[]
school
Q192088
SYSTEM
Eton College
Q192088
(Q2916310,P69,c(Q3914))
action filter_type
action find
entity Q2916310
relation P69
type Q3914
[ANSWER] is the alma mater of Sir George Yonge, 5th Baronet
['Q2916310', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?b WHERE { resource:Q2916310 property:P69 ?b . ?b rdf:type ontology:Q3914 }
Eton College
Eton College is the alma mater of Sir George Yonge, 5th Baronet
Eton College
action filter_type
action find
entity Sir George Yonge, 5th Baronet
relation educated at
type school
['Sir George Yonge, 5th Baronet', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?b WHERE { resource:Sir_George_Yonge,_5th_Baronet property:educated_at ?b . ?b rdf:type ontology:school }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q2916310 Q7364
P921
Q191067
USER
How many articles have Sir George Yonge, 5th Baronet or eye as their main topic ?
(c(Q191067),P921,Q2916310) (c(Q191067),P921,Q7364)
action count
action union
action filter_type
action find_reverse
entity Q2916310
relation P921
type Q191067
action filter_type
action find_reverse
entity Q7364
relation P921
type Q191067
[{'concept': 'Q191067'}, 'P921', 'Q2916310'] [{'concept': 'Q191067'}, 'P921', 'Q7364']
SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { { ?l rdf:type ontology:Q191067 . ?l property:P921 resource:Q2916310 } UNION { ?l property:P921 resource:Q7364 . ?l rdf:type ontology:Q191067 } }
Sir George Yonge, 5th Baronet eye
action count
action union
action filter_type
action find_reverse
entity Sir George Yonge, 5th Baronet
relation main subject
type article
action filter_type
action find_reverse
entity eye
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'Sir George Yonge, 5th Baronet'] [{'concept': 'article'}, 'main subject', 'eye']
SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { { ?l rdf:type ontology:article . ?l property:main_subject resource:Sir_George_Yonge,_5th_Baronet } UNION { ?l property:main_subject resource:eye . ?l rdf:type ontology:article } }
[]
article
SYSTEM
2
Q20937555 Q19083125
(c(Q191067),P921,Q2916310) (c(Q191067),P921,Q7364)
action count
action union
action filter_type
action find_reverse
entity Q2916310
relation P921
type Q191067
action filter_type
action find_reverse
entity Q7364
relation P921
type Q191067
[ANSWER]
[{'concept': 'Q191067'}, 'P921', 'Q2916310'] [{'concept': 'Q191067'}, 'P921', 'Q7364']
SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { { ?l rdf:type ontology:Q191067 . ?l property:P921 resource:Q2916310 } UNION { ?l property:P921 resource:Q7364 . ?l rdf:type ontology:Q191067 } }
EB-11 / Eye Yonge, George (DNB00)
2
action count
action union
action filter_type
action find_reverse
entity Sir George Yonge, 5th Baronet
relation main subject
type article
action filter_type
action find_reverse
entity eye
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'Sir George Yonge, 5th Baronet'] [{'concept': 'article'}, 'main subject', 'eye']
SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { { ?l rdf:type ontology:article . ?l property:main_subject resource:Sir_George_Yonge,_5th_Baronet } UNION { ?l property:main_subject resource:eye . ?l rdf:type ontology:article } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q161885
P710
Q178561
USER
Which battles have Kingdom of Great Britain as their participant ?
(c(Q178561),P710,Q161885)
action filter_type
action find_reverse
entity Q161885
relation P710
type Q178561
[{'concept': 'Q178561'}, 'P710', 'Q161885']
SELECT DISTINCT ?w WHERE { ?w property:P710 resource:Q161885 . ?w rdf:type ontology:Q178561 }
Kingdom of Great Britain
action filter_type
action find_reverse
entity Kingdom of Great Britain
relation participant
type battle
[{'concept': 'battle'}, 'participant', 'Kingdom of Great Britain']
SELECT DISTINCT ?w WHERE { ?w property:participant resource:Kingdom_of_Great_Britain . ?w rdf:type ontology:battle }
[]
battle
Q577081 Q7509956 Q2984958
SYSTEM
Battle of Camperdown, Invasion of Curaçao, Action of 23 April 1794
Q4677365 Q4677289 Q19870582 Q4677352 Q15262148 Q4555138 Q1444121 Q2984963 Q4677369 Q2601178 Q2984923 Q4677350 Q4677382 Q1196554 Q2984961 Q233430 Q5504481 Q7509956 Q7283740 Q16058055 Q1781080 Q19871866 Q7639108 Q1083872 Q241110 Q20036668 Q20870400 Q4677313 Q4677312 Q178912 Q19873489 Q18148113 Q4677298 Q4677299 Q4090280 Q577081 Q4677278 Q2984973 Q5502315 Q21070658 Q4340192 Q4873060 Q20870284 Q2888502 Q2890888 Q2984958 Q7283750 Q5037004 Q20870437 Q742187
(c(Q178561),P710,Q161885)
action filter_type
action find_reverse
entity Q161885
relation P710
type Q178561
[ANSWERS] have Kingdom of Great Britain as their participant
[{'concept': 'Q178561'}, 'P710', 'Q161885']
SELECT DISTINCT ?w WHERE { ?w property:P710 resource:Q161885 . ?w rdf:type ontology:Q178561 }
Action of 4 August 1800 Action of 19 February 1801 Action of 31 May 1796 Action of 31 March 1800 Newfoundland expedition Atlantic campaign of May 1794 Action of 21 July 1781 Action of 18 October 1782 Action of 5 May 1794 Battle of Negapatam Action of 14 December 1798 Action of 31 July 1793 Action of 7 May 1794 Battle of Minorca Action of 6 November 1794 Second Battle of Cape Finisterre Frigate action of 29 May 1794 Invasion of Curaçao Raid on Dunkirk Action of 28 June 1803 Battle of Cape Spartel Battle of Cape Finisterre Sunda Strait campaign of January 1794 Glorious First of June Battle of Cape Passaro Action of 30 June 1798 Macau Incident Action of 24 June 1801 Action of 24 October 1793 Battle of Cape St. Vincent Raid on Genoa Action of 13 August 1780 Action of 22 August 1795 Action of 22 January 1783 Battle of Ushant (1782) Battle of Camperdown Action of 18 June 1793 Action of 18 August 1798 French order of battle in the Expédition d'Irlande Battle of Anguilla Cornwallis's Retreat Battle off Barbados Action of 27 February 1809 Battle of Flamborough Head Battle of the Malta Convoy Action of 23 April 1794 Raid on Le Havre Capture of Demerara and Essequibo Battle of Port Louis Battle of Hyères Islands
Battle of Camperdown, Invasion of Curaçao and Action of 23 April 1794 have Kingdom of Great Britain as their participant
Battle of Camperdown Invasion of Curaçao Action of 23 April 1794
action filter_type
action find_reverse
entity Kingdom of Great Britain
relation participant
type battle
[{'concept': 'battle'}, 'participant', 'Kingdom of Great Britain']
SELECT DISTINCT ?w WHERE { ?w property:participant resource:Kingdom_of_Great_Britain . ?w rdf:type ontology:battle }
[]
Clarification
Simple Question|Single Entity|Indirect
Q7509956
P361
Q350604
USER
What is that battle a component of ?
(Q7509956,P361,c(Q350604))
action filter_type
action find
entity Q7509956
relation P361
type Q350604
['Q7509956', 'P361', {'concept': 'Q350604'}]
SELECT DISTINCT ?f WHERE { resource:Q7509956 property:P361 ?f . ?f rdf:type ontology:Q350604 }
Invasion of Curaçao
action filter_type
action find
entity Invasion of Curaçao
relation part of
type armed conflict
['Invasion of Curaçao', 'part of', {'concept': 'armed conflict'}]
SELECT DISTINCT ?f WHERE { resource:Invasion_of_Curaçao property:part_of ?f . ?f rdf:type ontology:armed_conflict }
[]
armed conflict
Clarification for simple ques.
Q577081
SYSTEM
Did you mean Battle of Camperdown ?
Q577081 Q7509956 Q2984958
(Q577081,P361,c(Q350604)) (Q7509956,P361,c(Q350604)) (Q2984958,P361,c(Q350604))
[ANSWER]
['Q577081', 'P361', {'concept': 'Q350604'}] ['Q7509956', 'P361', {'concept': 'Q350604'}] ['Q2984958', 'P361', {'concept': 'Q350604'}]
SELECT DISTINCT ?f WHERE { resource:Q7509956 property:P361 ?f . ?f rdf:type ontology:Q350604 }
Battle of Camperdown Invasion of Curaçao Action of 23 April 1794
Did you mean Battle of Camperdown ?
Battle of Camperdown
['Battle of Camperdown', 'part of', {'concept': 'armed conflict'}] ['Invasion of Curaçao', 'part of', {'concept': 'armed conflict'}] ['Action of 23 April 1794', 'part of', {'concept': 'armed conflict'}]
SELECT DISTINCT ?f WHERE { resource:Invasion_of_Curaçao property:part_of ?f . ?f rdf:type ontology:armed_conflict }
[]
Simple Question (Coreferenced)
USER
No, I meant Invasion of Curaçao. Could you tell me the answer for that?
(Q7509956,P361,c(Q350604))
Q7509956
['Q7509956', 'P361', {'concept': 'Q350604'}]
['Invasion of Curaçao', 'part of', {'concept': 'armed conflict'}]
[]
Q207318
SYSTEM
French Revolutionary Wars
Q207318
(Q7509956,P361,c(Q350604))
action filter_type
action find
entity Q7509956
relation P361
type Q350604
That battle a component of is the [ANSWER]
['Q7509956', 'P361', {'concept': 'Q350604'}]
SELECT DISTINCT ?f WHERE { resource:Q7509956 property:P361 ?f . ?f rdf:type ontology:Q350604 }
French Revolutionary Wars
That battle a component of is the French Revolutionary Wars
French Revolutionary Wars
action filter_type
action find
entity Invasion of Curaçao
relation part of
type armed conflict
['Invasion of Curaçao', 'part of', {'concept': 'armed conflict'}]
SELECT DISTINCT ?f WHERE { resource:Invasion_of_Curaçao property:part_of ?f . ?f rdf:type ontology:armed_conflict }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q577081
P710
Q502895
USER
How many people were the participants of Battle of Camperdown ?
(Q577081,P710,c(Q502895))
action count
action filter_type
action find
entity Q577081
relation P710
type Q502895
['Q577081', 'P710', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) WHERE { resource:Q577081 property:P710 ?t . ?t rdf:type ontology:Q502895 }
Battle of Camperdown
action count
action filter_type
action find
entity Battle of Camperdown
relation participant
type common name
['Battle of Camperdown', 'participant', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) WHERE { resource:Battle_of_Camperdown property:participant ?t . ?t rdf:type ontology:common_name }
[]
common name
SYSTEM
2
Q1376953 Q335334
(Q577081,P710,c(Q502895))
action count
action filter_type
action find
entity Q577081
relation P710
type Q502895
[ANSWER]
['Q577081', 'P710', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) WHERE { resource:Q577081 property:P710 ?t . ?t rdf:type ontology:Q502895 }
Jan Willem de Winter Adam Duncan, 1st Viscount Duncan
2
action count
action filter_type
action find
entity Battle of Camperdown
relation participant
type common name
['Battle of Camperdown', 'participant', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) WHERE { resource:Battle_of_Camperdown property:participant ?t . ?t rdf:type ontology:common_name }
[]