Simple Question (Direct)
Simple Question
Q89127
P734
Q82799
USER
Who has the surname Richard Lugner ?
(Q89127,P734,c(Q82799))
action filter_type
action find
entity Q89127
relation P734
type Q82799
['Q89127', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q82799 . resource:Q89127 property:P734 ?r }
Richard Lugner
action filter_type
action find
entity Richard Lugner
relation family name
type name
['Richard Lugner', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:name . resource:Richard_Lugner property:family_name ?r }
[]
name
Q22692019
SYSTEM
Lugner
Q22692019
(Q89127,P734,c(Q82799))
action filter_type
action find
entity Q89127
relation P734
type Q82799
[ANSWER] has the surname Richard [ANSWER]
['Q89127', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q82799 . resource:Q89127 property:P734 ?r }
Lugner
Lugner has the surname Richard Lugner
Lugner
action filter_type
action find
entity Richard Lugner
relation family name
type name
['Richard Lugner', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:name . resource:Richard_Lugner property:family_name ?r }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q89127
P26
Q502895
USER
Which person is the life partner of Richard Lugner ?
(Q89127,P26,c(Q502895))
action filter_type
action find
entity Q89127
relation P26
type Q502895
['Q89127', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q89127 property:P26 ?q . ?q rdf:type ontology:Q502895 }
Richard Lugner
action filter_type
action find
entity Richard Lugner
relation spouse
type common name
['Richard Lugner', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Richard_Lugner property:spouse ?q . ?q rdf:type ontology:common_name }
[]
common name
Q20798793
SYSTEM
Cathy Lugner
Q20798793
(Q89127,P26,c(Q502895))
action filter_type
action find
entity Q89127
relation P26
type Q502895
[ANSWER] is the life partner of Richard Lugner
['Q89127', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q89127 property:P26 ?q . ?q rdf:type ontology:Q502895 }
Cathy Lugner
Cathy Lugner is the life partner of Richard Lugner
Cathy Lugner
action filter_type
action find
entity Richard Lugner
relation spouse
type common name
['Richard Lugner', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Richard_Lugner property:spouse ?q . ?q rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q996093
Q502895
USER
And how about Ödön Faragó?
(Q996093,P26,c(Q502895))
action filter_type
action find
entity Q996093
relation P26
type Q502895
['Q996093', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q996093 property:P26 ?y . ?y rdf:type ontology:Q502895 }
Ödön Faragó
action filter_type
action find
entity Ödön Faragó
relation spouse
type common name
['Ödön Faragó', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Ödön_Faragó property:spouse ?y . ?y rdf:type ontology:common_name }
[]
common name
Q18977366
SYSTEM
Irén Biller
Q18977366
(Q996093,P26,c(Q502895))
action filter_type
action find
entity Q996093
relation P26
type Q502895
[ANSWER]
['Q996093', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q996093 property:P26 ?y . ?y rdf:type ontology:Q502895 }
Irén Biller
Irén Biller
action filter_type
action find
entity Ödön Faragó
relation spouse
type common name
['Ödön Faragó', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Ödön_Faragó property:spouse ?y . ?y rdf:type ontology:common_name }
[]