Simple Question (Direct)
Simple Question
Q4023305
P106
Q12737077
USER
What is the profession of Yves Miéville ?
(Q4023305,P106,c(Q12737077))
action filter_type
action find
entity Q4023305
relation P106
type Q12737077
['Q4023305', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q4023305 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
Yves Miéville
action filter_type
action find
entity Yves Miéville
relation occupation
type occupation
['Yves Miéville', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Yves_Miéville property:occupation ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q4023305,P106,c(Q12737077))
action filter_type
action find
entity Q4023305
relation P106
type Q12737077
The profession of Yves Miéville is an [ANSWER]
['Q4023305', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q4023305 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
association football player
The profession of Yves Miéville is an association football player
association football player
action filter_type
action find
entity Yves Miéville
relation occupation
type occupation
['Yves Miéville', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Yves_Miéville property:occupation ?z . ?z rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q937857
P101
Q502895
USER
Which person has field of work as that occupation ?
(c(Q502895),P101,Q937857)
action filter_type
action find_reverse
entity Q937857
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q937857']
SELECT DISTINCT ?g WHERE { ?g property:P101 resource:Q937857 . ?g rdf:type ontology:Q502895 }
association football player
action filter_type
action find_reverse
entity association football player
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'association football player']
SELECT DISTINCT ?g WHERE { ?g property:field_of_work resource:association_football_player . ?g rdf:type ontology:common_name }
[]
common name
Q2089026
SYSTEM
Akaki Devadze
Q2089026
(c(Q502895),P101,Q937857)
action filter_type
action find_reverse
entity Q937857
relation P101
type Q502895
[ANSWER] has field of work as that occupation
[{'concept': 'Q502895'}, 'P101', 'Q937857']
SELECT DISTINCT ?g WHERE { ?g property:P101 resource:Q937857 . ?g rdf:type ontology:Q502895 }
Akaki Devadze
Akaki Devadze has field of work as that occupation
Akaki Devadze
action filter_type
action find_reverse
entity association football player
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'association football player']
SELECT DISTINCT ?g WHERE { ?g property:field_of_work resource:association_football_player . ?g rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q937857
P921
Q2342494
USER
Which collectables have association football player as their principal topic ?
(c(Q2342494),P921,Q937857)
action filter_type
action find_reverse
entity Q937857
relation P921
type Q2342494
[{'concept': 'Q2342494'}, 'P921', 'Q937857']
SELECT DISTINCT ?n WHERE { ?n property:P921 resource:Q937857 . ?n rdf:type ontology:Q2342494 }
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 ?n WHERE { ?n property:main_subject resource:association_football_player . ?n rdf:type ontology:collectable }
[]
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 ?n WHERE { ?n property:P921 resource:Q937857 . ?n rdf:type ontology:Q2342494 }
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 association football player as their principal 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 ?n WHERE { ?n property:main_subject resource:association_football_player . ?n rdf:type ontology:collectable }
[]
Clarification
Simple Question|Single Entity|Indirect
Q24787529
P629
Q571
USER
Which book represents an edition or translation of that collectable ?
(c(Q571),P629,Q24787529)
action filter_type
action find_reverse
entity Q24787529
relation P629
type Q571
[{'concept': 'Q571'}, 'P629', 'Q24787529']
SELECT DISTINCT ?k WHERE { ?k property:P629 resource:Q24787529 . ?k rdf:type ontology:Q571 }
The PFA footballers' who's who 2008-09
action filter_type
action find_reverse
entity The PFA footballers' who's who 2008-09
relation edition or translation of
type book
[{'concept': 'book'}, 'edition or translation of', "The PFA footballers' who's who 2008-09"]
SELECT DISTINCT ?k WHERE { ?k property:edition_or_translation_of resource:The_PFA_footballers'_who's_who_2008-09 . ?k rdf:type ontology:book }
[]
book
Clarification for simple ques.
Q19845002
SYSTEM
Did you mean Citizens and minstermen : a who's who of York City FC, 1922-1997 ?
Q24787529 Q23730991 Q19845002
(c(Q571),P629,Q24787529) (c(Q571),P629,Q23730991) (c(Q571),P629,Q19845002)
[ANSWER]
[{'concept': 'Q571'}, 'P629', 'Q24787529'] [{'concept': 'Q571'}, 'P629', 'Q23730991'] [{'concept': 'Q571'}, 'P629', 'Q19845002']
SELECT DISTINCT ?k WHERE { ?k property:P629 resource:Q24787529 . ?k rdf:type ontology:Q571 }
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
Did you mean Citizens and minstermen : a who's who of York City FC, 1922-1997 ?
Citizens and minstermen : a who's who of York City FC, 1922-1997
[{'concept': 'book'}, 'edition or translation of', "The PFA footballers' who's who 2008-09"] [{'concept': 'book'}, 'edition or translation of', "Timeless Bees: Brentford F.C. who's who 1920-2006"] [{'concept': 'book'}, 'edition or translation of', "Citizens and minstermen : a who's who of York City FC, 1922-1997"]
SELECT DISTINCT ?k WHERE { ?k property:edition_or_translation_of resource:The_PFA_footballers'_who's_who_2008-09 . ?k rdf:type ontology:book }
[]
Simple Question (Coreferenced)
USER
No, I meant The PFA footballers' who's who 2008-09. Could you tell me the answer for that?
(c(Q571),P629,Q24787529)
Q24787529
[{'concept': 'Q571'}, 'P629', 'Q24787529']
[{'concept': 'book'}, 'edition or translation of', "The PFA footballers' who's who 2008-09"]
[]
Q24788541
SYSTEM
The PFA footballers' who's who 2008-09
Q24788541
(c(Q571),P629,Q24787529)
action filter_type
action find_reverse
entity Q24787529
relation P629
type Q571
[ANSWER] represents an edition or translation of that collectable
[{'concept': 'Q571'}, 'P629', 'Q24787529']
SELECT DISTINCT ?k WHERE { ?k property:P629 resource:Q24787529 . ?k rdf:type ontology:Q571 }
The PFA footballers' who's who 2008-09
The PFA footballers' who's who 2008-09 represents an edition or translation of that collectable
The PFA footballers' who's who 2008-09
action filter_type
action find_reverse
entity The PFA footballers' who's who 2008-09
relation edition or translation of
type book
[{'concept': 'book'}, 'edition or translation of', "The PFA footballers' who's who 2008-09"]
SELECT DISTINCT ?k WHERE { ?k property:edition_or_translation_of resource:The_PFA_footballers'_who's_who_2008-09 . ?k rdf:type ontology:book }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q24788541 Q809047
P50
Q502895
USER
Did Barry Hugman write that book ?
(Q24788541,P50,Q809047)
action is_in
entity Q809047
action find
entity Q24788541
relation P50
['Q24788541', 'P50', 'Q809047']
ASK WHERE { resource:Q24788541 property:P50 resource:Q809047 }
The PFA footballers' who's who 2008-09 Barry Hugman
action is_in
entity Barry Hugman
action find
entity The PFA footballers' who's who 2008-09
relation author
["The PFA footballers' who's who 2008-09", 'author', 'Barry Hugman']
ASK WHERE { resource:The_PFA_footballers'_who's_who_2008-09 property:author resource:Barry_Hugman }
[]
common name
SYSTEM
YES
(Q24788541,P50,Q809047)
action is_in
entity Q809047
action find
entity Q24788541
relation P50
[ANSWER]
['Q24788541', 'P50', 'Q809047']
ASK WHERE { resource:Q24788541 property:P50 resource:Q809047 }
Yes
action is_in
entity Barry Hugman
action find
entity The PFA footballers' who's who 2008-09
relation author
["The PFA footballers' who's who 2008-09", 'author', 'Barry Hugman']
ASK WHERE { resource:The_PFA_footballers'_who's_who_2008-09 property:author resource:Barry_Hugman }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q24787529 Q402878
P364
Q34770
USER
Is Middle Polish the original language of creation of The PFA footballers' who's who 2008-09 ?
(Q24787529,P364,Q402878)
action is_in
entity Q402878
action find
entity Q24787529
relation P364
['Q24787529', 'P364', 'Q402878']
ASK WHERE { resource:Q24787529 property:P364 resource:Q402878 }
The PFA footballers' who's who 2008-09 Middle Polish
action is_in
entity Middle Polish
action find
entity The PFA footballers' who's who 2008-09
relation original language of work
["The PFA footballers' who's who 2008-09", 'original language of work', 'Middle Polish']
ASK WHERE { resource:The_PFA_footballers'_who's_who_2008-09 property:original_language_of_work resource:Middle_Polish }
[]
language
SYSTEM
NO
(Q24787529,P364,Q402878)
action is_in
entity Q402878
action find
entity Q24787529
relation P364
[ANSWER]
['Q24787529', 'P364', 'Q402878']
ASK WHERE { resource:Q24787529 property:P364 resource:Q402878 }
No
action is_in
entity Middle Polish
action find
entity The PFA footballers' who's who 2008-09
relation original language of work
["The PFA footballers' who's who 2008-09", 'original language of work', 'Middle Polish']
ASK WHERE { resource:The_PFA_footballers'_who's_who_2008-09 property:original_language_of_work resource:Middle_Polish }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P291
Q56061 Q571
USER
Which administrative territories were approximately 18 books published ?
(c(Q571),P291,c(Q56061))
action approx
action find_reverse_tuple_counts
relation P291
type Q56061
type Q571
value 18
[{'concept': 'Q571'}, 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?p ) AS ?u ) WHERE { ?p property:P291 ?r . ?p rdf:type ontology:Q571 . ?r rdf:type ontology:Q56061 } GROUP BY ?r } . FILTER ( ?u = 18 ) }
action approx
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type book
value 18
[{'concept': 'book'}, 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?p ) AS ?u ) WHERE { ?p property:place_of_publication ?r . ?p rdf:type ontology:book . ?r rdf:type ontology:administrative_territorial_entity } GROUP BY ?r } . FILTER ( ?u = 18 ) }
[]
administrative territorial entity book
Q1085 Q649 Q2807
SYSTEM
Prague, Moscow, Madrid
Q490 Q2280 Q2807 Q1726 Q18125 Q649 Q1085
(c(Q571),P291,c(Q56061))
action approx
action find_reverse_tuple_counts
relation P291
type Q56061
type Q571
value 18
[ANSWERS] were approximately 18 books published
[{'concept': 'Q571'}, 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?p ) AS ?u ) WHERE { ?p property:P291 ?r . ?p rdf:type ontology:Q571 . ?r rdf:type ontology:Q56061 } GROUP BY ?r } . FILTER ( ?u = 18 ) }
Milan Minsk Madrid Munich Manchester Moscow Prague
Prague, Moscow and Madrid were approximately 18 books published
Prague Moscow Madrid
action approx
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type book
value 18
[{'concept': 'book'}, 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?p ) AS ?u ) WHERE { ?p property:place_of_publication ?r . ?p rdf:type ontology:book . ?r rdf:type ontology:administrative_territorial_entity } GROUP BY ?r } . FILTER ( ?u = 18 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1085 Q649 Q2807
P159
Q895526
USER
Which authority organs have their HQ location at those administrative territories ?
(c(Q895526),P159,Q1085) (c(Q895526),P159,Q649) (c(Q895526),P159,Q2807)
action filter_type
action find_reverse
entity prev_answer
relation P159
type Q895526
[{'concept': 'Q895526'}, 'P159', 'Q1085'] [{'concept': 'Q895526'}, 'P159', 'Q649'] [{'concept': 'Q895526'}, 'P159', 'Q2807']
SELECT DISTINCT ?n WHERE { ?n property:P159 ?c . ?n rdf:type ontology:Q895526 . VALUES ( ?c ) { ( resource:Q490 ) ( resource:Q2280 ) ( resource:Q2807 ) } }
Prague Moscow Madrid
action filter_type
action find_reverse
entity prev_answer
relation headquarters location
type authority organ
[{'concept': 'authority organ'}, 'headquarters location', 'Prague'] [{'concept': 'authority organ'}, 'headquarters location', 'Moscow'] [{'concept': 'authority organ'}, 'headquarters location', 'Madrid']
SELECT DISTINCT ?n WHERE { ?n property:headquarters_location ?c . ?n rdf:type ontology:authority_organ . VALUES ( ?c ) { ( resource:Milan ) ( resource:Minsk ) ( resource:Madrid ) } }
[]
authority organ
Q758822 Q1400115 Q4426228
SYSTEM
Audiencia Nacional of Spain, FAPSI, Security Council of the Soviet Union
Q3564646 Q4481740 Q211741 Q1400115 Q4426228 Q4294276 Q6866953 Q4481679 Q15990739 Q2324381 Q4894522 Q5280627 Q758822
(c(Q895526),P159,Q1085) (c(Q895526),P159,Q649) (c(Q895526),P159,Q2807)
action filter_type
action find_reverse
entity prev_answer
relation P159
type Q895526
[ANSWERS] have their HQ location at those administrative territories
[{'concept': 'Q895526'}, 'P159', 'Q1085'] [{'concept': 'Q895526'}, 'P159', 'Q649'] [{'concept': 'Q895526'}, 'P159', 'Q2807']
SELECT DISTINCT ?n WHERE { ?n property:P159 ?c . ?n rdf:type ontology:Q895526 . VALUES ( ?c ) { ( resource:Q490 ) ( resource:Q2280 ) ( resource:Q2807 ) } }
Ministry of Defence Federal Biomedical Agency Special Communications Service of Russia FAPSI Security Council of the Soviet Union Ministry for Development of Russian Far East Ministry of Finance Federal Service for Veterinary and Phytosanitary Surveillance Ministry of Crimean Affairs Federal Financial Markets Service Comisión Nacional del Mercado de Valores Directorate General of Traffic Audiencia Nacional of Spain
Audiencia Nacional of Spain, FAPSI and Security Council of the Soviet Union have their HQ location at those administrative territories
Audiencia Nacional of Spain FAPSI Security Council of the Soviet Union
action filter_type
action find_reverse
entity prev_answer
relation headquarters location
type authority organ
[{'concept': 'authority organ'}, 'headquarters location', 'Prague'] [{'concept': 'authority organ'}, 'headquarters location', 'Moscow'] [{'concept': 'authority organ'}, 'headquarters location', 'Madrid']
SELECT DISTINCT ?n WHERE { ?n property:headquarters_location ?c . ?n rdf:type ontology:authority_organ . VALUES ( ?c ) { ( resource:Milan ) ( resource:Minsk ) ( resource:Madrid ) } }
[]