Simple Question (Direct)
Simple Question
Q3482604
P21
Q290
USER
What is the sex of Shredy Jabarin ?
(Q3482604,P21,c(Q290))
action filter_type
action find
entity Q3482604
relation P21
type Q290
['Q3482604', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q290 . resource:Q3482604 property:P21 ?z }
Shredy Jabarin
action filter_type
action find
entity Shredy Jabarin
relation gender
type sex
['Shredy Jabarin', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:sex . resource:Shredy_Jabarin property:gender ?z }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3482604,P21,c(Q290))
action filter_type
action find
entity Q3482604
relation P21
type Q290
The sex of Shredy Jabarin is the [ANSWER]
['Q3482604', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q290 . resource:Q3482604 property:P21 ?z }
male
The sex of Shredy Jabarin is the male
male
action filter_type
action find
entity Shredy Jabarin
relation gender
type sex
['Shredy Jabarin', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:sex . resource:Shredy_Jabarin property:gender ?z }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3482604
P161
Q838948
USER
Which works of art have Shredy Jabarin as actor ?
(c(Q838948),P161,Q3482604)
action filter_type
action find_reverse
entity Q3482604
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q3482604']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q838948 . ?d property:P161 resource:Q3482604 }
Shredy Jabarin
action filter_type
action find_reverse
entity Shredy Jabarin
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Shredy Jabarin']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:work_of_art . ?d property:cast_member resource:Shredy_Jabarin }
[]
work of art
Q540186 Q1506263 Q1587932
SYSTEM
Miral, The Bubble, For My Father
Q1506263 Q1247320 Q540186 Q16864749 Q3660203 Q1587932
(c(Q838948),P161,Q3482604)
action filter_type
action find_reverse
entity Q3482604
relation P161
type Q838948
[ANSWERS] have Shredy Jabarin as actor
[{'concept': 'Q838948'}, 'P161', 'Q3482604']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q838948 . ?d property:P161 resource:Q3482604 }
The Bubble Free Zone Miral Kidon Carmel For My Father
Miral, The Bubble and For My Father have Shredy Jabarin as actor
Miral The Bubble For My Father
action filter_type
action find_reverse
entity Shredy Jabarin
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Shredy Jabarin']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:work_of_art . ?d property:cast_member resource:Shredy_Jabarin }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1587932
P921
Q645883
USER
What was that work of art mainly about ?
(Q1587932,P921,c(Q645883))
action filter_type
action find
entity Q1587932
relation P921
type Q645883
['Q1587932', 'P921', {'concept': 'Q645883'}]
SELECT DISTINCT ?k WHERE { resource:Q1587932 property:P921 ?k . ?k rdf:type ontology:Q645883 }
For My Father
action filter_type
action find
entity For My Father
relation main subject
type military operation
['For My Father', 'main subject', {'concept': 'military operation'}]
SELECT DISTINCT ?k WHERE { resource:For_My_Father property:main_subject ?k . ?k rdf:type ontology:military_operation }
[]
military operation
Clarification for simple ques.
Q1506263
SYSTEM
Did you mean The Bubble ?
Q540186 Q1506263 Q1587932
(Q540186,P921,c(Q645883)) (Q1506263,P921,c(Q645883)) (Q1587932,P921,c(Q645883))
[ANSWER]
['Q540186', 'P921', {'concept': 'Q645883'}] ['Q1506263', 'P921', {'concept': 'Q645883'}] ['Q1587932', 'P921', {'concept': 'Q645883'}]
SELECT DISTINCT ?k WHERE { resource:Q1587932 property:P921 ?k . ?k rdf:type ontology:Q645883 }
Miral The Bubble For My Father
Did you mean The Bubble ?
The Bubble
['Miral', 'main subject', {'concept': 'military operation'}] ['The Bubble', 'main subject', {'concept': 'military operation'}] ['For My Father', 'main subject', {'concept': 'military operation'}]
SELECT DISTINCT ?k WHERE { resource:For_My_Father property:main_subject ?k . ?k rdf:type ontology:military_operation }
[]
Simple Question (Coreferenced)
USER
No, I meant For My Father. Could you tell me the answer for that?
(Q1587932,P921,c(Q645883))
Q1587932
['Q1587932', 'P921', {'concept': 'Q645883'}]
['For My Father', 'main subject', {'concept': 'military operation'}]
[]
Q217327
SYSTEM
suicide attack
Q217327
(Q1587932,P921,c(Q645883))
action filter_type
action find
entity Q1587932
relation P921
type Q645883
Mainly that work of art about was a [ANSWER]
['Q1587932', 'P921', {'concept': 'Q645883'}]
SELECT DISTINCT ?k WHERE { resource:Q1587932 property:P921 ?k . ?k rdf:type ontology:Q645883 }
suicide attack
Mainly that work of art about was a suicide attack
suicide attack
action filter_type
action find
entity For My Father
relation main subject
type military operation
['For My Father', 'main subject', {'concept': 'military operation'}]
SELECT DISTINCT ?k WHERE { resource:For_My_Father property:main_subject ?k . ?k rdf:type ontology:military_operation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q540186 Q861834
P495
Q15617994
USER
How many administrative territories are the countries of origin of Miral or Tinta Barroca ?
(Q540186,P495,c(Q15617994)) (Q861834,P495,c(Q15617994))
action count
action union
action filter_type
action find
entity Q540186
relation P495
type Q15617994
action filter_type
action find
entity Q861834
relation P495
type Q15617994
['Q540186', 'P495', {'concept': 'Q15617994'}] ['Q861834', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { ?a property:P495 ?g . VALUES ( ?a ) { ( resource:Q540186 ) ( resource:Q861834 ) } }
Miral Tinta Barroca
action count
action union
action filter_type
action find
entity Miral
relation country of origin
type designation for an administrative territorial entity
action filter_type
action find
entity Tinta Barroca
relation country of origin
type designation for an administrative territorial entity
['Miral', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Tinta Barroca', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { ?a property:country_of_origin ?g . VALUES ( ?a ) { ( resource:Miral ) ( resource:Tinta_Barroca ) } }
[]
designation for an administrative territorial entity
SYSTEM
6
Q142 Q45 Q801 Q30 Q668 Q38
(Q540186,P495,c(Q15617994)) (Q861834,P495,c(Q15617994))
action count
action union
action filter_type
action find
entity Q540186
relation P495
type Q15617994
action filter_type
action find
entity Q861834
relation P495
type Q15617994
[ANSWER]
['Q540186', 'P495', {'concept': 'Q15617994'}] ['Q861834', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { ?a property:P495 ?g . VALUES ( ?a ) { ( resource:Q540186 ) ( resource:Q861834 ) } }
France Portugal Israel United States of America India Italy
6
action count
action union
action filter_type
action find
entity Miral
relation country of origin
type designation for an administrative territorial entity
action filter_type
action find
entity Tinta Barroca
relation country of origin
type designation for an administrative territorial entity
['Miral', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Tinta Barroca', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { ?a property:country_of_origin ?g . VALUES ( ?a ) { ( resource:Miral ) ( resource:Tinta_Barroca ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1587932
P57
Q502895
USER
Who directed For My Father ?
(Q1587932,P57,c(Q502895))
action filter_type
action find
entity Q1587932
relation P57
type Q502895
['Q1587932', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q1587932 property:P57 ?j . ?j rdf:type ontology:Q502895 }
For My Father
action filter_type
action find
entity For My Father
relation director
type common name
['For My Father', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:For_My_Father property:director ?j . ?j rdf:type ontology:common_name }
[]
common name
Q1260342
SYSTEM
Dror Zahavi
Q1260342
(Q1587932,P57,c(Q502895))
action filter_type
action find
entity Q1587932
relation P57
type Q502895
[ANSWER] directed For My Father
['Q1587932', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q1587932 property:P57 ?j . ?j rdf:type ontology:Q502895 }
Dror Zahavi
Dror Zahavi directed For My Father
Dror Zahavi
action filter_type
action find
entity For My Father
relation director
type common name
['For My Father', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:For_My_Father property:director ?j . ?j rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q540186
P58
Q502895
USER
Who wrote the script for Miral ?
(Q540186,P58,c(Q502895))
action filter_type
action find
entity Q540186
relation P58
type Q502895
['Q540186', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q540186 property:P58 ?q . ?q rdf:type ontology:Q502895 }
Miral
action filter_type
action find
entity Miral
relation screenwriter
type common name
['Miral', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Miral property:screenwriter ?q . ?q rdf:type ontology:common_name }
[]
common name
Q1067013
SYSTEM
Rula Jebreal
Q1067013
(Q540186,P58,c(Q502895))
action filter_type
action find
entity Q540186
relation P58
type Q502895
[ANSWER] wrote the script for Miral
['Q540186', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q540186 property:P58 ?q . ?q rdf:type ontology:Q502895 }
Rula Jebreal
Rula Jebreal wrote the script for Miral
Rula Jebreal
action filter_type
action find
entity Miral
relation screenwriter
type common name
['Miral', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Miral property:screenwriter ?q . ?q rdf:type ontology:common_name }
[]