Simple Question (Direct)
Simple Question
Q1744734
P136
Q151885
USER
Which concept can be considered as genre of Klaus-Dieter Henkler ?
(Q1744734,P136,c(Q151885))
action filter_type
action find
entity Q1744734
relation P136
type Q151885
['Q1744734', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?y WHERE { resource:Q1744734 property:P136 ?y . ?y rdf:type ontology:Q151885 }
Klaus-Dieter Henkler
action filter_type
action find
entity Klaus-Dieter Henkler
relation genre
type concept
['Klaus-Dieter Henkler', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?y WHERE { resource:Klaus-Dieter_Henkler property:genre ?y . ?y rdf:type ontology:concept }
[]
concept
Q959583
SYSTEM
Schlager
Q959583
(Q1744734,P136,c(Q151885))
action filter_type
action find
entity Q1744734
relation P136
type Q151885
[ANSWER] can be considered as genre of Klaus-Dieter Henkler
['Q1744734', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?y WHERE { resource:Q1744734 property:P136 ?y . ?y rdf:type ontology:Q151885 }
Schlager
Schlager can be considered as genre of Klaus-Dieter Henkler
Schlager
action filter_type
action find
entity Klaus-Dieter Henkler
relation genre
type concept
['Klaus-Dieter Henkler', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?y WHERE { resource:Klaus-Dieter_Henkler property:genre ?y . ?y rdf:type ontology:concept }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1744734
P21
Q290
USER
Which sex does that person possess ?
(Q959583,P21,c(Q290))
action filter_type
action find
entity Q1744734
relation P21
type Q290
['Q959583', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q290 . resource:Q1744734 property:P21 ?r }
Klaus-Dieter Henkler
action filter_type
action find
entity Klaus-Dieter Henkler
relation gender
type sex
['Schlager', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:sex . resource:Klaus-Dieter_Henkler property:gender ?r }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q959583,P21,c(Q290))
action filter_type
action find
entity Q1744734
relation P21
type Q290
That person possesses a [ANSWER]
['Q959583', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q290 . resource:Q1744734 property:P21 ?r }
male
That person possesses a male
male
action filter_type
action find
entity Klaus-Dieter Henkler
relation gender
type sex
['Schlager', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:sex . resource:Klaus-Dieter_Henkler property:gender ?r }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q5543007 Q1744734
P21
Q290
USER
Or George Oenslager?
OR((Q1744734,P21,c(Q290)), (Q5543007,P21,c(Q290)))
action filter_type
action union
action find
entity Q1744734
relation P21
action find
entity Q5543007
relation P21
type Q290
{'OR': [['Q1744734', 'P21', {'concept': 'Q290'}], ['Q5543007', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?m WHERE { { ?v property:P21 ?m . VALUES ( ?v ) { ( resource:Q1744734 ) ( resource:Q5543007 ) } } . ?m rdf:type ontology:Q290 }
George Oenslager Klaus-Dieter Henkler
action filter_type
action union
action find
entity Klaus-Dieter Henkler
relation gender
action find
entity George Oenslager
relation gender
type sex
{'OR': [['Klaus-Dieter Henkler', 'gender', {'concept': 'sex'}], ['George Oenslager', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?m WHERE { { ?v property:gender ?m . VALUES ( ?v ) { ( resource:Klaus-Dieter_Henkler ) ( resource:George_Oenslager ) } } . ?m rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
OR((Q1744734,P21,c(Q290)), (Q5543007,P21,c(Q290)))
action filter_type
action union
action find
entity Q1744734
relation P21
action find
entity Q5543007
relation P21
type Q290
[ANSWER]
{'OR': [['Q1744734', 'P21', {'concept': 'Q290'}], ['Q5543007', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?m WHERE { { ?v property:P21 ?m . VALUES ( ?v ) { ( resource:Q1744734 ) ( resource:Q5543007 ) } } . ?m rdf:type ontology:Q290 }
male
male
action filter_type
action union
action find
entity Klaus-Dieter Henkler
relation gender
action find
entity George Oenslager
relation gender
type sex
{'OR': [['Klaus-Dieter Henkler', 'gender', {'concept': 'sex'}], ['George Oenslager', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?m WHERE { { ?v property:gender ?m . VALUES ( ?v ) { ( resource:Klaus-Dieter_Henkler ) ( resource:George_Oenslager ) } } . ?m rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1744734
P27
Q1048835
USER
How many political territories are the native countriesof Klaus-Dieter Henkler ?
(Q1744734,P27,c(Q1048835))
action count
action filter_type
action find
entity Q1744734
relation P27
type Q1048835
['Q1744734', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { resource:Q1744734 property:P27 ?w . ?w rdf:type ontology:Q1048835 }
Klaus-Dieter Henkler
action count
action filter_type
action find
entity Klaus-Dieter Henkler
relation country of citizenship
type political territorial entity
['Klaus-Dieter Henkler', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { resource:Klaus-Dieter_Henkler property:country_of_citizenship ?w . ?w rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
Q183
(Q1744734,P27,c(Q1048835))
action count
action filter_type
action find
entity Q1744734
relation P27
type Q1048835
[ANSWER]
['Q1744734', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { resource:Q1744734 property:P27 ?w . ?w rdf:type ontology:Q1048835 }
Germany
1
action count
action filter_type
action find
entity Klaus-Dieter Henkler
relation country of citizenship
type political territorial entity
['Klaus-Dieter Henkler', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { resource:Klaus-Dieter_Henkler property:country_of_citizenship ?w . ?w rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q6175914
Q1048835
USER
And also tell me about Jeffrey Cook?
(Q6175914,P27,c(Q1048835))
action count
action filter_type
action find
entity Q6175914
relation P27
type Q1048835
['Q6175914', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { resource:Q6175914 property:P27 ?g . ?g rdf:type ontology:Q1048835 }
Jeffrey Cook
action count
action filter_type
action find
entity Jeffrey Cook
relation country of citizenship
type political territorial entity
['Jeffrey Cook', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { resource:Jeffrey_Cook property:country_of_citizenship ?g . ?g rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
(Q6175914,P27,c(Q1048835))
action count
action filter_type
action find
entity Q6175914
relation P27
type Q1048835
[ANSWER]
['Q6175914', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { resource:Q6175914 property:P27 ?g . ?g rdf:type ontology:Q1048835 }
1
action count
action filter_type
action find
entity Jeffrey Cook
relation country of citizenship
type political territorial entity
['Jeffrey Cook', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { resource:Jeffrey_Cook property:country_of_citizenship ?g . ?g rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q20857001 Q6175914
P106
Q12737077
USER
Which occupations do Jeffrey Cook or Gunvor Grönvik do for a living ?
OR((Q6175914,P106,c(Q12737077)), (Q20857001,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q6175914
relation P106
action find
entity Q20857001
relation P106
type Q12737077
{'OR': [['Q6175914', 'P106', {'concept': 'Q12737077'}], ['Q20857001', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?w ) { ( resource:Q6175914 ) ( resource:Q20857001 ) } . ?w property:P106 ?j } . ?j rdf:type ontology:Q12737077 }
Gunvor Grönvik Jeffrey Cook
action filter_type
action union
action find
entity Jeffrey Cook
relation occupation
action find
entity Gunvor Grönvik
relation occupation
type occupation
{'OR': [['Jeffrey Cook', 'occupation', {'concept': 'occupation'}], ['Gunvor Grönvik', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?w ) { ( resource:Jeffrey_Cook ) ( resource:Gunvor_Grönvik ) } . ?w property:occupation ?j } . ?j rdf:type ontology:occupation }
[]
occupation
Q1028181 Q12299841
SYSTEM
painter, cricketer
Q1028181 Q12299841
OR((Q6175914,P106,c(Q12737077)), (Q20857001,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q6175914
relation P106
action find
entity Q20857001
relation P106
type Q12737077
Jeffrey Cook or Gunvor Grönvik do for a living a [ANSWERS]
{'OR': [['Q6175914', 'P106', {'concept': 'Q12737077'}], ['Q20857001', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?w ) { ( resource:Q6175914 ) ( resource:Q20857001 ) } . ?w property:P106 ?j } . ?j rdf:type ontology:Q12737077 }
painter cricketer
Jeffrey Cook or Gunvor Grönvik do for a living a painter and cricketer
painter cricketer
action filter_type
action union
action find
entity Jeffrey Cook
relation occupation
action find
entity Gunvor Grönvik
relation occupation
type occupation
{'OR': [['Jeffrey Cook', 'occupation', {'concept': 'occupation'}], ['Gunvor Grönvik', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?w ) { ( resource:Jeffrey_Cook ) ( resource:Gunvor_Grönvik ) } . ?w property:occupation ?j } . ?j rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20857001
P20
Q56061
USER
Which administrative territory is the place of death of Gunvor Grönvik ?
(Q1028181,P20,c(Q56061)) (Q12299841,P20,c(Q56061))
action filter_type
action find
entity Q20857001
relation P20
type Q56061
['Q1028181', 'P20', {'concept': 'Q56061'}] ['Q12299841', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q20857001 property:P20 ?d . ?d rdf:type ontology:Q56061 }
Gunvor Grönvik
action filter_type
action find
entity Gunvor Grönvik
relation place of death
type administrative territorial entity
['painter', 'place of death', {'concept': 'administrative territorial entity'}] ['cricketer', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Gunvor_Grönvik property:place_of_death ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1757
SYSTEM
Helsinki
Q1757
(Q1028181,P20,c(Q56061)) (Q12299841,P20,c(Q56061))
action filter_type
action find
entity Q20857001
relation P20
type Q56061
[ANSWER] is the place of death of Gunvor Grönvik
['Q1028181', 'P20', {'concept': 'Q56061'}] ['Q12299841', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q20857001 property:P20 ?d . ?d rdf:type ontology:Q56061 }
Helsinki
Helsinki is the place of death of Gunvor Grönvik
Helsinki
action filter_type
action find
entity Gunvor Grönvik
relation place of death
type administrative territorial entity
['painter', 'place of death', {'concept': 'administrative territorial entity'}] ['cricketer', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Gunvor_Grönvik property:place_of_death ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]