Simple Question (Direct)
Simple Question
Q3561170
P166
Q618779
USER
What was awarded to Vitali Doubko ?
(Q3561170,P166,c(Q618779))
action filter_type
action find
entity Q3561170
relation P166
type Q618779
['Q3561170', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?i WHERE { resource:Q3561170 property:P166 ?i . ?i rdf:type ontology:Q618779 }
Vitali Doubko
action filter_type
action find
entity Vitali Doubko
relation award received
type award
['Vitali Doubko', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?i WHERE { resource:Vitali_Doubko property:award_received ?i . ?i rdf:type ontology:award }
[]
award
Q2268261
SYSTEM
Order of Honour
Q2268261
(Q3561170,P166,c(Q618779))
action filter_type
action find
entity Q3561170
relation P166
type Q618779
The [ANSWER] was awarded to Vitali Doubko
['Q3561170', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?i WHERE { resource:Q3561170 property:P166 ?i . ?i rdf:type ontology:Q618779 }
Order of Honour
The Order of Honour was awarded to Vitali Doubko
Order of Honour
action filter_type
action find
entity Vitali Doubko
relation award received
type award
['Vitali Doubko', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?i WHERE { resource:Vitali_Doubko property:award_received ?i . ?i rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3561170
P19
Q56061
USER
Which administrative territory is the place of birth of Vitali Doubko ?
(Q3561170,P19,c(Q56061))
action filter_type
action find
entity Q3561170
relation P19
type Q56061
['Q3561170', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q3561170 property:P19 ?i . ?i rdf:type ontology:Q56061 }
Vitali Doubko
action filter_type
action find
entity Vitali Doubko
relation place of birth
type administrative territorial entity
['Vitali Doubko', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Vitali_Doubko property:place_of_birth ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3646
SYSTEM
Krasnodar
Q3646
(Q3561170,P19,c(Q56061))
action filter_type
action find
entity Q3561170
relation P19
type Q56061
[ANSWER] is the place of birth of Vitali Doubko
['Q3561170', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q3561170 property:P19 ?i . ?i rdf:type ontology:Q56061 }
Krasnodar
Krasnodar is the place of birth of Vitali Doubko
Krasnodar
action filter_type
action find
entity Vitali Doubko
relation place of birth
type administrative territorial entity
['Vitali Doubko', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Vitali_Doubko property:place_of_birth ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q16013472
Q56061
USER
And also tell me about Denis Maffey?
(Q16013472,P19,c(Q56061))
action filter_type
action find
entity Q16013472
relation P19
type Q56061
['Q16013472', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q16013472 property:P19 ?f . ?f rdf:type ontology:Q56061 }
Denis Maffey
action filter_type
action find
entity Denis Maffey
relation place of birth
type administrative territorial entity
['Denis Maffey', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Denis_Maffey property:place_of_birth ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q188304
SYSTEM
Sunderland
Q188304
(Q16013472,P19,c(Q56061))
action filter_type
action find
entity Q16013472
relation P19
type Q56061
[ANSWER]
['Q16013472', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q16013472 property:P19 ?f . ?f rdf:type ontology:Q56061 }
Sunderland
Sunderland
action filter_type
action find
entity Denis Maffey
relation place of birth
type administrative territorial entity
['Denis Maffey', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Denis_Maffey property:place_of_birth ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q19311383 Q3561170
P27 P17
Q15617994
USER
Which administrative territories are Vitali Doubko an inhabitant of or are Korenwolfstraat present in ?
OR((Q3561170,P27,c(Q15617994)), (Q19311383,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3561170
relation P27
action find
entity Q19311383
relation P17
type Q15617994
{'OR': [['Q3561170', 'P27', {'concept': 'Q15617994'}], ['Q19311383', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q3561170 property:P27 ?z } UNION { resource:Q19311383 property:P17 ?z } } . ?z rdf:type ontology:Q15617994 }
Korenwolfstraat Vitali Doubko
action filter_type
action union
action find
entity Vitali Doubko
relation country of citizenship
action find
entity Korenwolfstraat
relation country
type designation for an administrative territorial entity
{'OR': [['Vitali Doubko', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Korenwolfstraat', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Vitali_Doubko property:country_of_citizenship ?z } UNION { resource:Korenwolfstraat property:country ?z } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q159 Q55
SYSTEM
Russia, Netherlands
Q159 Q55
OR((Q3561170,P27,c(Q15617994)), (Q19311383,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3561170
relation P27
action find
entity Q19311383
relation P17
type Q15617994
[ANSWERS] are Vitali Doubko an inhabitant of or are Korenwolfstraat present in
{'OR': [['Q3561170', 'P27', {'concept': 'Q15617994'}], ['Q19311383', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q3561170 property:P27 ?z } UNION { resource:Q19311383 property:P17 ?z } } . ?z rdf:type ontology:Q15617994 }
Russia Netherlands
Russia and Netherlands are Vitali Doubko an inhabitant of or are Korenwolfstraat present in
Russia Netherlands
action filter_type
action union
action find
entity Vitali Doubko
relation country of citizenship
action find
entity Korenwolfstraat
relation country
type designation for an administrative territorial entity
{'OR': [['Vitali Doubko', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Korenwolfstraat', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Vitali_Doubko property:country_of_citizenship ?z } UNION { resource:Korenwolfstraat property:country ?z } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P463
Q874405
USER
How many social groups were that administrative territory a member of ?
(Q55,P463,c(Q874405))
['Q55', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q22442862 property:P463 ?z . ?z rdf:type ontology:Q874405 }
['Netherlands', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Netherlands property:member_of ?z . ?z rdf:type ontology:social_group }
[]
social group
Quantitative|Count|Single entity type|Clarification
Q159
SYSTEM
Did you mean Russia ?
(Q159,P463,c(Q874405)) (Q55,P463,c(Q874405))
[ANSWER]
['Q159', 'P463', {'concept': 'Q874405'}] ['Q55', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q22442862 property:P463 ?z . ?z rdf:type ontology:Q874405 }
Did you mean Russia ?
Russia
['Russia', 'member of', {'concept': 'social group'}] ['Netherlands', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Netherlands property:member_of ?z . ?z rdf:type ontology:social_group }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Netherlands. Could you tell me the answer for that?
(Q55,P463,c(Q874405))
Q55
['Q55', 'P463', {'concept': 'Q874405'}]
['Netherlands', 'member of', {'concept': 'social group'}]
[]
SYSTEM
9
Q406558 Q8908 Q1069175 Q376150 Q41984 Q782942 Q8932 Q694772 Q848633
(Q55,P463,c(Q874405))
[ANSWER]
['Q55', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q22442862 property:P463 ?z . ?z rdf:type ontology:Q874405 }
Accreditation Organisation of the Netherlands and Flanders Council of Europe International Federation of Red Cross and Red Crescent Societies International Telecommunication Union International Atomic Energy Agency Australia Group European Economic Area United Nations Peacekeeping Force in Cyprus International Chamber of Commerce
9
['Netherlands', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Netherlands property:member_of ?z . ?z rdf:type ontology:social_group }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q55
P47
Q15617994
USER
Which administrative territory shares border with Netherlands ?
(Q55,P47,c(Q15617994))
action filter_type
action find
entity Q55
relation P47
type Q15617994
['Q55', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q55 property:P47 ?d . ?d rdf:type ontology:Q15617994 }
Netherlands
action filter_type
action find
entity Netherlands
relation shares border with
type designation for an administrative territorial entity
['Netherlands', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Netherlands property:shares_border_with ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q31
SYSTEM
Belgium
Q31
(Q55,P47,c(Q15617994))
action filter_type
action find
entity Q55
relation P47
type Q15617994
[ANSWER] shares border with Netherlands
['Q55', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q55 property:P47 ?d . ?d rdf:type ontology:Q15617994 }
Belgium
Belgium shares border with Netherlands
Belgium
action filter_type
action find
entity Netherlands
relation shares border with
type designation for an administrative territorial entity
['Netherlands', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Netherlands property:shares_border_with ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q31
P20
Q502895
USER
Which people have that administrative territory as place of death ?
(c(Q502895),P20,Q31)
action filter_type
action find_reverse
entity Q31
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q31']
SELECT DISTINCT ?x WHERE { ?x property:P20 resource:Q31 . ?x rdf:type ontology:Q502895 }
Belgium
action filter_type
action find_reverse
entity Belgium
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Belgium']
SELECT DISTINCT ?x WHERE { ?x property:place_of_death resource:Belgium . ?x rdf:type ontology:common_name }
[]
common name
Q2667593 Q5498979 Q1383017
SYSTEM
Margaret of England, Duchess of Brabant, Frederick Walker Castle, Maximilien de Furstenberg
Q5487149 Q1351813 Q5498979 Q6742421 Q1438771 Q2273016 Q739190 Q965075 Q5128647 Q18163294 Q5499168 Q1651755 Q2078473 Q6687857 Q7793567 Q8006818 Q4722717 Q983782 Q606673 Q3074880 Q16058786 Q27514674 Q1349647 Q2478464 Q3343483 Q1663463 Q9160472 Q20018909 Q6245619 Q1299182 Q1351975 Q5240153 Q5085524 Q1383017 Q6242805 Q17361865 Q5901947 Q21061308 Q3372252 Q20713756 Q3132531 Q2688155 Q95332 Q4817935 Q1374816 Q5195733 Q2198183 Q6687804 Q1395580 Q4912685 Q20016414 Q7847716 Q1896829 Q354052 Q1995331 Q7324935 Q6130582 Q6371980 Q2400060 Q827333 Q3119472 Q24701702 Q982842 Q5721031 Q18811346 Q6138128 Q3402306 Q523419 Q555776 Q2146661 Q2179290 Q945098 Q17630982 Q7347832 Q2938079 Q717540 Q1565705 Q5650814 Q220520 Q3327083 Q2199617 Q2003625 Q2729727 Q6078422 Q2300269 Q5346381 Q971508 Q3579962 Q1585108 Q26085493 Q6197289 Q2667593 Q2608453 Q378308
(c(Q502895),P20,Q31)
action filter_type
action find_reverse
entity Q31
relation P20
type Q502895
[ANSWERS] have that administrative territory as place of death
[{'concept': 'Q502895'}, 'P20', 'Q31']
SELECT DISTINCT ?x WHERE { ?x property:P20 resource:Q31 . ?x rdf:type ontology:Q502895 }
Frank Hasse Jean-Baptiste Piron Frederick Walker Castle Malcolm Kennedy Roland Cardon Francis Octavius Grenfell Paul van Ostaijen Jozef Peeters Claud Stokes Otto Lucas Frederick Youens Nazaire De Wolf Antoine Puttaert Louis Muhlinghaus Thomas Riversdale Colyer-Fergusson William Clamp Alfred George Drake Søren Petersen Antonius Mathijsen Scotty Davidson James Anson Otho Brooke Théophile Vossen Joseph Malula Jean Van Steen Norbert Beuls Rudolf Wilczek Arthur John Palliser Charles Cussac John Lynn Wilfred Bartrop Erich Boetel David Stuart McGregor Charlie Smalls Maximilien de Furstenberg John Kendrick Skinner Francis Roberts Horace M. Thorne Jacques Adolphe Ernest Phélippon Paul Tant David Slimmon Henrique Alvim Corrêa Jean Bouttiau Erwin Böhme Pierre Darcourt Foillan Curtis F. Shoup Robert Paverick Louis McGuffie Jef Nys Billy Harvey Thomas Murphy y Alegría Truman Kimbro Jules Suetens Jean-Baptiste Bethune René Thirifays Richard Cowan James Bush Karl Kempf Charles de Kerchove de Denterghem Albert De Cleyn Guido Zembsch-Schreve Jean Neuhaus Éloi Meulenberg Henry F. Warner Thomas Westwood James Llewellyn Davies Prenk Pervizi André Willequet Archie Scott Brown Marcel Thiry Roger Piérard Oswald de Kerchove de Denterghem Jean Poulain Robert Morrow Jules Henriet William Cavendish, Marquess of Hartington Herbert Dill Hans Waldmüller John Browning Moïse Lévy Louis Versyp Victor Lemberechts René Ledent Isadore S. Jachman Gérard Delbeke Edwin Edward Hunnisett Pierre Braine Édouard Mathé Julien Bailleul Louis Philippart Jim Olney Margaret of England, Duchess of Brabant August De Winter Alice Roberts
Margaret of England, Duchess of Brabant, Frederick Walker Castle and Maximilien de Furstenberg have that administrative territory as place of death
Margaret of England, Duchess of Brabant Frederick Walker Castle Maximilien de Furstenberg
action filter_type
action find_reverse
entity Belgium
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Belgium']
SELECT DISTINCT ?x WHERE { ?x property:place_of_death resource:Belgium . ?x rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q21622463 Q16013472
P19 P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Denis Maffey or are the places of birth of Njiva Rakotoharimalala ?
OR((Q16013472,P27,c(Q15617994)), (Q21622463,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q16013472
relation P27
action find
entity Q21622463
relation P19
type Q15617994
{'OR': [['Q16013472', 'P27', {'concept': 'Q15617994'}], ['Q21622463', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q21622463 property:P19 ?o } UNION { resource:Q16013472 property:P27 ?o } } . ?o rdf:type ontology:Q15617994 }
Njiva Rakotoharimalala Denis Maffey
action filter_type
action union
action find
entity Denis Maffey
relation country of citizenship
action find
entity Njiva Rakotoharimalala
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Denis Maffey', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Njiva Rakotoharimalala', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Njiva_Rakotoharimalala property:place_of_birth ?o } UNION { resource:Denis_Maffey property:country_of_citizenship ?o } } . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1019 Q145
SYSTEM
Madagascar, United Kingdom
Q1019 Q145
OR((Q16013472,P27,c(Q15617994)), (Q21622463,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q16013472
relation P27
action find
entity Q21622463
relation P19
type Q15617994
[ANSWERS] are the countries of citizenship of Denis Maffey or are the places of birth of Njiva Rakotoharimalala
{'OR': [['Q16013472', 'P27', {'concept': 'Q15617994'}], ['Q21622463', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q21622463 property:P19 ?o } UNION { resource:Q16013472 property:P27 ?o } } . ?o rdf:type ontology:Q15617994 }
Madagascar United Kingdom
Madagascar and United Kingdom are the countries of citizenship of Denis Maffey or are the places of birth of Njiva Rakotoharimalala
Madagascar United Kingdom
action filter_type
action union
action find
entity Denis Maffey
relation country of citizenship
action find
entity Njiva Rakotoharimalala
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Denis Maffey', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Njiva Rakotoharimalala', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Njiva_Rakotoharimalala property:place_of_birth ?o } UNION { resource:Denis_Maffey property:country_of_citizenship ?o } } . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21622463
P641
Q349
USER
Which sport was Njiva Rakotoharimalala a part of?
(Q1019,P641,c(Q349)) (Q145,P641,c(Q349))
action filter_type
action find
entity Q21622463
relation P641
type Q349
['Q1019', 'P641', {'concept': 'Q349'}] ['Q145', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { resource:Q21622463 property:P641 ?e . ?e rdf:type ontology:Q349 }
Njiva Rakotoharimalala
action filter_type
action find
entity Njiva Rakotoharimalala
relation sport
type sport
['Madagascar', 'sport', {'concept': 'sport'}] ['United Kingdom', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { resource:Njiva_Rakotoharimalala property:sport ?e . ?e rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q1019,P641,c(Q349)) (Q145,P641,c(Q349))
action filter_type
action find
entity Q21622463
relation P641
type Q349
Which sport was Njiva Rakotoharimalala a part of
['Q1019', 'P641', {'concept': 'Q349'}] ['Q145', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { resource:Q21622463 property:P641 ?e . ?e rdf:type ontology:Q349 }
association football
Which sport was Njiva Rakotoharimalala a part of
association football
action filter_type
action find
entity Njiva Rakotoharimalala
relation sport
type sport
['Madagascar', 'sport', {'concept': 'sport'}] ['United Kingdom', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { resource:Njiva_Rakotoharimalala property:sport ?e . ?e rdf:type ontology:sport }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q2736 Q1527757
P641
Q502895
USER
Does Gitte Hähner-Springmühl play that sport ?
(Q1527757,P641,Q2736)
action is_in
entity Q1527757
action find
entity Q2736
relation P641
['Q1527757', 'P641', 'Q2736']
ASK WHERE { resource:Q2736 property:P641 resource:Q1527757 }
association football Gitte Hähner-Springmühl
action is_in
entity Gitte Hähner-Springmühl
action find
entity association football
relation sport
['Gitte Hähner-Springmühl', 'sport', 'association football']
ASK WHERE { resource:association_football property:sport resource:Gitte_Hähner-Springmühl }
[]
common name
SYSTEM
NO
(Q1527757,P641,Q2736)
action is_in
entity Q1527757
action find
entity Q2736
relation P641
[ANSWER]
['Q1527757', 'P641', 'Q2736']
ASK WHERE { resource:Q2736 property:P641 resource:Q1527757 }
No
action is_in
entity Gitte Hähner-Springmühl
action find
entity association football
relation sport
['Gitte Hähner-Springmühl', 'sport', 'association football']
ASK WHERE { resource:association_football property:sport resource:Gitte_Hähner-Springmühl }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q3561170 Q26696953 Q26697079
P106
Q12737077
USER
Does Vitali Doubko have mayor of Payo de Ojeda and mayor of Castillejo de Mesleón as his/her means of employment ?
(Q3561170,P106,Q26696953) (Q3561170,P106,Q26697079)
action is_in
entity Q3561170
action intersection
action find_reverse
entity Q26696953
relation P106
action find_reverse
entity Q26697079
relation P106
['Q3561170', 'P106', 'Q26696953'] ['Q3561170', 'P106', 'Q26697079']
ASK WHERE { resource:Q3561170 property:P106 resource:Q26696953 . resource:Q3561170 property:P106 resource:Q26697079 }
Vitali Doubko mayor of Payo de Ojeda mayor of Castillejo de Mesleón
action is_in
entity Vitali Doubko
action intersection
action find_reverse
entity mayor of Payo de Ojeda
relation occupation
action find_reverse
entity mayor of Castillejo de Mesleón
relation occupation
['Vitali Doubko', 'occupation', 'mayor of Payo de Ojeda'] ['Vitali Doubko', 'occupation', 'mayor of Castillejo de Mesleón']
ASK WHERE { resource:Vitali_Doubko property:occupation resource:mayor_of_Payo_de_Ojeda . resource:Vitali_Doubko property:occupation resource:mayor_of_Castillejo_de_Mesleón }
[]
occupation
SYSTEM
NO
(Q3561170,P106,Q26696953) (Q3561170,P106,Q26697079)
action is_in
entity Q3561170
action intersection
action find_reverse
entity Q26696953
relation P106
action find_reverse
entity Q26697079
relation P106
[ANSWER]
['Q3561170', 'P106', 'Q26696953'] ['Q3561170', 'P106', 'Q26697079']
ASK WHERE { resource:Q3561170 property:P106 resource:Q26696953 . resource:Q3561170 property:P106 resource:Q26697079 }
No
action is_in
entity Vitali Doubko
action intersection
action find_reverse
entity mayor of Payo de Ojeda
relation occupation
action find_reverse
entity mayor of Castillejo de Mesleón
relation occupation
['Vitali Doubko', 'occupation', 'mayor of Payo de Ojeda'] ['Vitali Doubko', 'occupation', 'mayor of Castillejo de Mesleón']
ASK WHERE { resource:Vitali_Doubko property:occupation resource:mayor_of_Payo_de_Ojeda . resource:Vitali_Doubko property:occupation resource:mayor_of_Castillejo_de_Mesleón }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q145
P276
Q3305213 Q1190554
USER
How many paintings and events are located at United Kingdom ?
(c(Q3305213),P276,Q145) (c(Q1190554),P276,Q145)
action count
action union
action filter_type
action find_reverse
entity Q145
relation P276
type Q3305213
action filter_type
action find_reverse
entity Q145
relation P276
type Q1190554
[{'concept': 'Q3305213'}, 'P276', 'Q145'] [{'concept': 'Q1190554'}, 'P276', 'Q145']
SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { { ?z property:P276 resource:Q145 . ?z rdf:type ontology:Q3305213 } UNION { ?z property:P276 resource:Q145 . ?z rdf:type ontology:Q1190554 } }
United Kingdom
action count
action union
action filter_type
action find_reverse
entity United Kingdom
relation location
type painting
action filter_type
action find_reverse
entity United Kingdom
relation location
type event
[{'concept': 'painting'}, 'location', 'United Kingdom'] [{'concept': 'event'}, 'location', 'United Kingdom']
SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { { ?z property:location resource:United_Kingdom . ?z rdf:type ontology:painting } UNION { ?z property:location resource:United_Kingdom . ?z rdf:type ontology:event } }
[]
painting event
SYSTEM
1 paintings and 1 events
Q16981698 Q23691279
(c(Q3305213),P276,Q145) (c(Q1190554),P276,Q145)
action count
action union
action filter_type
action find_reverse
entity Q145
relation P276
type Q3305213
action filter_type
action find_reverse
entity Q145
relation P276
type Q1190554
[ANSWER]
[{'concept': 'Q3305213'}, 'P276', 'Q145'] [{'concept': 'Q1190554'}, 'P276', 'Q145']
SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { { ?z property:P276 resource:Q145 . ?z rdf:type ontology:Q3305213 } UNION { ?z property:P276 resource:Q145 . ?z rdf:type ontology:Q1190554 } }
Gauge War God Blessing the Seventh Day
1 paintings and 1 events
action count
action union
action filter_type
action find_reverse
entity United Kingdom
relation location
type painting
action filter_type
action find_reverse
entity United Kingdom
relation location
type event
[{'concept': 'painting'}, 'location', 'United Kingdom'] [{'concept': 'event'}, 'location', 'United Kingdom']
SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { { ?z property:location resource:United_Kingdom . ?z rdf:type ontology:painting } UNION { ?z property:location resource:United_Kingdom . ?z rdf:type ontology:event } }
[]