Simple Question (Direct)
Simple Question
Q1672677
P21
Q290
USER
What is the sex of Irina Palina ?
(Q1672677,P21,c(Q290))
action filter_type
action find
entity Q1672677
relation P21
type Q290
['Q1672677', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q290 . resource:Q1672677 property:P21 ?j }
Irina Palina
action filter_type
action find
entity Irina Palina
relation gender
type sex
['Irina Palina', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:sex . resource:Irina_Palina property:gender ?j }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q1672677,P21,c(Q290))
action filter_type
action find
entity Q1672677
relation P21
type Q290
The sex of Irina Palina is the [ANSWER]
['Q1672677', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q290 . resource:Q1672677 property:P21 ?j }
female
The sex of Irina Palina is the female
female
action filter_type
action find
entity Irina Palina
relation gender
type sex
['Irina Palina', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:sex . resource:Irina_Palina property:gender ?j }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1672677
P641
Q349
USER
Which sport was Irina Palina a part of ?
(Q1672677,P641,c(Q349))
action filter_type
action find
entity Q1672677
relation P641
type Q349
['Q1672677', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?u WHERE { resource:Q1672677 property:P641 ?u . ?u rdf:type ontology:Q349 }
Irina Palina
action filter_type
action find
entity Irina Palina
relation sport
type sport
['Irina Palina', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?u WHERE { resource:Irina_Palina property:sport ?u . ?u rdf:type ontology:sport }
[]
sport
Q3930
SYSTEM
table tennis
Q3930
(Q1672677,P641,c(Q349))
action filter_type
action find
entity Q1672677
relation P641
type Q349
Irina Palina was a [ANSWER]
['Q1672677', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?u WHERE { resource:Q1672677 property:P641 ?u . ?u rdf:type ontology:Q349 }
table tennis
Irina Palina was a table tennis
table tennis
action filter_type
action find
entity Irina Palina
relation sport
type sport
['Irina Palina', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?u WHERE { resource:Irina_Palina property:sport ?u . ?u rdf:type ontology:sport }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3238500
Q349
USER
And what about line?
(Q3238500,P641,c(Q349))
action filter_type
action find
entity Q3238500
relation P641
type Q349
['Q3238500', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?a WHERE { resource:Q3238500 property:P641 ?a . ?a rdf:type ontology:Q349 }
line
action filter_type
action find
entity line
relation sport
type sport
['line', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?a WHERE { resource:line property:sport ?a . ?a rdf:type ontology:sport }
[]
sport
Q41466
SYSTEM
ice hockey
Q41466
(Q3238500,P641,c(Q349))
action filter_type
action find
entity Q3238500
relation P641
type Q349
[ANSWER]
['Q3238500', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?a WHERE { resource:Q3238500 property:P641 ?a . ?a rdf:type ontology:Q349 }
ice hockey
ice hockey
action filter_type
action find
entity line
relation sport
type sport
['line', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?a WHERE { resource:line property:sport ?a . ?a rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3930
P161
Q838948
USER
Which work of art stars table tennis as actor ?
(c(Q838948),P161,Q3930)
action filter_type
action find_reverse
entity Q3930
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q3930']
SELECT DISTINCT ?g WHERE { ?g property:P161 resource:Q3930 . ?g rdf:type ontology:Q838948 }
table tennis
action filter_type
action find_reverse
entity table tennis
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'table tennis']
SELECT DISTINCT ?g WHERE { ?g property:cast_member resource:table_tennis . ?g rdf:type ontology:work_of_art }
[]
work of art
Q7744374
SYSTEM
The Killing Phone
Q7744374
(c(Q838948),P161,Q3930)
action filter_type
action find_reverse
entity Q3930
relation P161
type Q838948
Stars [ANSWER] stars table tennis as actor
[{'concept': 'Q838948'}, 'P161', 'Q3930']
SELECT DISTINCT ?g WHERE { ?g property:P161 resource:Q3930 . ?g rdf:type ontology:Q838948 }
The Killing Phone
Stars The Killing Phone stars table tennis as actor
The Killing Phone
action filter_type
action find_reverse
entity table tennis
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'table tennis']
SELECT DISTINCT ?g WHERE { ?g property:cast_member resource:table_tennis . ?g rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3930
P2416
Q502895
USER
Which person was a contestant in that sport ?
(c(Q502895),P2416,Q7744374)
action filter_type
action find_reverse
entity Q3930
relation P2416
type Q502895
[{'concept': 'Q502895'}, 'P2416', 'Q7744374']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . ?n property:P2416 resource:Q3930 }
table tennis
action filter_type
action find_reverse
entity table tennis
relation sports discipline competed in
type common name
[{'concept': 'common name'}, 'sports discipline competed in', 'The Killing Phone']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . ?n property:sports_discipline_competed_in resource:table_tennis }
[]
common name
Q18009829
SYSTEM
Anastasios Nerantzis
Q18009829
(c(Q502895),P2416,Q7744374)
action filter_type
action find_reverse
entity Q3930
relation P2416
type Q502895
[ANSWER] was a contestant in that sport
[{'concept': 'Q502895'}, 'P2416', 'Q7744374']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . ?n property:P2416 resource:Q3930 }
Anastasios Nerantzis
Anastasios Nerantzis was a contestant in that sport
Anastasios Nerantzis
action filter_type
action find_reverse
entity table tennis
relation sports discipline competed in
type common name
[{'concept': 'common name'}, 'sports discipline competed in', 'The Killing Phone']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . ?n property:sports_discipline_competed_in resource:table_tennis }
[]