Simple Question (Direct)
Simple Question
Q3526687
P20
Q56061
USER
Where did the expiration of Théophile Romastin occur ?
(Q3526687,P20,c(Q56061))
action filter_type
action find
entity Q3526687
relation P20
type Q56061
['Q3526687', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q3526687 property:P20 ?t . ?t rdf:type ontology:Q56061 }
Théophile Romastin
action filter_type
action find
entity Théophile Romastin
relation place of death
type administrative territorial entity
['Théophile Romastin', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Théophile_Romastin property:place_of_death ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q3526687,P20,c(Q56061))
action filter_type
action find
entity Q3526687
relation P20
type Q56061
The expiration of Théophile Romastin occurred in [ANSWER]
['Q3526687', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q3526687 property:P20 ?t . ?t rdf:type ontology:Q56061 }
Paris
The expiration of Théophile Romastin occurred in Paris
Paris
action filter_type
action find
entity Théophile Romastin
relation place of death
type administrative territorial entity
['Théophile Romastin', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Théophile_Romastin property:place_of_death ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3526687
P39
Q12737077
USER
Which occupation was a position occupied by that person ?
(Q90,P39,c(Q12737077))
action filter_type
action find
entity Q3526687
relation P39
type Q12737077
['Q90', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12737077 . resource:Q3526687 property:P39 ?v }
Théophile Romastin
action filter_type
action find
entity Théophile Romastin
relation position held
type occupation
['Paris', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:occupation . resource:Théophile_Romastin property:position_held ?v }
[]
occupation
Q3044918
SYSTEM
member of the French National Assembly
Q3044918
(Q90,P39,c(Q12737077))
action filter_type
action find
entity Q3526687
relation P39
type Q12737077
A member of the French National Assembly was a position occupied by that person
['Q90', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12737077 . resource:Q3526687 property:P39 ?v }
member of the French National Assembly
A member of the French National Assembly was a position occupied by that person
member of the French National Assembly
action filter_type
action find
entity Théophile Romastin
relation position held
type occupation
['Paris', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:occupation . resource:Théophile_Romastin property:position_held ?v }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q3044918 Q701332 Q142
P17
Q15617994
USER
Is member of the French National Assembly situated in Emmerting and France ?
(Q3044918,P17,Q701332) (Q3044918,P17,Q142)
action is_in
entity Q3044918
action intersection
action find_reverse
entity Q701332
relation P17
action find_reverse
entity Q142
relation P17
['Q3044918', 'P17', 'Q701332'] ['Q3044918', 'P17', 'Q142']
ASK WHERE { resource:Q3044918 property:P17 resource:Q701332 . resource:Q3044918 property:P17 resource:Q142 }
member of the French National Assembly Emmerting France
action is_in
entity member of the French National Assembly
action intersection
action find_reverse
entity Emmerting
relation country
action find_reverse
entity France
relation country
['member of the French\xa0National Assembly', 'country', 'Emmerting'] ['member of the French\xa0National Assembly', 'country', 'France']
ASK WHERE { resource:member_of_the_French National_Assembly property:country resource:Emmerting . resource:member_of_the_French National_Assembly property:country resource:France }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q3044918,P17,Q701332) (Q3044918,P17,Q142)
action is_in
entity Q3044918
action intersection
action find_reverse
entity Q701332
relation P17
action find_reverse
entity Q142
relation P17
[ANSWER]
['Q3044918', 'P17', 'Q701332'] ['Q3044918', 'P17', 'Q142']
ASK WHERE { resource:Q3044918 property:P17 resource:Q701332 . resource:Q3044918 property:P17 resource:Q142 }
NO and YES respectively
action is_in
entity member of the French National Assembly
action intersection
action find_reverse
entity Emmerting
relation country
action find_reverse
entity France
relation country
['member of the French\xa0National Assembly', 'country', 'Emmerting'] ['member of the French\xa0National Assembly', 'country', 'France']
ASK WHERE { resource:member_of_the_French National_Assembly property:country resource:Emmerting . resource:member_of_the_French National_Assembly property:country resource:France }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4007777 Q3526687
P27
Q15617994
USER
Which administrative territories are Théophile Romastin or Valentín Villafañe an inhabitant of ?
OR((Q3526687,P27,c(Q15617994)), (Q4007777,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3526687
relation P27
action find
entity Q4007777
relation P27
type Q15617994
{'OR': [['Q3526687', 'P27', {'concept': 'Q15617994'}], ['Q4007777', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15617994 . { { resource:Q4007777 property:P27 ?i } UNION { resource:Q3526687 property:P27 ?i } } }
Valentín Villafañe Théophile Romastin
action filter_type
action union
action find
entity Théophile Romastin
relation country of citizenship
action find
entity Valentín Villafañe
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Théophile Romastin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Valentín Villafañe', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Valentín_Villafañe property:country_of_citizenship ?i } UNION { resource:Théophile_Romastin property:country_of_citizenship ?i } } }
[]
designation for an administrative territorial entity
Q142 Q414
SYSTEM
France, Argentina
Q142 Q414
OR((Q3526687,P27,c(Q15617994)), (Q4007777,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3526687
relation P27
action find
entity Q4007777
relation P27
type Q15617994
[ANSWERS] are Théophile Romastin or Valentín Villafañe an inhabitant of
{'OR': [['Q3526687', 'P27', {'concept': 'Q15617994'}], ['Q4007777', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15617994 . { { resource:Q4007777 property:P27 ?i } UNION { resource:Q3526687 property:P27 ?i } } }
France Argentina
France and Argentina are Théophile Romastin or Valentín Villafañe an inhabitant of
France Argentina
action filter_type
action union
action find
entity Théophile Romastin
relation country of citizenship
action find
entity Valentín Villafañe
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Théophile Romastin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Valentín Villafañe', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Valentín_Villafañe property:country_of_citizenship ?i } UNION { resource:Théophile_Romastin property:country_of_citizenship ?i } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1743945
P495
Q838948
USER
Do Kitty and the World Conference have those administrative territories as their place of origin ?
(Q1743945,P495,Q142) (Q1743945,P495,Q414)
action is_in
entity prev_answer
action find
entity Q1743945
relation P495
['Q1743945', 'P495', 'Q142'] ['Q1743945', 'P495', 'Q414']
ASK WHERE { VALUES ( ?z ) { ( resource:Q142 ) ( resource:Q414 ) } . resource:Q1743945 property:P495 ?z }
Kitty and the World Conference
action is_in
entity prev_answer
action find
entity Kitty and the World Conference
relation country of origin
['Kitty and the World Conference', 'country of origin', 'France'] ['Kitty and the World Conference', 'country of origin', 'Argentina']
ASK WHERE { VALUES ( ?z ) { ( resource:France ) ( resource:Argentina ) } . resource:Kitty_and_the_World_Conference property:country_of_origin ?z }
[]
work of art
SYSTEM
NO
(Q1743945,P495,Q142) (Q1743945,P495,Q414)
action is_in
entity prev_answer
action find
entity Q1743945
relation P495
[ANSWER]
['Q1743945', 'P495', 'Q142'] ['Q1743945', 'P495', 'Q414']
ASK WHERE { VALUES ( ?z ) { ( resource:Q142 ) ( resource:Q414 ) } . resource:Q1743945 property:P495 ?z }
No
action is_in
entity prev_answer
action find
entity Kitty and the World Conference
relation country of origin
['Kitty and the World Conference', 'country of origin', 'France'] ['Kitty and the World Conference', 'country of origin', 'Argentina']
ASK WHERE { VALUES ( ?z ) { ( resource:France ) ( resource:Argentina ) } . resource:Kitty_and_the_World_Conference property:country_of_origin ?z }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1743945
P344
Q502895
USER
Who is appointed as the cinematographer of that work of art ?
action filter_type
action find
entity Q1743945
relation P344
type Q502895
SELECT DISTINCT ?o WHERE { resource:Q1743945 property:P344 ?o . ?o rdf:type ontology:Q502895 }
Kitty and the World Conference
action filter_type
action find
entity Kitty and the World Conference
relation director of photography
type common name
SELECT DISTINCT ?o WHERE { resource:Kitty_and_the_World_Conference property:director_of_photography ?o . ?o rdf:type ontology:common_name }
[]
common name
Q1519854
SYSTEM
Willy Winterstein
Q1519854
action filter_type
action find
entity Q1743945
relation P344
type Q502895
[ANSWER] is appointed as the cinematographer of that work of art
SELECT DISTINCT ?o WHERE { resource:Q1743945 property:P344 ?o . ?o rdf:type ontology:Q502895 }
Willy Winterstein
Willy Winterstein is appointed as the cinematographer of that work of art
Willy Winterstein
action filter_type
action find
entity Kitty and the World Conference
relation director of photography
type common name
SELECT DISTINCT ?o WHERE { resource:Kitty_and_the_World_Conference property:director_of_photography ?o . ?o rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1743945
P57
Q502895
USER
Which person served as the directed of Kitty and the World Conference ?
(Q1743945,P57,c(Q502895))
action filter_type
action find
entity Q1743945
relation P57
type Q502895
['Q1743945', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q1743945 property:P57 ?u . ?u rdf:type ontology:Q502895 }
Kitty and the World Conference
action filter_type
action find
entity Kitty and the World Conference
relation director
type common name
['Kitty and the World Conference', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Kitty_and_the_World_Conference property:director ?u . ?u rdf:type ontology:common_name }
[]
common name
Q69171
SYSTEM
Helmut Käutner
Q69171
(Q1743945,P57,c(Q502895))
action filter_type
action find
entity Q1743945
relation P57
type Q502895
[ANSWER] served as the directed of Kitty and the World Conference
['Q1743945', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q1743945 property:P57 ?u . ?u rdf:type ontology:Q502895 }
Helmut Käutner
Helmut Käutner served as the directed of Kitty and the World Conference
Helmut Käutner
action filter_type
action find
entity Kitty and the World Conference
relation director
type common name
['Kitty and the World Conference', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Kitty_and_the_World_Conference property:director ?u . ?u rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q69171
P166
Q618779
USER
Which award was received by that person ?
(Q69171,P166,c(Q618779))
action filter_type
action find
entity Q69171
relation P166
type Q618779
['Q69171', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?h WHERE { resource:Q69171 property:P166 ?h . ?h rdf:type ontology:Q618779 }
Helmut Käutner
action filter_type
action find
entity Helmut Käutner
relation award received
type award
['Helmut Käutner', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?h WHERE { resource:Helmut_Käutner property:award_received ?h . ?h rdf:type ontology:award }
[]
award
Q10905276
SYSTEM
Commander's Cross of the Order of Merit of the Federal Republic of Germany
Q10905276
(Q69171,P166,c(Q618779))
action filter_type
action find
entity Q69171
relation P166
type Q618779
Germany [ANSWER] was received by that person
['Q69171', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?h WHERE { resource:Q69171 property:P166 ?h . ?h rdf:type ontology:Q618779 }
Commander's Cross of the Order of Merit of the Federal Republic of Germany
Germany Commander's Cross of the Order of Merit of the Federal Republic of Germany was received by that person
Commander's Cross of the Order of Merit of the Federal Republic of Germany
action filter_type
action find
entity Helmut Käutner
relation award received
type award
['Helmut Käutner', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?h WHERE { resource:Helmut_Käutner property:award_received ?h . ?h rdf:type ontology:award }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q10905276 Q183
P17
Q1048835
USER
Is that award a part of Germany ?
(Q10905276,P17,Q183)
action is_in
entity Q183
action find
entity Q10905276
relation P17
['Q10905276', 'P17', 'Q183']
ASK WHERE { resource:Q10905276 property:P17 resource:Q183 }
Commander's Cross of the Order of Merit of the Federal Republic of Germany Germany
action is_in
entity Germany
action find
entity Commander's Cross of the Order of Merit of the Federal Republic of Germany
relation country
["Commander's Cross of the Order of Merit of the Federal Republic of Germany", 'country', 'Germany']
ASK WHERE { resource:Commander's_Cross_of_the_Order_of_Merit_of_the_Federal_Republic_of_Germany property:country resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q10905276,P17,Q183)
action is_in
entity Q183
action find
entity Q10905276
relation P17
[ANSWER]
['Q10905276', 'P17', 'Q183']
ASK WHERE { resource:Q10905276 property:P17 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity Commander's Cross of the Order of Merit of the Federal Republic of Germany
relation country
["Commander's Cross of the Order of Merit of the Federal Republic of Germany", 'country', 'Germany']
ASK WHERE { resource:Commander's_Cross_of_the_Order_of_Merit_of_the_Federal_Republic_of_Germany property:country resource:Germany }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q96642 Q69171
P57
Q838948
USER
Which works of art did Helmut Käutner or Hans-Christian Schmid direct ?
OR((c(Q838948),P57,Q69171), (c(Q838948),P57,Q96642))
action filter_type
action union
action find_reverse
entity Q69171
relation P57
action find_reverse
entity Q96642
relation P57
type Q838948
{'OR': [[{'concept': 'Q838948'}, 'P57', 'Q69171'], [{'concept': 'Q838948'}, 'P57', 'Q96642']]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?g ) { ( resource:Q69171 ) ( resource:Q96642 ) } . ?m property:P57 ?g } . ?m rdf:type ontology:Q838948 }
Hans-Christian Schmid Helmut Käutner
action filter_type
action union
action find_reverse
entity Helmut Käutner
relation director
action find_reverse
entity Hans-Christian Schmid
relation director
type work of art
{'OR': [[{'concept': 'work of art'}, 'director', 'Helmut Käutner'], [{'concept': 'work of art'}, 'director', 'Hans-Christian Schmid']]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?g ) { ( resource:Helmut_Käutner ) ( resource:Hans-Christian_Schmid ) } . ?m property:director ?g } . ?m rdf:type ontology:work_of_art }
[]
work of art
Q1962117 Q636093 Q324524 Q4659844 Q216269 Q2254009 Q7760340 Q385197 Q327806 Q1196480
SYSTEM
Some of them are After Five in the Forest Primeval, Love from Paris, Ludwig II: Glanz und Ende eines Königs, A Stranger in My Arms, 23, Black Gravel, The Restless Years, Sky without stars, Redhead, The Rest Is Silence
Q535573 Q1308019 Q1548193 Q1168471 Q385197 Q327806 Q1516584 Q1139214 Q20814908 Q7760340 Q666447 Q320219 Q1196681 Q1772932 Q2550128 Q22967844 Q683461 Q216269 Q759344 Q1962117 Q827199 Q634972 Q1112620 Q446538 Q1196480 Q1347111 Q1743945 Q699500 Q636093 Q4659844 Q1192229 Q17150015 Q324524 Q3472477 Q831246 Q2254009 Q2497101 Q17539139
OR((c(Q838948),P57,Q69171), (c(Q838948),P57,Q96642))
action filter_type
action union
action find_reverse
entity Q69171
relation P57
action find_reverse
entity Q96642
relation P57
type Q838948
Helmut Käutner or Hans-Christian Schmid directed The [ANSWERS]
{'OR': [[{'concept': 'Q838948'}, 'P57', 'Q69171'], [{'concept': 'Q838948'}, 'P57', 'Q96642']]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?g ) { ( resource:Q69171 ) ( resource:Q96642 ) } . ?m property:P57 ?g } . ?m rdf:type ontology:Q838948 }
The House in Montevideo We Make Music Große Freiheit Nr. 7 A Glass of Water Sky without stars Redhead Clothes Make the Man Crazy Woman Made to Measure The Restless Years The Last Bridge The Captain from Köpenick Der Schinderhannes Royal Children Home for the Weekend Anuschka In Those Days 23 Goodbye, Franziska After Five in the Forest Primeval Storm Die Feuerzangenbowle The Zurich Engagement Distant Lights The Rest Is Silence The Orplid Mystery Kitty and the World Conference Requiem Love from Paris A Stranger in My Arms The Original Sin Captain Bay-Bay Ludwig II: Glanz und Ende eines Königs The Goose of Sedan Des Teufels General Black Gravel Under the Bridges The Dream of Lieschen Mueller
Helmut Käutner or Hans-Christian Schmid directed The After Five in the Forest Primeval, Love from Paris, Ludwig II: Glanz und Ende eines Königs, A Stranger in My Arms, 23, Black Gravel, The Restless Years, Sky without stars, Redhead and The Rest Is Silence
After Five in the Forest Primeval Love from Paris Ludwig II: Glanz und Ende eines Königs A Stranger in My Arms 23 Black Gravel The Restless Years Sky without stars Redhead The Rest Is Silence
action filter_type
action union
action find_reverse
entity Helmut Käutner
relation director
action find_reverse
entity Hans-Christian Schmid
relation director
type work of art
{'OR': [[{'concept': 'work of art'}, 'director', 'Helmut Käutner'], [{'concept': 'work of art'}, 'director', 'Hans-Christian Schmid']]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?g ) { ( resource:Helmut_Käutner ) ( resource:Hans-Christian_Schmid ) } . ?m property:director ?g } . ?m rdf:type ontology:work_of_art }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P495
Q15617994
USER
How many administrative territories are the origin of that work of art ?
(Q4659844,P495,c(Q15617994))
['Q4659844', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q4659844 property:P495 ?z . ?z rdf:type ontology:Q15617994 }
['A Stranger in My Arms', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:A_Stranger_in_My_Arms property:country_of_origin ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q385197
SYSTEM
Did you mean Sky without stars ?
(Q1962117,P495,c(Q15617994)) (Q636093,P495,c(Q15617994)) (Q324524,P495,c(Q15617994)) (Q4659844,P495,c(Q15617994)) (Q216269,P495,c(Q15617994)) (Q2254009,P495,c(Q15617994)) (Q7760340,P495,c(Q15617994)) (Q385197,P495,c(Q15617994)) (Q327806,P495,c(Q15617994)) (Q1196480,P495,c(Q15617994))
[ANSWER]
['Q1962117', 'P495', {'concept': 'Q15617994'}] ['Q636093', 'P495', {'concept': 'Q15617994'}] ['Q324524', 'P495', {'concept': 'Q15617994'}] ['Q4659844', 'P495', {'concept': 'Q15617994'}] ['Q216269', 'P495', {'concept': 'Q15617994'}] ['Q2254009', 'P495', {'concept': 'Q15617994'}] ['Q7760340', 'P495', {'concept': 'Q15617994'}] ['Q385197', 'P495', {'concept': 'Q15617994'}] ['Q327806', 'P495', {'concept': 'Q15617994'}] ['Q1196480', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q4659844 property:P495 ?z . ?z rdf:type ontology:Q15617994 }
Did you mean Sky without stars ?
Sky without stars
['After Five in the Forest Primeval', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Love from Paris', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Ludwig II: Glanz und Ende eines Königs', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['A Stranger in My Arms', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['23', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Black Gravel', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['The Restless Years', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Sky without stars', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Redhead', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['The Rest Is Silence', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:A_Stranger_in_My_Arms property:country_of_origin ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant A Stranger in My Arms. Could you tell me the answer for that?
(Q4659844,P495,c(Q15617994))
Q4659844
['Q4659844', 'P495', {'concept': 'Q15617994'}]
['A Stranger in My Arms', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
1
Q30
(Q4659844,P495,c(Q15617994))
[ANSWER]
['Q4659844', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q4659844 property:P495 ?z . ?z rdf:type ontology:Q15617994 }
United States of America
1
['A Stranger in My Arms', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:A_Stranger_in_My_Arms property:country_of_origin ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q21956287 Q216269
P915 P17
Q1048835
USER
Which political territories were 23 filmed at or are Drip Beach located in ?
OR((Q216269,P915,c(Q1048835)), (Q21956287,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q216269
relation P915
action find
entity Q21956287
relation P17
type Q1048835
{'OR': [['Q216269', 'P915', {'concept': 'Q1048835'}], ['Q21956287', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q21956287 property:P17 ?s } UNION { resource:Q216269 property:P915 ?s } } . ?s rdf:type ontology:Q1048835 }
Drip Beach 23
action filter_type
action union
action find
entity 23
relation filming location
action find
entity Drip Beach
relation country
type political territorial entity
{'OR': [['23', 'filming location', {'concept': 'political territorial entity'}], ['Drip Beach', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Drip_Beach property:country ?s } UNION { resource:23 property:filming_location ?s } } . ?s rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408 Q183
SYSTEM
Australia, Germany
Q408 Q183
OR((Q216269,P915,c(Q1048835)), (Q21956287,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q216269
relation P915
action find
entity Q21956287
relation P17
type Q1048835
23 were filmed located in [ANSWERS]
{'OR': [['Q216269', 'P915', {'concept': 'Q1048835'}], ['Q21956287', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q21956287 property:P17 ?s } UNION { resource:Q216269 property:P915 ?s } } . ?s rdf:type ontology:Q1048835 }
Australia Germany
23 were filmed located in Australia and Germany
Australia Germany
action filter_type
action union
action find
entity 23
relation filming location
action find
entity Drip Beach
relation country
type political territorial entity
{'OR': [['23', 'filming location', {'concept': 'political territorial entity'}], ['Drip Beach', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Drip_Beach property:country ?s } UNION { resource:23 property:filming_location ?s } } . ?s rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q408 Q183
P163
Q14660
USER
Which flags are associated with Australia and Germany ?
(Q408,P163,c(Q14660)) (Q183,P163,c(Q14660))
action union
action filter_type
action find
entity Q408
relation P163
type Q14660
action filter_type
action find
entity Q183
relation P163
type Q14660
['Q408', 'P163', {'concept': 'Q14660'}] ['Q183', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?z WHERE { { resource:Q408 property:P163 ?z . ?z rdf:type ontology:Q14660 } UNION { resource:Q183 property:P163 ?z . ?z rdf:type ontology:Q14660 } }
Australia Germany
action union
action filter_type
action find
entity Australia
relation flag
type flag
action filter_type
action find
entity Germany
relation flag
type flag
['Australia', 'flag', {'concept': 'flag'}] ['Germany', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?z WHERE { { resource:Australia property:flag ?z . ?z rdf:type ontology:flag } UNION { resource:Germany property:flag ?z . ?z rdf:type ontology:flag } }
[]
flag
Q81676 Q48160
SYSTEM
flag of Australia, flag of Germany
Q81676 Q48160
(Q408,P163,c(Q14660)) (Q183,P163,c(Q14660))
action union
action filter_type
action find
entity Q408
relation P163
type Q14660
action filter_type
action find
entity Q183
relation P163
type Q14660
And [ANSWERS] are associated with Australia and Germany
['Q408', 'P163', {'concept': 'Q14660'}] ['Q183', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?z WHERE { { resource:Q408 property:P163 ?z . ?z rdf:type ontology:Q14660 } UNION { resource:Q183 property:P163 ?z . ?z rdf:type ontology:Q14660 } }
flag of Australia flag of Germany
And flag of Australia and flag of Germany are associated with Australia and Germany
flag of Australia flag of Germany
action union
action filter_type
action find
entity Australia
relation flag
type flag
action filter_type
action find
entity Germany
relation flag
type flag
['Australia', 'flag', {'concept': 'flag'}] ['Germany', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?z WHERE { { resource:Australia property:flag ?z . ?z rdf:type ontology:flag } UNION { resource:Germany property:flag ?z . ?z rdf:type ontology:flag } }
[]