Simple Question (Direct)
Simple Question
Q1467042
P20
Q56061
USER
Where did the expiration of Werner Angress occur ?
(Q1467042,P20,c(Q56061))
action filter_type
action find
entity Q1467042
relation P20
type Q56061
['Q1467042', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q56061 . resource:Q1467042 property:P20 ?k }
Werner Angress
action filter_type
action find
entity Werner Angress
relation place of death
type administrative territorial entity
['Werner Angress', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:administrative_territorial_entity . resource:Werner_Angress property:place_of_death ?k }
[]
administrative territorial entity
Q64
SYSTEM
Berlin
Q64
(Q1467042,P20,c(Q56061))
action filter_type
action find
entity Q1467042
relation P20
type Q56061
The expiration of Werner Angress occurred in [ANSWER]
['Q1467042', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q56061 . resource:Q1467042 property:P20 ?k }
Berlin
The expiration of Werner Angress occurred in Berlin
Berlin
action filter_type
action find
entity Werner Angress
relation place of death
type administrative territorial entity
['Werner Angress', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:administrative_territorial_entity . resource:Werner_Angress property:place_of_death ?k }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1467042
P19
Q56061
USER
Which administrative territory was that person born in ?
(Q64,P19,c(Q56061))
action filter_type
action find
entity Q1467042
relation P19
type Q56061
['Q64', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q1467042 property:P19 ?e . ?e rdf:type ontology:Q56061 }
Werner Angress
action filter_type
action find
entity Werner Angress
relation place of birth
type administrative territorial entity
['Berlin', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Werner_Angress property:place_of_birth ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q64
SYSTEM
Berlin
Q64
(Q64,P19,c(Q56061))
action filter_type
action find
entity Q1467042
relation P19
type Q56061
That person was born in [ANSWER]
['Q64', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q1467042 property:P19 ?e . ?e rdf:type ontology:Q56061 }
Berlin
That person was born in Berlin
Berlin
action filter_type
action find
entity Werner Angress
relation place of birth
type administrative territorial entity
['Berlin', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Werner_Angress property:place_of_birth ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1467042
P106
Q12737077
USER
What are the professions of that person ?
(Q64,P106,c(Q12737077))
action filter_type
action find
entity Q1467042
relation P106
type Q12737077
['Q64', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q1467042 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
Werner Angress
action filter_type
action find
entity Werner Angress
relation occupation
type occupation
['Berlin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Werner_Angress property:occupation ?v . ?v rdf:type ontology:occupation }
[]
occupation
Q201788 Q1622272
SYSTEM
historian, university teacher
Q201788 Q1622272
(Q64,P106,c(Q12737077))
action filter_type
action find
entity Q1467042
relation P106
type Q12737077
The professions of that person are the [ANSWERS]
['Q64', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q1467042 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
historian university teacher
The professions of that person are the historian and university teacher
historian university teacher
action filter_type
action find
entity Werner Angress
relation occupation
type occupation
['Berlin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Werner_Angress property:occupation ?v . ?v rdf:type ontology:occupation }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P101
Q12737077 Q2342494 Q43229
USER
How many occupations are the fields of work of greater number of collectables or organizations than that occupation ?
(c(Q2342494)|c(Q43229),P101,c(Q12737077))
[[{'concept': 'Q2342494'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q528892 . ?x rdf:type ontology:Q43229 }
[[{'concept': 'collectable'}, {'concept': 'organization'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:collectable . ?y rdf:type ontology:occupation . ?x rdf:type ontology:organization }
[]
occupation collectable organization
Comparative|Count over More/Less|Mult. entity type|Clarification
Q1622272
SYSTEM
Did you mean university teacher ?
(c(Q2342494)|c(Q43229),P101,c(Q12737077))
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q528892 . ?x rdf:type ontology:Q43229 }
Did you mean university teacher ?
university teacher
[[{'concept': 'collectable'}, {'concept': 'organization'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:collectable . ?y rdf:type ontology:occupation . ?x rdf:type ontology:organization }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q2342494)|c(Q43229),P101,c(Q12737077))
[[{'concept': 'Q2342494'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q12737077'}]
[[{'concept': 'collectable'}, {'concept': 'organization'}], 'field of work', {'concept': 'occupation'}]
[]
SYSTEM
2
Q211423 Q15954519
(c(Q2342494)|c(Q43229),P101,c(Q12737077))
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q528892 . ?x rdf:type ontology:Q43229 }
goldsmith alchemist
2
[[{'concept': 'collectable'}, {'concept': 'organization'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:collectable . ?y rdf:type ontology:occupation . ?x rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1467042
P21
Q290
USER
What is the sex of Werner Angress ?
(Q1467042,P21,c(Q290))
action filter_type
action find
entity Q1467042
relation P21
type Q290
['Q1467042', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q1467042 property:P21 ?z . ?z rdf:type ontology:Q290 }
Werner Angress
action filter_type
action find
entity Werner Angress
relation gender
type sex
['Werner Angress', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Werner_Angress property:gender ?z . ?z rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1467042,P21,c(Q290))
action filter_type
action find
entity Q1467042
relation P21
type Q290
The sex of Werner Angress is the [ANSWER]
['Q1467042', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q1467042 property:P21 ?z . ?z rdf:type ontology:Q290 }
male
The sex of Werner Angress is the male
male
action filter_type
action find
entity Werner Angress
relation gender
type sex
['Werner Angress', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Werner_Angress property:gender ?z . ?z rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q5584792 Q1467042
P21
Q290
USER
Or Gordon Alexander Brown?
OR((Q1467042,P21,c(Q290)), (Q5584792,P21,c(Q290)))
action filter_type
action union
action find
entity Q1467042
relation P21
action find
entity Q5584792
relation P21
type Q290
{'OR': [['Q1467042', 'P21', {'concept': 'Q290'}], ['Q5584792', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q1467042 property:P21 ?h } UNION { resource:Q5584792 property:P21 ?h } } . ?h rdf:type ontology:Q290 }
Gordon Alexander Brown Werner Angress
action filter_type
action union
action find
entity Werner Angress
relation gender
action find
entity Gordon Alexander Brown
relation gender
type sex
{'OR': [['Werner Angress', 'gender', {'concept': 'sex'}], ['Gordon Alexander Brown', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Werner_Angress property:gender ?h } UNION { resource:Gordon_Alexander_Brown property:gender ?h } } . ?h rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
OR((Q1467042,P21,c(Q290)), (Q5584792,P21,c(Q290)))
action filter_type
action union
action find
entity Q1467042
relation P21
action find
entity Q5584792
relation P21
type Q290
[ANSWER]
{'OR': [['Q1467042', 'P21', {'concept': 'Q290'}], ['Q5584792', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q1467042 property:P21 ?h } UNION { resource:Q5584792 property:P21 ?h } } . ?h rdf:type ontology:Q290 }
male
male
action filter_type
action union
action find
entity Werner Angress
relation gender
action find
entity Gordon Alexander Brown
relation gender
type sex
{'OR': [['Werner Angress', 'gender', {'concept': 'sex'}], ['Gordon Alexander Brown', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Werner_Angress property:gender ?h } UNION { resource:Gordon_Alexander_Brown property:gender ?h } } . ?h rdf:type ontology:sex }
[]