Simple Question (Direct)
Simple Question
Q1693172
P21
Q290
USER
What is the sex of Johann Daniel Lawätz ?
(Q1693172,P21,c(Q290))
action filter_type
action find
entity Q1693172
relation P21
type Q290
['Q1693172', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q1693172 property:P21 ?i . ?i rdf:type ontology:Q290 }
Johann Daniel Lawätz
action filter_type
action find
entity Johann Daniel Lawätz
relation gender
type sex
['Johann Daniel Lawätz', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Johann_Daniel_Lawätz property:gender ?i . ?i rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1693172,P21,c(Q290))
action filter_type
action find
entity Q1693172
relation P21
type Q290
The sex of Johann Daniel Lawätz is the [ANSWER]
['Q1693172', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q1693172 property:P21 ?i . ?i rdf:type ontology:Q290 }
male
The sex of Johann Daniel Lawätz is the male
male
action filter_type
action find
entity Johann Daniel Lawätz
relation gender
type sex
['Johann Daniel Lawätz', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Johann_Daniel_Lawätz property:gender ?i . ?i rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1693172
P106
Q12737077
USER
What are the professions of Johann Daniel Lawätz ?
(Q1693172,P106,c(Q12737077))
action filter_type
action find
entity Q1693172
relation P106
type Q12737077
['Q1693172', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q1693172 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
Johann Daniel Lawätz
action filter_type
action find
entity Johann Daniel Lawätz
relation occupation
type occupation
['Johann Daniel Lawätz', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Johann_Daniel_Lawätz property:occupation ?v . ?v rdf:type ontology:occupation }
[]
occupation
Q215536 Q36180
SYSTEM
merchant, writer
Q215536 Q36180
(Q1693172,P106,c(Q12737077))
action filter_type
action find
entity Q1693172
relation P106
type Q12737077
The professions of Johann Daniel Lawätz are a [ANSWERS]
['Q1693172', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q1693172 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
merchant writer
The professions of Johann Daniel Lawätz are a merchant and writer
merchant writer
action filter_type
action find
entity Johann Daniel Lawätz
relation occupation
type occupation
['Johann Daniel Lawätz', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Johann_Daniel_Lawätz property:occupation ?v . ?v rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1693172
P19
Q56061
USER
Which administrative territory was that person born in ?
(Q215536,P19,c(Q56061)) (Q36180,P19,c(Q56061))
action filter_type
action find
entity Q1693172
relation P19
type Q56061
['Q215536', 'P19', {'concept': 'Q56061'}] ['Q36180', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q1693172 property:P19 ?r . ?r rdf:type ontology:Q56061 }
Johann Daniel Lawätz
action filter_type
action find
entity Johann Daniel Lawätz
relation place of birth
type administrative territorial entity
['merchant', 'place of birth', {'concept': 'administrative territorial entity'}] ['writer', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Johann_Daniel_Lawätz property:place_of_birth ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q490457
SYSTEM
Rendsburg
Q490457
(Q215536,P19,c(Q56061)) (Q36180,P19,c(Q56061))
action filter_type
action find
entity Q1693172
relation P19
type Q56061
That person was born in [ANSWER]
['Q215536', 'P19', {'concept': 'Q56061'}] ['Q36180', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q1693172 property:P19 ?r . ?r rdf:type ontology:Q56061 }
Rendsburg
That person was born in Rendsburg
Rendsburg
action filter_type
action find
entity Johann Daniel Lawätz
relation place of birth
type administrative territorial entity
['merchant', 'place of birth', {'concept': 'administrative territorial entity'}] ['writer', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Johann_Daniel_Lawätz property:place_of_birth ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q490457 Q1459114
P19
Q502895
USER
Does Friedrich Anton Max Frank have birthplace at that administrative territory ?
(Q1459114,P19,Q490457)
action is_in
entity Q490457
action find
entity Q1459114
relation P19
['Q1459114', 'P19', 'Q490457']
ASK WHERE { resource:Q1459114 property:P19 resource:Q490457 }
Rendsburg Friedrich Anton Max Frank
action is_in
entity Rendsburg
action find
entity Friedrich Anton Max Frank
relation place of birth
['Friedrich Anton Max Frank', 'place of birth', 'Rendsburg']
ASK WHERE { resource:Friedrich_Anton_Max_Frank property:place_of_birth resource:Rendsburg }
[]
common name
SYSTEM
YES
(Q1459114,P19,Q490457)
action is_in
entity Q490457
action find
entity Q1459114
relation P19
[ANSWER]
['Q1459114', 'P19', 'Q490457']
ASK WHERE { resource:Q1459114 property:P19 resource:Q490457 }
Yes
action is_in
entity Rendsburg
action find
entity Friedrich Anton Max Frank
relation place of birth
['Friedrich Anton Max Frank', 'place of birth', 'Rendsburg']
ASK WHERE { resource:Friedrich_Anton_Max_Frank property:place_of_birth resource:Rendsburg }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q160495
P7
Q502895
USER
Which people have Prince Christian of Denmark as their brother ?
(c(Q502895),P7,Q160495)
action filter_type
action find_reverse
entity Q160495
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q160495']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . ?r property:P7 resource:Q160495 }
Prince Christian of Denmark
action filter_type
action find_reverse
entity Prince Christian of Denmark
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Prince Christian of Denmark']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . ?r property:brother resource:Prince_Christian_of_Denmark }
[]
common name
Q1640126 Q1429306 Q3185931
SYSTEM
Prince Vincent of Denmark, Princess Isabella of Denmark, Princess Josephine of Denmark
Q1640126 Q1429306 Q3185931
(c(Q502895),P7,Q160495)
action filter_type
action find_reverse
entity Q160495
relation P7
type Q502895
[ANSWERS] have Prince Christian of Denmark as their brother
[{'concept': 'Q502895'}, 'P7', 'Q160495']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . ?r property:P7 resource:Q160495 }
Prince Vincent of Denmark Princess Isabella of Denmark Princess Josephine of Denmark
Prince Vincent of Denmark, Princess Isabella of Denmark and Princess Josephine of Denmark have Prince Christian of Denmark as their brother
Prince Vincent of Denmark Princess Isabella of Denmark Princess Josephine of Denmark
action filter_type
action find_reverse
entity Prince Christian of Denmark
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Prince Christian of Denmark']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . ?r property:brother resource:Prince_Christian_of_Denmark }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1640126 Q1429306 Q3185931
P40
Q502895
USER
Who have those ones as a child ?
(c(Q502895),P40,Q1640126) (c(Q502895),P40,Q1429306) (c(Q502895),P40,Q3185931)
action filter_type
action find_reverse
entity prev_answer
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q1640126'] [{'concept': 'Q502895'}, 'P40', 'Q1429306'] [{'concept': 'Q502895'}, 'P40', 'Q3185931']
SELECT DISTINCT ?f WHERE { ?f property:P40 ?u . ?f rdf:type ontology:Q502895 . VALUES ( ?u ) { ( resource:Q1640126 ) ( resource:Q1429306 ) ( resource:Q3185931 ) } }
Prince Vincent of Denmark Princess Isabella of Denmark Princess Josephine of Denmark
action filter_type
action find_reverse
entity prev_answer
relation child
type common name
[{'concept': 'common name'}, 'child', 'Prince Vincent of Denmark'] [{'concept': 'common name'}, 'child', 'Princess Isabella of Denmark'] [{'concept': 'common name'}, 'child', 'Princess Josephine of Denmark']
SELECT DISTINCT ?f WHERE { ?f property:child ?u . ?f rdf:type ontology:common_name . VALUES ( ?u ) { ( resource:Prince_Vincent_of_Denmark ) ( resource:Princess_Isabella_of_Denmark ) ( resource:Princess_Josephine_of_Denmark ) } }
[]
common name
Q1004037 Q1004037 Q1004037
SYSTEM
Frederik, Crown Prince of Denmark
Q1004037 Q208615 Q1004037 Q208615 Q1004037 Q208615
(c(Q502895),P40,Q1640126) (c(Q502895),P40,Q1429306) (c(Q502895),P40,Q3185931)
action filter_type
action find_reverse
entity prev_answer
relation P40
type Q502895
[ANSWERS], [ANSWERS] and [ANSWERS] have those ones as a child
[{'concept': 'Q502895'}, 'P40', 'Q1640126'] [{'concept': 'Q502895'}, 'P40', 'Q1429306'] [{'concept': 'Q502895'}, 'P40', 'Q3185931']
SELECT DISTINCT ?f WHERE { ?f property:P40 ?u . ?f rdf:type ontology:Q502895 . VALUES ( ?u ) { ( resource:Q1640126 ) ( resource:Q1429306 ) ( resource:Q3185931 ) } }
Frederik, Crown Prince of Denmark Mary, Crown Princess of Denmark Frederik, Crown Prince of Denmark Mary, Crown Princess of Denmark Frederik, Crown Prince of Denmark Mary, Crown Princess of Denmark
Frederik, Crown Prince of Denmark, Frederik, Crown Prince of Denmark and Frederik, Crown Prince of Denmark have those ones as a child
Frederik, Crown Prince of Denmark Frederik, Crown Prince of Denmark Frederik, Crown Prince of Denmark
action filter_type
action find_reverse
entity prev_answer
relation child
type common name
[{'concept': 'common name'}, 'child', 'Prince Vincent of Denmark'] [{'concept': 'common name'}, 'child', 'Princess Isabella of Denmark'] [{'concept': 'common name'}, 'child', 'Princess Josephine of Denmark']
SELECT DISTINCT ?f WHERE { ?f property:child ?u . ?f rdf:type ontology:common_name . VALUES ( ?u ) { ( resource:Prince_Vincent_of_Denmark ) ( resource:Princess_Isabella_of_Denmark ) ( resource:Princess_Josephine_of_Denmark ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1004037
P39
Q4164871
USER
What was a position for which Frederik, Crown Prince of Denmark was appointed ?
(Q1004037,P39,c(Q4164871))
action filter_type
action find
entity Q1004037
relation P39
type Q4164871
['Q1004037', 'P39', {'concept': 'Q4164871'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q4164871 . resource:Q1004037 property:P39 ?b }
Frederik, Crown Prince of Denmark
action filter_type
action find
entity Frederik, Crown Prince of Denmark
relation position held
type position
['Frederik, Crown Prince of Denmark', 'position held', {'concept': 'position'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:position . resource:Frederik,_Crown_Prince_of_Denmark property:position_held ?b }
[]
position
Q207293
SYSTEM
crown prince
Q207293
(Q1004037,P39,c(Q4164871))
action filter_type
action find
entity Q1004037
relation P39
type Q4164871
[ANSWER]
['Q1004037', 'P39', {'concept': 'Q4164871'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q4164871 . resource:Q1004037 property:P39 ?b }
crown prince
Crown prince
crown prince
action filter_type
action find
entity Frederik, Crown Prince of Denmark
relation position held
type position
['Frederik, Crown Prince of Denmark', 'position held', {'concept': 'position'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:position . resource:Frederik,_Crown_Prince_of_Denmark property:position_held ?b }
[]