Simple Question (Direct)
Simple Question
Q459007
P21
Q290
USER
What is the sex of Joe Morton ?
(Q459007,P21,c(Q290))
action filter_type
action find
entity Q459007
relation P21
type Q290
['Q459007', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q459007 property:P21 ?m . ?m rdf:type ontology:Q290 }
Joe Morton
action filter_type
action find
entity Joe Morton
relation gender
type sex
['Joe Morton', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Joe_Morton property:gender ?m . ?m rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q459007,P21,c(Q290))
action filter_type
action find
entity Q459007
relation P21
type Q290
The sex of Joe Morton is a [ANSWER]
['Q459007', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q459007 property:P21 ?m . ?m rdf:type ontology:Q290 }
male
The sex of Joe Morton is a male
male
action filter_type
action find
entity Joe Morton
relation gender
type sex
['Joe Morton', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Joe_Morton property:gender ?m . ?m rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q459007
P734
Q82799
USER
Which name is associated with Joe Morton ?
(Q459007,P734,c(Q82799))
action filter_type
action find
entity Q459007
relation P734
type Q82799
['Q459007', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?o WHERE { resource:Q459007 property:P734 ?o . ?o rdf:type ontology:Q82799 }
Joe Morton
action filter_type
action find
entity Joe Morton
relation family name
type name
['Joe Morton', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?o WHERE { resource:Joe_Morton property:family_name ?o . ?o rdf:type ontology:name }
[]
name
Q13570390
SYSTEM
Morton
Q13570390
(Q459007,P734,c(Q82799))
action filter_type
action find
entity Q459007
relation P734
type Q82799
[ANSWER] is associated with Joe [ANSWER]
['Q459007', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?o WHERE { resource:Q459007 property:P734 ?o . ?o rdf:type ontology:Q82799 }
Morton
Morton is associated with Joe Morton
Morton
action filter_type
action find
entity Joe Morton
relation family name
type name
['Joe Morton', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?o WHERE { resource:Joe_Morton property:family_name ?o . ?o rdf:type ontology:name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3386562
Q82799
USER
And how about Pierre Perrault?
(Q3386562,P734,c(Q82799))
action filter_type
action find
entity Q3386562
relation P734
type Q82799
['Q3386562', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { resource:Q3386562 property:P734 ?d . ?d rdf:type ontology:Q82799 }
Pierre Perrault
action filter_type
action find
entity Pierre Perrault
relation family name
type name
['Pierre Perrault', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { resource:Pierre_Perrault property:family_name ?d . ?d rdf:type ontology:name }
[]
name
Q20730105
SYSTEM
Perrault
Q20730105
(Q3386562,P734,c(Q82799))
action filter_type
action find
entity Q3386562
relation P734
type Q82799
[ANSWER]
['Q3386562', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { resource:Q3386562 property:P734 ?d . ?d rdf:type ontology:Q82799 }
Perrault
Perrault
action filter_type
action find
entity Pierre Perrault
relation family name
type name
['Pierre Perrault', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { resource:Pierre_Perrault property:family_name ?d . ?d rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3386562
P7
Q502895
USER
Who is the brother of that one ?
(Q20730105,P7,c(Q502895))
action filter_type
action find
entity Q3386562
relation P7
type Q502895
['Q20730105', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q3386562 property:P7 ?i . ?i rdf:type ontology:Q502895 }
Pierre Perrault
action filter_type
action find
entity Pierre Perrault
relation brother
type common name
['Perrault', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Pierre_Perrault property:brother ?i . ?i rdf:type ontology:common_name }
[]
common name
Q347699
SYSTEM
Claude Perrault
Q347699
(Q20730105,P7,c(Q502895))
action filter_type
action find
entity Q3386562
relation P7
type Q502895
The brother of that one is Saint [ANSWER]
['Q20730105', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q3386562 property:P7 ?i . ?i rdf:type ontology:Q502895 }
Claude Perrault
The brother of that one is Saint Claude Perrault
Claude Perrault
action filter_type
action find
entity Pierre Perrault
relation brother
type common name
['Perrault', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Pierre_Perrault property:brother ?i . ?i rdf:type ontology:common_name }
[]