Simple Question (Direct)
Simple Question
Q4912646
P20
Q56061
USER
Where did the demise of Billy Griffith occur ?
(Q4912646,P20,c(Q56061))
action filter_type
action find
entity Q4912646
relation P20
type Q56061
['Q4912646', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q4912646 property:P20 ?p . ?p rdf:type ontology:Q56061 }
Billy Griffith
action filter_type
action find
entity Billy Griffith
relation place of death
type administrative territorial entity
['Billy Griffith', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Billy_Griffith property:place_of_death ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2227185
SYSTEM
Felpham
Q2227185
(Q4912646,P20,c(Q56061))
action filter_type
action find
entity Q4912646
relation P20
type Q56061
The demise of Billy Griffith occurred in [ANSWER]
['Q4912646', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q4912646 property:P20 ?p . ?p rdf:type ontology:Q56061 }
Felpham
The demise of Billy Griffith occurred in Felpham
Felpham
action filter_type
action find
entity Billy Griffith
relation place of death
type administrative territorial entity
['Billy Griffith', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Billy_Griffith property:place_of_death ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2227185
P551
Q502895
USER
Who lives in that administrative territory ?
(c(Q502895),P551,Q2227185)
action filter_type
action find_reverse
entity Q2227185
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q2227185']
SELECT DISTINCT ?p WHERE { ?p property:P551 resource:Q2227185 . ?p rdf:type ontology:Q502895 }
Felpham
action filter_type
action find_reverse
entity Felpham
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Felpham']
SELECT DISTINCT ?p WHERE { ?p property:residence resource:Felpham . ?p rdf:type ontology:common_name }
[]
common name
Q74936 Q41513
SYSTEM
William Hayley, William Blake
Q74936 Q41513
(c(Q502895),P551,Q2227185)
action filter_type
action find_reverse
entity Q2227185
relation P551
type Q502895
[ANSWERS] live in that administrative territory
[{'concept': 'Q502895'}, 'P551', 'Q2227185']
SELECT DISTINCT ?p WHERE { ?p property:P551 resource:Q2227185 . ?p rdf:type ontology:Q502895 }
William Hayley William Blake
William Hayley and William Blake live in that administrative territory
William Hayley William Blake
action filter_type
action find_reverse
entity Felpham
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Felpham']
SELECT DISTINCT ?p WHERE { ?p property:residence resource:Felpham . ?p rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can around 2671 people perform with ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2671
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?g = 2671 ) . { SELECT DISTINCT ?s ( COUNT ( ?m ) AS ?g ) WHERE { ?m property:P1303 ?s . ?s rdf:type ontology:Q34379 . ?m rdf:type ontology:Q502895 } GROUP BY ?s } }
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2671
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?g = 2671 ) . { SELECT DISTINCT ?s ( COUNT ( ?m ) AS ?g ) WHERE { ?m property:instrument ?s . ?s rdf:type ontology:musical_instrument . ?m rdf:type ontology:common_name } GROUP BY ?s } }
[]
musical instrument common name
Q46185 Q8338 Q1444
SYSTEM
bass guitar, trumpet, organ
Q46185 Q8338 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2671
[ANSWERS] can around 2671 people perform with
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?g = 2671 ) . { SELECT DISTINCT ?s ( COUNT ( ?m ) AS ?g ) WHERE { ?m property:P1303 ?s . ?s rdf:type ontology:Q34379 . ?m rdf:type ontology:Q502895 } GROUP BY ?s } }
bass guitar trumpet organ drum kit
Bass guitar, trumpet and organ can around 2671 people perform with
bass guitar trumpet organ
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2671
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?g = 2671 ) . { SELECT DISTINCT ?s ( COUNT ( ?m ) AS ?g ) WHERE { ?m property:instrument ?s . ?s rdf:type ontology:musical_instrument . ?m rdf:type ontology:common_name } GROUP BY ?s } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q41513
P737
Q502895
USER
Who influenced William Blake ?
(Q41513,P737,c(Q502895))
action filter_type
action find
entity Q41513
relation P737
type Q502895
['Q41513', 'P737', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q41513 property:P737 ?i . ?i rdf:type ontology:Q502895 }
William Blake
action filter_type
action find
entity William Blake
relation influenced by
type common name
['William Blake', 'influenced by', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:William_Blake property:influenced_by ?i . ?i rdf:type ontology:common_name }
[]
common name
Q1067 Q101638 Q185832
SYSTEM
Dante Alighieri, Mary Wollstonecraft, Emanuel Swedenborg
Q101638 Q77017 Q1067 Q185832 Q8016608 Q193857 Q79759 Q1042892
(Q41513,P737,c(Q502895))
action filter_type
action find
entity Q41513
relation P737
type Q502895
[ANSWERS] influenced William Blake
['Q41513', 'P737', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q41513 property:P737 ?i . ?i rdf:type ontology:Q502895 }
Mary Wollstonecraft Jakob Böhme Dante Alighieri Emanuel Swedenborg William Pars Ben Jonson John Milton James Barry
Dante Alighieri, Mary Wollstonecraft and Emanuel Swedenborg influenced William Blake
Dante Alighieri Mary Wollstonecraft Emanuel Swedenborg
action filter_type
action find
entity William Blake
relation influenced by
type common name
['William Blake', 'influenced by', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:William_Blake property:influenced_by ?i . ?i rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q101638
P509
Q18123741
USER
How did that person die ?
(Q101638,P509,c(Q18123741))
action filter_type
action find
entity Q101638
relation P509
type Q18123741
['Q101638', 'P509', {'concept': 'Q18123741'}]
SELECT DISTINCT ?y WHERE { resource:Q101638 property:P509 ?y . ?y rdf:type ontology:Q18123741 }
Mary Wollstonecraft
action filter_type
action find
entity Mary Wollstonecraft
relation cause of death
type infectious disease
['Mary Wollstonecraft', 'cause of death', {'concept': 'infectious disease'}]
SELECT DISTINCT ?y WHERE { resource:Mary_Wollstonecraft property:cause_of_death ?y . ?y rdf:type ontology:infectious_disease }
[]
infectious disease
Clarification for simple ques.
Q185832
SYSTEM
Did you mean Emanuel Swedenborg ?
Q1067 Q101638 Q185832
(Q1067,P509,c(Q18123741)) (Q101638,P509,c(Q18123741)) (Q185832,P509,c(Q18123741))
[ANSWER]
['Q1067', 'P509', {'concept': 'Q18123741'}] ['Q101638', 'P509', {'concept': 'Q18123741'}] ['Q185832', 'P509', {'concept': 'Q18123741'}]
SELECT DISTINCT ?y WHERE { resource:Q101638 property:P509 ?y . ?y rdf:type ontology:Q18123741 }
Dante Alighieri Mary Wollstonecraft Emanuel Swedenborg
Did you mean Emanuel Swedenborg ?
Emanuel Swedenborg
['Dante Alighieri', 'cause of death', {'concept': 'infectious disease'}] ['Mary Wollstonecraft', 'cause of death', {'concept': 'infectious disease'}] ['Emanuel Swedenborg', 'cause of death', {'concept': 'infectious disease'}]
SELECT DISTINCT ?y WHERE { resource:Mary_Wollstonecraft property:cause_of_death ?y . ?y rdf:type ontology:infectious_disease }
[]
Simple Question (Coreferenced)
USER
No, I meant Mary Wollstonecraft. Could you tell me the answer for that?
(Q101638,P509,c(Q18123741))
Q101638
['Q101638', 'P509', {'concept': 'Q18123741'}]
['Mary Wollstonecraft', 'cause of death', {'concept': 'infectious disease'}]
[]
Q183134
SYSTEM
sepsis
Q183134
(Q101638,P509,c(Q18123741))
action filter_type
action find
entity Q101638
relation P509
type Q18123741
That person died in [ANSWER]
['Q101638', 'P509', {'concept': 'Q18123741'}]
SELECT DISTINCT ?y WHERE { resource:Q101638 property:P509 ?y . ?y rdf:type ontology:Q18123741 }
sepsis
That person died in sepsis
sepsis
action filter_type
action find
entity Mary Wollstonecraft
relation cause of death
type infectious disease
['Mary Wollstonecraft', 'cause of death', {'concept': 'infectious disease'}]
SELECT DISTINCT ?y WHERE { resource:Mary_Wollstonecraft property:cause_of_death ?y . ?y rdf:type ontology:infectious_disease }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q624236 Q101638
P20 P1383
Q56061
USER
Which administrative territories did Mary Wollstonecraft expire or do Blaj have administrative control over ?
OR((Q101638,P20,c(Q56061)), (Q624236,P1383,c(Q56061)))
action filter_type
action union
action find
entity Q101638
relation P20
action find
entity Q624236
relation P1383
type Q56061
{'OR': [['Q101638', 'P20', {'concept': 'Q56061'}], ['Q624236', 'P1383', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q56061 . { { resource:Q624236 property:P1383 ?c } UNION { resource:Q101638 property:P20 ?c } } }
Blaj Mary Wollstonecraft
action filter_type
action union
action find
entity Mary Wollstonecraft
relation place of death
action find
entity Blaj
relation contains settlement
type administrative territorial entity
{'OR': [['Mary Wollstonecraft', 'place of death', {'concept': 'administrative territorial entity'}], ['Blaj', 'contains settlement', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:administrative_territorial_entity . { { resource:Blaj property:contains_settlement ?c } UNION { resource:Mary_Wollstonecraft property:place_of_death ?c } } }
[]
administrative territorial entity
Q755924 Q756974 Q84
SYSTEM
Spătac, Mănărade, London
Q755924 Q756974 Q84
OR((Q101638,P20,c(Q56061)), (Q624236,P1383,c(Q56061)))
action filter_type
action union
action find
entity Q101638
relation P20
action find
entity Q624236
relation P1383
type Q56061
Mary Wollstonecraft expired [ANSWERS]
{'OR': [['Q101638', 'P20', {'concept': 'Q56061'}], ['Q624236', 'P1383', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q56061 . { { resource:Q624236 property:P1383 ?c } UNION { resource:Q101638 property:P20 ?c } } }
Spătac Mănărade London
Mary Wollstonecraft expired Spătac, Mănărade and London
Spătac Mănărade London
action filter_type
action union
action find
entity Mary Wollstonecraft
relation place of death
action find
entity Blaj
relation contains settlement
type administrative territorial entity
{'OR': [['Mary Wollstonecraft', 'place of death', {'concept': 'administrative territorial entity'}], ['Blaj', 'contains settlement', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:administrative_territorial_entity . { { resource:Blaj property:contains_settlement ?c } UNION { resource:Mary_Wollstonecraft property:place_of_death ?c } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q837867 Q41513
P7
Q502895
USER
Which people have William Blake or Matsudaira Tadateru as their brother ?
OR((Q41513,P7,c(Q502895)), (Q837867,P7,c(Q502895)))
action filter_type
action union
action find
entity Q41513
relation P7
action find
entity Q837867
relation P7
type Q502895
{'OR': [['Q41513', 'P7', {'concept': 'Q502895'}], ['Q837867', 'P7', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?v ) { ( resource:Q41513 ) ( resource:Q837867 ) } . ?v property:P7 ?o } . ?o rdf:type ontology:Q502895 }
Matsudaira Tadateru William Blake
action filter_type
action union
action find
entity William Blake
relation brother
action find
entity Matsudaira Tadateru
relation brother
type common name
{'OR': [['William Blake', 'brother', {'concept': 'common name'}], ['Matsudaira Tadateru', 'brother', {'concept': 'common name'}]]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?v ) { ( resource:William_Blake ) ( resource:Matsudaira_Tadateru ) } . ?v property:brother ?o } . ?o rdf:type ontology:common_name }
[]
common name
Q314464 Q23661525 Q4489936 Q23661513 Q1188704 Q1130929 Q1133267 Q1136186 Q23662533 Q1045763
SYSTEM
Some of them are Tokugawa Hidetada, John Blake, Matsudaira Matsuchiyo, James Blake, Matsudaira Nobuyasu, Yūki Hideyasu, Takeda Nobuyoshi, Tokugawa Yoshinao, Richard Blake, Tokugawa Yorinobu
Q23661525 Q23662533 Q1136186 Q1188704 Q1133267 Q1130929 Q1133215 Q314464 Q4489936 Q21977596 Q1045763 Q1133680 Q4489943 Q23661513
OR((Q41513,P7,c(Q502895)), (Q837867,P7,c(Q502895)))
action filter_type
action union
action find
entity Q41513
relation P7
action find
entity Q837867
relation P7
type Q502895
[ANSWERS] have William Blake or Matsudaira Tadateru as their brother
{'OR': [['Q41513', 'P7', {'concept': 'Q502895'}], ['Q837867', 'P7', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?v ) { ( resource:Q41513 ) ( resource:Q837867 ) } . ?v property:P7 ?o } . ?o rdf:type ontology:Q502895 }
John Blake Richard Blake Tokugawa Yoshinao Matsudaira Nobuyasu Takeda Nobuyoshi Yūki Hideyasu Matsudaira Tadayoshi Tokugawa Hidetada Matsudaira Matsuchiyo Robert Blake Tokugawa Yorinobu Tokugawa Yorifusa Matsudaira Senchiyo James Blake
Tokugawa Hidetada, John Blake, Matsudaira Matsuchiyo, James Blake, Matsudaira Nobuyasu, Yūki Hideyasu, Takeda Nobuyoshi, Tokugawa Yoshinao, Richard Blake and Tokugawa Yorinobu have William Blake or Matsudaira Tadateru as their brother
Tokugawa Hidetada John Blake Matsudaira Matsuchiyo James Blake Matsudaira Nobuyasu Yūki Hideyasu Takeda Nobuyoshi Tokugawa Yoshinao Richard Blake Tokugawa Yorinobu
action filter_type
action union
action find
entity William Blake
relation brother
action find
entity Matsudaira Tadateru
relation brother
type common name
{'OR': [['William Blake', 'brother', {'concept': 'common name'}], ['Matsudaira Tadateru', 'brother', {'concept': 'common name'}]]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?v ) { ( resource:William_Blake ) ( resource:Matsudaira_Tadateru ) } . ?v property:brother ?o } . ?o rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q837867
P25
Q502895
USER
Which person was the mother of Matsudaira Tadateru ?
(Q837867,P25,c(Q502895))
action filter_type
action find
entity Q837867
relation P25
type Q502895
['Q837867', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q837867 property:P25 ?d . ?d rdf:type ontology:Q502895 }
Matsudaira Tadateru
action filter_type
action find
entity Matsudaira Tadateru
relation mother
type common name
['Matsudaira Tadateru', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Matsudaira_Tadateru property:mother ?d . ?d rdf:type ontology:common_name }
[]
common name
Q6470026
SYSTEM
Chaa no Tsubone
Q6470026
(Q837867,P25,c(Q502895))
action filter_type
action find
entity Q837867
relation P25
type Q502895
[ANSWER] was the mother of Matsudaira Tadateru
['Q837867', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q837867 property:P25 ?d . ?d rdf:type ontology:Q502895 }
Chaa no Tsubone
Chaa no Tsubone was the mother of Matsudaira Tadateru
Chaa no Tsubone
action filter_type
action find
entity Matsudaira Tadateru
relation mother
type common name
['Matsudaira Tadateru', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Matsudaira_Tadateru property:mother ?d . ?d rdf:type ontology:common_name }
[]