Simple Question (Direct)
Simple Question
Q2078603
P512
Q3412758
USER
What is the name of the degree held by Peter Süß ?
(Q2078603,P512,c(Q3412758))
action filter_type
action find
entity Q2078603
relation P512
type Q3412758
['Q2078603', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?g WHERE { resource:Q2078603 property:P512 ?g . ?g rdf:type ontology:Q3412758 }
Peter Süß
action filter_type
action find
entity Peter Süß
relation academic degree
type qualification
['Peter Süß', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?g WHERE { resource:Peter_Süß property:academic_degree ?g . ?g rdf:type ontology:qualification }
[]
qualification
Q849697
SYSTEM
doctoral degree
Q849697
(Q2078603,P512,c(Q3412758))
action filter_type
action find
entity Q2078603
relation P512
type Q3412758
The name of the degree held by Peter is the [ANSWER]
['Q2078603', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?g WHERE { resource:Q2078603 property:P512 ?g . ?g rdf:type ontology:Q3412758 }
doctoral degree
The name of the degree held by Peter is the doctoral degree
doctoral degree
action filter_type
action find
entity Peter Süß
relation academic degree
type qualification
['Peter Süß', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?g WHERE { resource:Peter_Süß property:academic_degree ?g . ?g rdf:type ontology:qualification }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2078603
P21
Q290
USER
Which sex does Peter Süß belong to ?
(Q2078603,P21,c(Q290))
action filter_type
action find
entity Q2078603
relation P21
type Q290
['Q2078603', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q2078603 property:P21 ?u . ?u rdf:type ontology:Q290 }
Peter Süß
action filter_type
action find
entity Peter Süß
relation gender
type sex
['Peter Süß', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Peter_Süß property:gender ?u . ?u rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2078603,P21,c(Q290))
action filter_type
action find
entity Q2078603
relation P21
type Q290
Peter Süß belongs to [ANSWER]
['Q2078603', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q2078603 property:P21 ?u . ?u rdf:type ontology:Q290 }
male
Peter Süß belongs to male
male
action filter_type
action find
entity Peter Süß
relation gender
type sex
['Peter Süß', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Peter_Süß property:gender ?u . ?u rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q16171046
Q290
USER
And also tell me about Sébastien Delorme?
(Q16171046,P21,c(Q290))
action filter_type
action find
entity Q16171046
relation P21
type Q290
['Q16171046', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q16171046 property:P21 ?x . ?x rdf:type ontology:Q290 }
Sébastien Delorme
action filter_type
action find
entity Sébastien Delorme
relation gender
type sex
['Sébastien Delorme', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Sébastien_Delorme property:gender ?x . ?x rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q16171046,P21,c(Q290))
action filter_type
action find
entity Q16171046
relation P21
type Q290
[ANSWER]
['Q16171046', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q16171046 property:P21 ?x . ?x rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Sébastien Delorme
relation gender
type sex
['Sébastien Delorme', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Sébastien_Delorme property:gender ?x . ?x rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16171046
P161
Q838948
USER
Which works of art stars that person as actor ?
(c(Q838948),P161,Q6581097)
action filter_type
action find_reverse
entity Q16171046
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q6581097']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q838948 . ?m property:P161 resource:Q16171046 }
Sébastien Delorme
action filter_type
action find_reverse
entity Sébastien Delorme
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'male']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:work_of_art . ?m property:cast_member resource:Sébastien_Delorme }
[]
work of art
Q673584 Q971999 Q3222580
SYSTEM
J'en suis!, Gaz Bar Blues, Le déserteur
Q971999 Q673584 Q17632127 Q3222580
(c(Q838948),P161,Q6581097)
action filter_type
action find_reverse
entity Q16171046
relation P161
type Q838948
[ANSWERS] star that person as actor
[{'concept': 'Q838948'}, 'P161', 'Q6581097']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q838948 . ?m property:P161 resource:Q16171046 }
Gaz Bar Blues J'en suis! The Little Queen Le déserteur
J'en suis!, Gaz Bar Blues and Le déserteur star that person as actor
J'en suis! Gaz Bar Blues Le déserteur
action filter_type
action find_reverse
entity Sébastien Delorme
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'male']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:work_of_art . ?m property:cast_member resource:Sébastien_Delorme }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q673584 Q971999 Q3222580
P495
Q1048835
USER
Which political territories are the origin of those works of art ?
(Q673584,P495,c(Q1048835)) (Q971999,P495,c(Q1048835)) (Q3222580,P495,c(Q1048835))
action filter_type
action find
entity prev_answer
relation P495
type Q1048835
['Q673584', 'P495', {'concept': 'Q1048835'}] ['Q971999', 'P495', {'concept': 'Q1048835'}] ['Q3222580', 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?a ) { ( resource:Q971999 ) ( resource:Q673584 ) ( resource:Q17632127 ) } . ?a property:P495 ?t . ?t rdf:type ontology:Q1048835 }
J'en suis! Gaz Bar Blues Le déserteur
action filter_type
action find
entity prev_answer
relation country of origin
type political territorial entity
["J'en suis!", 'country of origin', {'concept': 'political territorial entity'}] ['Gaz Bar Blues', 'country of origin', {'concept': 'political territorial entity'}] ['Le déserteur', 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?a ) { ( resource:Gaz_Bar_Blues ) ( resource:J'en_suis! ) ( resource:The_Little_Queen ) } . ?a property:country_of_origin ?t . ?t rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16 Q16 Q16
SYSTEM
Canada
Q16 Q16 Q16
(Q673584,P495,c(Q1048835)) (Q971999,P495,c(Q1048835)) (Q3222580,P495,c(Q1048835))
action filter_type
action find
entity prev_answer
relation P495
type Q1048835
[ANSWER], [ANSWER] and [ANSWER] are the origin of those works of art
['Q673584', 'P495', {'concept': 'Q1048835'}] ['Q971999', 'P495', {'concept': 'Q1048835'}] ['Q3222580', 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?a ) { ( resource:Q971999 ) ( resource:Q673584 ) ( resource:Q17632127 ) } . ?a property:P495 ?t . ?t rdf:type ontology:Q1048835 }
Canada Canada Canada
Canada, Canada and Canada are the origin of those works of art
Canada Canada Canada
action filter_type
action find
entity prev_answer
relation country of origin
type political territorial entity
["J'en suis!", 'country of origin', {'concept': 'political territorial entity'}] ['Gaz Bar Blues', 'country of origin', {'concept': 'political territorial entity'}] ['Le déserteur', 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?a ) { ( resource:Gaz_Bar_Blues ) ( resource:J'en_suis! ) ( resource:The_Little_Queen ) } . ?a property:country_of_origin ?t . ?t rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q673584
P58
Q502895
USER
Who served as the screenwriter for J'en suis! ?
(Q673584,P58,c(Q502895))
action filter_type
action find
entity Q673584
relation P58
type Q502895
['Q673584', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q673584 property:P58 ?e . ?e rdf:type ontology:Q502895 }
J'en suis!
action filter_type
action find
entity J'en suis!
relation screenwriter
type common name
["J'en suis!", 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:J'en_suis! property:screenwriter ?e . ?e rdf:type ontology:common_name }
[]
common name
Q2977391
SYSTEM
Claude Fournier
Q2977391
(Q673584,P58,c(Q502895))
action filter_type
action find
entity Q673584
relation P58
type Q502895
De [ANSWER] served as the screenwriter for J'en suis!
['Q673584', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q673584 property:P58 ?e . ?e rdf:type ontology:Q502895 }
Claude Fournier
De Claude Fournier served as the screenwriter for J'en suis!
Claude Fournier
action filter_type
action find
entity J'en suis!
relation screenwriter
type common name
["J'en suis!", 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:J'en_suis! property:screenwriter ?e . ?e rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q71954
Q502895
USER
And what about Shadows in the Sun?
(Q71954,P58,c(Q502895))
action filter_type
action find
entity Q71954
relation P58
type Q502895
['Q71954', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q71954 property:P58 ?v . ?v rdf:type ontology:Q502895 }
Shadows in the Sun
action filter_type
action find
entity Shadows in the Sun
relation screenwriter
type common name
['Shadows in the Sun', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Shadows_in_the_Sun property:screenwriter ?v . ?v rdf:type ontology:common_name }
[]
common name
Q896849
SYSTEM
Brad Mirman
Q896849
(Q71954,P58,c(Q502895))
action filter_type
action find
entity Q71954
relation P58
type Q502895
[ANSWER]
['Q71954', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q71954 property:P58 ?v . ?v rdf:type ontology:Q502895 }
Brad Mirman
Brad Mirman
action filter_type
action find
entity Shadows in the Sun
relation screenwriter
type common name
['Shadows in the Sun', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Shadows_in_the_Sun property:screenwriter ?v . ?v rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q16 Q35
P530
Q1048835
USER
How many political territories have ambassadorial relations with Canada and Denmark ?
(c(Q1048835),P530,Q16) (c(Q1048835),P530,Q35)
action count
action intersection
action filter_type
action find_reverse
entity Q16
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q35
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', 'Q16'] [{'concept': 'Q1048835'}, 'P530', 'Q35']
SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { ?y property:P530 resource:Q35 . ?y rdf:type ontology:Q1048835 . ?y property:P530 resource:Q16 . ?y rdf:type ontology:Q1048835 }
Canada Denmark
action count
action intersection
action filter_type
action find_reverse
entity Canada
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity Denmark
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Canada'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Denmark']
SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { ?y property:diplomatic_relation resource:Denmark . ?y rdf:type ontology:political_territorial_entity . ?y property:diplomatic_relation resource:Canada . ?y rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
2
Q408 Q183
(c(Q1048835),P530,Q16) (c(Q1048835),P530,Q35)
action count
action intersection
action filter_type
action find_reverse
entity Q16
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q35
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', 'Q16'] [{'concept': 'Q1048835'}, 'P530', 'Q35']
SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { ?y property:P530 resource:Q35 . ?y rdf:type ontology:Q1048835 . ?y property:P530 resource:Q16 . ?y rdf:type ontology:Q1048835 }
Australia Germany
2
action count
action intersection
action filter_type
action find_reverse
entity Canada
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity Denmark
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Canada'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Denmark']
SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { ?y property:diplomatic_relation resource:Denmark . ?y rdf:type ontology:political_territorial_entity . ?y property:diplomatic_relation resource:Canada . ?y rdf:type ontology:political_territorial_entity }
[]