Simple Question (Direct)
Simple Question
Q1911409
P1411
Q4220917
USER
Which film award does Maurice Richlin have ?
(Q1911409,P1411,c(Q4220917))
action filter_type
action find
entity Q1911409
relation P1411
type Q4220917
['Q1911409', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?p WHERE { resource:Q1911409 property:P1411 ?p . ?p rdf:type ontology:Q4220917 }
Maurice Richlin
action filter_type
action find
entity Maurice Richlin
relation nominated for
type film award
['Maurice Richlin', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?p WHERE { resource:Maurice_Richlin property:nominated_for ?p . ?p rdf:type ontology:film_award }
[]
film award
Q41417
SYSTEM
Academy Award for Best Writing, Original Screenplay
Q41417
(Q1911409,P1411,c(Q4220917))
action filter_type
action find
entity Q1911409
relation P1411
type Q4220917
Maurice Richlin has won [ANSWER]
['Q1911409', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?p WHERE { resource:Q1911409 property:P1411 ?p . ?p rdf:type ontology:Q4220917 }
Academy Award for Best Writing, Original Screenplay
Maurice Richlin has won Academy Award for Best Writing, Original Screenplay
Academy Award for Best Writing, Original Screenplay
action filter_type
action find
entity Maurice Richlin
relation nominated for
type film award
['Maurice Richlin', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?p WHERE { resource:Maurice_Richlin property:nominated_for ?p . ?p rdf:type ontology:film_award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1911409
P58
Q15416
USER
Which television program is Maurice Richlin a screenwriter of ?
(c(Q15416),P58,Q1911409)
action filter_type
action find_reverse
entity Q1911409
relation P58
type Q15416
[{'concept': 'Q15416'}, 'P58', 'Q1911409']
SELECT DISTINCT ?j WHERE { ?j property:P58 resource:Q1911409 . ?j rdf:type ontology:Q15416 }
Maurice Richlin
action filter_type
action find_reverse
entity Maurice Richlin
relation screenwriter
type television program
[{'concept': 'television program'}, 'screenwriter', 'Maurice Richlin']
SELECT DISTINCT ?j WHERE { ?j property:screenwriter resource:Maurice_Richlin . ?j rdf:type ontology:television_program }
[]
television program
Q699717
SYSTEM
Operation Petticoat
Q699717
(c(Q15416),P58,Q1911409)
action filter_type
action find_reverse
entity Q1911409
relation P58
type Q15416
[ANSWER] is Maurice Richlin a screenwriter of
[{'concept': 'Q15416'}, 'P58', 'Q1911409']
SELECT DISTINCT ?j WHERE { ?j property:P58 resource:Q1911409 . ?j rdf:type ontology:Q15416 }
Operation Petticoat
Operation Petticoat is Maurice Richlin a screenwriter of
Operation Petticoat
action filter_type
action find_reverse
entity Maurice Richlin
relation screenwriter
type television program
[{'concept': 'television program'}, 'screenwriter', 'Maurice Richlin']
SELECT DISTINCT ?j WHERE { ?j property:screenwriter resource:Maurice_Richlin . ?j rdf:type ontology:television_program }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1911409
P1412
Q34770
USER
Which language is Maurice Richlin capable of writing ?
(Q1911409,P1412,c(Q34770))
action filter_type
action find
entity Q1911409
relation P1412
type Q34770
['Q1911409', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q34770 . resource:Q1911409 property:P1412 ?e }
Maurice Richlin
action filter_type
action find
entity Maurice Richlin
relation languages spoken, written or signed
type language
['Maurice Richlin', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:language . resource:Maurice_Richlin property:languages_spoken,_written_or_signed ?e }
[]
language
Q1860
SYSTEM
English
Q1860
(Q1911409,P1412,c(Q34770))
action filter_type
action find
entity Q1911409
relation P1412
type Q34770
[ANSWER] is Maurice Richlin capable of writing
['Q1911409', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q34770 . resource:Q1911409 property:P1412 ?e }
English
English is Maurice Richlin capable of writing
English
action filter_type
action find
entity Maurice Richlin
relation languages spoken, written or signed
type language
['Maurice Richlin', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:language . resource:Maurice_Richlin property:languages_spoken,_written_or_signed ?e }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1911409
P21
Q290
USER
What is the sex of that person ?
(Q1860,P21,c(Q290))
action filter_type
action find
entity Q1911409
relation P21
type Q290
['Q1860', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q1911409 property:P21 ?v . ?v rdf:type ontology:Q290 }
Maurice Richlin
action filter_type
action find
entity Maurice Richlin
relation gender
type sex
['English', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Maurice_Richlin property:gender ?v . ?v rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1860,P21,c(Q290))
action filter_type
action find
entity Q1911409
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q1860', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q1911409 property:P21 ?v . ?v rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Maurice Richlin
relation gender
type sex
['English', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Maurice_Richlin property:gender ?v . ?v rdf:type ontology:sex }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q36708
P282
Q2001982 Q8192 Q34770
USER
How many languages are approximately the same number of notations and writing systems the writing system of as Norn ?
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action count
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_multi_types
action find
entity Q36708
relation P282
type Q2001982
type Q8192
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) ?k WHERE { { ?k property:P282 ?q . ?k rdf:type ontology:Q34770 . ?q rdf:type ontology:Q8192 } UNION { ?k property:P282 ?q . ?k rdf:type ontology:Q34770 . ?q rdf:type ontology:Q2001982 } } GROUP BY ?k } . FILTER ( ?o = ?x ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { resource:Q36708 property:P282 ?c . { VALUES ( ?g ) { ( ontology:Q8192 ) ( ontology:Q2001982 ) } . ?c rdf:type ?g } } } }
Norn
action count
action approx
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_multi_types
action find
entity Norn
relation writing system
type notation
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) ?k WHERE { { ?k property:writing_system ?q . ?k rdf:type ontology:language . ?q rdf:type ontology:writing_system } UNION { ?k property:writing_system ?q . ?k rdf:type ontology:language . ?q rdf:type ontology:notation } } GROUP BY ?k } . FILTER ( ?o = ?x ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { resource:Norn property:writing_system ?c . { VALUES ( ?g ) { ( ontology:writing_system ) ( ontology:notation ) } . ?c rdf:type ?g } } } }
[]
notation writing system language
SYSTEM
49
Q7102906 Q20832 Q20831 Q1133488 Q13414913 Q402878 Q36708 Q13211 Q36741 Q35499 Q35668 Q8785 Q35726 Q1321 Q21161949 Q25167 Q33251 Q18130932 Q21161942 Q1639124 Q11732220 Q33976 Q856383 Q149838 Q47625 Q36822 Q33879 Q7362035 Q56472 Q6047309 Q8752 Q36178 Q9056 Q397 Q56512 Q35505 Q36957 Q25164 Q56982 Q35308 Q1860 Q36116 Q29977 Q36464 Q837985 Q447117 Q7511561 Q652 Q33982
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action count
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_multi_types
action find
entity Q36708
relation P282
type Q2001982
type Q8192
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) ?k WHERE { { ?k property:P282 ?q . ?k rdf:type ontology:Q34770 . ?q rdf:type ontology:Q8192 } UNION { ?k property:P282 ?q . ?k rdf:type ontology:Q34770 . ?q rdf:type ontology:Q2001982 } } GROUP BY ?k } . FILTER ( ?o = ?x ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { resource:Q36708 property:P282 ?c . { VALUES ( ?g ) { ( ontology:Q8192 ) ( ontology:Q2001982 ) } . ?c rdf:type ?g } } } }
Orizaba Nahuatl Wailaki language Cahto language Old Gutnish Simplified Chinese Middle Polish Norn Ruthenian Polabian Old Church Slavonic Hittite Armenian Etruscan Spanish Serbian written in Latin script Bokmål Church Slavonic Traditional Chinese Serbian written in Cyrillic Slavoserbian Archaic Greek Sardinian language Pictish Old Polish Burgundian Slovincian language Pangasinan language Roman Khowar Shuadit language Central Nahuatl Basque Nabataean language Czech Latin Anêm language Old Norse language Umbrian Nynorsk Judaeo-Portuguese Old Irish English Middle Irish Gaulish Nivkh language Middle High German Old Egyptian Sierra Puebla Nahuatl Italian Low Prussian
49
action count
action approx
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_multi_types
action find
entity Norn
relation writing system
type notation
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) ?k WHERE { { ?k property:writing_system ?q . ?k rdf:type ontology:language . ?q rdf:type ontology:writing_system } UNION { ?k property:writing_system ?q . ?k rdf:type ontology:language . ?q rdf:type ontology:notation } } GROUP BY ?k } . FILTER ( ?o = ?x ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { resource:Norn property:writing_system ?c . { VALUES ( ?g ) { ( ontology:writing_system ) ( ontology:notation ) } . ?c rdf:type ?g } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q33976
P282
Q2001982 Q8192 Q34770
USER
And what about Sardinian language?
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action count
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_multi_types
action find
entity Q33976
relation P282
type Q2001982
type Q8192
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) ?p WHERE { ?d rdf:type ?v . VALUES ( ?v ) { ( ontology:Q8192 ) ( ontology:Q2001982 ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { resource:Q33976 property:P282 ?n . { { ?n rdf:type ontology:Q2001982 } UNION { ?n rdf:type ontology:Q8192 } } } } . FILTER ( ?z = ?l ) }
Sardinian language
action count
action approx
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_multi_types
action find
entity Sardinian language
relation writing system
type notation
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) ?p WHERE { ?d rdf:type ?v . VALUES ( ?v ) { ( ontology:writing_system ) ( ontology:notation ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { resource:Sardinian_language property:writing_system ?n . { { ?n rdf:type ontology:notation } UNION { ?n rdf:type ontology:writing_system } } } } . FILTER ( ?z = ?l ) }
[]
notation writing system language
SYSTEM
49
Q7102906 Q20832 Q20831 Q1133488 Q13414913 Q402878 Q36708 Q13211 Q36741 Q35499 Q35668 Q8785 Q35726 Q1321 Q21161949 Q25167 Q33251 Q18130932 Q21161942 Q1639124 Q11732220 Q33976 Q856383 Q149838 Q47625 Q36822 Q33879 Q7362035 Q56472 Q6047309 Q8752 Q36178 Q9056 Q397 Q56512 Q35505 Q36957 Q25164 Q56982 Q35308 Q1860 Q36116 Q29977 Q36464 Q837985 Q447117 Q7511561 Q652 Q33982
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action count
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_multi_types
action find
entity Q33976
relation P282
type Q2001982
type Q8192
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) ?p WHERE { ?d rdf:type ?v . VALUES ( ?v ) { ( ontology:Q8192 ) ( ontology:Q2001982 ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { resource:Q33976 property:P282 ?n . { { ?n rdf:type ontology:Q2001982 } UNION { ?n rdf:type ontology:Q8192 } } } } . FILTER ( ?z = ?l ) }
Orizaba Nahuatl Wailaki language Cahto language Old Gutnish Simplified Chinese Middle Polish Norn Ruthenian Polabian Old Church Slavonic Hittite Armenian Etruscan Spanish Serbian written in Latin script Bokmål Church Slavonic Traditional Chinese Serbian written in Cyrillic Slavoserbian Archaic Greek Sardinian language Pictish Old Polish Burgundian Slovincian language Pangasinan language Roman Khowar Shuadit language Central Nahuatl Basque Nabataean language Czech Latin Anêm language Old Norse language Umbrian Nynorsk Judaeo-Portuguese Old Irish English Middle Irish Gaulish Nivkh language Middle High German Old Egyptian Sierra Puebla Nahuatl Italian Low Prussian
49
action count
action approx
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_multi_types
action find
entity Sardinian language
relation writing system
type notation
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) ?p WHERE { ?d rdf:type ?v . VALUES ( ?v ) { ( ontology:writing_system ) ( ontology:notation ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { resource:Sardinian_language property:writing_system ?n . { { ?n rdf:type ontology:notation } UNION { ?n rdf:type ontology:writing_system } } } } . FILTER ( ?z = ?l ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q699717
P495
Q15617994
USER
What is the country of origin of Operation Petticoat ?
(Q699717,P495,c(Q15617994))
action filter_type
action find
entity Q699717
relation P495
type Q15617994
['Q699717', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . resource:Q699717 property:P495 ?z }
Operation Petticoat
action filter_type
action find
entity Operation Petticoat
relation country of origin
type designation for an administrative territorial entity
['Operation Petticoat', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Operation_Petticoat property:country_of_origin ?z }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q699717,P495,c(Q15617994))
action filter_type
action find
entity Q699717
relation P495
type Q15617994
The country of origin of Operation is the [ANSWER]
['Q699717', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . resource:Q699717 property:P495 ?z }
United States of America
The country of origin of Operation is the United States of America
United States of America
action filter_type
action find
entity Operation Petticoat
relation country of origin
type designation for an administrative territorial entity
['Operation Petticoat', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Operation_Petticoat property:country_of_origin ?z }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q699717
P136
Q223393
USER
What can be considered as category for that television program ?
(Q30,P136,c(Q223393))
action filter_type
action find
entity Q699717
relation P136
type Q223393
['Q30', 'P136', {'concept': 'Q223393'}]
SELECT DISTINCT ?v WHERE { resource:Q699717 property:P136 ?v . ?v rdf:type ontology:Q223393 }
Operation Petticoat
action filter_type
action find
entity Operation Petticoat
relation genre
type literary genre
['United States of America', 'genre', {'concept': 'literary genre'}]
SELECT DISTINCT ?v WHERE { resource:Operation_Petticoat property:genre ?v . ?v rdf:type ontology:literary_genre }
[]
literary genre
Q40831
SYSTEM
comedy
Q40831
(Q30,P136,c(Q223393))
action filter_type
action find
entity Q699717
relation P136
type Q223393
[ANSWER] can be considered as category for that television program
['Q30', 'P136', {'concept': 'Q223393'}]
SELECT DISTINCT ?v WHERE { resource:Q699717 property:P136 ?v . ?v rdf:type ontology:Q223393 }
comedy
Comedy can be considered as category for that television program
comedy
action filter_type
action find
entity Operation Petticoat
relation genre
type literary genre
['United States of America', 'genre', {'concept': 'literary genre'}]
SELECT DISTINCT ?v WHERE { resource:Operation_Petticoat property:genre ?v . ?v rdf:type ontology:literary_genre }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q699717
P57
Q502895
USER
Who was the director of that television program ?
(Q40831,P57,c(Q502895))
action filter_type
action find
entity Q699717
relation P57
type Q502895
['Q40831', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q699717 property:P57 ?g . ?g rdf:type ontology:Q502895 }
Operation Petticoat
action filter_type
action find
entity Operation Petticoat
relation director
type common name
['comedy', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Operation_Petticoat property:director ?g . ?g rdf:type ontology:common_name }
[]
common name
Q56093
SYSTEM
Blake Edwards
Q56093
(Q40831,P57,c(Q502895))
action filter_type
action find
entity Q699717
relation P57
type Q502895
The director of that television program was William [ANSWER]
['Q40831', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q699717 property:P57 ?g . ?g rdf:type ontology:Q502895 }
Blake Edwards
The director of that television program was William Blake Edwards
Blake Edwards
action filter_type
action find
entity Operation Petticoat
relation director
type common name
['comedy', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Operation_Petticoat property:director ?g . ?g rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q56093 Q161819
P26
Q502895
USER
Is Julie Andrews the life partner of that one ?
(Q56093,P26,Q161819)
action is_in
entity Q161819
action find
entity Q56093
relation P26
['Q56093', 'P26', 'Q161819']
ASK WHERE { resource:Q56093 property:P26 resource:Q161819 }
Blake Edwards Julie Andrews
action is_in
entity Julie Andrews
action find
entity Blake Edwards
relation spouse
['Blake Edwards', 'spouse', 'Julie Andrews']
ASK WHERE { resource:Blake_Edwards property:spouse resource:Julie_Andrews }
[]
common name
SYSTEM
YES
(Q56093,P26,Q161819)
action is_in
entity Q161819
action find
entity Q56093
relation P26
[ANSWER]
['Q56093', 'P26', 'Q161819']
ASK WHERE { resource:Q56093 property:P26 resource:Q161819 }
Yes
action is_in
entity Julie Andrews
action find
entity Blake Edwards
relation spouse
['Blake Edwards', 'spouse', 'Julie Andrews']
ASK WHERE { resource:Blake_Edwards property:spouse resource:Julie_Andrews }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q56093
P106
Q12737077 Q28640
USER
How many occupations and professions do Blake Edwards do for a living ?
(Q56093,P106,c(Q12737077)) (Q56093,P106,c(Q28640))
action count
action union
action filter_type
action find
entity Q56093
relation P106
type Q12737077
action filter_type
action find
entity Q56093
relation P106
type Q28640
['Q56093', 'P106', {'concept': 'Q12737077'}] ['Q56093', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { { resource:Q56093 property:P106 ?d . ?d rdf:type ontology:Q12737077 } UNION { resource:Q56093 property:P106 ?d . ?d rdf:type ontology:Q28640 } }
Blake Edwards
action count
action union
action filter_type
action find
entity Blake Edwards
relation occupation
type occupation
action filter_type
action find
entity Blake Edwards
relation occupation
type profession
['Blake Edwards', 'occupation', {'concept': 'occupation'}] ['Blake Edwards', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { { resource:Blake_Edwards property:occupation ?d . ?d rdf:type ontology:occupation } UNION { resource:Blake_Edwards property:occupation ?d . ?d rdf:type ontology:profession } }
[]
occupation profession
SYSTEM
2 occupations and 3 professions
Q3282637 Q2526255 Q33999 Q36180 Q28389
(Q56093,P106,c(Q12737077)) (Q56093,P106,c(Q28640))
action count
action union
action filter_type
action find
entity Q56093
relation P106
type Q12737077
action filter_type
action find
entity Q56093
relation P106
type Q28640
[ANSWER]
['Q56093', 'P106', {'concept': 'Q12737077'}] ['Q56093', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { { resource:Q56093 property:P106 ?d . ?d rdf:type ontology:Q12737077 } UNION { resource:Q56093 property:P106 ?d . ?d rdf:type ontology:Q28640 } }
film producer film director actor writer screenwriter
2 occupations and 3 professions
action count
action union
action filter_type
action find
entity Blake Edwards
relation occupation
type occupation
action filter_type
action find
entity Blake Edwards
relation occupation
type profession
['Blake Edwards', 'occupation', {'concept': 'occupation'}] ['Blake Edwards', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { { resource:Blake_Edwards property:occupation ?d . ?d rdf:type ontology:occupation } UNION { resource:Blake_Edwards property:occupation ?d . ?d rdf:type ontology:profession } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q66408 Q161819
P161
Q838948
USER
Which works of art have Julie Andrews or Christine Kaufmann in their star cast ?
OR((c(Q838948),P161,Q161819), (c(Q838948),P161,Q66408))
action filter_type
action union
action find_reverse
entity Q161819
relation P161
action find_reverse
entity Q66408
relation P161
type Q838948
{'OR': [[{'concept': 'Q838948'}, 'P161', 'Q161819'], [{'concept': 'Q838948'}, 'P161', 'Q66408']]}
SELECT DISTINCT ?a WHERE { { ?a property:P161 ?v . VALUES ( ?v ) { ( resource:Q161819 ) ( resource:Q66408 ) } } . ?a rdf:type ontology:Q838948 }
Christine Kaufmann Julie Andrews
action filter_type
action union
action find_reverse
entity Julie Andrews
relation cast member
action find_reverse
entity Christine Kaufmann
relation cast member
type work of art
{'OR': [[{'concept': 'work of art'}, 'cast member', 'Julie Andrews'], [{'concept': 'work of art'}, 'cast member', 'Christine Kaufmann']]}
SELECT DISTINCT ?a WHERE { { ?a property:cast_member ?v . VALUES ( ?v ) { ( resource:Julie_Andrews ) ( resource:Christine_Kaufmann ) } } . ?a rdf:type ontology:work_of_art }
[]
work of art
Q2300172 Q3676999 Q3212421 Q513716 Q498150 Q3496921 Q1199354 Q1485790 Q833426 Q1755157
SYSTEM
Some of them are That's Life!, A Fine Romance, La Rosa di Bagdad, Bagdad Café, Taras Bulba, Star!, The Last Pedestrian, Red Rings of Fear, Day of the Idiots, S.O.B.
Q1219890 Q139542 Q3212421 Q1852239 Q686125 Q7659359 Q3548877 Q490464 Q498150 Q3921867 Q18649305 Q660509 Q1561665 Q372174 Q1755157 Q833426 Q872446 Q209170 Q8000887 Q1591594 Q276254 Q2322427 Q3996012 Q143605 Q60072 Q3791338 Q1199354 Q2995039 Q1659547 Q17509384 Q552734 Q1485790 Q2927276 Q3496921 Q737304 Q1199530 Q1046295 Q184591 Q6466833 Q1218993 Q698237 Q696096 Q1649282 Q2574548 Q2300172 Q3676999 Q2166960 Q3212040 Q1639974 Q820298 Q2722326 Q1217581 Q936037 Q513716
OR((c(Q838948),P161,Q161819), (c(Q838948),P161,Q66408))
action filter_type
action union
action find_reverse
entity Q161819
relation P161
action find_reverse
entity Q66408
relation P161
type Q838948
[ANSWERS] have Julie Andrews or Christine Kaufmann in their star cast
{'OR': [[{'concept': 'Q838948'}, 'P161', 'Q161819'], [{'concept': 'Q838948'}, 'P161', 'Q66408']]}
SELECT DISTINCT ?a WHERE { { ?a property:P161 ?v . VALUES ( ?v ) { ( resource:Q161819 ) ( resource:Q66408 ) } } . ?a rdf:type ontology:Q838948 }
The Roaring Fifties The Man Who Loved Women La Rosa di Bagdad The Americanization of Emily Lili Marleen Swordsman of Siena A Man Named Rocca Enchanted Taras Bulba First Love Willow Springs Mädchen in Uniform Town Without Pity Torn Curtain S.O.B. Day of the Idiots Egon Schiele: Excess and Punishment Mary Poppins Wild and Wonderful Hawaii Terror After Midnight The Tamarind Seed Totò, Fabrizi e i giovani d'oggi Tooth Fairy The Sound of Music Murders in the Rue Morgue The Last Pedestrian Constantine and the Cross The White Horse Inn Salto Mortale Hard to Be a God Red Rings of Fear Winter Holidays Star! Relative Values Trail of the Pink Panther The Princess Diaries 10 Labbra rosse The Last Days of Pompeii Lola The Princess Diaries 2: Royal Engagement Duet for One Thoroughly Modern Millie That's Life! A Fine Romance Rose-Girl Resli Little Miss Marker Via Mala Escape from East Berlin Darling Lili The Winemaker of Langenlois Victor Victoria Bagdad Café
That's Life!, A Fine Romance, La Rosa di Bagdad, Bagdad Café, Taras Bulba, Star!, The Last Pedestrian, Red Rings of Fear, Day of the Idiots and S.O.B. have Julie Andrews or Christine Kaufmann in their star cast
That's Life! A Fine Romance La Rosa di Bagdad Bagdad Café Taras Bulba Star! The Last Pedestrian Red Rings of Fear Day of the Idiots S.O.B.
action filter_type
action union
action find_reverse
entity Julie Andrews
relation cast member
action find_reverse
entity Christine Kaufmann
relation cast member
type work of art
{'OR': [[{'concept': 'work of art'}, 'cast member', 'Julie Andrews'], [{'concept': 'work of art'}, 'cast member', 'Christine Kaufmann']]}
SELECT DISTINCT ?a WHERE { { ?a property:cast_member ?v . VALUES ( ?v ) { ( resource:Julie_Andrews ) ( resource:Christine_Kaufmann ) } } . ?a rdf:type ontology:work_of_art }
[]