Simple Question (Direct)
Simple Question
Q19595510
P1040
Q502895
USER
Who has editted Alastair Tembylton ?
(Q19595510,P1040,c(Q502895))
action filter_type
action find
entity Q19595510
relation P1040
type Q502895
['Q19595510', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q19595510 property:P1040 ?x . ?x rdf:type ontology:Q502895 }
Alastair Tembylton
action filter_type
action find
entity Alastair Tembylton
relation film editor
type common name
['Alastair Tembylton', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Alastair_Tembylton property:film_editor ?x . ?x rdf:type ontology:common_name }
[]
common name
Q5337151
SYSTEM
Edgar Burcksen
Q5337151
(Q19595510,P1040,c(Q502895))
action filter_type
action find
entity Q19595510
relation P1040
type Q502895
[ANSWER] has editted Alastair Tembylton
['Q19595510', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q19595510 property:P1040 ?x . ?x rdf:type ontology:Q502895 }
Edgar Burcksen
Edgar Burcksen has editted Alastair Tembylton
Edgar Burcksen
action filter_type
action find
entity Alastair Tembylton
relation film editor
type common name
['Alastair Tembylton', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Alastair_Tembylton property:film_editor ?x . ?x rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19595510
P161
Q502895
USER
Which people are in that film genre ?
(Q5337151,P161,c(Q502895))
action filter_type
action find
entity Q19595510
relation P161
type Q502895
['Q5337151', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q19595510 property:P161 ?v . ?v rdf:type ontology:Q502895 }
Alastair Tembylton
action filter_type
action find
entity Alastair Tembylton
relation cast member
type common name
['Edgar Burcksen', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Alastair_Tembylton property:cast_member ?v . ?v rdf:type ontology:common_name }
[]
common name
Q19595519 Q19593804
SYSTEM
Jordan David, Jennifer Lynn Warren
Q19595519 Q19593804
(Q5337151,P161,c(Q502895))
action filter_type
action find
entity Q19595510
relation P161
type Q502895
[ANSWERS] are in that film genre
['Q5337151', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q19595510 property:P161 ?v . ?v rdf:type ontology:Q502895 }
Jordan David Jennifer Lynn Warren
Jordan David and Jennifer Lynn Warren are in that film genre
Jordan David Jennifer Lynn Warren
action filter_type
action find
entity Alastair Tembylton
relation cast member
type common name
['Edgar Burcksen', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Alastair_Tembylton property:cast_member ?v . ?v rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q18009719 Q19595510
P495
Q15617994
USER
Which administrative territories are the origin of Alastair Tembylton or Isle of the Dead ?
OR((Q19595510,P495,c(Q15617994)), (Q18009719,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q19595510
relation P495
action find
entity Q18009719
relation P495
type Q15617994
{'OR': [['Q19595510', 'P495', {'concept': 'Q15617994'}], ['Q18009719', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { VALUES ( ?l ) { ( resource:Q19595510 ) ( resource:Q18009719 ) } . ?l property:P495 ?v } . ?v rdf:type ontology:Q15617994 }
Isle of the Dead Alastair Tembylton
action filter_type
action union
action find
entity Alastair Tembylton
relation country of origin
action find
entity Isle of the Dead
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Alastair Tembylton', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Isle of the Dead', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { VALUES ( ?l ) { ( resource:Alastair_Tembylton ) ( resource:Isle_of_the_Dead ) } . ?l property:country_of_origin ?v } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q39 Q30
SYSTEM
Switzerland, United States of America
Q39 Q30
OR((Q19595510,P495,c(Q15617994)), (Q18009719,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q19595510
relation P495
action find
entity Q18009719
relation P495
type Q15617994
[ANSWERS] are the origin of Alastair Tembylton or Isle of the Dead
{'OR': [['Q19595510', 'P495', {'concept': 'Q15617994'}], ['Q18009719', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { VALUES ( ?l ) { ( resource:Q19595510 ) ( resource:Q18009719 ) } . ?l property:P495 ?v } . ?v rdf:type ontology:Q15617994 }
Switzerland United States of America
Switzerland and United States of America are the origin of Alastair Tembylton or Isle of the Dead
Switzerland United States of America
action filter_type
action union
action find
entity Alastair Tembylton
relation country of origin
action find
entity Isle of the Dead
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Alastair Tembylton', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Isle of the Dead', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { VALUES ( ?l ) { ( resource:Alastair_Tembylton ) ( resource:Isle_of_the_Dead ) } . ?l property:country_of_origin ?v } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q39 Q30
P921
Q838948
USER
Which works of art have Switzerland and United States of America as their principal topic ?
(c(Q838948),P921,Q39) (c(Q838948),P921,Q30)
action union
action filter_type
action find_reverse
entity Q39
relation P921
type Q838948
action filter_type
action find_reverse
entity Q30
relation P921
type Q838948
[{'concept': 'Q838948'}, 'P921', 'Q39'] [{'concept': 'Q838948'}, 'P921', 'Q30']
SELECT DISTINCT ?c WHERE { ?c property:P921 ?s . VALUES ( ?s ) { ( resource:Q39 ) ( resource:Q30 ) } }
Switzerland United States of America
action union
action filter_type
action find_reverse
entity Switzerland
relation main subject
type work of art
action filter_type
action find_reverse
entity United States of America
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'Switzerland'] [{'concept': 'work of art'}, 'main subject', 'United States of America']
SELECT DISTINCT ?c WHERE { ?c property:main_subject ?s . VALUES ( ?s ) { ( resource:Switzerland ) ( resource:United_States_of_America ) } }
[]
work of art
Q597822 Q5225923 Q3201948
SYSTEM
More than Honey, Darwin, America As Seen by a Frenchman
Q597822 Q7759774 Q7714895 Q7156451 Q5225923 Q7990968 Q7598480 Q7769252 Q5567488 Q7501322 Q3201948 Q12126242 Q16997904 Q5652328
(c(Q838948),P921,Q39) (c(Q838948),P921,Q30)
action union
action filter_type
action find_reverse
entity Q39
relation P921
type Q838948
action filter_type
action find_reverse
entity Q30
relation P921
type Q838948
More than Honey, Darwin and America As seen by a Frenchman have Switzerland and United States of America as their principal topic
[{'concept': 'Q838948'}, 'P921', 'Q39'] [{'concept': 'Q838948'}, 'P921', 'Q30']
SELECT DISTINCT ?c WHERE { ?c property:P921 ?s . VALUES ( ?s ) { ( resource:Q39 ) ( resource:Q30 ) } }
More than Honey The Recess Ends The Augustas Pax Americana and the Weaponization of Space Darwin What America Needs Standing Army The Tiger Next Door Gleeful: The Real Show Choirs of America Shore Things America As Seen by a Frenchman Money-Driven Medicine Mirage Men Happiness Is
More than Honey, Darwin and America As seen by a Frenchman have Switzerland and United States of America as their principal topic
More than Honey Darwin America As Seen by a Frenchman
action union
action filter_type
action find_reverse
entity Switzerland
relation main subject
type work of art
action filter_type
action find_reverse
entity United States of America
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'Switzerland'] [{'concept': 'work of art'}, 'main subject', 'United States of America']
SELECT DISTINCT ?c WHERE { ?c property:main_subject ?s . VALUES ( ?s ) { ( resource:Switzerland ) ( resource:United_States_of_America ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q597822 Q5225923 Q3201948
P495
Q15617994
USER
What are the countries of origin of More than Honey, Darwin and America As Seen by a Frenchman ?
(Q597822,P495,c(Q15617994)) (Q5225923,P495,c(Q15617994)) (Q3201948,P495,c(Q15617994))
action union
action filter_type
action find
entity Q597822
relation P495
type Q15617994
action filter_type
action find
entity Q5225923
relation P495
type Q15617994
action filter_type
action find
entity Q3201948
relation P495
type Q15617994
['Q597822', 'P495', {'concept': 'Q15617994'}] ['Q5225923', 'P495', {'concept': 'Q15617994'}] ['Q3201948', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { { ?w rdf:type ontology:Q15617994 . resource:Q597822 property:P495 ?w } UNION { resource:Q5225923 property:P495 ?w . ?w rdf:type ontology:Q15617994 } }
More than Honey Darwin America As Seen by a Frenchman
action union
action filter_type
action find
entity More than Honey
relation country of origin
type designation for an administrative territorial entity
action filter_type
action find
entity Darwin
relation country of origin
type designation for an administrative territorial entity
action filter_type
action find
entity America As Seen by a Frenchman
relation country of origin
type designation for an administrative territorial entity
['More than Honey', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Darwin', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['America As Seen by a Frenchman', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:More_than_Honey property:country_of_origin ?w } UNION { resource:Darwin property:country_of_origin ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q39 Q39 Q142
SYSTEM
France for 3rd, Switzerland for 1st, 2nd
Q39 Q39 Q142
(Q597822,P495,c(Q15617994)) (Q5225923,P495,c(Q15617994)) (Q3201948,P495,c(Q15617994))
action union
action filter_type
action find
entity Q597822
relation P495
type Q15617994
action filter_type
action find
entity Q5225923
relation P495
type Q15617994
action filter_type
action find
entity Q3201948
relation P495
type Q15617994
[ANSWERS]
['Q597822', 'P495', {'concept': 'Q15617994'}] ['Q5225923', 'P495', {'concept': 'Q15617994'}] ['Q3201948', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { { ?w rdf:type ontology:Q15617994 . resource:Q597822 property:P495 ?w } UNION { resource:Q5225923 property:P495 ?w . ?w rdf:type ontology:Q15617994 } }
Switzerland Switzerland France
The countries of origin of More than Honey , Darwin and America As Seen by a Frenchman are in Switzerland, Switzerland and France
Switzerland Switzerland France
action union
action filter_type
action find
entity More than Honey
relation country of origin
type designation for an administrative territorial entity
action filter_type
action find
entity Darwin
relation country of origin
type designation for an administrative territorial entity
action filter_type
action find
entity America As Seen by a Frenchman
relation country of origin
type designation for an administrative territorial entity
['More than Honey', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Darwin', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['America As Seen by a Frenchman', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:More_than_Honey property:country_of_origin ?w } UNION { resource:Darwin property:country_of_origin ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q39
P137
Q811979
USER
Which architectural structure was managed by that administrative territory ?
(c(Q811979),P137,Q39)
action filter_type
action find_reverse
entity Q39
relation P137
type Q811979
[{'concept': 'Q811979'}, 'P137', 'Q39']
SELECT DISTINCT ?s WHERE { ?s property:P137 resource:Q39 . ?s rdf:type ontology:Q811979 }
Switzerland
action filter_type
action find_reverse
entity Switzerland
relation operator
type architectural structure
[{'concept': 'architectural structure'}, 'operator', 'Switzerland']
SELECT DISTINCT ?s WHERE { ?s property:operator resource:Switzerland . ?s rdf:type ontology:architectural_structure }
[]
architectural structure
Clarification for simple ques.
Q142
SYSTEM
Did you mean France ?
Q39 Q39 Q142
(c(Q811979),P137,Q39) (c(Q811979),P137,Q39) (c(Q811979),P137,Q142)
[ANSWER]
[{'concept': 'Q811979'}, 'P137', 'Q39'] [{'concept': 'Q811979'}, 'P137', 'Q39'] [{'concept': 'Q811979'}, 'P137', 'Q142']
SELECT DISTINCT ?s WHERE { ?s property:P137 resource:Q39 . ?s rdf:type ontology:Q811979 }
Switzerland Switzerland France
Did you mean France ?
France
[{'concept': 'architectural structure'}, 'operator', 'Switzerland'] [{'concept': 'architectural structure'}, 'operator', 'Switzerland'] [{'concept': 'architectural structure'}, 'operator', 'France']
SELECT DISTINCT ?s WHERE { ?s property:operator resource:Switzerland . ?s rdf:type ontology:architectural_structure }
[]
Simple Question (Coreferenced)
USER
No, I meant Switzerland. Could you tell me the answer for that?
(c(Q811979),P137,Q39)
Q39
[{'concept': 'Q811979'}, 'P137', 'Q39']
[{'concept': 'architectural structure'}, 'operator', 'Switzerland']
[]
Q689140
SYSTEM
Embassy of Switzerland, Berlin
Q689140
(c(Q811979),P137,Q39)
action filter_type
action find_reverse
entity Q39
relation P137
type Q811979
[ANSWER] was managed by that administrative territory
[{'concept': 'Q811979'}, 'P137', 'Q39']
SELECT DISTINCT ?s WHERE { ?s property:P137 resource:Q39 . ?s rdf:type ontology:Q811979 }
Embassy of Switzerland, Berlin
Embassy of Switzerland, Berlin was managed by that administrative territory
Embassy of Switzerland, Berlin
action filter_type
action find_reverse
entity Switzerland
relation operator
type architectural structure
[{'concept': 'architectural structure'}, 'operator', 'Switzerland']
SELECT DISTINCT ?s WHERE { ?s property:operator resource:Switzerland . ?s rdf:type ontology:architectural_structure }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q3308301
P3091
Q3745054 Q502895 Q502895
USER
How many people utilize around the same number of horse breeds and people as steed as Michael Kinane ?
(c(Q502895),P3091,c(Q3745054)|c(Q502895))
action count
action approx
action union
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action count
action filter_multi_types
action find
entity Q3308301
relation P3091
type Q3745054
type Q502895
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q3745054'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) ?k WHERE { ?p rdf:type ?c . VALUES ( ?c ) { ( ontology:Q3745054 ) ( ontology:Q502895 ) } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { resource:Q3308301 property:P3091 ?n . { { ?n rdf:type ontology:Q3745054 } UNION { ?n rdf:type ontology:Q502895 } } } } . FILTER ( ?g = ?e ) }
Michael Kinane
action count
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
action count
action filter_multi_types
action find
entity Michael Kinane
relation mount
type horse breed
type common name
[{'concept': 'common name'}, 'mount', [{'concept': 'horse breed'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) ?k WHERE { ?p rdf:type ?c . VALUES ( ?c ) { ( ontology:horse_breed ) ( ontology:common_name ) } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { resource:Michael_Kinane property:mount ?n . { { ?n rdf:type ontology:horse_breed } UNION { ?n rdf:type ontology:common_name } } } } . FILTER ( ?g = ?e ) }
[]
horse breed common name common name
SYSTEM
19
Q69084 Q358777 Q235022 Q3087038 Q14912896 Q3591240 Q3169911 Q952736 Q2287454 Q1617291 Q60968 Q1277320 Q6369922 Q1985582 Q1930899 Q175930 Q673136 Q62253 Q3308301
(c(Q502895),P3091,c(Q3745054)|c(Q502895))
action count
action approx
action union
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action count
action filter_multi_types
action find
entity Q3308301
relation P3091
type Q3745054
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q3745054'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) ?k WHERE { ?p rdf:type ?c . VALUES ( ?c ) { ( ontology:Q3745054 ) ( ontology:Q502895 ) } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { resource:Q3308301 property:P3091 ?n . { { ?n rdf:type ontology:Q3745054 } UNION { ?n rdf:type ontology:Q502895 } } } } . FILTER ( ?g = ?e ) }
Paul Schockemöhle Yves Saint-Martin Anky van Grunsven Freddy Head Bassem Hassan Mohammed Éric Levallois Jean-René Gougeon Nelson Pessoa Simon Delestre Pierre Durand, Jr. Ludger Beerbaum Roger-Yves Bost Karen O'Connor Nick Skelton Michel Robert Ian Millar Steve Guerdat Meredith Michaels-Beerbaum Michael Kinane
19
action count
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
action count
action filter_multi_types
action find
entity Michael Kinane
relation mount
type horse breed
type common name
[{'concept': 'common name'}, 'mount', [{'concept': 'horse breed'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) ?k WHERE { ?p rdf:type ?c . VALUES ( ?c ) { ( ontology:horse_breed ) ( ontology:common_name ) } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { resource:Michael_Kinane property:mount ?n . { { ?n rdf:type ontology:horse_breed } UNION { ?n rdf:type ontology:common_name } } } } . FILTER ( ?g = ?e ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q597822
P162
Q502895
USER
Who produced More than Honey ?
(Q597822,P162,c(Q502895))
action filter_type
action find
entity Q597822
relation P162
type Q502895
['Q597822', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q597822 property:P162 ?m . ?m rdf:type ontology:Q502895 }
More than Honey
action filter_type
action find
entity More than Honey
relation producer
type common name
['More than Honey', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:More_than_Honey property:producer ?m . ?m rdf:type ontology:common_name }
[]
common name
Q3382765
SYSTEM
Pierre-Alain Meier
Q3382765
(Q597822,P162,c(Q502895))
action filter_type
action find
entity Q597822
relation P162
type Q502895
[ANSWER] produced More than Honey
['Q597822', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q597822 property:P162 ?m . ?m rdf:type ontology:Q502895 }
Pierre-Alain Meier
Pierre-Alain Meier produced More than Honey
Pierre-Alain Meier
action filter_type
action find
entity More than Honey
relation producer
type common name
['More than Honey', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:More_than_Honey property:producer ?m . ?m rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7455106
Q502895
USER
And also tell me about Serpent of the Nile?
(Q7455106,P162,c(Q502895))
action filter_type
action find
entity Q7455106
relation P162
type Q502895
['Q7455106', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q7455106 property:P162 ?a . ?a rdf:type ontology:Q502895 }
Serpent of the Nile
action filter_type
action find
entity Serpent of the Nile
relation producer
type common name
['Serpent of the Nile', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Serpent_of_the_Nile property:producer ?a . ?a rdf:type ontology:common_name }
[]
common name
Q7407730
SYSTEM
Sam Katzman
Q7407730
(Q7455106,P162,c(Q502895))
action filter_type
action find
entity Q7455106
relation P162
type Q502895
[ANSWER]
['Q7455106', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q7455106 property:P162 ?a . ?a rdf:type ontology:Q502895 }
Sam Katzman
Sam Katzman
action filter_type
action find
entity Serpent of the Nile
relation producer
type common name
['Serpent of the Nile', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Serpent_of_the_Nile property:producer ?a . ?a rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q134773 Q5225923
P915
Q852446
USER
Which US administrative territories were Darwin or Forrest Gump filmed ?
OR((Q5225923,P915,c(Q852446)), (Q134773,P915,c(Q852446)))
action filter_type
action union
action find
entity Q5225923
relation P915
action find
entity Q134773
relation P915
type Q852446
{'OR': [['Q5225923', 'P915', {'concept': 'Q852446'}], ['Q134773', 'P915', {'concept': 'Q852446'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q852446 . { ?a property:P915 ?t . VALUES ( ?a ) { ( resource:Q5225923 ) ( resource:Q134773 ) } } }
Forrest Gump Darwin
action filter_type
action union
action find
entity Darwin
relation filming location
action find
entity Forrest Gump
relation filming location
type administrative territorial entity of the United States
{'OR': [['Darwin', 'filming location', {'concept': 'administrative territorial entity of the United States'}], ['Forrest Gump', 'filming location', {'concept': 'administrative territorial entity of the United States'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:administrative_territorial_entity_of_the_United_States . { ?a property:filming_location ?t . VALUES ( ?a ) { ( resource:Darwin ) ( resource:Forrest_Gump ) } } }
[]
administrative territorial entity of the United States
Q816 Q99 Q724 Q1454 Q829 Q1456
SYSTEM
Arizona, California, Maine, North Carolina, Utah, South Carolina
Q816 Q99 Q724 Q1454 Q829 Q1456
OR((Q5225923,P915,c(Q852446)), (Q134773,P915,c(Q852446)))
action filter_type
action union
action find
entity Q5225923
relation P915
action find
entity Q134773
relation P915
type Q852446
[ANSWERS] were Darwin or Forrest Gump filmed
{'OR': [['Q5225923', 'P915', {'concept': 'Q852446'}], ['Q134773', 'P915', {'concept': 'Q852446'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q852446 . { ?a property:P915 ?t . VALUES ( ?a ) { ( resource:Q5225923 ) ( resource:Q134773 ) } } }
Arizona California Maine North Carolina Utah South Carolina
Arizona, California, Maine, North Carolina, Utah and South Carolina were Darwin or Forrest Gump filmed
Arizona California Maine North Carolina Utah South Carolina
action filter_type
action union
action find
entity Darwin
relation filming location
action find
entity Forrest Gump
relation filming location
type administrative territorial entity of the United States
{'OR': [['Darwin', 'filming location', {'concept': 'administrative territorial entity of the United States'}], ['Forrest Gump', 'filming location', {'concept': 'administrative territorial entity of the United States'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:administrative_territorial_entity_of_the_United_States . { ?a property:filming_location ?t . VALUES ( ?a ) { ( resource:Darwin ) ( resource:Forrest_Gump ) } } }
[]