Simple Question (Direct)
Simple Question
Q706293
P1196
Q1931388
USER
What situation did Lau Kar-leung die in ?
(Q706293,P1196,c(Q1931388))
action filter_type
action find
entity Q706293
relation P1196
type Q1931388
['Q706293', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?f WHERE { resource:Q706293 property:P1196 ?f . ?f rdf:type ontology:Q1931388 }
Lau Kar-leung
action filter_type
action find
entity Lau Kar-leung
relation manner of death
type cause of death
['Lau Kar-leung', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?f WHERE { resource:Lau_Kar-leung property:manner_of_death ?f . ?f rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q706293,P1196,c(Q1931388))
action filter_type
action find
entity Q706293
relation P1196
type Q1931388
Lau Kar-leung died of [ANSWER]
['Q706293', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?f WHERE { resource:Q706293 property:P1196 ?f . ?f rdf:type ontology:Q1931388 }
natural causes
Lau Kar-leung died of natural causes
natural causes
action filter_type
action find
entity Lau Kar-leung
relation manner of death
type cause of death
['Lau Kar-leung', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?f WHERE { resource:Lau_Kar-leung property:manner_of_death ?f . ?f rdf:type ontology:cause_of_death }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3739104
P509
Q502895
USER
Which people had that one as cause of death ?
(c(Q502895),P509,Q3739104)
action filter_type
action find_reverse
entity Q3739104
relation P509
type Q502895
[{'concept': 'Q502895'}, 'P509', 'Q3739104']
SELECT DISTINCT ?i WHERE { ?i property:P509 resource:Q3739104 . ?i rdf:type ontology:Q502895 }
natural causes
action filter_type
action find_reverse
entity natural causes
relation cause of death
type common name
[{'concept': 'common name'}, 'cause of death', 'natural causes']
SELECT DISTINCT ?i WHERE { ?i property:cause_of_death resource:natural_causes . ?i rdf:type ontology:common_name }
[]
common name
Q185007 Q170256 Q1057003
SYSTEM
Rita Levi-Montalcini, Chris Marker, The Rev
Q20748116 Q185007 Q316859 Q172928 Q3106793 Q1148054 Q774948 Q170256 Q5560590 Q1042915 Q168355 Q55391 Q3086496 Q381234 Q314929 Q1057003 Q3276795
(c(Q502895),P509,Q3739104)
action filter_type
action find_reverse
entity Q3739104
relation P509
type Q502895
[ANSWERS] had that one as cause of death
[{'concept': 'Q502895'}, 'P509', 'Q3739104']
SELECT DISTINCT ?i WHERE { ?i property:P509 resource:Q3739104 . ?i rdf:type ontology:Q502895 }
Maria Cristina Villanova de Árbenz Rita Levi-Montalcini Ferdinand IV of Castile Clement IV Ginny Tyler William J. Tuttle Vesna Rožič Chris Marker Gil Perkins Carlos Franqui Don Beddoe Robert Bresson Françoise Giret Luis g berlanga Dick Francis The Rev James B. Clark
Rita Levi-Montalcini, Chris Marker and The Rev had that one as cause of death
Rita Levi-Montalcini Chris Marker The Rev
action filter_type
action find_reverse
entity natural causes
relation cause of death
type common name
[{'concept': 'common name'}, 'cause of death', 'natural causes']
SELECT DISTINCT ?i WHERE { ?i property:cause_of_death resource:natural_causes . ?i rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q185007 Q170256 Q1057003
P106
Q12737077
USER
What do Rita Levi-Montalcini, Chris Marker and The Rev do for a living ?
(Q185007,P106,c(Q12737077)) (Q170256,P106,c(Q12737077)) (Q1057003,P106,c(Q12737077))
action union
action filter_type
action find
entity Q185007
relation P106
type Q12737077
action filter_type
action find
entity Q170256
relation P106
type Q12737077
action filter_type
action find
entity Q1057003
relation P106
type Q12737077
['Q185007', 'P106', {'concept': 'Q12737077'}] ['Q170256', 'P106', {'concept': 'Q12737077'}] ['Q1057003', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { ?v property:P106 ?t . VALUES ( ?v ) { ( resource:Q185007 ) ( resource:Q170256 ) } }
Rita Levi-Montalcini Chris Marker The Rev
action union
action filter_type
action find
entity Rita Levi-Montalcini
relation occupation
type occupation
action filter_type
action find
entity Chris Marker
relation occupation
type occupation
action filter_type
action find
entity The Rev
relation occupation
type occupation
['Rita Levi-Montalcini', 'occupation', {'concept': 'occupation'}] ['Chris Marker', 'occupation', {'concept': 'occupation'}] ['The Rev', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { ?v property:occupation ?t . VALUES ( ?v ) { ( resource:Rita_Levi-Montalcini ) ( resource:Chris_Marker ) } }
[]
occupation
Q578109 Q33231 Q1930187
SYSTEM
television producer, photographer, journalist
Q39631 Q82955 Q783906 Q2919046 Q6337803 Q15809665 Q33231 Q49757 Q1930187 Q37226 Q483501 Q578109 Q639669 Q386854 Q177220 Q753110 Q486748
(Q185007,P106,c(Q12737077)) (Q170256,P106,c(Q12737077)) (Q1057003,P106,c(Q12737077))
action union
action filter_type
action find
entity Q185007
relation P106
type Q12737077
action filter_type
action find
entity Q170256
relation P106
type Q12737077
action filter_type
action find
entity Q1057003
relation P106
type Q12737077
Rita Levi-Montalcini , Chris Marker and The Rev do for a living as [ANSWERS]
['Q185007', 'P106', {'concept': 'Q12737077'}] ['Q170256', 'P106', {'concept': 'Q12737077'}] ['Q1057003', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { ?v property:P106 ?t . VALUES ( ?v ) { ( resource:Q185007 ) ( resource:Q170256 ) } }
physician politician neurologist biochemist neuroscientist film critic photographer poet journalist teacher artist television producer musician drummer singer songwriter pianist
Rita Levi-Montalcini , Chris Marker and The Rev do for a living as television producer, photographer and journalist
television producer photographer journalist
action union
action filter_type
action find
entity Rita Levi-Montalcini
relation occupation
type occupation
action filter_type
action find
entity Chris Marker
relation occupation
type occupation
action filter_type
action find
entity The Rev
relation occupation
type occupation
['Rita Levi-Montalcini', 'occupation', {'concept': 'occupation'}] ['Chris Marker', 'occupation', {'concept': 'occupation'}] ['The Rev', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { ?v property:occupation ?t . VALUES ( ?v ) { ( resource:Rita_Levi-Montalcini ) ( resource:Chris_Marker ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q185007
P1346
Q618779
USER
Which award was won by that person ?
(c(Q618779),P1346,Q185007)
action filter_type
action find_reverse
entity Q185007
relation P1346
type Q618779
[{'concept': 'Q618779'}, 'P1346', 'Q185007']
SELECT DISTINCT ?z WHERE { ?z property:P1346 resource:Q185007 . ?z rdf:type ontology:Q618779 }
Rita Levi-Montalcini
action filter_type
action find_reverse
entity Rita Levi-Montalcini
relation winner
type award
[{'concept': 'award'}, 'winner', 'Rita Levi-Montalcini']
SELECT DISTINCT ?z WHERE { ?z property:winner resource:Rita_Levi-Montalcini . ?z rdf:type ontology:award }
[]
award
Clarification for simple ques.
Q185007
SYSTEM
Did you mean Rita Levi-Montalcini ?
Q578109 Q33231 Q1930187
(c(Q618779),P1346,Q578109) (c(Q618779),P1346,Q33231) (c(Q618779),P1346,Q1930187)
[ANSWER]
[{'concept': 'Q618779'}, 'P1346', 'Q578109'] [{'concept': 'Q618779'}, 'P1346', 'Q33231'] [{'concept': 'Q618779'}, 'P1346', 'Q1930187']
SELECT DISTINCT ?z WHERE { ?z property:P1346 resource:Q185007 . ?z rdf:type ontology:Q618779 }
television producer photographer journalist
Did you mean Rita Levi-Montalcini ?
Rita Levi-Montalcini
[{'concept': 'award'}, 'winner', 'television producer'] [{'concept': 'award'}, 'winner', 'photographer'] [{'concept': 'award'}, 'winner', 'journalist']
SELECT DISTINCT ?z WHERE { ?z property:winner resource:Rita_Levi-Montalcini . ?z rdf:type ontology:award }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q618779),P1346,Q185007)
[{'concept': 'Q618779'}, 'P1346', 'Q185007']
[{'concept': 'award'}, 'winner', 'Rita Levi-Montalcini']
[]
Q999734
SYSTEM
Albert Lasker Award for Basic Medical Research
Q999734
(c(Q618779),P1346,Q185007)
action filter_type
action find_reverse
entity Q185007
relation P1346
type Q618779
The [ANSWER] was won by that person
[{'concept': 'Q618779'}, 'P1346', 'Q185007']
SELECT DISTINCT ?z WHERE { ?z property:P1346 resource:Q185007 . ?z rdf:type ontology:Q618779 }
Albert Lasker Award for Basic Medical Research
The Albert Lasker Award for Basic Medical Research was won by that person
Albert Lasker Award for Basic Medical Research
action filter_type
action find_reverse
entity Rita Levi-Montalcini
relation winner
type award
[{'concept': 'award'}, 'winner', 'Rita Levi-Montalcini']
SELECT DISTINCT ?z WHERE { ?z property:winner resource:Rita_Levi-Montalcini . ?z rdf:type ontology:award }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q170256
P737
Q502895
USER
How many people influenced Chris Marker ?
(Q170256,P737,c(Q502895))
action count
action filter_type
action find
entity Q170256
relation P737
type Q502895
['Q170256', 'P737', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { resource:Q170256 property:P737 ?r . ?r rdf:type ontology:Q502895 }
Chris Marker
action count
action filter_type
action find
entity Chris Marker
relation influenced by
type common name
['Chris Marker', 'influenced by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { resource:Chris_Marker property:influenced_by ?r . ?r rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q37767
(Q170256,P737,c(Q502895))
action count
action filter_type
action find
entity Q170256
relation P737
type Q502895
[ANSWER]
['Q170256', 'P737', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { resource:Q170256 property:P737 ?r . ?r rdf:type ontology:Q502895 }
T. S. Eliot
1
action count
action filter_type
action find
entity Chris Marker
relation influenced by
type common name
['Chris Marker', 'influenced by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { resource:Chris_Marker property:influenced_by ?r . ?r rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q7426
P737
Q502895
USER
And also tell me about Ada Yonath?
(Q7426,P737,c(Q502895))
action count
action filter_type
action find
entity Q7426
relation P737
type Q502895
['Q7426', 'P737', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { resource:Q7426 property:P737 ?m . ?m rdf:type ontology:Q502895 }
Ada Yonath
action count
action filter_type
action find
entity Ada Yonath
relation influenced by
type common name
['Ada Yonath', 'influenced by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { resource:Ada_Yonath property:influenced_by ?m . ?m rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q110935
(Q7426,P737,c(Q502895))
action count
action filter_type
action find
entity Q7426
relation P737
type Q502895
[ANSWER]
['Q7426', 'P737', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { resource:Q7426 property:P737 ?m . ?m rdf:type ontology:Q502895 }
William Lipscomb
1
action count
action filter_type
action find
entity Ada Yonath
relation influenced by
type common name
['Ada Yonath', 'influenced by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { resource:Ada_Yonath property:influenced_by ?m . ?m rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q27645
Q502895
USER
And what about Mikhail Bakunin?
(Q27645,P737,c(Q502895))
action count
action filter_type
action find
entity Q27645
relation P737
type Q502895
['Q27645', 'P737', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { resource:Q27645 property:P737 ?f . ?f rdf:type ontology:Q502895 }
Mikhail Bakunin
action count
action filter_type
action find
entity Mikhail Bakunin
relation influenced by
type common name
['Mikhail Bakunin', 'influenced by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { resource:Mikhail_Bakunin property:influenced_by ?f . ?f rdf:type ontology:common_name }
[]
common name
SYSTEM
9
(Q27645,P737,c(Q502895))
action count
action filter_type
action find
entity Q27645
relation P737
type Q502895
[ANSWER]
['Q27645', 'P737', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { resource:Q27645 property:P737 ?f . ?f rdf:type ontology:Q502895 }
9
action count
action filter_type
action find
entity Mikhail Bakunin
relation influenced by
type common name
['Mikhail Bakunin', 'influenced by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { resource:Mikhail_Bakunin property:influenced_by ?f . ?f rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q19352973 Q706293
P27 P17
Q15617994
USER
Which administrative territories do Lau Kar-leung belong to or are Nassauplantsoen situated in ?
OR((Q706293,P27,c(Q15617994)), (Q19352973,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q706293
relation P27
action find
entity Q19352973
relation P17
type Q15617994
{'OR': [['Q706293', 'P27', {'concept': 'Q15617994'}], ['Q19352973', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q706293 property:P27 ?j } UNION { resource:Q19352973 property:P17 ?j } } . ?j rdf:type ontology:Q15617994 }
Nassauplantsoen Lau Kar-leung
action filter_type
action union
action find
entity Lau Kar-leung
relation country of citizenship
action find
entity Nassauplantsoen
relation country
type designation for an administrative territorial entity
{'OR': [['Lau Kar-leung', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Nassauplantsoen', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Lau_Kar-leung property:country_of_citizenship ?j } UNION { resource:Nassauplantsoen property:country ?j } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q148 Q55
SYSTEM
People's Republic of China, Netherlands
Q148 Q55
OR((Q706293,P27,c(Q15617994)), (Q19352973,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q706293
relation P27
action find
entity Q19352973
relation P17
type Q15617994
Lau Kar-leung belong to the [ANSWERS]
{'OR': [['Q706293', 'P27', {'concept': 'Q15617994'}], ['Q19352973', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q706293 property:P27 ?j } UNION { resource:Q19352973 property:P17 ?j } } . ?j rdf:type ontology:Q15617994 }
People's Republic of China Netherlands
Lau Kar-leung belong to the People's Republic of China and Netherlands
People's Republic of China Netherlands
action filter_type
action union
action find
entity Lau Kar-leung
relation country of citizenship
action find
entity Nassauplantsoen
relation country
type designation for an administrative territorial entity
{'OR': [['Lau Kar-leung', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Nassauplantsoen', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Lau_Kar-leung property:country_of_citizenship ?j } UNION { resource:Nassauplantsoen property:country ?j } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]