Simple Question (Direct)
Simple Question
Q19414356
P19
Q56061
USER
Which administrative territory is the place of birth of George Aitken ?
(Q19414356,P19,c(Q56061))
action filter_type
action find
entity Q19414356
relation P19
type Q56061
['Q19414356', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q19414356 property:P19 ?p . ?p rdf:type ontology:Q56061 }
George Aitken
action filter_type
action find
entity George Aitken
relation place of birth
type administrative territorial entity
['George Aitken', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:George_Aitken property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q19414356,P19,c(Q56061))
action filter_type
action find
entity Q19414356
relation P19
type Q56061
[ANSWER] is the place of birth of George Aitken
['Q19414356', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q19414356 property:P19 ?p . ?p rdf:type ontology:Q56061 }
London
London is the place of birth of George Aitken
London
action filter_type
action find
entity George Aitken
relation place of birth
type administrative territorial entity
['George Aitken', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:George_Aitken property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19414356
P802
Q502895
USER
Which people were George Aitken a student of ?
(c(Q502895),P802,Q19414356)
action filter_type
action find_reverse
entity Q19414356
relation P802
type Q502895
[{'concept': 'Q502895'}, 'P802', 'Q19414356']
SELECT DISTINCT ?r WHERE { ?r property:P802 resource:Q19414356 . ?r rdf:type ontology:Q502895 }
George Aitken
action filter_type
action find_reverse
entity George Aitken
relation student
type common name
[{'concept': 'common name'}, 'student', 'George Aitken']
SELECT DISTINCT ?r WHERE { ?r property:student resource:George_Aitken . ?r rdf:type ontology:common_name }
[]
common name
Q5082654 Q607368 Q18954633
SYSTEM
Charles Steggall, Tobias Matthay, Walter Cecil Macfarren
Q5082654 Q607368 Q18954633
(c(Q502895),P802,Q19414356)
action filter_type
action find_reverse
entity Q19414356
relation P802
type Q502895
[ANSWERS] were George Aitken a student of
[{'concept': 'Q502895'}, 'P802', 'Q19414356']
SELECT DISTINCT ?r WHERE { ?r property:P802 resource:Q19414356 . ?r rdf:type ontology:Q502895 }
Charles Steggall Tobias Matthay Walter Cecil Macfarren
Charles Steggall, Tobias Matthay and Walter Cecil Macfarren were George Aitken a student of
Charles Steggall Tobias Matthay Walter Cecil Macfarren
action filter_type
action find_reverse
entity George Aitken
relation student
type common name
[{'concept': 'common name'}, 'student', 'George Aitken']
SELECT DISTINCT ?r WHERE { ?r property:student resource:George_Aitken . ?r rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q18954633
P921
Q191067
USER
Which article has that person as its principal topic ?
(c(Q191067),P921,Q18954633)
action filter_type
action find_reverse
entity Q18954633
relation P921
type Q191067
[{'concept': 'Q191067'}, 'P921', 'Q18954633']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q191067 . ?f property:P921 resource:Q18954633 }
Walter Cecil Macfarren
action filter_type
action find_reverse
entity Walter Cecil Macfarren
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'Walter Cecil Macfarren']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:article . ?f property:main_subject resource:Walter_Cecil_Macfarren }
[]
article
Clarification for simple ques.
Q607368
SYSTEM
Did you mean Tobias Matthay ?
Q5082654 Q607368 Q18954633
(c(Q191067),P921,Q5082654) (c(Q191067),P921,Q607368) (c(Q191067),P921,Q18954633)
[ANSWER]
[{'concept': 'Q191067'}, 'P921', 'Q5082654'] [{'concept': 'Q191067'}, 'P921', 'Q607368'] [{'concept': 'Q191067'}, 'P921', 'Q18954633']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q191067 . ?f property:P921 resource:Q18954633 }
Charles Steggall Tobias Matthay Walter Cecil Macfarren
Did you mean Tobias Matthay ?
Tobias Matthay
[{'concept': 'article'}, 'main subject', 'Charles Steggall'] [{'concept': 'article'}, 'main subject', 'Tobias Matthay'] [{'concept': 'article'}, 'main subject', 'Walter Cecil Macfarren']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:article . ?f property:main_subject resource:Walter_Cecil_Macfarren }
[]
Simple Question (Coreferenced)
USER
No, I meant Walter Cecil Macfarren. Could you tell me the answer for that?
(c(Q191067),P921,Q18954633)
Q18954633
[{'concept': 'Q191067'}, 'P921', 'Q18954633']
[{'concept': 'article'}, 'main subject', 'Walter Cecil Macfarren']
[]
Q19020917
SYSTEM
Macfarren, Walter Cecil (DNB12)
Q19020917
(c(Q191067),P921,Q18954633)
action filter_type
action find_reverse
entity Q18954633
relation P921
type Q191067
[ANSWER] has that person as its principal topic
[{'concept': 'Q191067'}, 'P921', 'Q18954633']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q191067 . ?f property:P921 resource:Q18954633 }
Macfarren, Walter Cecil (DNB12)
Macfarren, Walter Cecil (DNB12) has that person as its principal topic
Macfarren, Walter Cecil (DNB12)
action filter_type
action find_reverse
entity Walter Cecil Macfarren
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'Walter Cecil Macfarren']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:article . ?f property:main_subject resource:Walter_Cecil_Macfarren }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q11623287
P725
Q502895 Q95074
USER
How many fictional characters did less number of people dub for than Takumi Fujiwara ?
(c(Q95074),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q95074
type Q502895
action count
action filter_type
action find
entity Q11623287
relation P725
type Q502895
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?d ) AS ?y ) WHERE { ?c rdf:type ontology:Q95074 . ?d rdf:type ontology:Q502895 . ?c property:P725 ?d } GROUP BY ?c } . FILTER ( ?y < ?m ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { resource:Q11623287 property:P725 ?s . ?s rdf:type ontology:Q502895 } } }
Takumi Fujiwara
action count
action less
action find_tuple_counts
relation voice actor
type fictional character
type common name
action count
action filter_type
action find
entity Takumi Fujiwara
relation voice actor
type common name
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?d ) AS ?y ) WHERE { ?c rdf:type ontology:fictional_character . ?d rdf:type ontology:common_name . ?c property:voice_actor ?d } GROUP BY ?c } . FILTER ( ?y < ?m ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { resource:Takumi_Fujiwara property:voice_actor ?s . ?s rdf:type ontology:common_name } } }
[]
common name fictional character
SYSTEM
33
Q16027672 Q21847055 Q3498590 Q308950 Q28465 Q551327 Q21837832 Q21847115 Q15710873 Q2442950 Q21847074 Q21837038 Q7828 Q3838346 Q2570349 Q8139731 Q247120 Q1529229 Q21847089 Q21847086 Q17349786 Q21847215 Q21837905 Q1621656 Q2544561 Q27493503 Q1984009 Q605125 Q21847105 Q21847103 Q5846 Q7810 Q2725247
(c(Q95074),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q95074
type Q502895
action count
action filter_type
action find
entity Q11623287
relation P725
type Q502895
[ANSWER]
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?d ) AS ?y ) WHERE { ?c rdf:type ontology:Q95074 . ?d rdf:type ontology:Q502895 . ?c property:P725 ?d } GROUP BY ?c } . FILTER ( ?y < ?m ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { resource:Q11623287 property:P725 ?s . ?s rdf:type ontology:Q502895 } } }
Dr. Stewart Itsuki Tachibana Chester Cheetah Ash Ketchum Peter Griffin terminator Kyōichi Sudō Fumihiro Princess Celestia Max Rockatansky Kōichirō Iketani Keisuke Takahashi Marge Simpson Lucas Spike Spiegel G-Man Neo Darkwing Duck Kenji Natsuki Mogi Shulk Seiji Iwaki Itsuki Takeuchi Solid Snake Ike Desoto Death GLaDOS Kenta Nakamura Shingo Shōji Lisa Simpson Homer Simpson Ness
33
action count
action less
action find_tuple_counts
relation voice actor
type fictional character
type common name
action count
action filter_type
action find
entity Takumi Fujiwara
relation voice actor
type common name
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?d ) AS ?y ) WHERE { ?c rdf:type ontology:fictional_character . ?d rdf:type ontology:common_name . ?c property:voice_actor ?d } GROUP BY ?c } . FILTER ( ?y < ?m ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { resource:Takumi_Fujiwara property:voice_actor ?s . ?s rdf:type ontology:common_name } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18954633
P7
Q502895
USER
Who is the brother of Walter Cecil Macfarren ?
(Q18954633,P7,c(Q502895))
action filter_type
action find
entity Q18954633
relation P7
type Q502895
['Q18954633', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q18954633 property:P7 ?a . ?a rdf:type ontology:Q502895 }
Walter Cecil Macfarren
action filter_type
action find
entity Walter Cecil Macfarren
relation brother
type common name
['Walter Cecil Macfarren', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Walter_Cecil_Macfarren property:brother ?a . ?a rdf:type ontology:common_name }
[]
common name
Q1374708
SYSTEM
George Alexander Macfarren
Q1374708
(Q18954633,P7,c(Q502895))
action filter_type
action find
entity Q18954633
relation P7
type Q502895
The brother of Walter Cecil Macfarren is born [ANSWER]
['Q18954633', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q18954633 property:P7 ?a . ?a rdf:type ontology:Q502895 }
George Alexander Macfarren
The brother of Walter Cecil Macfarren is born George Alexander Macfarren
George Alexander Macfarren
action filter_type
action find
entity Walter Cecil Macfarren
relation brother
type common name
['Walter Cecil Macfarren', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Walter_Cecil_Macfarren property:brother ?a . ?a rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1374708
P86
Q15850590
USER
Which theatrical genres are composed by that person ?
(c(Q15850590),P86,Q1374708)
action filter_type
action find_reverse
entity Q1374708
relation P86
type Q15850590
[{'concept': 'Q15850590'}, 'P86', 'Q1374708']
SELECT DISTINCT ?c WHERE { ?c property:P86 resource:Q1374708 . ?c rdf:type ontology:Q15850590 }
George Alexander Macfarren
action filter_type
action find_reverse
entity George Alexander Macfarren
relation composer
type theatrical genre
[{'concept': 'theatrical genre'}, 'composer', 'George Alexander Macfarren']
SELECT DISTINCT ?c WHERE { ?c property:composer resource:George_Alexander_Macfarren . ?c rdf:type ontology:theatrical_genre }
[]
theatrical genre
Q15623338 Q16563119
SYSTEM
She Stoops to Conquer, Helvellyn
Q15623338 Q16563119
(c(Q15850590),P86,Q1374708)
action filter_type
action find_reverse
entity Q1374708
relation P86
type Q15850590
She stoops to Conquer and Helvellyn are composed by that person
[{'concept': 'Q15850590'}, 'P86', 'Q1374708']
SELECT DISTINCT ?c WHERE { ?c property:P86 resource:Q1374708 . ?c rdf:type ontology:Q15850590 }
She Stoops to Conquer Helvellyn
She stoops to Conquer and Helvellyn are composed by that person
She Stoops to Conquer Helvellyn
action filter_type
action find_reverse
entity George Alexander Macfarren
relation composer
type theatrical genre
[{'concept': 'theatrical genre'}, 'composer', 'George Alexander Macfarren']
SELECT DISTINCT ?c WHERE { ?c property:composer resource:George_Alexander_Macfarren . ?c rdf:type ontology:theatrical_genre }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q15623338 Q16563119
P86
Q502895
USER
Which people composed those theatrical genres ?
(Q15623338,P86,c(Q502895)) (Q16563119,P86,c(Q502895))
action filter_type
action find
entity prev_answer
relation P86
type Q502895
['Q15623338', 'P86', {'concept': 'Q502895'}] ['Q16563119', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . VALUES ( ?u ) { ( resource:Q15623338 ) ( resource:Q16563119 ) } . ?u property:P86 ?i }
She Stoops to Conquer Helvellyn
action filter_type
action find
entity prev_answer
relation composer
type common name
['She Stoops to Conquer', 'composer', {'concept': 'common name'}] ['Helvellyn', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . VALUES ( ?u ) { ( resource:She_Stoops_to_Conquer ) ( resource:Helvellyn ) } . ?u property:composer ?i }
[]
common name
Q1374708 Q1374708
SYSTEM
George Alexander Macfarren
Q1374708 Q1374708
(Q15623338,P86,c(Q502895)) (Q16563119,P86,c(Q502895))
action filter_type
action find
entity prev_answer
relation P86
type Q502895
[ANSWER] and [ANSWER] composed those theatrical genres
['Q15623338', 'P86', {'concept': 'Q502895'}] ['Q16563119', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . VALUES ( ?u ) { ( resource:Q15623338 ) ( resource:Q16563119 ) } . ?u property:P86 ?i }
George Alexander Macfarren George Alexander Macfarren
George Alexander Macfarren and George Alexander Macfarren composed those theatrical genres
George Alexander Macfarren George Alexander Macfarren
action filter_type
action find
entity prev_answer
relation composer
type common name
['She Stoops to Conquer', 'composer', {'concept': 'common name'}] ['Helvellyn', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . VALUES ( ?u ) { ( resource:She_Stoops_to_Conquer ) ( resource:Helvellyn ) } . ?u property:composer ?i }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1374708
P921
Q191067
USER
Which article is George Alexander Macfarren a main subject of ?
(c(Q191067),P921,Q1374708)
action filter_type
action find_reverse
entity Q1374708
relation P921
type Q191067
[{'concept': 'Q191067'}, 'P921', 'Q1374708']
SELECT DISTINCT ?d WHERE { ?d property:P921 resource:Q1374708 . ?d rdf:type ontology:Q191067 }
George Alexander Macfarren
action filter_type
action find_reverse
entity George Alexander Macfarren
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'George Alexander Macfarren']
SELECT DISTINCT ?d WHERE { ?d property:main_subject resource:George_Alexander_Macfarren . ?d rdf:type ontology:article }
[]
article
Q19020910
SYSTEM
Macfarren, George Alexander (DNB00)
Q19020910
(c(Q191067),P921,Q1374708)
action filter_type
action find_reverse
entity Q1374708
relation P921
type Q191067
[ANSWER] is George Alexander Macfarren a main subject of
[{'concept': 'Q191067'}, 'P921', 'Q1374708']
SELECT DISTINCT ?d WHERE { ?d property:P921 resource:Q1374708 . ?d rdf:type ontology:Q191067 }
Macfarren, George Alexander (DNB00)
Macfarren, George Alexander (DNB00) is George Alexander Macfarren a main subject of
Macfarren, George Alexander (DNB00)
action filter_type
action find_reverse
entity George Alexander Macfarren
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'George Alexander Macfarren']
SELECT DISTINCT ?d WHERE { ?d property:main_subject resource:George_Alexander_Macfarren . ?d rdf:type ontology:article }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1374708
P20
Q56061
USER
Where did the demise of George Alexander Macfarren occur ?
(Q1374708,P20,c(Q56061))
action filter_type
action find
entity Q1374708
relation P20
type Q56061
['Q1374708', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q56061 . resource:Q1374708 property:P20 ?j }
George Alexander Macfarren
action filter_type
action find
entity George Alexander Macfarren
relation place of death
type administrative territorial entity
['George Alexander Macfarren', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:administrative_territorial_entity . resource:George_Alexander_Macfarren property:place_of_death ?j }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q1374708,P20,c(Q56061))
action filter_type
action find
entity Q1374708
relation P20
type Q56061
The demise of George Alexander Macfarren occurred in [ANSWER]
['Q1374708', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q56061 . resource:Q1374708 property:P20 ?j }
London
The demise of George Alexander Macfarren occurred in London
London
action filter_type
action find
entity George Alexander Macfarren
relation place of death
type administrative territorial entity
['George Alexander Macfarren', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:administrative_territorial_entity . resource:George_Alexander_Macfarren property:place_of_death ?j }
[]