Simple Question (Direct)
Simple Question
Q2511824
P449
Q1616075
USER
Which television station did Relaciones Peligrosas originally air in ?
(Q2511824,P449,c(Q1616075))
action filter_type
action find
entity Q2511824
relation P449
type Q1616075
['Q2511824', 'P449', {'concept': 'Q1616075'}]
SELECT DISTINCT ?v WHERE { resource:Q2511824 property:P449 ?v . ?v rdf:type ontology:Q1616075 }
Relaciones Peligrosas
action filter_type
action find
entity Relaciones Peligrosas
relation original network
type television station
['Relaciones Peligrosas', 'original network', {'concept': 'television station'}]
SELECT DISTINCT ?v WHERE { resource:Relaciones_Peligrosas property:original_network ?v . ?v rdf:type ontology:television_station }
[]
television station
Q136538
SYSTEM
Telemundo
Q136538
(Q2511824,P449,c(Q1616075))
action filter_type
action find
entity Q2511824
relation P449
type Q1616075
Relaciones Peligrosas aired originally on [ANSWER]
['Q2511824', 'P449', {'concept': 'Q1616075'}]
SELECT DISTINCT ?v WHERE { resource:Q2511824 property:P449 ?v . ?v rdf:type ontology:Q1616075 }
Telemundo
Relaciones Peligrosas aired originally on Telemundo
Telemundo
action filter_type
action find
entity Relaciones Peligrosas
relation original network
type television station
['Relaciones Peligrosas', 'original network', {'concept': 'television station'}]
SELECT DISTINCT ?v WHERE { resource:Relaciones_Peligrosas property:original_network ?v . ?v rdf:type ontology:television_station }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2511824
P1431
Q502895
USER
Which person is the excecutive producer of Relaciones Peligrosas ?
(Q2511824,P1431,c(Q502895))
action filter_type
action find
entity Q2511824
relation P1431
type Q502895
['Q2511824', 'P1431', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q2511824 property:P1431 ?c . ?c rdf:type ontology:Q502895 }
Relaciones Peligrosas
action filter_type
action find
entity Relaciones Peligrosas
relation executive producer
type common name
['Relaciones Peligrosas', 'executive producer', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Relaciones_Peligrosas property:executive_producer ?c . ?c rdf:type ontology:common_name }
[]
common name
Q1566388
SYSTEM
Aurelio Valcárcel Carroll
Q1566388
(Q2511824,P1431,c(Q502895))
action filter_type
action find
entity Q2511824
relation P1431
type Q502895
[ANSWER] is the excecutive producer of Relaciones Peligrosas
['Q2511824', 'P1431', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q2511824 property:P1431 ?c . ?c rdf:type ontology:Q502895 }
Aurelio Valcárcel Carroll
Aurelio Valcárcel Carroll is the excecutive producer of Relaciones Peligrosas
Aurelio Valcárcel Carroll
action filter_type
action find
entity Relaciones Peligrosas
relation executive producer
type common name
['Relaciones Peligrosas', 'executive producer', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Relaciones_Peligrosas property:executive_producer ?c . ?c rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1033108
Q502895
USER
And how about Candyman?
(Q1033108,P1431,c(Q502895))
action filter_type
action find
entity Q1033108
relation P1431
type Q502895
['Q1033108', 'P1431', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q1033108 property:P1431 ?s . ?s rdf:type ontology:Q502895 }
Candyman
action filter_type
action find
entity Candyman
relation executive producer
type common name
['Candyman', 'executive producer', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Candyman property:executive_producer ?s . ?s rdf:type ontology:common_name }
[]
common name
Q298761
SYSTEM
Clive Barker
Q298761
(Q1033108,P1431,c(Q502895))
action filter_type
action find
entity Q1033108
relation P1431
type Q502895
[ANSWER]
['Q1033108', 'P1431', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q1033108 property:P1431 ?s . ?s rdf:type ontology:Q502895 }
Clive Barker
Clive Barker
action filter_type
action find
entity Candyman
relation executive producer
type common name
['Candyman', 'executive producer', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Candyman property:executive_producer ?s . ?s rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q4650041
P449
Q1616075 Q15416 Q15961987
USER
Which television stations did around the same number of television programs and television genres originally air in as ABC2 ?
(c(Q15416)|c(Q15961987),P449,c(Q1616075))
action approx
action union
action find_reverse_tuple_counts
relation P449
type Q1616075
type Q15416
action find_reverse_tuple_counts
relation P449
type Q1616075
type Q15961987
action count
action filter_multi_types
action find_reverse
entity Q4650041
relation P449
type Q15416
type Q15961987
[[{'concept': 'Q15416'}, {'concept': 'Q15961987'}], 'P449', {'concept': 'Q1616075'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { ?m property:P449 resource:Q4650041 . { VALUES ( ?u ) { ( ontology:Q15416 ) ( ontology:Q15961987 ) } . ?m rdf:type ?u } } } . FILTER ( ?l = ?p ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) ?f WHERE { ?t rdf:type ?g . VALUES ( ?g ) { ( ontology:Q15416 ) ( ontology:Q15961987 ) } } GROUP BY ?f } }
ABC2
action approx
action union
action find_reverse_tuple_counts
relation original network
type television station
type television program
action find_reverse_tuple_counts
relation original network
type television station
type television genre
action count
action filter_multi_types
action find_reverse
entity ABC2
relation original network
type television program
type television genre
[[{'concept': 'television program'}, {'concept': 'television genre'}], 'original network', {'concept': 'television station'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { ?m property:original_network resource:ABC2 . { VALUES ( ?u ) { ( ontology:television_program ) ( ontology:television_genre ) } . ?m rdf:type ?u } } } . FILTER ( ?l = ?p ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) ?f WHERE { ?t rdf:type ?g . VALUES ( ?g ) { ( ontology:television_program ) ( ontology:television_genre ) } } GROUP BY ?f } }
[]
television station television program television genre
Q262386 Q2532517 Q2252456
SYSTEM
ORF, Channel 2, TG4
Q5975140 Q2532517 Q1458581 Q7285335 Q2625977 Q7305682 Q3069919 Q3579304 Q262386 Q5030976 Q1190356 Q2713068 Q1090363 Q512381 Q640903 Q4406343 Q19666 Q7696975 Q2377499 Q5476939 Q9035455 Q830215 Q2629071 Q5975073 Q2252456 Q1532871 Q14692165 Q965371 Q1058645 Q4650041 Q4650042 Q3062264 Q4650199 Q3600480 Q22566818 Q4253475 Q4764378 Q614539 Q7679675 Q26268757
(c(Q15416)|c(Q15961987),P449,c(Q1616075))
action approx
action union
action find_reverse_tuple_counts
relation P449
type Q1616075
type Q15416
action find_reverse_tuple_counts
relation P449
type Q1616075
type Q15961987
action count
action filter_multi_types
action find_reverse
entity Q4650041
relation P449
type Q15416
type Q15961987
[ANSWERS] did around the same number of television programs and television genres originally air in as ABC2
[[{'concept': 'Q15416'}, {'concept': 'Q15961987'}], 'P449', {'concept': 'Q1616075'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { ?m property:P449 resource:Q4650041 . { VALUES ( ?u ) { ( ontology:Q15416 ) ( ontology:Q15961987 ) } . ?m rdf:type ?u } } } . FILTER ( ?l = ?p ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) ?f WHERE { ?t rdf:type ?g . VALUES ( ?g ) { ( ontology:Q15416 ) ( ontology:Q15961987 ) } } GROUP BY ?f } }
ITV Tyne Tees Channel 2 Rede Record Raj Network France Ô TV Gazeta TV Cultura Q ORF Canal 5 RTBF Rede Bandeirantes RedeTV! OLN Hum TV Sprout Current TV Television South Nickelodeon Fox Sports Fox+ E! ANT1 ITV Meridian TG4 City Maryland Public Television SBT American Heroes Channel ABC2 ABC ME MTV Brasil ABC News 24 ABC The Online Network Rede Manchete Anhui Television Calle 13 CNN Philippines HBO Hungary
ORF, Channel 2 and TG4 did around the same number of television programs and television genres originally air in as ABC2
ORF Channel 2 TG4
action approx
action union
action find_reverse_tuple_counts
relation original network
type television station
type television program
action find_reverse_tuple_counts
relation original network
type television station
type television genre
action count
action filter_multi_types
action find_reverse
entity ABC2
relation original network
type television program
type television genre
[[{'concept': 'television program'}, {'concept': 'television genre'}], 'original network', {'concept': 'television station'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { ?m property:original_network resource:ABC2 . { VALUES ( ?u ) { ( ontology:television_program ) ( ontology:television_genre ) } . ?m rdf:type ?u } } } . FILTER ( ?l = ?p ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) ?f WHERE { ?t rdf:type ?g . VALUES ( ?g ) { ( ontology:television_program ) ( ontology:television_genre ) } } GROUP BY ?f } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q965371
P449
Q1616075 Q15416 Q15961987
USER
And also tell me about SBT?
(c(Q15416)|c(Q15961987),P449,c(Q1616075))
action approx
action union
action find_reverse_tuple_counts
relation P449
type Q1616075
type Q15416
action find_reverse_tuple_counts
relation P449
type Q1616075
type Q15961987
action count
action filter_multi_types
action find_reverse
entity Q965371
relation P449
type Q15416
type Q15961987
[[{'concept': 'Q15416'}, {'concept': 'Q15961987'}], 'P449', {'concept': 'Q1616075'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { ?j property:P449 resource:Q965371 . { VALUES ( ?h ) { ( ontology:Q15416 ) ( ontology:Q15961987 ) } . ?j rdf:type ?h } } } . FILTER ( ?x = ?d ) . { SELECT DISTINCT ?g ( COUNT ( ?n ) AS ?x ) WHERE { { ?n property:P449 ?g . ?g rdf:type ontology:Q1616075 . ?n rdf:type ontology:Q15416 } UNION { ?n rdf:type ontology:Q15961987 . ?g rdf:type ontology:Q1616075 . ?n property:P449 ?g } } GROUP BY ?g } }
SBT
action approx
action union
action find_reverse_tuple_counts
relation original network
type television station
type television program
action find_reverse_tuple_counts
relation original network
type television station
type television genre
action count
action filter_multi_types
action find_reverse
entity SBT
relation original network
type television program
type television genre
[[{'concept': 'television program'}, {'concept': 'television genre'}], 'original network', {'concept': 'television station'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { ?j property:original_network resource:SBT . { VALUES ( ?h ) { ( ontology:television_program ) ( ontology:television_genre ) } . ?j rdf:type ?h } } } . FILTER ( ?x = ?d ) . { SELECT DISTINCT ?g ( COUNT ( ?n ) AS ?x ) WHERE { { ?n property:original_network ?g . ?g rdf:type ontology:television_station . ?n rdf:type ontology:television_program } UNION { ?n rdf:type ontology:television_genre . ?g rdf:type ontology:television_station . ?n property:original_network ?g } } GROUP BY ?g } }
[]
television station television program television genre
Q262386 Q2532517 Q2252456
SYSTEM
ORF, Channel 2, TG4
Q5975140 Q2532517 Q1458581 Q7285335 Q2625977 Q7305682 Q3069919 Q3579304 Q262386 Q5030976 Q1190356 Q2713068 Q1090363 Q512381 Q640903 Q4406343 Q19666 Q7696975 Q136538 Q2377499 Q5476939 Q9035455 Q830215 Q2629071 Q5975073 Q2252456 Q1532871 Q14692165 Q965371 Q1058645 Q4650041 Q4650042 Q3062264 Q4650199 Q3600480 Q22566818 Q4253475 Q4764378 Q614539 Q7679675 Q26268757
(c(Q15416)|c(Q15961987),P449,c(Q1616075))
action approx
action union
action find_reverse_tuple_counts
relation P449
type Q1616075
type Q15416
action find_reverse_tuple_counts
relation P449
type Q1616075
type Q15961987
action count
action filter_multi_types
action find_reverse
entity Q965371
relation P449
type Q15416
type Q15961987
[ANSWERS]
[[{'concept': 'Q15416'}, {'concept': 'Q15961987'}], 'P449', {'concept': 'Q1616075'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { ?j property:P449 resource:Q965371 . { VALUES ( ?h ) { ( ontology:Q15416 ) ( ontology:Q15961987 ) } . ?j rdf:type ?h } } } . FILTER ( ?x = ?d ) . { SELECT DISTINCT ?g ( COUNT ( ?n ) AS ?x ) WHERE { { ?n property:P449 ?g . ?g rdf:type ontology:Q1616075 . ?n rdf:type ontology:Q15416 } UNION { ?n rdf:type ontology:Q15961987 . ?g rdf:type ontology:Q1616075 . ?n property:P449 ?g } } GROUP BY ?g } }
ITV Tyne Tees Channel 2 Rede Record Raj Network France Ô TV Gazeta TV Cultura Q ORF Canal 5 RTBF Rede Bandeirantes RedeTV! OLN Hum TV Sprout Current TV Television South Telemundo Nickelodeon Fox Sports Fox+ E! ANT1 ITV Meridian TG4 City Maryland Public Television SBT American Heroes Channel ABC2 ABC ME MTV Brasil ABC News 24 ABC The Online Network Rede Manchete Anhui Television Calle 13 CNN Philippines HBO Hungary
ORF Channel 2 TG4
action approx
action union
action find_reverse_tuple_counts
relation original network
type television station
type television program
action find_reverse_tuple_counts
relation original network
type television station
type television genre
action count
action filter_multi_types
action find_reverse
entity SBT
relation original network
type television program
type television genre
[[{'concept': 'television program'}, {'concept': 'television genre'}], 'original network', {'concept': 'television station'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { ?j property:original_network resource:SBT . { VALUES ( ?h ) { ( ontology:television_program ) ( ontology:television_genre ) } . ?j rdf:type ?h } } } . FILTER ( ?x = ?d ) . { SELECT DISTINCT ?g ( COUNT ( ?n ) AS ?x ) WHERE { { ?n property:original_network ?g . ?g rdf:type ontology:television_station . ?n rdf:type ontology:television_program } UNION { ?n rdf:type ontology:television_genre . ?g rdf:type ontology:television_station . ?n property:original_network ?g } } GROUP BY ?g } }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P449
Q1616075 Q15961987 Q15416
USER
How many television stations did less number of television genres and television programs originally air in than that television station ?
(c(Q15961987)|c(Q15416),P449,c(Q1616075))
[[{'concept': 'Q15961987'}, {'concept': 'Q15416'}], 'P449', {'concept': 'Q1616075'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { { VALUES ( ?v ) { ( ?z ) ( ?x ) } . ?v property:P449 ?y } . ?z rdf:type ontology:Q15961987 . ?y rdf:type ontology:Q1616075 . ?x rdf:type ontology:Q15416 }
[[{'concept': 'television genre'}, {'concept': 'television program'}], 'original network', {'concept': 'television station'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { { VALUES ( ?v ) { ( ?z ) ( ?x ) } . ?v property:original_network ?y } . ?z rdf:type ontology:television_genre . ?y rdf:type ontology:television_station . ?x rdf:type ontology:television_program }
[]
television station television genre television program
Comparative|Count over More/Less|Mult. entity type|Clarification
Q2252456
SYSTEM
Did you mean TG4 ?
(c(Q15961987)|c(Q15416),P449,c(Q1616075))
[ANSWER]
[[{'concept': 'Q15961987'}, {'concept': 'Q15416'}], 'P449', {'concept': 'Q1616075'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { { VALUES ( ?v ) { ( ?z ) ( ?x ) } . ?v property:P449 ?y } . ?z rdf:type ontology:Q15961987 . ?y rdf:type ontology:Q1616075 . ?x rdf:type ontology:Q15416 }
Did you mean TG4 ?
TG4
[[{'concept': 'television genre'}, {'concept': 'television program'}], 'original network', {'concept': 'television station'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { { VALUES ( ?v ) { ( ?z ) ( ?x ) } . ?v property:original_network ?y } . ?z rdf:type ontology:television_genre . ?y rdf:type ontology:television_station . ?x rdf:type ontology:television_program }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Channel 2. Could you tell me the answer for that?
(c(Q15961987)|c(Q15416),P449,c(Q1616075))
Q2532517
[[{'concept': 'Q15961987'}, {'concept': 'Q15416'}], 'P449', {'concept': 'Q1616075'}]
[[{'concept': 'television genre'}, {'concept': 'television program'}], 'original network', {'concept': 'television station'}]
[]
SYSTEM
33
Q5975140 Q1458581 Q7285335 Q2625977 Q7305682 Q3069919 Q3579304 Q262386 Q5030976 Q1190356 Q2713068 Q1090363 Q512381 Q640903 Q4406343 Q19666 Q7696975 Q2377499 Q5476939 Q9035455 Q5975073 Q2252456 Q14692165 Q1058645 Q4650041 Q3062264 Q4650199 Q22566818 Q4253475 Q4764378 Q614539 Q7679675 Q26268757
(c(Q15961987)|c(Q15416),P449,c(Q1616075))
[ANSWER]
[[{'concept': 'Q15961987'}, {'concept': 'Q15416'}], 'P449', {'concept': 'Q1616075'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { { { ?z property:P449 ?y } UNION { ?x property:P449 ?y } } . ?z rdf:type ontology:Q15961987 . ?y rdf:type ontology:Q1616075 . ?x rdf:type ontology:Q15416 }
ITV Tyne Tees Rede Record Raj Network France Ô TV Gazeta TV Cultura Q ORF Canal 5 RTBF Rede Bandeirantes RedeTV! OLN Hum TV Sprout Current TV Television South Nickelodeon Fox Sports Fox+ ITV Meridian TG4 Maryland Public Television American Heroes Channel ABC2 MTV Brasil ABC News 24 The Online Network Rede Manchete Anhui Television Calle 13 CNN Philippines HBO Hungary
33
[[{'concept': 'television genre'}, {'concept': 'television program'}], 'original network', {'concept': 'television station'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { { { ?z property:original_network ?y } UNION { ?x property:original_network ?y } } . ?z rdf:type ontology:television_genre . ?y rdf:type ontology:television_station . ?x rdf:type ontology:television_program }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q713298
P1303
Q34379 Q502895
USER
Which musical instruments are played by greater number of people than geomungo ?
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q713298
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?i ) WHERE { ?y property:P1303 ?u . ?u rdf:type ontology:Q34379 . ?y rdf:type ontology:Q502895 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { resource:Q713298 property:P1303 ?v . ?v rdf:type ontology:Q34379 } } . FILTER ( ?i > ?p ) }
geomungo
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity geomungo
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?i ) WHERE { ?y property:instrument ?u . ?u rdf:type ontology:musical_instrument . ?y rdf:type ontology:common_name } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { resource:geomungo property:instrument ?v . ?v rdf:type ontology:musical_instrument } } . FILTER ( ?i > ?p ) }
[]
musical instrument common name
Q5994 Q81982 Q862501
SYSTEM
piano, harpsichord, ondes Martenot
Q80284 Q46185 Q201129 Q424017 Q80019 Q2563510 Q5994 Q3574843 Q81982 Q182718 Q206987 Q189737 Q8338 Q8371 Q8355 Q213461 Q3382191 Q862501 Q213100 Q537750 Q626035 Q742180 Q1300012 Q1444 Q220971 Q128309 Q726306 Q483994 Q1343007 Q11404
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q713298
relation P1303
type Q34379
[ANSWERS] are played by greater number of people than geomungo
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?i ) WHERE { ?y property:P1303 ?u . ?u rdf:type ontology:Q34379 . ?y rdf:type ontology:Q502895 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { resource:Q713298 property:P1303 ?v . ?v rdf:type ontology:Q34379 } } . FILTER ( ?i > ?p ) }
viola bass guitar lyre acoustic bass guitar double bass steel-string acoustic guitar piano tonbak harpsichord Nyckelharpa vibraphone timpani trumpet cello violin harmonium upright piano ondes Martenot tabla Djembe glockenspiel viola d'amore toy piano organ marimba drum kit erhu Kazoo electronic keyboard drum
Piano, harpsichord and ondes Martenot are played by greater number of people than geomungo
piano harpsichord ondes Martenot
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity geomungo
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?i ) WHERE { ?y property:instrument ?u . ?u rdf:type ontology:musical_instrument . ?y rdf:type ontology:common_name } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { resource:geomungo property:instrument ?v . ?v rdf:type ontology:musical_instrument } } . FILTER ( ?i > ?p ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1691552 Q298761
P162
Q838948
USER
Which works of art have been produced by Clive Barker or Joe Pasternak ?
OR((c(Q838948),P162,Q298761), (c(Q838948),P162,Q1691552))
action filter_type
action union
action find_reverse
entity Q298761
relation P162
action find_reverse
entity Q1691552
relation P162
type Q838948
{'OR': [[{'concept': 'Q838948'}, 'P162', 'Q298761'], [{'concept': 'Q838948'}, 'P162', 'Q1691552']]}
SELECT DISTINCT ?z WHERE { { { ?z property:P162 resource:Q1691552 } UNION { ?z property:P162 resource:Q298761 } } . ?z rdf:type ontology:Q838948 }
Joe Pasternak Clive Barker
action filter_type
action union
action find_reverse
entity Clive Barker
relation producer
action find_reverse
entity Joe Pasternak
relation producer
type work of art
{'OR': [[{'concept': 'work of art'}, 'producer', 'Clive Barker'], [{'concept': 'work of art'}, 'producer', 'Joe Pasternak']]}
SELECT DISTINCT ?z WHERE { { { ?z property:producer resource:Joe_Pasternak } UNION { ?z property:producer resource:Clive_Barker } } . ?z rdf:type ontology:work_of_art }
[]
work of art
Q17026149 Q1869916 Q4306681 Q7024673 Q2061237 Q1056710 Q7771346 Q7827378 Q264577 Q12129959
SYSTEM
Some of them are A Tremendously Rich Man, Lord of Illusions, Nancy Goes to Rio, Nice Girl?, Easy to Love, First Love, The Under-Pup, Tortured Souls: Animae Damnatae, A Date with Judy, Two Sisters from Boston
Q19895260 Q7827378 Q1031262 Q2563627 Q2358316 Q2604605 Q2059143 Q7024673 Q4306681 Q12129959 Q2947122 Q2844035 Q3797247 Q1842845 Q2761816 Q4878491 Q2296064 Q534430 Q252577 Q1033108 Q19896140 Q1101856 Q787387 Q3240954 Q525026 Q7767630 Q2061237 Q607524 Q960909 Q949666 Q4813367 Q264577 Q165172 Q19895120 Q7797829 Q2617901 Q16841683 Q2249423 Q4359782 Q1422454 Q7711229 Q12130305 Q542988 Q3828476 Q1168840 Q3227377 Q498764 Q1869916 Q4657791 Q3222894 Q7767038 Q1161636 Q1746494 Q2698658 Q17026149 Q2742237 Q1198780 Q3713975 Q605518 Q1257247 Q7771346 Q668948 Q1144787 Q1033094 Q763024 Q123558 Q16028511 Q3015588 Q2451595 Q2471484 Q17118813 Q530679 Q3927741 Q4007140 Q3208873 Q1540181 Q4356860 Q1955024 Q19895679 Q7535939 Q8059269 Q3073270 Q2030471 Q1056710
OR((c(Q838948),P162,Q298761), (c(Q838948),P162,Q1691552))
action filter_type
action union
action find_reverse
entity Q298761
relation P162
action find_reverse
entity Q1691552
relation P162
type Q838948
[ANSWERS]
{'OR': [[{'concept': 'Q838948'}, 'P162', 'Q298761'], [{'concept': 'Q838948'}, 'P162', 'Q1691552']]}
SELECT DISTINCT ?z WHERE { { { ?z property:P162 resource:Q1691552 } UNION { ?z property:P162 resource:Q298761 } } . ?z rdf:type ontology:Q838948 }
A Precocious Girl Tortured Souls: Animae Damnatae Hellraiser: Bloodline Billy Rose's Jumbo Ask Any Girl Thousands Cheer Duchess of Idaho Nice Girl? Nancy Goes to Rio Two Sisters from Boston This Could Be the Night In the Good Old Summertime Looking for Love The Opposite Sex Two Girls and a Sailor Because You're Mine Love Me or Leave Me The Student Prince Dread Candyman Spring Parade Book of Blood The Toast of New Orleans Presenting Lily Mars Party Girl The Sweet Ride Easy to Love Destry Rides Again Thrill of a Romance It Started with Eve Athena A Date with Judy One Hundred Men and a Girl Peter Three Smart Girls Grow Up Latin Lovers Big City The Merry Widow Song of Russia Small Town Girl That Midnight Kiss The Unfinished Dance Anchors Aweigh A Ticklish Affair Seven Sinners This Time for Keeps Girl Happy Lord of Illusions A Little Bit of Heaven The Plague The Strip That Certain Age Little Mother Please Don't Eat the Daisies A Tremendously Rich Man Rich, Young and Pretty The Great Caruso Meet Me in Las Vegas Spinout Three Smart Girls The Under-Pup Ten Thousand Bedrooms Mad About Music Candyman 2: Farewell to the Flesh Hellraiser III: Hell on Earth The Flame of New Orleans The Horizontal Lieutenant On an Island with You Where the Boys Are Summer Stock Catherine the Last The Courtship of Eddie's Father It's a Date Holiday in Mexico Hit the Deck Made in Paris Luxury Liner Music for Millions Scandal in Budapest Skirts Ahoy! Youth Takes a Fling Flame and the Flesh The Midnight Meat Train First Love
The tortured Souls: Animae Damnatae, A Date with Judy and Two Sisters from Boston have been produced by Clive Barker or Joe Pasternak
A Tremendously Rich Man Lord of Illusions Nancy Goes to Rio Nice Girl? Easy to Love First Love The Under-Pup Tortured Souls: Animae Damnatae A Date with Judy Two Sisters from Boston
action filter_type
action union
action find_reverse
entity Clive Barker
relation producer
action find_reverse
entity Joe Pasternak
relation producer
type work of art
{'OR': [[{'concept': 'work of art'}, 'producer', 'Clive Barker'], [{'concept': 'work of art'}, 'producer', 'Joe Pasternak']]}
SELECT DISTINCT ?z WHERE { { { ?z property:producer resource:Joe_Pasternak } UNION { ?z property:producer resource:Clive_Barker } } . ?z rdf:type ontology:work_of_art }
[]