Simple Question (Direct)
Simple Question
Q1741064
P102
Q7210356
USER
Which party is Leopold Reitz affiliated with ?
(Q1741064,P102,c(Q7210356))
action filter_type
action find
entity Q1741064
relation P102
type Q7210356
['Q1741064', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?n WHERE { resource:Q1741064 property:P102 ?n . ?n rdf:type ontology:Q7210356 }
Leopold Reitz
action filter_type
action find
entity Leopold Reitz
relation member of political party
type political organization
['Leopold Reitz', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?n WHERE { resource:Leopold_Reitz property:member_of_political_party ?n . ?n rdf:type ontology:political_organization }
[]
political organization
Q7320
SYSTEM
Nazi Party
Q7320
(Q1741064,P102,c(Q7210356))
action filter_type
action find
entity Q1741064
relation P102
type Q7210356
Leopold Reitz is affiliated with [ANSWER]
['Q1741064', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?n WHERE { resource:Q1741064 property:P102 ?n . ?n rdf:type ontology:Q7210356 }
Nazi Party
Leopold Reitz is affiliated with Nazi Party
Nazi Party
action filter_type
action find
entity Leopold Reitz
relation member of political party
type political organization
['Leopold Reitz', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?n WHERE { resource:Leopold_Reitz property:member_of_political_party ?n . ?n rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1741064
P21
Q290
USER
What is the sex of Leopold Reitz ?
(Q1741064,P21,c(Q290))
action filter_type
action find
entity Q1741064
relation P21
type Q290
['Q1741064', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q1741064 property:P21 ?s . ?s rdf:type ontology:Q290 }
Leopold Reitz
action filter_type
action find
entity Leopold Reitz
relation gender
type sex
['Leopold Reitz', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Leopold_Reitz property:gender ?s . ?s rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1741064,P21,c(Q290))
action filter_type
action find
entity Q1741064
relation P21
type Q290
The sex of Leopold Reitz is the [ANSWER]
['Q1741064', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q1741064 property:P21 ?s . ?s rdf:type ontology:Q290 }
male
The sex of Leopold Reitz is the male
male
action filter_type
action find
entity Leopold Reitz
relation gender
type sex
['Leopold Reitz', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Leopold_Reitz property:gender ?s . ?s rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q16151720
Q290
USER
And how about John Ford?
(Q16151720,P21,c(Q290))
action filter_type
action find
entity Q16151720
relation P21
type Q290
['Q16151720', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q290 . resource:Q16151720 property:P21 ?a }
John Ford
action filter_type
action find
entity John Ford
relation gender
type sex
['John Ford', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:sex . resource:John_Ford property:gender ?a }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q16151720,P21,c(Q290))
action filter_type
action find
entity Q16151720
relation P21
type Q290
[ANSWER]
['Q16151720', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q290 . resource:Q16151720 property:P21 ?a }
male
male
action filter_type
action find
entity John Ford
relation gender
type sex
['John Ford', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:sex . resource:John_Ford property:gender ?a }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16151720
P140
Q9174
USER
What is the religious affiliation of that person ?
(Q6581097,P140,c(Q9174))
action filter_type
action find
entity Q16151720
relation P140
type Q9174
['Q6581097', 'P140', {'concept': 'Q9174'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q9174 . resource:Q16151720 property:P140 ?y }
John Ford
action filter_type
action find
entity John Ford
relation religion
type religion
['male', 'religion', {'concept': 'religion'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:religion . resource:John_Ford property:religion ?y }
[]
religion
Q6423963
SYSTEM
Anglicanism
Q6423963
(Q6581097,P140,c(Q9174))
action filter_type
action find
entity Q16151720
relation P140
type Q9174
The religious affiliation of that person is an [ANSWER]
['Q6581097', 'P140', {'concept': 'Q9174'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q9174 . resource:Q16151720 property:P140 ?y }
Anglicanism
The religious affiliation of that person is an Anglicanism
Anglicanism
action filter_type
action find
entity John Ford
relation religion
type religion
['male', 'religion', {'concept': 'religion'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:religion . resource:John_Ford property:religion ?y }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6423963 Q268217
P140
Q502895
USER
Does James Madison have that religion as religious affiliation ?
(Q268217,P140,Q6423963)
action is_in
entity Q6423963
action find
entity Q268217
relation P140
['Q268217', 'P140', 'Q6423963']
ASK WHERE { resource:Q268217 property:P140 resource:Q6423963 }
Anglicanism James Madison
action is_in
entity Anglicanism
action find
entity James Madison
relation religion
['James Madison', 'religion', 'Anglicanism']
ASK WHERE { resource:James_Madison property:religion resource:Anglicanism }
[]
common name
SYSTEM
YES
(Q268217,P140,Q6423963)
action is_in
entity Q6423963
action find
entity Q268217
relation P140
[ANSWER]
['Q268217', 'P140', 'Q6423963']
ASK WHERE { resource:Q268217 property:P140 resource:Q6423963 }
Yes
action is_in
entity Anglicanism
action find
entity James Madison
relation religion
['James Madison', 'religion', 'Anglicanism']
ASK WHERE { resource:James_Madison property:religion resource:Anglicanism }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1741064
P106
Q151885
USER
What is the job of Leopold Reitz ?
(Q1741064,P106,c(Q151885))
action filter_type
action find
entity Q1741064
relation P106
type Q151885
['Q1741064', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?m WHERE { resource:Q1741064 property:P106 ?m . ?m rdf:type ontology:Q151885 }
Leopold Reitz
action filter_type
action find
entity Leopold Reitz
relation occupation
type concept
['Leopold Reitz', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?m WHERE { resource:Leopold_Reitz property:occupation ?m . ?m rdf:type ontology:concept }
[]
concept
Q482980
SYSTEM
author
Q482980
(Q1741064,P106,c(Q151885))
action filter_type
action find
entity Q1741064
relation P106
type Q151885
The job of Leopold Reitz is the [ANSWER]
['Q1741064', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?m WHERE { resource:Q1741064 property:P106 ?m . ?m rdf:type ontology:Q151885 }
author
The job of Leopold Reitz is the author
author
action filter_type
action find
entity Leopold Reitz
relation occupation
type concept
['Leopold Reitz', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?m WHERE { resource:Leopold_Reitz property:occupation ?m . ?m rdf:type ontology:concept }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q1741064
Q12737077
USER
And which occupation?
(Q1741064,P106,c(Q12737077))
action filter_type
action find
entity Q1741064
relation P106
type Q12737077
['Q1741064', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q1741064 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
Leopold Reitz
action filter_type
action find
entity Leopold Reitz
relation occupation
type occupation
['Leopold Reitz', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Leopold_Reitz property:occupation ?x . ?x rdf:type ontology:occupation }
[]
occupation
Q36180
SYSTEM
writer
Q36180
(Q1741064,P106,c(Q12737077))
action filter_type
action find
entity Q1741064
relation P106
type Q12737077
[ANSWER]
['Q1741064', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q1741064 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
writer
writer
action filter_type
action find
entity Leopold Reitz
relation occupation
type occupation
['Leopold Reitz', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Leopold_Reitz property:occupation ?x . ?x rdf:type ontology:occupation }
[]