Simple Question (Direct)
Simple Question
Q1078042
P937
Q515
USER
What is the work location of Christa Dericum ?
(Q1078042,P937,c(Q515))
action filter_type
action find
entity Q1078042
relation P937
type Q515
['Q1078042', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?k WHERE { resource:Q1078042 property:P937 ?k . ?k rdf:type ontology:Q515 }
Christa Dericum
action filter_type
action find
entity Christa Dericum
relation work location
type city
['Christa Dericum', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?k WHERE { resource:Christa_Dericum property:work_location ?k . ?k rdf:type ontology:city }
[]
city
Q2966
SYSTEM
Heidelberg
Q2966
(Q1078042,P937,c(Q515))
action filter_type
action find
entity Q1078042
relation P937
type Q515
The work location of Christa Dericum is in [ANSWER]
['Q1078042', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?k WHERE { resource:Q1078042 property:P937 ?k . ?k rdf:type ontology:Q515 }
Heidelberg
The work location of Christa Dericum is in Heidelberg
Heidelberg
action filter_type
action find
entity Christa Dericum
relation work location
type city
['Christa Dericum', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?k WHERE { resource:Christa_Dericum property:work_location ?k . ?k rdf:type ontology:city }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1078042
P463
Q1110684
USER
What was Christa Dericum a member of ?
(Q1078042,P463,c(Q1110684))
action filter_type
action find
entity Q1078042
relation P463
type Q1110684
['Q1078042', 'P463', {'concept': 'Q1110684'}]
SELECT DISTINCT ?w WHERE { resource:Q1078042 property:P463 ?w . ?w rdf:type ontology:Q1110684 }
Christa Dericum
action filter_type
action find
entity Christa Dericum
relation member of
type professional association
['Christa Dericum', 'member of', {'concept': 'professional association'}]
SELECT DISTINCT ?w WHERE { resource:Christa_Dericum property:member_of ?w . ?w rdf:type ontology:professional_association }
[]
professional association
Q2043519
SYSTEM
German PEN Center
Q2043519
(Q1078042,P463,c(Q1110684))
action filter_type
action find
entity Q1078042
relation P463
type Q1110684
Christa Dericum was a member of [ANSWER]
['Q1078042', 'P463', {'concept': 'Q1110684'}]
SELECT DISTINCT ?w WHERE { resource:Q1078042 property:P463 ?w . ?w rdf:type ontology:Q1110684 }
German PEN Center
Christa Dericum was a member of German PEN Center
German PEN Center
action filter_type
action find
entity Christa Dericum
relation member of
type professional association
['Christa Dericum', 'member of', {'concept': 'professional association'}]
SELECT DISTINCT ?w WHERE { resource:Christa_Dericum property:member_of ?w . ?w rdf:type ontology:professional_association }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q8009194
Q1110684
USER
And what about William Foord-Kelcey?
(Q8009194,P463,c(Q1110684))
action filter_type
action find
entity Q8009194
relation P463
type Q1110684
['Q8009194', 'P463', {'concept': 'Q1110684'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q1110684 . resource:Q8009194 property:P463 ?l }
William Foord-Kelcey
action filter_type
action find
entity William Foord-Kelcey
relation member of
type professional association
['William Foord-Kelcey', 'member of', {'concept': 'professional association'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:professional_association . resource:William_Foord-Kelcey property:member_of ?l }
[]
professional association
Q1233784
SYSTEM
Inner Temple
Q1233784
(Q8009194,P463,c(Q1110684))
action filter_type
action find
entity Q8009194
relation P463
type Q1110684
[ANSWER]
['Q8009194', 'P463', {'concept': 'Q1110684'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q1110684 . resource:Q8009194 property:P463 ?l }
Inner Temple
Inner Temple
action filter_type
action find
entity William Foord-Kelcey
relation member of
type professional association
['William Foord-Kelcey', 'member of', {'concept': 'professional association'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:professional_association . resource:William_Foord-Kelcey property:member_of ?l }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q8009194 Q6741378
P106
Q12737077
USER
How many occupations do William Foord-Kelcey or Malaspina Peninsula do for a living ?
(Q8009194,P106,c(Q12737077)) (Q6741378,P106,c(Q12737077))
action count
action union
action filter_type
action find
entity Q8009194
relation P106
type Q12737077
action filter_type
action find
entity Q6741378
relation P106
type Q12737077
['Q8009194', 'P106', {'concept': 'Q12737077'}] ['Q6741378', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?v ) WHERE { VALUES ( ?n ) { ( resource:Q6741378 ) ( resource:Q8009194 ) } . ?n property:P106 ?h }
William Foord-Kelcey Malaspina Peninsula
action count
action union
action filter_type
action find
entity William Foord-Kelcey
relation occupation
type occupation
action filter_type
action find
entity Malaspina Peninsula
relation occupation
type occupation
['William Foord-Kelcey', 'occupation', {'concept': 'occupation'}] ['Malaspina Peninsula', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?v ) WHERE { VALUES ( ?n ) { ( resource:Malaspina_Peninsula ) ( resource:William_Foord-Kelcey ) } . ?n property:occupation ?h }
[]
occupation
SYSTEM
2
Q11900058 Q12299841
(Q8009194,P106,c(Q12737077)) (Q6741378,P106,c(Q12737077))
action count
action union
action filter_type
action find
entity Q8009194
relation P106
type Q12737077
action filter_type
action find
entity Q6741378
relation P106
type Q12737077
[ANSWER]
['Q8009194', 'P106', {'concept': 'Q12737077'}] ['Q6741378', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?v ) WHERE { VALUES ( ?n ) { ( resource:Q6741378 ) ( resource:Q8009194 ) } . ?n property:P106 ?h }
explorer cricketer
2
action count
action union
action filter_type
action find
entity William Foord-Kelcey
relation occupation
type occupation
action filter_type
action find
entity Malaspina Peninsula
relation occupation
type occupation
['William Foord-Kelcey', 'occupation', {'concept': 'occupation'}] ['Malaspina Peninsula', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?v ) WHERE { VALUES ( ?n ) { ( resource:Malaspina_Peninsula ) ( resource:William_Foord-Kelcey ) } . ?n property:occupation ?h }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q15434180 Q1078042
P27
Q1048835
USER
Which political territories are the native countriesof Christa Dericum or Johannes Hamel ?
OR((Q1078042,P27,c(Q1048835)), (Q15434180,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1078042
relation P27
action find
entity Q15434180
relation P27
type Q1048835
{'OR': [['Q1078042', 'P27', {'concept': 'Q1048835'}], ['Q15434180', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q15434180 property:P27 ?r } UNION { resource:Q1078042 property:P27 ?r } } . ?r rdf:type ontology:Q1048835 }
Johannes Hamel Christa Dericum
action filter_type
action union
action find
entity Christa Dericum
relation country of citizenship
action find
entity Johannes Hamel
relation country of citizenship
type political territorial entity
{'OR': [['Christa Dericum', 'country of citizenship', {'concept': 'political territorial entity'}], ['Johannes Hamel', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Johannes_Hamel property:country_of_citizenship ?r } UNION { resource:Christa_Dericum property:country_of_citizenship ?r } } . ?r rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
OR((Q1078042,P27,c(Q1048835)), (Q15434180,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1078042
relation P27
action find
entity Q15434180
relation P27
type Q1048835
[ANSWER] is the native countriesof Christa Dericum or Johannes Hamel
{'OR': [['Q1078042', 'P27', {'concept': 'Q1048835'}], ['Q15434180', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q15434180 property:P27 ?r } UNION { resource:Q1078042 property:P27 ?r } } . ?r rdf:type ontology:Q1048835 }
Germany
Germany is the native countriesof Christa Dericum or Johannes Hamel
Germany
action filter_type
action union
action find
entity Christa Dericum
relation country of citizenship
action find
entity Johannes Hamel
relation country of citizenship
type political territorial entity
{'OR': [['Christa Dericum', 'country of citizenship', {'concept': 'political territorial entity'}], ['Johannes Hamel', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Johannes_Hamel property:country_of_citizenship ?r } UNION { resource:Christa_Dericum property:country_of_citizenship ?r } } . ?r rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15434180
P21
Q290
USER
What is the sex of Johannes Hamel ?
(Q183,P21,c(Q290))
action filter_type
action find
entity Q15434180
relation P21
type Q290
['Q183', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q15434180 property:P21 ?q . ?q rdf:type ontology:Q290 }
Johannes Hamel
action filter_type
action find
entity Johannes Hamel
relation gender
type sex
['Germany', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Johannes_Hamel property:gender ?q . ?q rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q183,P21,c(Q290))
action filter_type
action find
entity Q15434180
relation P21
type Q290
The sex of Johannes Hamel is the [ANSWER]
['Q183', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q15434180 property:P21 ?q . ?q rdf:type ontology:Q290 }
male
The sex of Johannes Hamel is the male
male
action filter_type
action find
entity Johannes Hamel
relation gender
type sex
['Germany', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Johannes_Hamel property:gender ?q . ?q rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19605345
P54
Q6979593
USER
What is Nicole Campbell-Green a member of ?
(Q19605345,P54,c(Q6979593))
action filter_type
action find
entity Q19605345
relation P54
type Q6979593
['Q19605345', 'P54', {'concept': 'Q6979593'}]
SELECT DISTINCT ?b WHERE { resource:Q19605345 property:P54 ?b . ?b rdf:type ontology:Q6979593 }
Nicole Campbell-Green
action filter_type
action find
entity Nicole Campbell-Green
relation member of sports team
type national association football team
['Nicole Campbell-Green', 'member of sports team', {'concept': 'national association football team'}]
SELECT DISTINCT ?b WHERE { resource:Nicole_Campbell-Green property:member_of_sports_team ?b . ?b rdf:type ontology:national_association_football_team }
[]
national association football team
Q1679841
SYSTEM
Jamaica women's national football team
Q1679841
(Q19605345,P54,c(Q6979593))
action filter_type
action find
entity Q19605345
relation P54
type Q6979593
[ANSWER] Nicole Campbell-Green is a member
['Q19605345', 'P54', {'concept': 'Q6979593'}]
SELECT DISTINCT ?b WHERE { resource:Q19605345 property:P54 ?b . ?b rdf:type ontology:Q6979593 }
Jamaica women's national football team
Jamaica women's national football team Nicole Campbell-Green is a member
Jamaica women's national football team
action filter_type
action find
entity Nicole Campbell-Green
relation member of sports team
type national association football team
['Nicole Campbell-Green', 'member of sports team', {'concept': 'national association football team'}]
SELECT DISTINCT ?b WHERE { resource:Nicole_Campbell-Green property:member_of_sports_team ?b . ?b rdf:type ontology:national_association_football_team }
[]