Simple Question (Direct)
Simple Question
Q9175904
P106
Q12737077
USER
What does Bogusław Saganowski do for a living ?
(Q9175904,P106,c(Q12737077))
action filter_type
action find
entity Q9175904
relation P106
type Q12737077
['Q9175904', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q12737077 . resource:Q9175904 property:P106 ?s }
Bogusław Saganowski
action filter_type
action find
entity Bogusław Saganowski
relation occupation
type occupation
['Bogusław Saganowski', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:occupation . resource:Bogusław_Saganowski property:occupation ?s }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q9175904,P106,c(Q12737077))
action filter_type
action find
entity Q9175904
relation P106
type Q12737077
Bogusław Saganowski does for a living as [ANSWER]
['Q9175904', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q12737077 . resource:Q9175904 property:P106 ?s }
association football player
Bogusław Saganowski does for a living as association football player
association football player
action filter_type
action find
entity Bogusław Saganowski
relation occupation
type occupation
['Bogusław Saganowski', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:occupation . resource:Bogusław_Saganowski property:occupation ?s }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q937857
P921
Q2342494
USER
Which collectables have that occupation as their main topic ?
(c(Q2342494),P921,Q937857)
action filter_type
action find_reverse
entity Q937857
relation P921
type Q2342494
[{'concept': 'Q2342494'}, 'P921', 'Q937857']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q2342494 . ?e property:P921 resource:Q937857 }
association football player
action filter_type
action find_reverse
entity association football player
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'association football player']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:collectable . ?e property:main_subject resource:association_football_player }
[]
collectable
Q24787529 Q23730991 Q19845002
SYSTEM
The PFA footballers' who's who 2008-09, Timeless Bees: Brentford F.C. who's who 1920-2006, Citizens and minstermen : a who's who of York City FC, 1922-1997
Q24787529 Q23730991 Q19845002
(c(Q2342494),P921,Q937857)
action filter_type
action find_reverse
entity Q937857
relation P921
type Q2342494
[ANSWERS]
[{'concept': 'Q2342494'}, 'P921', 'Q937857']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q2342494 . ?e property:P921 resource:Q937857 }
The PFA footballers' who's who 2008-09 Timeless Bees: Brentford F.C. who's who 1920-2006 Citizens and minstermen : a who's who of York City FC, 1922-1997
The PFA footballers' who's who 2008-09, Timeless Bees: Brentford F.C. who's who 1920-2006 and Citizens and minstermen : a who's who of York City FC, 1922-1997 have that occupation as their main topic
The PFA footballers' who's who 2008-09 Timeless Bees: Brentford F.C. who's who 1920-2006 Citizens and minstermen : a who's who of York City FC, 1922-1997
action filter_type
action find_reverse
entity association football player
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'association football player']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:collectable . ?e property:main_subject resource:association_football_player }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q24787529
P364
Q34770
USER
Which language was used originally for the creation of The PFA footballers' who's who 2008-09 ?
(Q24787529,P364,c(Q34770))
action filter_type
action find
entity Q24787529
relation P364
type Q34770
['Q24787529', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?h WHERE { resource:Q24787529 property:P364 ?h . ?h rdf:type ontology:Q34770 }
The PFA footballers' who's who 2008-09
action filter_type
action find
entity The PFA footballers' who's who 2008-09
relation original language of work
type language
["The PFA footballers' who's who 2008-09", 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?h WHERE { resource:The_PFA_footballers'_who's_who_2008-09 property:original_language_of_work ?h . ?h rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q24787529,P364,c(Q34770))
action filter_type
action find
entity Q24787529
relation P364
type Q34770
[ANSWER] was used originally for the creation of The PFA footballers' who's who 2008-09
['Q24787529', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?h WHERE { resource:Q24787529 property:P364 ?h . ?h rdf:type ontology:Q34770 }
English
English was used originally for the creation of The PFA footballers' who's who 2008-09
English
action filter_type
action find
entity The PFA footballers' who's who 2008-09
relation original language of work
type language
["The PFA footballers' who's who 2008-09", 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?h WHERE { resource:The_PFA_footballers'_who's_who_2008-09 property:original_language_of_work ?h . ?h rdf:type ontology:language }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q24792453
Q34770
USER
And also tell me about External metallic circle in hepaticojejunostomy?
(Q24792453,P364,c(Q34770))
action filter_type
action find
entity Q24792453
relation P364
type Q34770
['Q24792453', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?w WHERE { resource:Q24792453 property:P364 ?w . ?w rdf:type ontology:Q34770 }
External metallic circle in hepaticojejunostomy
action filter_type
action find
entity External metallic circle in hepaticojejunostomy
relation original language of work
type language
['External metallic circle in hepaticojejunostomy', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?w WHERE { resource:External_metallic_circle_in_hepaticojejunostomy property:original_language_of_work ?w . ?w rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q24792453,P364,c(Q34770))
action filter_type
action find
entity Q24792453
relation P364
type Q34770
[ANSWER]
['Q24792453', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?w WHERE { resource:Q24792453 property:P364 ?w . ?w rdf:type ontology:Q34770 }
English
English
action filter_type
action find
entity External metallic circle in hepaticojejunostomy
relation original language of work
type language
['External metallic circle in hepaticojejunostomy', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?w WHERE { resource:External_metallic_circle_in_hepaticojejunostomy property:original_language_of_work ?w . ?w rdf:type ontology:language }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1860 Q4830163 Q2398755
P361
Q5962346
USER
Is that language a portion of Awyu–Dumut languages and K III-class submarine ?
(Q1860,P361,Q4830163) (Q1860,P361,Q2398755)
action is_in
entity Q1860
action intersection
action find_reverse
entity Q4830163
relation P361
action find_reverse
entity Q2398755
relation P361
['Q1860', 'P361', 'Q4830163'] ['Q1860', 'P361', 'Q2398755']
ASK WHERE { resource:Q1860 property:P361 resource:Q4830163 . resource:Q1860 property:P361 resource:Q2398755 }
English Awyu–Dumut languages K III-class submarine
action is_in
entity English
action intersection
action find_reverse
entity Awyu–Dumut languages
relation part of
action find_reverse
entity K III-class submarine
relation part of
['English', 'part of', 'Awyu–Dumut languages'] ['English', 'part of', 'K III-class submarine']
ASK WHERE { resource:English property:part_of resource:Awyu–Dumut_languages . resource:English property:part_of resource:K_III-class_submarine }
[]
classification scheme
SYSTEM
NO
(Q1860,P361,Q4830163) (Q1860,P361,Q2398755)
action is_in
entity Q1860
action intersection
action find_reverse
entity Q4830163
relation P361
action find_reverse
entity Q2398755
relation P361
[ANSWER]
['Q1860', 'P361', 'Q4830163'] ['Q1860', 'P361', 'Q2398755']
ASK WHERE { resource:Q1860 property:P361 resource:Q4830163 . resource:Q1860 property:P361 resource:Q2398755 }
No
action is_in
entity English
action intersection
action find_reverse
entity Awyu–Dumut languages
relation part of
action find_reverse
entity K III-class submarine
relation part of
['English', 'part of', 'Awyu–Dumut languages'] ['English', 'part of', 'K III-class submarine']
ASK WHERE { resource:English property:part_of resource:Awyu–Dumut_languages . resource:English property:part_of resource:K_III-class_submarine }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q23730991 Q11973873 Q145
P495
Q15617994
USER
Did Timeless Bees: Brentford F.C. who's who 1920-2006 originate in Hana, Norway and United Kingdom ?
(Q23730991,P495,Q11973873) (Q23730991,P495,Q145)
action is_in
entity Q23730991
action intersection
action find_reverse
entity Q11973873
relation P495
action find_reverse
entity Q145
relation P495
['Q23730991', 'P495', 'Q11973873'] ['Q23730991', 'P495', 'Q145']
ASK WHERE { resource:Q23730991 property:P495 resource:Q11973873 . resource:Q23730991 property:P495 resource:Q145 }
Timeless Bees: Brentford F.C. who's who 1920-2006 Hana, Norway United Kingdom
action is_in
entity Timeless Bees: Brentford F.C. who's who 1920-2006
action intersection
action find_reverse
entity Hana, Norway
relation country of origin
action find_reverse
entity United Kingdom
relation country of origin
["Timeless Bees: Brentford F.C. who's who 1920-2006", 'country of origin', 'Hana, Norway'] ["Timeless Bees: Brentford F.C. who's who 1920-2006", 'country of origin', 'United Kingdom']
ASK WHERE { resource:Timeless_Bees:_Brentford_F.C._who's_who_1920-2006 property:country_of_origin resource:Hana,_Norway . resource:Timeless_Bees:_Brentford_F.C._who's_who_1920-2006 property:country_of_origin resource:United_Kingdom }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q23730991,P495,Q11973873) (Q23730991,P495,Q145)
action is_in
entity Q23730991
action intersection
action find_reverse
entity Q11973873
relation P495
action find_reverse
entity Q145
relation P495
[ANSWER]
['Q23730991', 'P495', 'Q11973873'] ['Q23730991', 'P495', 'Q145']
ASK WHERE { resource:Q23730991 property:P495 resource:Q11973873 . resource:Q23730991 property:P495 resource:Q145 }
NO and YES respectively
action is_in
entity Timeless Bees: Brentford F.C. who's who 1920-2006
action intersection
action find_reverse
entity Hana, Norway
relation country of origin
action find_reverse
entity United Kingdom
relation country of origin
["Timeless Bees: Brentford F.C. who's who 1920-2006", 'country of origin', 'Hana, Norway'] ["Timeless Bees: Brentford F.C. who's who 1920-2006", 'country of origin', 'United Kingdom']
ASK WHERE { resource:Timeless_Bees:_Brentford_F.C._who's_who_1920-2006 property:country_of_origin resource:Hana,_Norway . resource:Timeless_Bees:_Brentford_F.C._who's_who_1920-2006 property:country_of_origin resource:United_Kingdom }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q937857 Q2736 Q10719873
P425
Q349
USER
Does association football and Whippet racing belong to association football player ?
(Q937857,P425,Q2736) (Q937857,P425,Q10719873)
action is_in
entity Q937857
action intersection
action find_reverse
entity Q2736
relation P425
action find_reverse
entity Q10719873
relation P425
['Q937857', 'P425', 'Q2736'] ['Q937857', 'P425', 'Q10719873']
ASK WHERE { resource:Q937857 property:P425 resource:Q2736 . resource:Q937857 property:P425 resource:Q10719873 }
association football player association football Whippet racing
action is_in
entity association football player
action intersection
action find_reverse
entity association football
relation field of this occupation
action find_reverse
entity Whippet racing
relation field of this occupation
['association football player', 'field of this occupation', 'association football'] ['association football player', 'field of this occupation', 'Whippet racing']
ASK WHERE { resource:association_football_player property:field_of_this_occupation resource:association_football . resource:association_football_player property:field_of_this_occupation resource:Whippet_racing }
[]
sport
SYSTEM
YES and NO respectively
(Q937857,P425,Q2736) (Q937857,P425,Q10719873)
action is_in
entity Q937857
action intersection
action find_reverse
entity Q2736
relation P425
action find_reverse
entity Q10719873
relation P425
[ANSWER]
['Q937857', 'P425', 'Q2736'] ['Q937857', 'P425', 'Q10719873']
ASK WHERE { resource:Q937857 property:P425 resource:Q2736 . resource:Q937857 property:P425 resource:Q10719873 }
YES and NO respectively
action is_in
entity association football player
action intersection
action find_reverse
entity association football
relation field of this occupation
action find_reverse
entity Whippet racing
relation field of this occupation
['association football player', 'field of this occupation', 'association football'] ['association football player', 'field of this occupation', 'Whippet racing']
ASK WHERE { resource:association_football_player property:field_of_this_occupation resource:association_football . resource:association_football_player property:field_of_this_occupation resource:Whippet_racing }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q16198010 Q9175904
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Bogusław Saganowski or Zsolt Balla ?
OR((Q9175904,P27,c(Q15617994)), (Q16198010,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q9175904
relation P27
action find
entity Q16198010
relation P27
type Q15617994
{'OR': [['Q9175904', 'P27', {'concept': 'Q15617994'}], ['Q16198010', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { ?w property:P27 ?s . VALUES ( ?w ) { ( resource:Q9175904 ) ( resource:Q16198010 ) } } . ?s rdf:type ontology:Q15617994 }
Zsolt Balla Bogusław Saganowski
action filter_type
action union
action find
entity Bogusław Saganowski
relation country of citizenship
action find
entity Zsolt Balla
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Bogusław Saganowski', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Zsolt Balla', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { ?w property:country_of_citizenship ?s . VALUES ( ?w ) { ( resource:Bogusław_Saganowski ) ( resource:Zsolt_Balla ) } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q218 Q36
SYSTEM
Romania, Poland
Q218 Q36
OR((Q9175904,P27,c(Q15617994)), (Q16198010,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q9175904
relation P27
action find
entity Q16198010
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Bogusław Saganowski or Zsolt Balla
{'OR': [['Q9175904', 'P27', {'concept': 'Q15617994'}], ['Q16198010', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { ?w property:P27 ?s . VALUES ( ?w ) { ( resource:Q9175904 ) ( resource:Q16198010 ) } } . ?s rdf:type ontology:Q15617994 }
Romania Poland
Romania and Poland are the countries of citizenship of Bogusław Saganowski or Zsolt Balla
Romania Poland
action filter_type
action union
action find
entity Bogusław Saganowski
relation country of citizenship
action find
entity Zsolt Balla
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Bogusław Saganowski', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Zsolt Balla', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { ?w property:country_of_citizenship ?s . VALUES ( ?w ) { ( resource:Bogusław_Saganowski ) ( resource:Zsolt_Balla ) } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]