Simple Question (Direct)
Simple Question
Q442010
P19
Q56061
USER
Where was Ivry Gitlis born ?
(Q442010,P19,c(Q56061))
action filter_type
action find
entity Q442010
relation P19
type Q56061
['Q442010', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q442010 property:P19 ?a . ?a rdf:type ontology:Q56061 }
Ivry Gitlis
action filter_type
action find
entity Ivry Gitlis
relation place of birth
type administrative territorial entity
['Ivry Gitlis', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Ivry_Gitlis property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q41621
SYSTEM
Haifa
Q41621
(Q442010,P19,c(Q56061))
action filter_type
action find
entity Q442010
relation P19
type Q56061
Ivry Gitlis was born in [ANSWER]
['Q442010', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q442010 property:P19 ?a . ?a rdf:type ontology:Q56061 }
Haifa
Ivry Gitlis was born in Haifa
Haifa
action filter_type
action find
entity Ivry Gitlis
relation place of birth
type administrative territorial entity
['Ivry Gitlis', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Ivry_Gitlis property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q442010
P26
Q502895
USER
Which person is the spouse of Ivry Gitlis ?
(Q442010,P26,c(Q502895))
action filter_type
action find
entity Q442010
relation P26
type Q502895
['Q442010', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q442010 property:P26 ?a . ?a rdf:type ontology:Q502895 }
Ivry Gitlis
action filter_type
action find
entity Ivry Gitlis
relation spouse
type common name
['Ivry Gitlis', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Ivry_Gitlis property:spouse ?a . ?a rdf:type ontology:common_name }
[]
common name
Q120257
SYSTEM
Sabine Glaser
Q120257
(Q442010,P26,c(Q502895))
action filter_type
action find
entity Q442010
relation P26
type Q502895
[ANSWER] is the spouse of Ivry Gitlis
['Q442010', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q442010 property:P26 ?a . ?a rdf:type ontology:Q502895 }
Sabine Glaser
Sabine Glaser is the spouse of Ivry Gitlis
Sabine Glaser
action filter_type
action find
entity Ivry Gitlis
relation spouse
type common name
['Ivry Gitlis', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Ivry_Gitlis property:spouse ?a . ?a rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q120257
P161
Q838948
USER
Which works of art have that person as actor ?
(c(Q838948),P161,Q120257)
action filter_type
action find_reverse
entity Q120257
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q120257']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q838948 . ?g property:P161 resource:Q120257 }
Sabine Glaser
action filter_type
action find_reverse
entity Sabine Glaser
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Sabine Glaser']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:work_of_art . ?g property:cast_member resource:Sabine_Glaser }
[]
work of art
Q314962 Q1138156 Q1195396
SYSTEM
Mado, Dossier 51, The Man Who Loved Women
Q3208723 Q3209839 Q314962 Q1195396 Q1138156
(c(Q838948),P161,Q120257)
action filter_type
action find_reverse
entity Q120257
relation P161
type Q838948
Mado, Dossier 51 and The Man Who loved Women have that person as actor
[{'concept': 'Q838948'}, 'P161', 'Q120257']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q838948 . ?g property:P161 resource:Q120257 }
The Woman in Blue La Jeune Fille assassinée Mado The Man Who Loved Women Dossier 51
Mado, Dossier 51 and The Man Who loved Women have that person as actor
Mado Dossier 51 The Man Who Loved Women
action filter_type
action find_reverse
entity Sabine Glaser
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Sabine Glaser']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:work_of_art . ?g property:cast_member resource:Sabine_Glaser }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P3091
Q3745054 Q502895 Q502895
USER
Which people ride on a approximately 3 horse breeds and people ?
(c(Q502895),P3091,c(Q3745054)|c(Q502895))
action approx
action union
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action find_tuple_counts
relation P3091
type Q502895
type Q502895
value 3
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q3745054'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?y ) AS ?u ) WHERE { { ?q property:P3091 ?y . ?y rdf:type ontology:Q3745054 . ?q rdf:type ontology:Q502895 } UNION { ?q property:P3091 ?y . ?q rdf:type ontology:Q502895 . ?y rdf:type ontology:Q502895 } } GROUP BY ?q } . FILTER ( ?u = 3 ) }
action approx
action union
action find_tuple_counts
relation mount
type common name
type horse breed
action find_tuple_counts
relation mount
type common name
type common name
value 3
[{'concept': 'common name'}, 'mount', [{'concept': 'horse breed'}, {'concept': 'common name'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?y ) AS ?u ) WHERE { { ?q property:mount ?y . ?y rdf:type ontology:horse_breed . ?q rdf:type ontology:common_name } UNION { ?q property:mount ?y . ?q rdf:type ontology:common_name . ?y rdf:type ontology:common_name } } GROUP BY ?q } . FILTER ( ?u = 3 ) }
[]
horse breed common name common name
Q2057115
SYSTEM
Patrice Delaveau
Q2057115
(c(Q502895),P3091,c(Q3745054)|c(Q502895))
action approx
action union
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action find_tuple_counts
relation P3091
type Q502895
type Q502895
value 3
[ANSWER] ride on a approximately 3 horse breeds and people
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q3745054'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?y ) AS ?u ) WHERE { { ?q property:P3091 ?y . ?y rdf:type ontology:Q3745054 . ?q rdf:type ontology:Q502895 } UNION { ?q property:P3091 ?y . ?q rdf:type ontology:Q502895 . ?y rdf:type ontology:Q502895 } } GROUP BY ?q } . FILTER ( ?u = 3 ) }
Patrice Delaveau
Patrice Delaveau ride on a approximately 3 horse breeds and people
Patrice Delaveau
action approx
action union
action find_tuple_counts
relation mount
type common name
type horse breed
action find_tuple_counts
relation mount
type common name
type common name
value 3
[{'concept': 'common name'}, 'mount', [{'concept': 'horse breed'}, {'concept': 'common name'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?y ) AS ?u ) WHERE { { ?q property:mount ?y . ?y rdf:type ontology:horse_breed . ?q rdf:type ontology:common_name } UNION { ?q property:mount ?y . ?q rdf:type ontology:common_name . ?y rdf:type ontology:common_name } } GROUP BY ?q } . FILTER ( ?u = 3 ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2057115
P1344
Q2312410
USER
Which sport discipline did that person participate in ?
(Q2057115,P1344,c(Q2312410))
action filter_type
action find
entity Q2057115
relation P1344
type Q2312410
['Q2057115', 'P1344', {'concept': 'Q2312410'}]
SELECT DISTINCT ?o WHERE { resource:Q2057115 property:P1344 ?o . ?o rdf:type ontology:Q2312410 }
Patrice Delaveau
action filter_type
action find
entity Patrice Delaveau
relation participant of
type sport discipline
['Patrice Delaveau', 'participant of', {'concept': 'sport discipline'}]
SELECT DISTINCT ?o WHERE { resource:Patrice_Delaveau property:participant_of ?o . ?o rdf:type ontology:sport_discipline }
[]
sport discipline
Q18020555
SYSTEM
equestrian at the 2016 Summer Olympics
Q18020555
(Q2057115,P1344,c(Q2312410))
action filter_type
action find
entity Q2057115
relation P1344
type Q2312410
That person participated in [ANSWER]
['Q2057115', 'P1344', {'concept': 'Q2312410'}]
SELECT DISTINCT ?o WHERE { resource:Q2057115 property:P1344 ?o . ?o rdf:type ontology:Q2312410 }
equestrian at the 2016 Summer Olympics
That person participated in equestrian at the 2016 Summer Olympics
equestrian at the 2016 Summer Olympics
action filter_type
action find
entity Patrice Delaveau
relation participant of
type sport discipline
['Patrice Delaveau', 'participant of', {'concept': 'sport discipline'}]
SELECT DISTINCT ?o WHERE { resource:Patrice_Delaveau property:participant_of ?o . ?o rdf:type ontology:sport_discipline }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q22959094
Q2312410
USER
And how about Fan Yang?
(Q22959094,P1344,c(Q2312410))
action filter_type
action find
entity Q22959094
relation P1344
type Q2312410
['Q22959094', 'P1344', {'concept': 'Q2312410'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q2312410 . resource:Q22959094 property:P1344 ?t }
Fan Yang
action filter_type
action find
entity Fan Yang
relation participant of
type sport discipline
['Fan Yang', 'participant of', {'concept': 'sport discipline'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:sport_discipline . resource:Fan_Yang property:participant_of ?t }
[]
sport discipline
Q11889336
SYSTEM
cycling at the 2016 Summer Olympics
Q11889336
(Q22959094,P1344,c(Q2312410))
action filter_type
action find
entity Q22959094
relation P1344
type Q2312410
[ANSWER]
['Q22959094', 'P1344', {'concept': 'Q2312410'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q2312410 . resource:Q22959094 property:P1344 ?t }
cycling at the 2016 Summer Olympics
cycling at the 2016 Summer Olympics
action filter_type
action find
entity Fan Yang
relation participant of
type sport discipline
['Fan Yang', 'participant of', {'concept': 'sport discipline'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:sport_discipline . resource:Fan_Yang property:participant_of ?t }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q41621
P36
Q193560
USER
Which district of Israel has Haifa as its capital ?
(c(Q193560),P36,Q41621)
action filter_type
action find_reverse
entity Q41621
relation P36
type Q193560
[{'concept': 'Q193560'}, 'P36', 'Q41621']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q193560 . ?u property:P36 resource:Q41621 }
Haifa
action filter_type
action find_reverse
entity Haifa
relation capital
type district of Israel
[{'concept': 'district of Israel'}, 'capital', 'Haifa']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:district_of_Israel . ?u property:capital resource:Haifa }
[]
district of Israel
Q185845
SYSTEM
Haifa District
Q185845
(c(Q193560),P36,Q41621)
action filter_type
action find_reverse
entity Q41621
relation P36
type Q193560
District [ANSWER] has Haifa as its capital
[{'concept': 'Q193560'}, 'P36', 'Q41621']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q193560 . ?u property:P36 resource:Q41621 }
Haifa District
District Haifa District has Haifa as its capital
Haifa District
action filter_type
action find_reverse
entity Haifa
relation capital
type district of Israel
[{'concept': 'district of Israel'}, 'capital', 'Haifa']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:district_of_Israel . ?u property:capital resource:Haifa }
[]