Simple Question (Direct)
Simple Question
Q1508496
P106
Q28640
USER
What does George Walker do for a living ?
(Q1508496,P106,c(Q28640))
action filter_type
action find
entity Q1508496
relation P106
type Q28640
['Q1508496', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?z WHERE { resource:Q1508496 property:P106 ?z . ?z rdf:type ontology:Q28640 }
George Walker
action filter_type
action find
entity George Walker
relation occupation
type profession
['George Walker', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?z WHERE { resource:George_Walker property:occupation ?z . ?z rdf:type ontology:profession }
[]
profession
Q40348
SYSTEM
lawyer
Q40348
(Q1508496,P106,c(Q28640))
action filter_type
action find
entity Q1508496
relation P106
type Q28640
George Walker does a [ANSWER] for a living
['Q1508496', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?z WHERE { resource:Q1508496 property:P106 ?z . ?z rdf:type ontology:Q28640 }
lawyer
George Walker does a lawyer for a living
lawyer
action filter_type
action find
entity George Walker
relation occupation
type profession
['George Walker', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?z WHERE { resource:George_Walker property:occupation ?z . ?z rdf:type ontology:profession }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q40348
P417
Q502895
USER
What people are the patron saint of that profession ?
(Q40348,P417,c(Q502895))
action filter_type
action find
entity Q40348
relation P417
type Q502895
['Q40348', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . resource:Q40348 property:P417 ?y }
lawyer
action filter_type
action find
entity lawyer
relation patron saint
type common name
['lawyer', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . resource:lawyer property:patron_saint ?y }
[]
common name
Q179718 Q358325
SYSTEM
Catherine of Alexandria, Ivo of Kermartin
Q179718 Q358325
(Q40348,P417,c(Q502895))
action filter_type
action find
entity Q40348
relation P417
type Q502895
[ANSWERS] are the patron saint of that profession
['Q40348', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . resource:Q40348 property:P417 ?y }
Catherine of Alexandria Ivo of Kermartin
Catherine of Alexandria and Ivo of Kermartin are the patron saint of that profession
Catherine of Alexandria Ivo of Kermartin
action filter_type
action find
entity lawyer
relation patron saint
type common name
['lawyer', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . resource:lawyer property:patron_saint ?y }
[]