Simple Question (Direct)
Simple Question
Q107539
P7
Q502895
USER
Who are Otto Magnus von Dönhoff a sibling of ?
(Q107539,P7,c(Q502895))
action filter_type
action find
entity Q107539
relation P7
type Q502895
['Q107539', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q107539 property:P7 ?e . ?e rdf:type ontology:Q502895 }
Otto Magnus von Dönhoff
action filter_type
action find
entity Otto Magnus von Dönhoff
relation brother
type common name
['Otto Magnus von Dönhoff', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Otto_Magnus_von_Dönhoff property:brother ?e . ?e rdf:type ontology:common_name }
[]
common name
Q1360668 Q107663 Q890594
SYSTEM
Ernst Wladislaus von Dönhoff, Alexander von Dönhoff, Bogislaw Friedrich von Dönhoff
Q1360668 Q107663 Q890594
(Q107539,P7,c(Q502895))
action filter_type
action find
entity Q107539
relation P7
type Q502895
[ANSWERS] are Otto Magnus von Dönhoff a sibling of
['Q107539', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q107539 property:P7 ?e . ?e rdf:type ontology:Q502895 }
Ernst Wladislaus von Dönhoff Alexander von Dönhoff Bogislaw Friedrich von Dönhoff
Ernst Wladislaus von Dönhoff, Alexander von Dönhoff and Bogislaw Friedrich von Dönhoff are Otto Magnus von Dönhoff a sibling of
Ernst Wladislaus von Dönhoff Alexander von Dönhoff Bogislaw Friedrich von Dönhoff
action filter_type
action find
entity Otto Magnus von Dönhoff
relation brother
type common name
['Otto Magnus von Dönhoff', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Otto_Magnus_von_Dönhoff property:brother ?e . ?e rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q890594
P40
Q502895
USER
Who has that one as an offspring ?
(c(Q502895),P40,Q890594)
action filter_type
action find_reverse
entity Q890594
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q890594']
SELECT DISTINCT ?v WHERE { ?v property:P40 resource:Q890594 . ?v rdf:type ontology:Q502895 }
Bogislaw Friedrich von Dönhoff
action filter_type
action find_reverse
entity Bogislaw Friedrich von Dönhoff
relation child
type common name
[{'concept': 'common name'}, 'child', 'Bogislaw Friedrich von Dönhoff']
SELECT DISTINCT ?v WHERE { ?v property:child resource:Bogislaw_Friedrich_von_Dönhoff . ?v rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q107663
SYSTEM
Did you mean Alexander von Dönhoff ?
Q1360668 Q107663 Q890594
(c(Q502895),P40,Q1360668) (c(Q502895),P40,Q107663) (c(Q502895),P40,Q890594)
[ANSWER]
[{'concept': 'Q502895'}, 'P40', 'Q1360668'] [{'concept': 'Q502895'}, 'P40', 'Q107663'] [{'concept': 'Q502895'}, 'P40', 'Q890594']
SELECT DISTINCT ?v WHERE { ?v property:P40 resource:Q890594 . ?v rdf:type ontology:Q502895 }
Ernst Wladislaus von Dönhoff Alexander von Dönhoff Bogislaw Friedrich von Dönhoff
Did you mean Alexander von Dönhoff ?
Alexander von Dönhoff
[{'concept': 'common name'}, 'child', 'Ernst Wladislaus von Dönhoff'] [{'concept': 'common name'}, 'child', 'Alexander von Dönhoff'] [{'concept': 'common name'}, 'child', 'Bogislaw Friedrich von Dönhoff']
SELECT DISTINCT ?v WHERE { ?v property:child resource:Bogislaw_Friedrich_von_Dönhoff . ?v rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Bogislaw Friedrich von Dönhoff. Could you tell me the answer for that?
(c(Q502895),P40,Q890594)
Q890594
[{'concept': 'Q502895'}, 'P40', 'Q890594']
[{'concept': 'common name'}, 'child', 'Bogislaw Friedrich von Dönhoff']
[]
Q101816
SYSTEM
Friedrich von Doenhoff
Q101816
(c(Q502895),P40,Q890594)
action filter_type
action find_reverse
entity Q890594
relation P40
type Q502895
[ANSWER] has that one as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q890594']
SELECT DISTINCT ?v WHERE { ?v property:P40 resource:Q890594 . ?v rdf:type ontology:Q502895 }
Friedrich von Doenhoff
Friedrich von Doenhoff has that one as an offspring
Friedrich von Doenhoff
action filter_type
action find_reverse
entity Bogislaw Friedrich von Dönhoff
relation child
type common name
[{'concept': 'common name'}, 'child', 'Bogislaw Friedrich von Dönhoff']
SELECT DISTINCT ?v WHERE { ?v property:child resource:Bogislaw_Friedrich_von_Dönhoff . ?v rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q101816
P53
Q8436
USER
Which family did that person belong to ?
(Q101816,P53,c(Q8436))
action filter_type
action find
entity Q101816
relation P53
type Q8436
['Q101816', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ?l WHERE { resource:Q101816 property:P53 ?l . ?l rdf:type ontology:Q8436 }
Friedrich von Doenhoff
action filter_type
action find
entity Friedrich von Doenhoff
relation noble family
type family
['Friedrich von Doenhoff', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ?l WHERE { resource:Friedrich_von_Doenhoff property:noble_family ?l . ?l rdf:type ontology:family }
[]
family
Q564010
SYSTEM
Dönhoff
Q564010
(Q101816,P53,c(Q8436))
action filter_type
action find
entity Q101816
relation P53
type Q8436
That person belonged to [ANSWER]
['Q101816', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ?l WHERE { resource:Q101816 property:P53 ?l . ?l rdf:type ontology:Q8436 }
Dönhoff
That person belonged to Dönhoff
Dönhoff
action filter_type
action find
entity Friedrich von Doenhoff
relation noble family
type family
['Friedrich von Doenhoff', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ?l WHERE { resource:Friedrich_von_Doenhoff property:noble_family ?l . ?l rdf:type ontology:family }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q101816
P22
Q502895
USER
Who was the dad of Friedrich von Doenhoff ?
(Q101816,P22,c(Q502895))
action filter_type
action find
entity Q101816
relation P22
type Q502895
['Q101816', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . resource:Q101816 property:P22 ?k }
Friedrich von Doenhoff
action filter_type
action find
entity Friedrich von Doenhoff
relation father
type common name
['Friedrich von Doenhoff', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . resource:Friedrich_von_Doenhoff property:father ?k }
[]
common name
Q442621
SYSTEM
Ernst Magnus Dönhoff
Q442621
(Q101816,P22,c(Q502895))
action filter_type
action find
entity Q101816
relation P22
type Q502895
The dad of Friedrich von Doenhoff was Count [ANSWER]
['Q101816', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . resource:Q101816 property:P22 ?k }
Ernst Magnus Dönhoff
The dad of Friedrich von Doenhoff was Count Ernst Magnus Dönhoff
Ernst Magnus Dönhoff
action filter_type
action find
entity Friedrich von Doenhoff
relation father
type common name
['Friedrich von Doenhoff', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . resource:Friedrich_von_Doenhoff property:father ?k }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3903586
Q502895
USER
And also tell me about Pietrangelo Buttafuoco?
(Q3903586,P22,c(Q502895))
action filter_type
action find
entity Q3903586
relation P22
type Q502895
['Q3903586', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . resource:Q3903586 property:P22 ?y }
Pietrangelo Buttafuoco
action filter_type
action find
entity Pietrangelo Buttafuoco
relation father
type common name
['Pietrangelo Buttafuoco', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . resource:Pietrangelo_Buttafuoco property:father ?y }
[]
common name
Q3619035
SYSTEM
Antonino Buttafuoco
Q3619035
(Q3903586,P22,c(Q502895))
action filter_type
action find
entity Q3903586
relation P22
type Q502895
[ANSWER]
['Q3903586', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . resource:Q3903586 property:P22 ?y }
Antonino Buttafuoco
Antonino Buttafuoco
action filter_type
action find
entity Pietrangelo Buttafuoco
relation father
type common name
['Pietrangelo Buttafuoco', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . resource:Pietrangelo_Buttafuoco property:father ?y }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q2164562 Q101816
P27
Q1048835
USER
Which political territories are Friedrich von Doenhoff and Roman Flügel an inhabitant of ?
AND((Q101816,P27,c(Q1048835)), (Q2164562,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q101816
relation P27
action find
entity Q2164562
relation P27
type Q1048835
{'AND': [['Q101816', 'P27', {'concept': 'Q1048835'}], ['Q2164562', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q1048835 . resource:Q101816 property:P27 ?q . resource:Q2164562 property:P27 ?q }
Roman Flügel Friedrich von Doenhoff
action filter_type
action intersection
action find
entity Friedrich von Doenhoff
relation country of citizenship
action find
entity Roman Flügel
relation country of citizenship
type political territorial entity
{'AND': [['Friedrich von Doenhoff', 'country of citizenship', {'concept': 'political territorial entity'}], ['Roman Flügel', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:political_territorial_entity . resource:Friedrich_von_Doenhoff property:country_of_citizenship ?q . resource:Roman_Flügel property:country_of_citizenship ?q }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
AND((Q101816,P27,c(Q1048835)), (Q2164562,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q101816
relation P27
action find
entity Q2164562
relation P27
type Q1048835
[ANSWER] is Friedrich von Doenhoff and Roman Flügel an inhabitant of
{'AND': [['Q101816', 'P27', {'concept': 'Q1048835'}], ['Q2164562', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q1048835 . resource:Q101816 property:P27 ?q . resource:Q2164562 property:P27 ?q }
Germany
Germany is Friedrich von Doenhoff and Roman Flügel an inhabitant of
Germany
action filter_type
action intersection
action find
entity Friedrich von Doenhoff
relation country of citizenship
action find
entity Roman Flügel
relation country of citizenship
type political territorial entity
{'AND': [['Friedrich von Doenhoff', 'country of citizenship', {'concept': 'political territorial entity'}], ['Roman Flügel', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:political_territorial_entity . resource:Friedrich_von_Doenhoff property:country_of_citizenship ?q . resource:Roman_Flügel property:country_of_citizenship ?q }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5736324 Q107663
P7
Q502895
USER
Which people had Alexander von Dönhoff or Axel Fornander as brother ?
OR((c(Q502895),P7,Q107663), (c(Q502895),P7,Q5736324))
action filter_type
action union
action find_reverse
entity Q107663
relation P7
action find_reverse
entity Q5736324
relation P7
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P7', 'Q107663'], [{'concept': 'Q502895'}, 'P7', 'Q5736324']]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . { VALUES ( ?a ) { ( resource:Q5736324 ) ( resource:Q107663 ) } . ?n property:P7 ?a } }
Axel Fornander Alexander von Dönhoff
action filter_type
action union
action find_reverse
entity Alexander von Dönhoff
relation brother
action find_reverse
entity Axel Fornander
relation brother
type common name
{'OR': [[{'concept': 'common name'}, 'brother', 'Alexander von Dönhoff'], [{'concept': 'common name'}, 'brother', 'Axel Fornander']]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . { VALUES ( ?a ) { ( resource:Axel_Fornander ) ( resource:Alexander_von_Dönhoff ) } . ?n property:brother ?a } }
[]
common name
Q1360668 Q5736330 Q107539 Q890594
SYSTEM
Ernst Wladislaus von Dönhoff, Edvin Fornander, Otto Magnus von Dönhoff, Bogislaw Friedrich von Dönhoff
Q1360668 Q5736330 Q107539 Q890594
OR((c(Q502895),P7,Q107663), (c(Q502895),P7,Q5736324))
action filter_type
action union
action find_reverse
entity Q107663
relation P7
action find_reverse
entity Q5736324
relation P7
type Q502895
[ANSWERS] had Alexander von Dönhoff or Axel Fornander as brother
{'OR': [[{'concept': 'Q502895'}, 'P7', 'Q107663'], [{'concept': 'Q502895'}, 'P7', 'Q5736324']]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . { VALUES ( ?a ) { ( resource:Q5736324 ) ( resource:Q107663 ) } . ?n property:P7 ?a } }
Ernst Wladislaus von Dönhoff Edvin Fornander Otto Magnus von Dönhoff Bogislaw Friedrich von Dönhoff
Ernst Wladislaus von Dönhoff, Edvin Fornander, Otto Magnus von Dönhoff and Bogislaw Friedrich von Dönhoff had Alexander von Dönhoff or Axel Fornander as brother
Ernst Wladislaus von Dönhoff Edvin Fornander Otto Magnus von Dönhoff Bogislaw Friedrich von Dönhoff
action filter_type
action union
action find_reverse
entity Alexander von Dönhoff
relation brother
action find_reverse
entity Axel Fornander
relation brother
type common name
{'OR': [[{'concept': 'common name'}, 'brother', 'Alexander von Dönhoff'], [{'concept': 'common name'}, 'brother', 'Axel Fornander']]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . { VALUES ( ?a ) { ( resource:Axel_Fornander ) ( resource:Alexander_von_Dönhoff ) } . ?n property:brother ?a } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1360668 Q5736330 Q107539 Q890594
P21
Q290
USER
Which sexes do Ernst Wladislaus von Dönhoff, Edvin Fornander, Otto Magnus von Dönhoff and Bogislaw Friedrich von Dönhoff belong to ?
(Q1360668,P21,c(Q290)) (Q5736330,P21,c(Q290)) (Q107539,P21,c(Q290)) (Q890594,P21,c(Q290))
action union
action filter_type
action find
entity Q1360668
relation P21
type Q290
action filter_type
action find
entity Q5736330
relation P21
type Q290
action filter_type
action find
entity Q107539
relation P21
type Q290
action filter_type
action find
entity Q890594
relation P21
type Q290
['Q1360668', 'P21', {'concept': 'Q290'}] ['Q5736330', 'P21', {'concept': 'Q290'}] ['Q107539', 'P21', {'concept': 'Q290'}] ['Q890594', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { VALUES ( ?x ) { ( resource:Q1360668 ) ( resource:Q5736330 ) } . ?x property:P21 ?u }
Ernst Wladislaus von Dönhoff Edvin Fornander Otto Magnus von Dönhoff Bogislaw Friedrich von Dönhoff
action union
action filter_type
action find
entity Ernst Wladislaus von Dönhoff
relation gender
type sex
action filter_type
action find
entity Edvin Fornander
relation gender
type sex
action filter_type
action find
entity Otto Magnus von Dönhoff
relation gender
type sex
action filter_type
action find
entity Bogislaw Friedrich von Dönhoff
relation gender
type sex
['Ernst Wladislaus von Dönhoff', 'gender', {'concept': 'sex'}] ['Edvin Fornander', 'gender', {'concept': 'sex'}] ['Otto Magnus von Dönhoff', 'gender', {'concept': 'sex'}] ['Bogislaw Friedrich von Dönhoff', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { VALUES ( ?x ) { ( resource:Ernst_Wladislaus_von_Dönhoff ) ( resource:Edvin_Fornander ) } . ?x property:gender ?u }
[]
sex
Q6581097 Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097 Q6581097 Q6581097
(Q1360668,P21,c(Q290)) (Q5736330,P21,c(Q290)) (Q107539,P21,c(Q290)) (Q890594,P21,c(Q290))
action union
action filter_type
action find
entity Q1360668
relation P21
type Q290
action filter_type
action find
entity Q5736330
relation P21
type Q290
action filter_type
action find
entity Q107539
relation P21
type Q290
action filter_type
action find
entity Q890594
relation P21
type Q290
[ANSWER], [ANSWER] and [ANSWER] Ernst Wladislaus von Dönhoff, Edvin Fornander, Otto Magnus von Dönhoff and Bogislaw Friedrich von Dönhoff belong to
['Q1360668', 'P21', {'concept': 'Q290'}] ['Q5736330', 'P21', {'concept': 'Q290'}] ['Q107539', 'P21', {'concept': 'Q290'}] ['Q890594', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { VALUES ( ?x ) { ( resource:Q1360668 ) ( resource:Q5736330 ) } . ?x property:P21 ?u }
male male male male
Male, male and male Ernst Wladislaus von Dönhoff, Edvin Fornander, Otto Magnus von Dönhoff and Bogislaw Friedrich von Dönhoff belong to
male male male
action union
action filter_type
action find
entity Ernst Wladislaus von Dönhoff
relation gender
type sex
action filter_type
action find
entity Edvin Fornander
relation gender
type sex
action filter_type
action find
entity Otto Magnus von Dönhoff
relation gender
type sex
action filter_type
action find
entity Bogislaw Friedrich von Dönhoff
relation gender
type sex
['Ernst Wladislaus von Dönhoff', 'gender', {'concept': 'sex'}] ['Edvin Fornander', 'gender', {'concept': 'sex'}] ['Otto Magnus von Dönhoff', 'gender', {'concept': 'sex'}] ['Bogislaw Friedrich von Dönhoff', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { VALUES ( ?x ) { ( resource:Ernst_Wladislaus_von_Dönhoff ) ( resource:Edvin_Fornander ) } . ?x property:gender ?u }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1360668
P19
Q56061
USER
Which administrative territory is the birthplace of Ernst Wladislaus von Dönhoff ?
(Q1360668,P19,c(Q56061))
action filter_type
action find
entity Q1360668
relation P19
type Q56061
['Q1360668', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q1360668 property:P19 ?h . ?h rdf:type ontology:Q56061 }
Ernst Wladislaus von Dönhoff
action filter_type
action find
entity Ernst Wladislaus von Dönhoff
relation place of birth
type administrative territorial entity
['Ernst Wladislaus von Dönhoff', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Ernst_Wladislaus_von_Dönhoff property:place_of_birth ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q4120832
SYSTEM
Königsberg
Q4120832
(Q1360668,P19,c(Q56061))
action filter_type
action find
entity Q1360668
relation P19
type Q56061
In [ANSWER] is the birthplace of Ernst Wladislaus von Dönhoff
['Q1360668', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q1360668 property:P19 ?h . ?h rdf:type ontology:Q56061 }
Königsberg
In Königsberg is the birthplace of Ernst Wladislaus von Dönhoff
Königsberg
action filter_type
action find
entity Ernst Wladislaus von Dönhoff
relation place of birth
type administrative territorial entity
['Ernst Wladislaus von Dönhoff', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Ernst_Wladislaus_von_Dönhoff property:place_of_birth ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q84077
Q56061
USER
And also tell me about Andreas Cornelius?
(Q84077,P19,c(Q56061))
action filter_type
action find
entity Q84077
relation P19
type Q56061
['Q84077', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q84077 property:P19 ?f . ?f rdf:type ontology:Q56061 }
Andreas Cornelius
action filter_type
action find
entity Andreas Cornelius
relation place of birth
type administrative territorial entity
['Andreas Cornelius', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Andreas_Cornelius property:place_of_birth ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1748
SYSTEM
Copenhagen
Q1748
(Q84077,P19,c(Q56061))
action filter_type
action find
entity Q84077
relation P19
type Q56061
[ANSWER]
['Q84077', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q84077 property:P19 ?f . ?f rdf:type ontology:Q56061 }
Copenhagen
Copenhagen
action filter_type
action find
entity Andreas Cornelius
relation place of birth
type administrative territorial entity
['Andreas Cornelius', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Andreas_Cornelius property:place_of_birth ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]