Simple Question (Direct)
Simple Question
Q6201214
P20
Q56061
USER
Where did the expiration of Jimmy Sanders occur ?
(Q6201214,P20,c(Q56061))
action filter_type
action find
entity Q6201214
relation P20
type Q56061
['Q6201214', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q6201214 property:P20 ?o . ?o rdf:type ontology:Q56061 }
Jimmy Sanders
action filter_type
action find
entity Jimmy Sanders
relation place of death
type administrative territorial entity
['Jimmy Sanders', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Jimmy_Sanders property:place_of_death ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q704864
SYSTEM
Tamworth
Q704864
(Q6201214,P20,c(Q56061))
action filter_type
action find
entity Q6201214
relation P20
type Q56061
The expiration of Jimmy Sanders occurred in [ANSWER]
['Q6201214', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q6201214 property:P20 ?o . ?o rdf:type ontology:Q56061 }
Tamworth
The expiration of Jimmy Sanders occurred in Tamworth
Tamworth
action filter_type
action find
entity Jimmy Sanders
relation place of death
type administrative territorial entity
['Jimmy Sanders', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Jimmy_Sanders property:place_of_death ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q704864
P1376
Q7275
USER
Which state has that administrative territory as its capital ?
(Q704864,P1376,c(Q7275))
action filter_type
action find
entity Q704864
relation P1376
type Q7275
['Q704864', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?c WHERE { resource:Q704864 property:P1376 ?c . ?c rdf:type ontology:Q7275 }
Tamworth
action filter_type
action find
entity Tamworth
relation capital of
type state
['Tamworth', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?c WHERE { resource:Tamworth property:capital_of ?c . ?c rdf:type ontology:state }
[]
state
Q105092
SYSTEM
Kingdom of Mercia
Q105092
(Q704864,P1376,c(Q7275))
action filter_type
action find
entity Q704864
relation P1376
type Q7275
[ANSWER] has that administrative territory as its capital
['Q704864', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?c WHERE { resource:Q704864 property:P1376 ?c . ?c rdf:type ontology:Q7275 }
Kingdom of Mercia
Kingdom of Mercia has that administrative territory as its capital
Kingdom of Mercia
action filter_type
action find
entity Tamworth
relation capital of
type state
['Tamworth', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?c WHERE { resource:Tamworth property:capital_of ?c . ?c rdf:type ontology:state }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P1376
Q7275 Q486972
USER
How many states have greater number of human settlements as their capital than that state ?
(c(Q486972),P1376,c(Q7275))
action count
action greater
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q486972
action count
action filter_type
action find
entity Q105092
relation P1376
type Q7275
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?q ) AS ?k ) WHERE { ?q property:P1376 ?f . ?f rdf:type ontology:Q7275 . ?q rdf:type ontology:Q486972 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { resource:Q105092 property:P1376 ?z . ?z rdf:type ontology:Q7275 } } . FILTER ( ?k > ?w ) }
action count
action greater
action find_reverse_tuple_counts
relation capital of
type state
type human settlement
action count
action filter_type
action find
entity Kingdom of Mercia
relation capital of
type state
[{'concept': 'human settlement'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?q ) AS ?k ) WHERE { ?q property:capital_of ?f . ?f rdf:type ontology:state . ?q rdf:type ontology:human_settlement } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { resource:Kingdom_of_Mercia property:capital_of ?z . ?z rdf:type ontology:state } } . FILTER ( ?k > ?w ) }
[]
state human settlement
SYSTEM
9
Q1649871 Q2361927 Q953432 Q216173 Q16957 Q172107 Q797422 Q235030 Q487829
(c(Q486972),P1376,c(Q7275))
action count
action greater
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q486972
action count
action filter_type
action find
entity Q105092
relation P1376
type Q7275
[ANSWER]
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?q ) AS ?k ) WHERE { ?q property:P1376 ?f . ?f rdf:type ontology:Q7275 . ?q rdf:type ontology:Q486972 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { resource:Q105092 property:P1376 ?z . ?z rdf:type ontology:Q7275 } } . FILTER ( ?k > ?w ) }
Kingdom of Poland Duchy of Masovia Couto Misto Free City of Danzig East Germany Polish–Lithuanian Commonwealth Republic of Upper Volta Principality of Antioch Chagatai Khanate
9
action count
action greater
action find_reverse_tuple_counts
relation capital of
type state
type human settlement
action count
action filter_type
action find
entity Kingdom of Mercia
relation capital of
type state
[{'concept': 'human settlement'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?q ) AS ?k ) WHERE { ?q property:capital_of ?f . ?f rdf:type ontology:state . ?q rdf:type ontology:human_settlement } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { resource:Kingdom_of_Mercia property:capital_of ?z . ?z rdf:type ontology:state } } . FILTER ( ?k > ?w ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1079623 Q6201214
P27 P20
Q15617994
USER
Which administrative territories do Jimmy Sanders belong to or did the demise of Frédéric de Falloux du Coudray occur ?
OR((Q6201214,P27,c(Q15617994)), (Q1079623,P20,c(Q15617994)))
action filter_type
action union
action find
entity Q6201214
relation P27
action find
entity Q1079623
relation P20
type Q15617994
{'OR': [['Q6201214', 'P27', {'concept': 'Q15617994'}], ['Q1079623', 'P20', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15617994 . { { resource:Q6201214 property:P27 ?n } UNION { resource:Q1079623 property:P20 ?n } } }
Frédéric de Falloux du Coudray Jimmy Sanders
action filter_type
action union
action find
entity Jimmy Sanders
relation country of citizenship
action find
entity Frédéric de Falloux du Coudray
relation place of death
type designation for an administrative territorial entity
{'OR': [['Jimmy Sanders', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Frédéric de Falloux du Coudray', 'place of death', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Jimmy_Sanders property:country_of_citizenship ?n } UNION { resource:Frédéric_de_Falloux_du_Coudray property:place_of_death ?n } } }
[]
designation for an administrative territorial entity
Q159605 Q145
SYSTEM
Tivoli, United Kingdom
Q159605 Q145
OR((Q6201214,P27,c(Q15617994)), (Q1079623,P20,c(Q15617994)))
action filter_type
action union
action find
entity Q6201214
relation P27
action find
entity Q1079623
relation P20
type Q15617994
Jimmy Sanders belong to the [ANSWERS]
{'OR': [['Q6201214', 'P27', {'concept': 'Q15617994'}], ['Q1079623', 'P20', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15617994 . { { resource:Q6201214 property:P27 ?n } UNION { resource:Q1079623 property:P20 ?n } } }
Tivoli United Kingdom
Jimmy Sanders belong to the Tivoli and United Kingdom
Tivoli United Kingdom
action filter_type
action union
action find
entity Jimmy Sanders
relation country of citizenship
action find
entity Frédéric de Falloux du Coudray
relation place of death
type designation for an administrative territorial entity
{'OR': [['Jimmy Sanders', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Frédéric de Falloux du Coudray', 'place of death', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Jimmy_Sanders property:country_of_citizenship ?n } UNION { resource:Frédéric_de_Falloux_du_Coudray property:place_of_death ?n } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q145 Q711
P530
Q1048835
USER
How many political territories have diplomatic associations with United Kingdom and Mongolia ?
(c(Q1048835),P530,Q145) (c(Q1048835),P530,Q711)
action count
action intersection
action filter_type
action find_reverse
entity Q145
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q711
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', 'Q145'] [{'concept': 'Q1048835'}, 'P530', 'Q711']
SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { ?g property:P530 resource:Q145 . ?g rdf:type ontology:Q1048835 . ?g property:P530 resource:Q711 . ?g rdf:type ontology:Q1048835 }
United Kingdom Mongolia
action count
action intersection
action filter_type
action find_reverse
entity United Kingdom
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity Mongolia
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'United Kingdom'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Mongolia']
SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { ?g property:diplomatic_relation resource:United_Kingdom . ?g rdf:type ontology:political_territorial_entity . ?g property:diplomatic_relation resource:Mongolia . ?g rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
3
Q408 Q16 Q183
(c(Q1048835),P530,Q145) (c(Q1048835),P530,Q711)
action count
action intersection
action filter_type
action find_reverse
entity Q145
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q711
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', 'Q145'] [{'concept': 'Q1048835'}, 'P530', 'Q711']
SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { ?g property:P530 resource:Q145 . ?g rdf:type ontology:Q1048835 . ?g property:P530 resource:Q711 . ?g rdf:type ontology:Q1048835 }
Australia Canada Germany
3
action count
action intersection
action filter_type
action find_reverse
entity United Kingdom
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity Mongolia
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'United Kingdom'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Mongolia']
SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { ?g property:diplomatic_relation resource:United_Kingdom . ?g rdf:type ontology:political_territorial_entity . ?g property:diplomatic_relation resource:Mongolia . ?g rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories are known to have diplomatic connections with around 72 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 72
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?i ) AS ?y ) WHERE { ?d rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q15617994 . ?d property:P530 ?i } GROUP BY ?d } . FILTER ( ?y = 72 ) }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 72
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?i ) AS ?y ) WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d property:diplomatic_relation ?i } GROUP BY ?d } . FILTER ( ?y = 72 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
2
Q38 Q230
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 72
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?i ) AS ?y ) WHERE { ?d rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q15617994 . ?d property:P530 ?i } GROUP BY ?d } . FILTER ( ?y = 72 ) }
Italy Georgia
2
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 72
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?i ) AS ?y ) WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d property:diplomatic_relation ?i } GROUP BY ?d } . FILTER ( ?y = 72 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q430131 Q145
P161 P35
Q502895
USER
Which people are elected as the head of state of United Kingdom or were casted in Hercules and the Treasure of the Incas ?
OR((Q145,P35,c(Q502895)), (Q430131,P161,c(Q502895)))
action filter_type
action union
action find
entity Q145
relation P35
action find
entity Q430131
relation P161
type Q502895
{'OR': [['Q145', 'P35', {'concept': 'Q502895'}], ['Q430131', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q145 property:P35 ?l } UNION { resource:Q430131 property:P161 ?l } } . ?l rdf:type ontology:Q502895 }
Hercules and the Treasure of the Incas United Kingdom
action filter_type
action union
action find
entity United Kingdom
relation head of state
action find
entity Hercules and the Treasure of the Incas
relation cast member
type common name
{'OR': [['United Kingdom', 'head of state', {'concept': 'common name'}], ['Hercules and the Treasure of the Incas', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?l WHERE { { { resource:United_Kingdom property:head_of_state ?l } UNION { resource:Hercules_and_the_Treasure_of_the_Incas property:cast_member ?l } } . ?l rdf:type ontology:common_name }
[]
common name
Q269412 Q14770327 Q495041 Q77393 Q3848949 Q1400427 Q1801079 Q1249427 Q1156919 Q1238226
SYSTEM
Some of them are George V, Bruno Scipioni, Andrea Scotti, Wolfgang Lukschy, Mario Petri, Federico Boido, Nino Vingelli, Pierre Cressoy, Dada Gallotti, Alan Steel
Q495041 Q590227 Q269412 Q1238226 Q77393 Q3613924 Q9682 Q3659882 Q280856 Q1801079 Q1400427 Q310471 Q107850 Q3848949 Q1249427 Q14770327 Q1482978 Q1056178 Q1156919
OR((Q145,P35,c(Q502895)), (Q430131,P161,c(Q502895)))
action filter_type
action union
action find
entity Q145
relation P35
action find
entity Q430131
relation P161
type Q502895
[ANSWERS] are elected as the head of state of United Kingdom or were casted in Hercules and the Treasure of the Incas
{'OR': [['Q145', 'P35', {'concept': 'Q502895'}], ['Q430131', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q145 property:P35 ?l } UNION { resource:Q430131 property:P161 ?l } } . ?l rdf:type ontology:Q502895 }
Andrea Scotti Edward VIII George V Alan Steel Wolfgang Lukschy Amedeo Trilli Elizabeth II Carlo Tamberlani George VI Nino Vingelli Federico Boido Toni Sailer Harry Riebauer Mario Petri Pierre Cressoy Bruno Scipioni Gino Marturano Umberto Spadaro Dada Gallotti
George V, Bruno Scipioni, Andrea Scotti, Wolfgang Lukschy, Mario Petri, Federico Boido, Nino Vingelli, Pierre Cressoy, Dada Gallotti and Alan Steel are elected as the head of state of United Kingdom or were casted in Hercules and the Treasure of the Incas
George V Bruno Scipioni Andrea Scotti Wolfgang Lukschy Mario Petri Federico Boido Nino Vingelli Pierre Cressoy Dada Gallotti Alan Steel
action filter_type
action union
action find
entity United Kingdom
relation head of state
action find
entity Hercules and the Treasure of the Incas
relation cast member
type common name
{'OR': [['United Kingdom', 'head of state', {'concept': 'common name'}], ['Hercules and the Treasure of the Incas', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?l WHERE { { { resource:United_Kingdom property:head_of_state ?l } UNION { resource:Hercules_and_the_Treasure_of_the_Incas property:cast_member ?l } } . ?l rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3536572 Q430131
P57
Q502895
USER
Which people were the director of Hercules and the Treasure of the Incas or Night Train to Munich ?
OR((Q430131,P57,c(Q502895)), (Q3536572,P57,c(Q502895)))
action filter_type
action union
action find
entity Q430131
relation P57
action find
entity Q3536572
relation P57
type Q502895
{'OR': [['Q430131', 'P57', {'concept': 'Q502895'}], ['Q3536572', 'P57', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q430131 property:P57 ?n } UNION { resource:Q3536572 property:P57 ?n } } . ?n rdf:type ontology:Q502895 }
Night Train to Munich Hercules and the Treasure of the Incas
action filter_type
action union
action find
entity Hercules and the Treasure of the Incas
relation director
action find
entity Night Train to Munich
relation director
type common name
{'OR': [['Hercules and the Treasure of the Incas', 'director', {'concept': 'common name'}], ['Night Train to Munich', 'director', {'concept': 'common name'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Hercules_and_the_Treasure_of_the_Incas property:director ?n } UNION { resource:Night_Train_to_Munich property:director ?n } } . ?n rdf:type ontology:common_name }
[]
common name
Q95143 Q979175 Q5341908 Q505853 Q2092900
SYSTEM
Carol Reed, Frank Launder, Edward Black, Sidney Gilliat, Piero Pierotti
Q95143 Q979175 Q5341908 Q505853 Q2092900
OR((Q430131,P57,c(Q502895)), (Q3536572,P57,c(Q502895)))
action filter_type
action union
action find
entity Q430131
relation P57
action find
entity Q3536572
relation P57
type Q502895
[ANSWERS] were the director of Hercules and the Treasure of the Incas or Night Train to Munich
{'OR': [['Q430131', 'P57', {'concept': 'Q502895'}], ['Q3536572', 'P57', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q430131 property:P57 ?n } UNION { resource:Q3536572 property:P57 ?n } } . ?n rdf:type ontology:Q502895 }
Carol Reed Frank Launder Edward Black Sidney Gilliat Piero Pierotti
Carol Reed, Frank Launder, Edward Black, Sidney Gilliat and Piero Pierotti were the director of Hercules and the Treasure of the Incas or Night Train to Munich
Carol Reed Frank Launder Edward Black Sidney Gilliat Piero Pierotti
action filter_type
action union
action find
entity Hercules and the Treasure of the Incas
relation director
action find
entity Night Train to Munich
relation director
type common name
{'OR': [['Hercules and the Treasure of the Incas', 'director', {'concept': 'common name'}], ['Night Train to Munich', 'director', {'concept': 'common name'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Hercules_and_the_Treasure_of_the_Incas property:director ?n } UNION { resource:Night_Train_to_Munich property:director ?n } } . ?n rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q5341908
P106
Q28640
USER
Which profession is the profession of that person ?
(Q5341908,P106,c(Q28640))
action filter_type
action find
entity Q5341908
relation P106
type Q28640
['Q5341908', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?s WHERE { resource:Q5341908 property:P106 ?s . ?s rdf:type ontology:Q28640 }
Edward Black
action filter_type
action find
entity Edward Black
relation occupation
type profession
['Edward Black', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?s WHERE { resource:Edward_Black property:occupation ?s . ?s rdf:type ontology:profession }
[]
profession
Clarification for simple ques.
Q95143
SYSTEM
Did you mean Carol Reed ?
Q95143 Q979175 Q5341908 Q505853 Q2092900
(Q95143,P106,c(Q28640)) (Q979175,P106,c(Q28640)) (Q5341908,P106,c(Q28640)) (Q505853,P106,c(Q28640)) (Q2092900,P106,c(Q28640))
[ANSWER]
['Q95143', 'P106', {'concept': 'Q28640'}] ['Q979175', 'P106', {'concept': 'Q28640'}] ['Q5341908', 'P106', {'concept': 'Q28640'}] ['Q505853', 'P106', {'concept': 'Q28640'}] ['Q2092900', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?s WHERE { resource:Q5341908 property:P106 ?s . ?s rdf:type ontology:Q28640 }
Carol Reed Frank Launder Edward Black Sidney Gilliat Piero Pierotti
Did you mean Carol Reed ?
Carol Reed
['Carol Reed', 'occupation', {'concept': 'profession'}] ['Frank Launder', 'occupation', {'concept': 'profession'}] ['Edward Black', 'occupation', {'concept': 'profession'}] ['Sidney Gilliat', 'occupation', {'concept': 'profession'}] ['Piero Pierotti', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?s WHERE { resource:Edward_Black property:occupation ?s . ?s rdf:type ontology:profession }
[]
Simple Question (Coreferenced)
USER
No, I meant Edward Black. Could you tell me the answer for that?
(Q5341908,P106,c(Q28640))
Q5341908
['Q5341908', 'P106', {'concept': 'Q28640'}]
['Edward Black', 'occupation', {'concept': 'profession'}]
[]
Q3282637
SYSTEM
film producer
Q3282637
(Q5341908,P106,c(Q28640))
action filter_type
action find
entity Q5341908
relation P106
type Q28640
The [ANSWER] is the profession of that person
['Q5341908', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?s WHERE { resource:Q5341908 property:P106 ?s . ?s rdf:type ontology:Q28640 }
film producer
The film producer is the profession of that person
film producer
action filter_type
action find
entity Edward Black
relation occupation
type profession
['Edward Black', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?s WHERE { resource:Edward_Black property:occupation ?s . ?s rdf:type ontology:profession }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q3282637 Q932586
P425
Q268592
USER
Does filmmaking have that profession as the associated field of occupation ?
(Q3282637,P425,Q932586)
action is_in
entity Q932586
action find
entity Q3282637
relation P425
['Q3282637', 'P425', 'Q932586']
ASK WHERE { resource:Q3282637 property:P425 resource:Q932586 }
film producer filmmaking
action is_in
entity filmmaking
action find
entity film producer
relation field of this occupation
['film producer', 'field of this occupation', 'filmmaking']
ASK WHERE { resource:film_producer property:field_of_this_occupation resource:filmmaking }
[]
economic branch
SYSTEM
YES
(Q3282637,P425,Q932586)
action is_in
entity Q932586
action find
entity Q3282637
relation P425
[ANSWER]
['Q3282637', 'P425', 'Q932586']
ASK WHERE { resource:Q3282637 property:P425 resource:Q932586 }
Yes
action is_in
entity filmmaking
action find
entity film producer
relation field of this occupation
['film producer', 'field of this occupation', 'filmmaking']
ASK WHERE { resource:film_producer property:field_of_this_occupation resource:filmmaking }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q6201214 Q145
P27
Q15617994
USER
Is Jimmy Sanders an inhabitant of United Kingdom ?
(Q6201214,P27,Q145)
action is_in
entity Q145
action find
entity Q6201214
relation P27
['Q6201214', 'P27', 'Q145']
ASK WHERE { resource:Q6201214 property:P27 resource:Q145 }
Jimmy Sanders United Kingdom
action is_in
entity United Kingdom
action find
entity Jimmy Sanders
relation country of citizenship
['Jimmy Sanders', 'country of citizenship', 'United Kingdom']
ASK WHERE { resource:Jimmy_Sanders property:country_of_citizenship resource:United_Kingdom }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q6201214,P27,Q145)
action is_in
entity Q145
action find
entity Q6201214
relation P27
[ANSWER]
['Q6201214', 'P27', 'Q145']
ASK WHERE { resource:Q6201214 property:P27 resource:Q145 }
Yes
action is_in
entity United Kingdom
action find
entity Jimmy Sanders
relation country of citizenship
['Jimmy Sanders', 'country of citizenship', 'United Kingdom']
ASK WHERE { resource:Jimmy_Sanders property:country_of_citizenship resource:United_Kingdom }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6201214
P734
Q82799
USER
Who is associated with Jimmy Sanders ?
(Q6201214,P734,c(Q82799))
action filter_type
action find
entity Q6201214
relation P734
type Q82799
['Q6201214', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q82799 . resource:Q6201214 property:P734 ?a }
Jimmy Sanders
action filter_type
action find
entity Jimmy Sanders
relation family name
type name
['Jimmy Sanders', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:name . resource:Jimmy_Sanders property:family_name ?a }
[]
name
Q16882608
SYSTEM
Sanders
Q16882608
(Q6201214,P734,c(Q82799))
action filter_type
action find
entity Q6201214
relation P734
type Q82799
[ANSWER] is associated with Jimmy [ANSWER]
['Q6201214', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q82799 . resource:Q6201214 property:P734 ?a }
Sanders
Sanders is associated with Jimmy Sanders
Sanders
action filter_type
action find
entity Jimmy Sanders
relation family name
type name
['Jimmy Sanders', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:name . resource:Jimmy_Sanders property:family_name ?a }
[]