Simple Question (Direct)
Simple Question
Q68255
P1066
Q502895
USER
Which person was the teacher of Johann Friedrich Doles ?
(Q68255,P1066,c(Q502895))
action filter_type
action find
entity Q68255
relation P1066
type Q502895
['Q68255', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q68255 property:P1066 ?k . ?k rdf:type ontology:Q502895 }
Johann Friedrich Doles
action filter_type
action find
entity Johann Friedrich Doles
relation student of
type common name
['Johann Friedrich Doles', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Johann_Friedrich_Doles property:student_of ?k . ?k rdf:type ontology:common_name }
[]
common name
Q1339
SYSTEM
Johann Sebastian Bach
Q1339
(Q68255,P1066,c(Q502895))
action filter_type
action find
entity Q68255
relation P1066
type Q502895
[ANSWER] was the teacher of Johann Friedrich Doles
['Q68255', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q68255 property:P1066 ?k . ?k rdf:type ontology:Q502895 }
Johann Sebastian Bach
Johann Sebastian Bach was the teacher of Johann Friedrich Doles
Johann Sebastian Bach
action filter_type
action find
entity Johann Friedrich Doles
relation student of
type common name
['Johann Friedrich Doles', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Johann_Friedrich_Doles property:student_of ?k . ?k rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1339
P1196
Q1931388
USER
What situation did that person die in ?
(Q1339,P1196,c(Q1931388))
action filter_type
action find
entity Q1339
relation P1196
type Q1931388
['Q1339', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?g WHERE { resource:Q1339 property:P1196 ?g . ?g rdf:type ontology:Q1931388 }
Johann Sebastian Bach
action filter_type
action find
entity Johann Sebastian Bach
relation manner of death
type cause of death
['Johann Sebastian Bach', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?g WHERE { resource:Johann_Sebastian_Bach property:manner_of_death ?g . ?g rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q1339,P1196,c(Q1931388))
action filter_type
action find
entity Q1339
relation P1196
type Q1931388
That person died in [ANSWER]
['Q1339', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?g WHERE { resource:Q1339 property:P1196 ?g . ?g rdf:type ontology:Q1931388 }
natural causes
That person died in natural causes
natural causes
action filter_type
action find
entity Johann Sebastian Bach
relation manner of death
type cause of death
['Johann Sebastian Bach', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?g WHERE { resource:Johann_Sebastian_Bach property:manner_of_death ?g . ?g rdf:type ontology:cause_of_death }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1339
P1038
Q502895
USER
Which people are related with Johann Sebastian Bach ?
(Q1339,P1038,c(Q502895))
action filter_type
action find
entity Q1339
relation P1038
type Q502895
['Q1339', 'P1038', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . resource:Q1339 property:P1038 ?g }
Johann Sebastian Bach
action filter_type
action find
entity Johann Sebastian Bach
relation relative
type common name
['Johann Sebastian Bach', 'relative', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . resource:Johann_Sebastian_Bach property:relative ?g }
[]
common name
Q638391 Q425612
SYSTEM
Johann Sebastian Bach, Christoph Bach
Q638391 Q425612
(Q1339,P1038,c(Q502895))
action filter_type
action find
entity Q1339
relation P1038
type Q502895
Be [ANSWERS] are related with Johann Sebastian Bach
['Q1339', 'P1038', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . resource:Q1339 property:P1038 ?g }
Johann Sebastian Bach Christoph Bach
Be Johann Sebastian Bach and Christoph Bach are related with Johann Sebastian Bach
Johann Sebastian Bach Christoph Bach
action filter_type
action find
entity Johann Sebastian Bach
relation relative
type common name
['Johann Sebastian Bach', 'relative', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . resource:Johann_Sebastian_Bach property:relative ?g }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q932356
Q502895
USER
And how about Muzio Sforza?
(Q932356,P1038,c(Q502895))
action filter_type
action find
entity Q932356
relation P1038
type Q502895
['Q932356', 'P1038', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q932356 property:P1038 ?x . ?x rdf:type ontology:Q502895 }
Muzio Sforza
action filter_type
action find
entity Muzio Sforza
relation relative
type common name
['Muzio Sforza', 'relative', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Muzio_Sforza property:relative ?x . ?x rdf:type ontology:common_name }
[]
common name
Q3621900 Q3844500
SYSTEM
Ardizzone da Carrara, Manfredo da Barbiano
Q3621900 Q3844500
(Q932356,P1038,c(Q502895))
action filter_type
action find
entity Q932356
relation P1038
type Q502895
[ANSWERS]
['Q932356', 'P1038', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q932356 property:P1038 ?x . ?x rdf:type ontology:Q502895 }
Ardizzone da Carrara Manfredo da Barbiano
Ardizzone da Carrara Manfredo da Barbiano
action filter_type
action find
entity Muzio Sforza
relation relative
type common name
['Muzio Sforza', 'relative', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Muzio_Sforza property:relative ?x . ?x rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q3844500 Q10901526
P1038
Q502895
USER
How many people are related to Manfredo da Barbiano or Niōnomiya ?
(Q3844500,P1038,c(Q502895)) (Q10901526,P1038,c(Q502895))
action count
action union
action filter_type
action find
entity Q3844500
relation P1038
type Q502895
action filter_type
action find
entity Q10901526
relation P1038
type Q502895
['Q3844500', 'P1038', {'concept': 'Q502895'}] ['Q10901526', 'P1038', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { { resource:Q10901526 property:P1038 ?a . ?a rdf:type ontology:Q502895 } UNION { resource:Q3844500 property:P1038 ?a . ?a rdf:type ontology:Q502895 } }
Manfredo da Barbiano Niōnomiya
action count
action union
action filter_type
action find
entity Manfredo da Barbiano
relation relative
type common name
action filter_type
action find
entity Niōnomiya
relation relative
type common name
['Manfredo da Barbiano', 'relative', {'concept': 'common name'}] ['Niōnomiya', 'relative', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { { resource:Niōnomiya property:relative ?a . ?a rdf:type ontology:common_name } UNION { resource:Manfredo_da_Barbiano property:relative ?a . ?a rdf:type ontology:common_name } }
[]
common name
SYSTEM
3
Q953878 Q932356 Q310536
(Q3844500,P1038,c(Q502895)) (Q10901526,P1038,c(Q502895))
action count
action union
action filter_type
action find
entity Q3844500
relation P1038
type Q502895
action filter_type
action find
entity Q10901526
relation P1038
type Q502895
[ANSWER]
['Q3844500', 'P1038', {'concept': 'Q502895'}] ['Q10901526', 'P1038', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { { resource:Q10901526 property:P1038 ?a . ?a rdf:type ontology:Q502895 } UNION { resource:Q3844500 property:P1038 ?a . ?a rdf:type ontology:Q502895 } }
Alessandro Sforza Muzio Sforza Francesco I Sforza
3
action count
action union
action filter_type
action find
entity Manfredo da Barbiano
relation relative
type common name
action filter_type
action find
entity Niōnomiya
relation relative
type common name
['Manfredo da Barbiano', 'relative', {'concept': 'common name'}] ['Niōnomiya', 'relative', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { { resource:Niōnomiya property:relative ?a . ?a rdf:type ontology:common_name } UNION { resource:Manfredo_da_Barbiano property:relative ?a . ?a rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q425612
P22
Q502895
USER
Which people have Christoph Bach as a parent ?
(c(Q502895),P22,Q425612)
action filter_type
action find_reverse
entity Q425612
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q425612']
SELECT DISTINCT ?q WHERE { ?q property:P22 resource:Q425612 . ?q rdf:type ontology:Q502895 }
Christoph Bach
action filter_type
action find_reverse
entity Christoph Bach
relation father
type common name
[{'concept': 'common name'}, 'father', 'Christoph Bach']
SELECT DISTINCT ?q WHERE { ?q property:father resource:Christoph_Bach . ?q rdf:type ontology:common_name }
[]
common name
Q309470 Q48345 Q5877731
SYSTEM
Johann Ambrosius Bach, Johann Christoph Bach II, Georg Christoph Bach
Q309470 Q48345 Q5877731
(c(Q502895),P22,Q425612)
action filter_type
action find_reverse
entity Q425612
relation P22
type Q502895
[ANSWERS] have Christoph Bach as a parent
[{'concept': 'Q502895'}, 'P22', 'Q425612']
SELECT DISTINCT ?q WHERE { ?q property:P22 resource:Q425612 . ?q rdf:type ontology:Q502895 }
Johann Ambrosius Bach Johann Christoph Bach II Georg Christoph Bach
Johann Ambrosius Bach, Johann Christoph Bach II and Georg Christoph Bach have Christoph Bach as a parent
Johann Ambrosius Bach Johann Christoph Bach II Georg Christoph Bach
action filter_type
action find_reverse
entity Christoph Bach
relation father
type common name
[{'concept': 'common name'}, 'father', 'Christoph Bach']
SELECT DISTINCT ?q WHERE { ?q property:father resource:Christoph_Bach . ?q rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q309470
P7
Q502895
USER
Who are the brother of Johann Ambrosius Bach ?
(Q309470,P7,c(Q502895))
action filter_type
action find
entity Q309470
relation P7
type Q502895
['Q309470', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q309470 property:P7 ?i . ?i rdf:type ontology:Q502895 }
Johann Ambrosius Bach
action filter_type
action find
entity Johann Ambrosius Bach
relation brother
type common name
['Johann Ambrosius Bach', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Johann_Ambrosius_Bach property:brother ?i . ?i rdf:type ontology:common_name }
[]
common name
Q48345 Q5877731
SYSTEM
Johann Christoph Bach II, Georg Christoph Bach
Q48345 Q5877731
(Q309470,P7,c(Q502895))
action filter_type
action find
entity Q309470
relation P7
type Q502895
The brother of Johann Ambrosius Bach are also [ANSWERS]
['Q309470', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q309470 property:P7 ?i . ?i rdf:type ontology:Q502895 }
Johann Christoph Bach II Georg Christoph Bach
The brother of Johann Ambrosius Bach are also Johann Christoph Bach II and Georg Christoph Bach
Johann Christoph Bach II Georg Christoph Bach
action filter_type
action find
entity Johann Ambrosius Bach
relation brother
type common name
['Johann Ambrosius Bach', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Johann_Ambrosius_Bach property:brother ?i . ?i rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q309470
P135
Q151885
USER
Which concept did Johann Ambrosius Bach belong to
(Q309470,P135,c(Q151885))
action filter_type
action find
entity Q309470
relation P135
type Q151885
['Q309470', 'P135', {'concept': 'Q151885'}]
SELECT DISTINCT ?s WHERE { resource:Q309470 property:P135 ?s . ?s rdf:type ontology:Q151885 }
Johann Ambrosius Bach
action filter_type
action find
entity Johann Ambrosius Bach
relation movement
type concept
['Johann Ambrosius Bach', 'movement', {'concept': 'concept'}]
SELECT DISTINCT ?s WHERE { resource:Johann_Ambrosius_Bach property:movement ?s . ?s rdf:type ontology:concept }
[]
concept
Q8361
SYSTEM
Baroque music
Q8361
(Q309470,P135,c(Q151885))
action filter_type
action find
entity Q309470
relation P135
type Q151885
Johann Ambrosius Bach belonged to [ANSWER]
['Q309470', 'P135', {'concept': 'Q151885'}]
SELECT DISTINCT ?s WHERE { resource:Q309470 property:P135 ?s . ?s rdf:type ontology:Q151885 }
Baroque music
Johann Ambrosius Bach belonged to Baroque music
Baroque music
action filter_type
action find
entity Johann Ambrosius Bach
relation movement
type concept
['Johann Ambrosius Bach', 'movement', {'concept': 'concept'}]
SELECT DISTINCT ?s WHERE { resource:Johann_Ambrosius_Bach property:movement ?s . ?s rdf:type ontology:concept }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q3844500 Q7703839
P19
Q15617994
USER
How many administrative territories were Manfredo da Barbiano or Terror Attack: Project Fateh born ?
(Q3844500,P19,c(Q15617994)) (Q7703839,P19,c(Q15617994))
action count
action union
action filter_type
action find
entity Q3844500
relation P19
type Q15617994
action filter_type
action find
entity Q7703839
relation P19
type Q15617994
['Q3844500', 'P19', {'concept': 'Q15617994'}] ['Q7703839', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { ?b property:P19 ?x . VALUES ( ?b ) { ( resource:Q3844500 ) ( resource:Q7703839 ) } }
Manfredo da Barbiano Terror Attack: Project Fateh
action count
action union
action filter_type
action find
entity Manfredo da Barbiano
relation place of birth
type designation for an administrative territorial entity
action filter_type
action find
entity Terror Attack: Project Fateh
relation place of birth
type designation for an administrative territorial entity
['Manfredo da Barbiano', 'place of birth', {'concept': 'designation for an administrative territorial entity'}] ['Terror Attack: Project Fateh', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { ?b property:place_of_birth ?x . VALUES ( ?b ) { ( resource:Manfredo_da_Barbiano ) ( resource:Terror_Attack:_Project_Fateh ) } }
[]
designation for an administrative territorial entity
SYSTEM
2
Q668 Q52980
(Q3844500,P19,c(Q15617994)) (Q7703839,P19,c(Q15617994))
action count
action union
action filter_type
action find
entity Q3844500
relation P19
type Q15617994
action filter_type
action find
entity Q7703839
relation P19
type Q15617994
[ANSWER]
['Q3844500', 'P19', {'concept': 'Q15617994'}] ['Q7703839', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { ?b property:P19 ?x . VALUES ( ?b ) { ( resource:Q3844500 ) ( resource:Q7703839 ) } }
India Cotignola
2
action count
action union
action filter_type
action find
entity Manfredo da Barbiano
relation place of birth
type designation for an administrative territorial entity
action filter_type
action find
entity Terror Attack: Project Fateh
relation place of birth
type designation for an administrative territorial entity
['Manfredo da Barbiano', 'place of birth', {'concept': 'designation for an administrative territorial entity'}] ['Terror Attack: Project Fateh', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { ?b property:place_of_birth ?x . VALUES ( ?b ) { ( resource:Manfredo_da_Barbiano ) ( resource:Terror_Attack:_Project_Fateh ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q309470
P26
Q502895
USER
Which person is married to Johann Ambrosius Bach ?
(c(Q502895),P26,Q309470)
action filter_type
action find
entity Q309470
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q309470']
SELECT DISTINCT ?s WHERE { resource:Q309470 property:P26 ?s . ?s rdf:type ontology:Q502895 }
Johann Ambrosius Bach
action filter_type
action find
entity Johann Ambrosius Bach
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Johann Ambrosius Bach']
SELECT DISTINCT ?s WHERE { resource:Johann_Ambrosius_Bach property:spouse ?s . ?s rdf:type ontology:common_name }
[]
common name
Q66671
SYSTEM
Maria Elisabeth Lämmerhirt
Q66671
(c(Q502895),P26,Q309470)
action filter_type
action find
entity Q309470
relation P26
type Q502895
[ANSWER] is married to Johann Ambrosius Bach
[{'concept': 'Q502895'}, 'P26', 'Q309470']
SELECT DISTINCT ?s WHERE { resource:Q309470 property:P26 ?s . ?s rdf:type ontology:Q502895 }
Maria Elisabeth Lämmerhirt
Maria Elisabeth Lämmerhirt is married to Johann Ambrosius Bach
Maria Elisabeth Lämmerhirt
action filter_type
action find
entity Johann Ambrosius Bach
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Johann Ambrosius Bach']
SELECT DISTINCT ?s WHERE { resource:Johann_Ambrosius_Bach property:spouse ?s . ?s rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q309470
P40
Q502895
USER
Who has Johann Ambrosius Bach as a child ?
(c(Q502895),P40,Q309470)
action filter_type
action find_reverse
entity Q309470
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q309470']
SELECT DISTINCT ?k WHERE { ?k property:P40 resource:Q309470 . ?k rdf:type ontology:Q502895 }
Johann Ambrosius Bach
action filter_type
action find_reverse
entity Johann Ambrosius Bach
relation child
type common name
[{'concept': 'common name'}, 'child', 'Johann Ambrosius Bach']
SELECT DISTINCT ?k WHERE { ?k property:child resource:Johann_Ambrosius_Bach . ?k rdf:type ontology:common_name }
[]
common name
Q425612
SYSTEM
Christoph Bach
Q425612
(c(Q502895),P40,Q309470)
action filter_type
action find_reverse
entity Q309470
relation P40
type Q502895
[ANSWER] has Johann Ambrosius Bach as a child
[{'concept': 'Q502895'}, 'P40', 'Q309470']
SELECT DISTINCT ?k WHERE { ?k property:P40 resource:Q309470 . ?k rdf:type ontology:Q502895 }
Christoph Bach
Christoph Bach has Johann Ambrosius Bach as a child
Christoph Bach
action filter_type
action find_reverse
entity Johann Ambrosius Bach
relation child
type common name
[{'concept': 'common name'}, 'child', 'Johann Ambrosius Bach']
SELECT DISTINCT ?k WHERE { ?k property:child resource:Johann_Ambrosius_Bach . ?k rdf:type ontology:common_name }
[]