Simple Question (Direct)
Simple Question
Q461726
P463
Q874405
USER
What was Mikhail Romm a member of ?
(Q461726,P463,c(Q874405))
action filter_type
action find
entity Q461726
relation P463
type Q874405
['Q461726', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?e WHERE { resource:Q461726 property:P463 ?e . ?e rdf:type ontology:Q874405 }
Mikhail Romm
action filter_type
action find
entity Mikhail Romm
relation member of
type social group
['Mikhail Romm', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?e WHERE { resource:Mikhail_Romm property:member_of ?e . ?e rdf:type ontology:social_group }
[]
social group
Q4430504
SYSTEM
Cinematographers’ Union of the USSR
Q4430504
(Q461726,P463,c(Q874405))
action filter_type
action find
entity Q461726
relation P463
type Q874405
Mikhail Romm was a member of [ANSWER]
['Q461726', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?e WHERE { resource:Q461726 property:P463 ?e . ?e rdf:type ontology:Q874405 }
Cinematographers’ Union of the USSR
Mikhail Romm was a member of Cinematographers’ Union of the USSR
Cinematographers’ Union of the USSR
action filter_type
action find
entity Mikhail Romm
relation member of
type social group
['Mikhail Romm', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?e WHERE { resource:Mikhail_Romm property:member_of ?e . ?e rdf:type ontology:social_group }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q461726
P58
Q838948
USER
What is Mikhail Romm a screwriter of ?
(c(Q838948),P58,Q461726)
action filter_type
action find_reverse
entity Q461726
relation P58
type Q838948
[{'concept': 'Q838948'}, 'P58', 'Q461726']
SELECT DISTINCT ?g WHERE { ?g property:P58 resource:Q461726 . ?g rdf:type ontology:Q838948 }
Mikhail Romm
action filter_type
action find_reverse
entity Mikhail Romm
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Mikhail Romm']
SELECT DISTINCT ?g WHERE { ?g property:screenwriter resource:Mikhail_Romm . ?g rdf:type ontology:work_of_art }
[]
work of art
Q4400743
SYSTEM
The Russian Question
Q4400743
(c(Q838948),P58,Q461726)
action filter_type
action find_reverse
entity Q461726
relation P58
type Q838948
Screwriter Mikhail Romm is in [ANSWER] a
[{'concept': 'Q838948'}, 'P58', 'Q461726']
SELECT DISTINCT ?g WHERE { ?g property:P58 resource:Q461726 . ?g rdf:type ontology:Q838948 }
The Russian Question
Screwriter Mikhail Romm is in The Russian Question a
The Russian Question
action filter_type
action find_reverse
entity Mikhail Romm
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Mikhail Romm']
SELECT DISTINCT ?g WHERE { ?g property:screenwriter resource:Mikhail_Romm . ?g rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q461726
P161
Q838948
USER
Which work of art has Mikhail Romm in its star cast ?
(c(Q838948),P161,Q461726)
action filter_type
action find_reverse
entity Q461726
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q461726']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q838948 . ?r property:P161 resource:Q461726 }
Mikhail Romm
action filter_type
action find_reverse
entity Mikhail Romm
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Mikhail Romm']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:work_of_art . ?r property:cast_member resource:Mikhail_Romm }
[]
work of art
Q1198723
SYSTEM
Triumph Over Violence
Q1198723
(c(Q838948),P161,Q461726)
action filter_type
action find_reverse
entity Q461726
relation P161
type Q838948
[ANSWER] has Mikhail Romm in its star cast
[{'concept': 'Q838948'}, 'P161', 'Q461726']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q838948 . ?r property:P161 resource:Q461726 }
Triumph Over Violence
Triumph Over Violence has Mikhail Romm in its star cast
Triumph Over Violence
action filter_type
action find_reverse
entity Mikhail Romm
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Mikhail Romm']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:work_of_art . ?r property:cast_member resource:Mikhail_Romm }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q461726
P26
Q502895
USER
Which person has that one as spouse ?
(c(Q502895),P26,Q1198723)
action filter_type
action find
entity Q461726
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q1198723']
SELECT DISTINCT ?l WHERE { resource:Q461726 property:P26 ?l . ?l rdf:type ontology:Q502895 }
Mikhail Romm
action filter_type
action find
entity Mikhail Romm
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Triumph Over Violence']
SELECT DISTINCT ?l WHERE { resource:Mikhail_Romm property:spouse ?l . ?l rdf:type ontology:common_name }
[]
common name
Q1039405
SYSTEM
Yelena Alexandrovna Kuzmina
Q1039405
(c(Q502895),P26,Q1198723)
action filter_type
action find
entity Q461726
relation P26
type Q502895
[ANSWER] has that one as spouse
[{'concept': 'Q502895'}, 'P26', 'Q1198723']
SELECT DISTINCT ?l WHERE { resource:Q461726 property:P26 ?l . ?l rdf:type ontology:Q502895 }
Yelena Alexandrovna Kuzmina
Yelena Alexandrovna Kuzmina has that one as spouse
Yelena Alexandrovna Kuzmina
action filter_type
action find
entity Mikhail Romm
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Triumph Over Violence']
SELECT DISTINCT ?l WHERE { resource:Mikhail_Romm property:spouse ?l . ?l rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1039405 Q13433078
P26
Q502895
USER
Is Babette Moonen married to that one ?
(Q13433078,P26,Q1039405)
action is_in
entity Q13433078
action find
entity Q1039405
relation P26
['Q13433078', 'P26', 'Q1039405']
ASK WHERE { resource:Q1039405 property:P26 resource:Q13433078 }
Yelena Alexandrovna Kuzmina Babette Moonen
action is_in
entity Babette Moonen
action find
entity Yelena Alexandrovna Kuzmina
relation spouse
['Babette Moonen', 'spouse', 'Yelena Alexandrovna Kuzmina']
ASK WHERE { resource:Yelena_Alexandrovna_Kuzmina property:spouse resource:Babette_Moonen }
[]
common name
SYSTEM
NO
(Q13433078,P26,Q1039405)
action is_in
entity Q13433078
action find
entity Q1039405
relation P26
[ANSWER]
['Q13433078', 'P26', 'Q1039405']
ASK WHERE { resource:Q1039405 property:P26 resource:Q13433078 }
No
action is_in
entity Babette Moonen
action find
entity Yelena Alexandrovna Kuzmina
relation spouse
['Babette Moonen', 'spouse', 'Yelena Alexandrovna Kuzmina']
ASK WHERE { resource:Yelena_Alexandrovna_Kuzmina property:spouse resource:Babette_Moonen }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1198723 Q461726
P57
Q502895
USER
Did Mikhail Romm direct Triumph Over Violence ?
(Q1198723,P57,Q461726)
action is_in
entity Q461726
action find
entity Q1198723
relation P57
['Q1198723', 'P57', 'Q461726']
ASK WHERE { resource:Q1198723 property:P57 resource:Q461726 }
Triumph Over Violence Mikhail Romm
action is_in
entity Mikhail Romm
action find
entity Triumph Over Violence
relation director
['Triumph Over Violence', 'director', 'Mikhail Romm']
ASK WHERE { resource:Triumph_Over_Violence property:director resource:Mikhail_Romm }
[]
common name
SYSTEM
YES
(Q1198723,P57,Q461726)
action is_in
entity Q461726
action find
entity Q1198723
relation P57
[ANSWER]
['Q1198723', 'P57', 'Q461726']
ASK WHERE { resource:Q1198723 property:P57 resource:Q461726 }
Yes
action is_in
entity Mikhail Romm
action find
entity Triumph Over Violence
relation director
['Triumph Over Violence', 'director', 'Mikhail Romm']
ASK WHERE { resource:Triumph_Over_Violence property:director resource:Mikhail_Romm }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4400743
P840
Q15617994
USER
Which narrative location is The Russian Question set in ?
(Q4400743,P840,c(Q15617994))
action filter_type
action find
entity Q4400743
relation P840
type Q15617994
['Q4400743', 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . resource:Q4400743 property:P840 ?k }
The Russian Question
action filter_type
action find
entity The Russian Question
relation narrative location
type designation for an administrative territorial entity
['The Russian Question', 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:The_Russian_Question property:narrative_location ?k }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q4400743,P840,c(Q15617994))
action filter_type
action find
entity Q4400743
relation P840
type Q15617994
The Russian Question is set [ANSWER]
['Q4400743', 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . resource:Q4400743 property:P840 ?k }
United States of America
The Russian Question is set United States of America
United States of America
action filter_type
action find
entity The Russian Question
relation narrative location
type designation for an administrative territorial entity
['The Russian Question', 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:The_Russian_Question property:narrative_location ?k }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4400743
P344
Q502895
USER
Who is appointed as the cinematographer of that work of art ?
(Q30,P344,c(Q502895))
action filter_type
action find
entity Q4400743
relation P344
type Q502895
['Q30', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q4400743 property:P344 ?o . ?o rdf:type ontology:Q502895 }
The Russian Question
action filter_type
action find
entity The Russian Question
relation director of photography
type common name
['United States of America', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:The_Russian_Question property:director_of_photography ?o . ?o rdf:type ontology:common_name }
[]
common name
Q4124222
SYSTEM
Boris Volchek
Q4124222
(Q30,P344,c(Q502895))
action filter_type
action find
entity Q4400743
relation P344
type Q502895
[ANSWER] is appointed as the cinematographer of that work of art
['Q30', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q4400743 property:P344 ?o . ?o rdf:type ontology:Q502895 }
Boris Volchek
Boris Volchek is appointed as the cinematographer of that work of art
Boris Volchek
action filter_type
action find
entity The Russian Question
relation director of photography
type common name
['United States of America', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:The_Russian_Question property:director_of_photography ?o . ?o rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P127
Q874405 Q131257 Q11032
USER
Which social groups do around 2 intellectual properties and newspapers belong to ?
(c(Q131257)|c(Q11032),P127,c(Q874405))
action approx
action union
action find_reverse_tuple_counts
relation P127
type Q874405
type Q131257
action find_reverse_tuple_counts
relation P127
type Q874405
type Q11032
value 2
[[{'concept': 'Q131257'}, {'concept': 'Q11032'}], 'P127', {'concept': 'Q874405'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) ?x WHERE { { ?w property:P127 ?x . ?x rdf:type ontology:Q874405 . ?w rdf:type ontology:Q131257 } UNION { ?x rdf:type ontology:Q874405 . ?w rdf:type ontology:Q11032 . ?w property:P127 ?x } } GROUP BY ?x } . FILTER ( ?s = 2 ) }
action approx
action union
action find_reverse_tuple_counts
relation owned by
type social group
type intellectual property
action find_reverse_tuple_counts
relation owned by
type social group
type newspaper
value 2
[[{'concept': 'intellectual property'}, {'concept': 'newspaper'}], 'owned by', {'concept': 'social group'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) ?x WHERE { { ?w property:owned_by ?x . ?x rdf:type ontology:social_group . ?w rdf:type ontology:intellectual_property } UNION { ?x rdf:type ontology:social_group . ?w rdf:type ontology:newspaper . ?w property:owned_by ?x } } GROUP BY ?x } . FILTER ( ?s = 2 ) }
[]
social group intellectual property newspaper
Q7656011 Q14289857
SYSTEM
Swift Communications, News Corp
Q7656011 Q14289857
(c(Q131257)|c(Q11032),P127,c(Q874405))
action approx
action union
action find_reverse_tuple_counts
relation P127
type Q874405
type Q131257
action find_reverse_tuple_counts
relation P127
type Q874405
type Q11032
value 2
[ANSWERS] around 2 intellectual properties and newspapers belong to
[[{'concept': 'Q131257'}, {'concept': 'Q11032'}], 'P127', {'concept': 'Q874405'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) ?x WHERE { { ?w property:P127 ?x . ?x rdf:type ontology:Q874405 . ?w rdf:type ontology:Q131257 } UNION { ?x rdf:type ontology:Q874405 . ?w rdf:type ontology:Q11032 . ?w property:P127 ?x } } GROUP BY ?x } . FILTER ( ?s = 2 ) }
Swift Communications News Corp
Swift Communications and News Corp around 2 intellectual properties and newspapers belong to
Swift Communications News Corp
action approx
action union
action find_reverse_tuple_counts
relation owned by
type social group
type intellectual property
action find_reverse_tuple_counts
relation owned by
type social group
type newspaper
value 2
[[{'concept': 'intellectual property'}, {'concept': 'newspaper'}], 'owned by', {'concept': 'social group'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) ?x WHERE { { ?w property:owned_by ?x . ?x rdf:type ontology:social_group . ?w rdf:type ontology:intellectual_property } UNION { ?x rdf:type ontology:social_group . ?w rdf:type ontology:newspaper . ?w property:owned_by ?x } } GROUP BY ?x } . FILTER ( ?s = 2 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q6670591
P355
Q874405 Q43229 Q874405
USER
Which social groups are the subordinates of lesser number of organizations or social groups than London Midland Region of British Railways ?
(c(Q43229)|c(Q874405),P355,c(Q874405))
action less
action union
action find_reverse_tuple_counts
relation P355
type Q874405
type Q43229
action find_reverse_tuple_counts
relation P355
type Q874405
type Q874405
action count
action filter_multi_types
action find_reverse
entity Q6670591
relation P355
type Q43229
type Q874405
[[{'concept': 'Q43229'}, {'concept': 'Q874405'}], 'P355', {'concept': 'Q874405'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { ?p property:P355 resource:Q6670591 . { { ?p rdf:type ontology:Q43229 } UNION { ?p rdf:type ontology:Q874405 } } } } . FILTER ( ?h < ?g ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) ?c WHERE { { ?l property:P355 ?c . ?c rdf:type ontology:Q874405 . ?l rdf:type ontology:Q43229 } UNION { ?c rdf:type ontology:Q874405 . ?l rdf:type ontology:Q874405 . ?l property:P355 ?c } } GROUP BY ?c } }
London Midland Region of British Railways
action less
action union
action find_reverse_tuple_counts
relation subsidiary
type social group
type organization
action find_reverse_tuple_counts
relation subsidiary
type social group
type social group
action count
action filter_multi_types
action find_reverse
entity London Midland Region of British Railways
relation subsidiary
type organization
type social group
[[{'concept': 'organization'}, {'concept': 'social group'}], 'subsidiary', {'concept': 'social group'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { ?p property:subsidiary resource:London_Midland_Region_of_British_Railways . { { ?p rdf:type ontology:organization } UNION { ?p rdf:type ontology:social_group } } } } . FILTER ( ?h < ?g ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) ?c WHERE { { ?l property:subsidiary ?c . ?c rdf:type ontology:social_group . ?l rdf:type ontology:organization } UNION { ?c rdf:type ontology:social_group . ?l rdf:type ontology:social_group . ?l property:subsidiary ?c } } GROUP BY ?c } }
[]
social group organization social group
Q7660181 Q740308 Q15293666
SYSTEM
Sydney Trains, UNICEF, Straßenbahn Kleve
Q2522363 Q751152 Q928183 Q13359824 Q7660181 Q781027 Q13218607 Q3274087 Q13416804 Q161718 Q477386 Q5153705 Q3954348 Q890180 Q15293666 Q1411739 Q2990871 Q740308 Q549157
(c(Q43229)|c(Q874405),P355,c(Q874405))
action less
action union
action find_reverse_tuple_counts
relation P355
type Q874405
type Q43229
action find_reverse_tuple_counts
relation P355
type Q874405
type Q874405
action count
action filter_multi_types
action find_reverse
entity Q6670591
relation P355
type Q43229
type Q874405
[ANSWERS] are the subordinates of lesser number of organizations or social groups than London Midland Region of British Railways
[[{'concept': 'Q43229'}, {'concept': 'Q874405'}], 'P355', {'concept': 'Q874405'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { ?p property:P355 resource:Q6670591 . { { ?p rdf:type ontology:Q43229 } UNION { ?p rdf:type ontology:Q874405 } } } } . FILTER ( ?h < ?g ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) ?c WHERE { { ?l property:P355 ?c . ?c rdf:type ontology:Q874405 . ?l rdf:type ontology:Q43229 } UNION { ?c rdf:type ontology:Q874405 . ?l rdf:type ontology:Q874405 . ?l property:P355 ?c } } GROUP BY ?c } }
Victor Gollancz Ltd Astrium Services SABCA Immobilière Dassault Sydney Trains Audi Hungaria Motor Kft. RBS Securities United Front Work Department Warner Bros. Animation United Nations Development Programme EADS Astrium Space Transportation Commonwealth Business Council Commonwealth Secretariat Boeing Canada Straßenbahn Kleve Time Inc. Comptoir métallurgique marocain UNICEF Airlines Tonga
Sydney Trains, UNICEF and Straßenbahn Kleve are the subordinates of lesser number of organizations or social groups than London Midland Region of British Railways
Sydney Trains UNICEF Straßenbahn Kleve
action less
action union
action find_reverse_tuple_counts
relation subsidiary
type social group
type organization
action find_reverse_tuple_counts
relation subsidiary
type social group
type social group
action count
action filter_multi_types
action find_reverse
entity London Midland Region of British Railways
relation subsidiary
type organization
type social group
[[{'concept': 'organization'}, {'concept': 'social group'}], 'subsidiary', {'concept': 'social group'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { ?p property:subsidiary resource:London_Midland_Region_of_British_Railways . { { ?p rdf:type ontology:organization } UNION { ?p rdf:type ontology:social_group } } } } . FILTER ( ?h < ?g ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) ?c WHERE { { ?l property:subsidiary ?c . ?c rdf:type ontology:social_group . ?l rdf:type ontology:organization } UNION { ?c rdf:type ontology:social_group . ?l rdf:type ontology:social_group . ?l property:subsidiary ?c } } GROUP BY ?c } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q4929965
P355
Q874405 Q43229 Q874405
USER
And also tell me about Blue Triangle?
(c(Q43229)|c(Q874405),P355,c(Q874405))
action less
action union
action find_reverse_tuple_counts
relation P355
type Q874405
type Q43229
action find_reverse_tuple_counts
relation P355
type Q874405
type Q874405
action count
action filter_multi_types
action find_reverse
entity Q4929965
relation P355
type Q43229
type Q874405
[[{'concept': 'Q43229'}, {'concept': 'Q874405'}], 'P355', {'concept': 'Q874405'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) ?w WHERE { ?m rdf:type ?a . VALUES ( ?a ) { ( ontology:Q43229 ) ( ontology:Q874405 ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { ?l property:P355 resource:Q4929965 . { VALUES ( ?d ) { ( ontology:Q43229 ) ( ontology:Q874405 ) } . ?l rdf:type ?d } } } . FILTER ( ?n < ?s ) }
Blue Triangle
action less
action union
action find_reverse_tuple_counts
relation subsidiary
type social group
type organization
action find_reverse_tuple_counts
relation subsidiary
type social group
type social group
action count
action filter_multi_types
action find_reverse
entity Blue Triangle
relation subsidiary
type organization
type social group
[[{'concept': 'organization'}, {'concept': 'social group'}], 'subsidiary', {'concept': 'social group'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) ?w WHERE { ?m rdf:type ?a . VALUES ( ?a ) { ( ontology:organization ) ( ontology:social_group ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { ?l property:subsidiary resource:Blue_Triangle . { VALUES ( ?d ) { ( ontology:organization ) ( ontology:social_group ) } . ?l rdf:type ?d } } } . FILTER ( ?n < ?s ) }
[]
social group organization social group
Q7660181 Q740308 Q15293666
SYSTEM
Sydney Trains, UNICEF, Straßenbahn Kleve
Q2522363 Q751152 Q928183 Q13359824 Q7660181 Q781027 Q13218607 Q3274087 Q13416804 Q161718 Q477386 Q5153705 Q3954348 Q890180 Q15293666 Q1411739 Q2990871 Q740308 Q549157
(c(Q43229)|c(Q874405),P355,c(Q874405))
action less
action union
action find_reverse_tuple_counts
relation P355
type Q874405
type Q43229
action find_reverse_tuple_counts
relation P355
type Q874405
type Q874405
action count
action filter_multi_types
action find_reverse
entity Q4929965
relation P355
type Q43229
type Q874405
[ANSWERS]
[[{'concept': 'Q43229'}, {'concept': 'Q874405'}], 'P355', {'concept': 'Q874405'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) ?w WHERE { ?m rdf:type ?a . VALUES ( ?a ) { ( ontology:Q43229 ) ( ontology:Q874405 ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { ?l property:P355 resource:Q4929965 . { VALUES ( ?d ) { ( ontology:Q43229 ) ( ontology:Q874405 ) } . ?l rdf:type ?d } } } . FILTER ( ?n < ?s ) }
Victor Gollancz Ltd Astrium Services SABCA Immobilière Dassault Sydney Trains Audi Hungaria Motor Kft. RBS Securities United Front Work Department Warner Bros. Animation United Nations Development Programme EADS Astrium Space Transportation Commonwealth Business Council Commonwealth Secretariat Boeing Canada Straßenbahn Kleve Time Inc. Comptoir métallurgique marocain UNICEF Airlines Tonga
Sydney Trains UNICEF Straßenbahn Kleve
action less
action union
action find_reverse_tuple_counts
relation subsidiary
type social group
type organization
action find_reverse_tuple_counts
relation subsidiary
type social group
type social group
action count
action filter_multi_types
action find_reverse
entity Blue Triangle
relation subsidiary
type organization
type social group
[[{'concept': 'organization'}, {'concept': 'social group'}], 'subsidiary', {'concept': 'social group'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) ?w WHERE { ?m rdf:type ?a . VALUES ( ?a ) { ( ontology:organization ) ( ontology:social_group ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { ?l property:subsidiary resource:Blue_Triangle . { VALUES ( ?d ) { ( ontology:organization ) ( ontology:social_group ) } . ?l rdf:type ?d } } } . FILTER ( ?n < ?s ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1405943 Q4400743
P161
Q502895
USER
Which people are in The Russian Question or Wise Guys ?
OR((Q4400743,P161,c(Q502895)), (Q1405943,P161,c(Q502895)))
action filter_type
action union
action find
entity Q4400743
relation P161
action find
entity Q1405943
relation P161
type Q502895
{'OR': [['Q4400743', 'P161', {'concept': 'Q502895'}], ['Q1405943', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . { ?s property:P161 ?l . VALUES ( ?s ) { ( resource:Q4400743 ) ( resource:Q1405943 ) } } }
Wise Guys The Russian Question
action filter_type
action union
action find
entity The Russian Question
relation cast member
action find
entity Wise Guys
relation cast member
type common name
{'OR': [['The Russian Question', 'cast member', {'concept': 'common name'}], ['Wise Guys', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . { ?s property:cast_member ?l . VALUES ( ?s ) { ( resource:The_Russian_Question ) ( resource:Wise_Guys ) } } }
[]
common name
Q2523671 Q289068 Q2848697 Q3193094 Q2847533 Q1685858 Q3167806 Q3240824 Q3490942 Q3094122
SYSTEM
Some of them are Sacha Briquet, Bernadette Lafont, André Thomas, Karen Blanguernon, André Clair, Jean Tissier, Jean-Marie Rivière, Liliane David, Sophie Grimaldi, Gabrielle Doulcet
Q32439 Q2997856 Q2958498 Q2272402 Q539582 Q2847533 Q3172199 Q338617 Q55375 Q3379527 Q3176150 Q4060002 Q3130587 Q1867601 Q3094122 Q3490942 Q3293403 Q3168139 Q3367397 Q1685858 Q950328 Q1784382 Q3193094 Q2831120 Q289068 Q3167806 Q3218782 Q3170868 Q2523671 Q3240824 Q3421102 Q3446801 Q106326 Q2958517 Q2848697 Q3167553 Q16185216 Q3080625
OR((Q4400743,P161,c(Q502895)), (Q1405943,P161,c(Q502895)))
action filter_type
action union
action find
entity Q4400743
relation P161
action find
entity Q1405943
relation P161
type Q502895
[ANSWERS] are in The Russian Question or Wise Guys
{'OR': [['Q4400743', 'P161', {'concept': 'Q502895'}], ['Q1405943', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . { ?s property:P161 ?l . VALUES ( ?s ) { ( resource:Q4400743 ) ( resource:Q1405943 ) } } }
Stéphane Audran Corrado Guarducci Charles Bayard Serge Bento Juliette Mayniel André Clair Jean Galland Pierre Vernier Claude Chabrol Philippe Castelli Jeanne Pérez Vsevolod Aksyonov Henri Attal Dominique Zardi Gabrielle Doulcet Sophie Grimaldi Mario David Jean-Michel Rouzière Pascal Fardoulis Jean Tissier Laura Carli Michel Beaune Karen Blanguernon Albert Dinan Bernadette Lafont Jean-Marie Rivière Laure Paillette Jean Bouchaud Sacha Briquet Liliane David Raymond Pélissier Rudy Lenoir Jean-Claude Brialy Charles Belmont André Thomas Jean-Marie Arnoux Jean-Louis Maury France Asselin
Sacha Briquet, Bernadette Lafont, André Thomas, Karen Blanguernon, André Clair, Jean Tissier, Jean-Marie Rivière, Liliane David, Sophie Grimaldi and Gabrielle Doulcet are in The Russian Question or Wise Guys
Sacha Briquet Bernadette Lafont André Thomas Karen Blanguernon André Clair Jean Tissier Jean-Marie Rivière Liliane David Sophie Grimaldi Gabrielle Doulcet
action filter_type
action union
action find
entity The Russian Question
relation cast member
action find
entity Wise Guys
relation cast member
type common name
{'OR': [['The Russian Question', 'cast member', {'concept': 'common name'}], ['Wise Guys', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . { ?s property:cast_member ?l . VALUES ( ?s ) { ( resource:The_Russian_Question ) ( resource:Wise_Guys ) } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q15983533
P161
Q838948
USER
Do Fateh have those people in their star cast ?
(Q15983533,P161,Q2523671) (Q15983533,P161,Q289068) (Q15983533,P161,Q2848697) (Q15983533,P161,Q3193094) (Q15983533,P161,Q2847533) (Q15983533,P161,Q1685858) (Q15983533,P161,Q3167806) (Q15983533,P161,Q3240824) (Q15983533,P161,Q3490942) (Q15983533,P161,Q3094122)
action is_in
entity prev_answer
action find
entity Q15983533
relation P161
['Q15983533', 'P161', 'Q2523671'] ['Q15983533', 'P161', 'Q289068'] ['Q15983533', 'P161', 'Q2848697'] ['Q15983533', 'P161', 'Q3193094'] ['Q15983533', 'P161', 'Q2847533'] ['Q15983533', 'P161', 'Q1685858'] ['Q15983533', 'P161', 'Q3167806'] ['Q15983533', 'P161', 'Q3240824'] ['Q15983533', 'P161', 'Q3490942'] ['Q15983533', 'P161', 'Q3094122']
ASK WHERE { VALUES ( ?k ) { ( resource:Q32439 ) ( resource:Q2997856 ) ( resource:Q2958498 ) } . resource:Q15983533 property:P161 ?k }
Fateh
action is_in
entity prev_answer
action find
entity Fateh
relation cast member
['Fateh', 'cast member', 'Sacha Briquet'] ['Fateh', 'cast member', 'Bernadette Lafont'] ['Fateh', 'cast member', 'André Thomas'] ['Fateh', 'cast member', 'Karen Blanguernon'] ['Fateh', 'cast member', 'André Clair'] ['Fateh', 'cast member', 'Jean Tissier'] ['Fateh', 'cast member', 'Jean-Marie Rivière'] ['Fateh', 'cast member', 'Liliane David'] ['Fateh', 'cast member', 'Sophie Grimaldi'] ['Fateh', 'cast member', 'Gabrielle Doulcet']
ASK WHERE { VALUES ( ?k ) { ( resource:Stéphane_Audran ) ( resource:Corrado_Guarducci ) ( resource:Charles_Bayard ) } . resource:Fateh property:cast_member ?k }
[]
work of art
SYSTEM
NO
(Q15983533,P161,Q2523671) (Q15983533,P161,Q289068) (Q15983533,P161,Q2848697) (Q15983533,P161,Q3193094) (Q15983533,P161,Q2847533) (Q15983533,P161,Q1685858) (Q15983533,P161,Q3167806) (Q15983533,P161,Q3240824) (Q15983533,P161,Q3490942) (Q15983533,P161,Q3094122)
action is_in
entity prev_answer
action find
entity Q15983533
relation P161
[ANSWER]
['Q15983533', 'P161', 'Q2523671'] ['Q15983533', 'P161', 'Q289068'] ['Q15983533', 'P161', 'Q2848697'] ['Q15983533', 'P161', 'Q3193094'] ['Q15983533', 'P161', 'Q2847533'] ['Q15983533', 'P161', 'Q1685858'] ['Q15983533', 'P161', 'Q3167806'] ['Q15983533', 'P161', 'Q3240824'] ['Q15983533', 'P161', 'Q3490942'] ['Q15983533', 'P161', 'Q3094122']
ASK WHERE { VALUES ( ?k ) { ( resource:Q32439 ) ( resource:Q2997856 ) ( resource:Q2958498 ) } . resource:Q15983533 property:P161 ?k }
No
action is_in
entity prev_answer
action find
entity Fateh
relation cast member
['Fateh', 'cast member', 'Sacha Briquet'] ['Fateh', 'cast member', 'Bernadette Lafont'] ['Fateh', 'cast member', 'André Thomas'] ['Fateh', 'cast member', 'Karen Blanguernon'] ['Fateh', 'cast member', 'André Clair'] ['Fateh', 'cast member', 'Jean Tissier'] ['Fateh', 'cast member', 'Jean-Marie Rivière'] ['Fateh', 'cast member', 'Liliane David'] ['Fateh', 'cast member', 'Sophie Grimaldi'] ['Fateh', 'cast member', 'Gabrielle Doulcet']
ASK WHERE { VALUES ( ?k ) { ( resource:Stéphane_Audran ) ( resource:Corrado_Guarducci ) ( resource:Charles_Bayard ) } . resource:Fateh property:cast_member ?k }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q30 Q5314496 Q5525369
P6
Q502895
USER
Does United States of America have a government lead by Duncan McDonald and Gary Kirby ?
(Q30,P6,Q5314496) (Q30,P6,Q5525369)
action is_in
entity Q30
action intersection
action find_reverse
entity Q5314496
relation P6
action find_reverse
entity Q5525369
relation P6
['Q30', 'P6', 'Q5314496'] ['Q30', 'P6', 'Q5525369']
ASK WHERE { resource:Q30 property:P6 resource:Q5314496 . resource:Q30 property:P6 resource:Q5525369 }
United States of America Duncan McDonald Gary Kirby
action is_in
entity United States of America
action intersection
action find_reverse
entity Duncan McDonald
relation head of government
action find_reverse
entity Gary Kirby
relation head of government
['United States of America', 'head of government', 'Duncan McDonald'] ['United States of America', 'head of government', 'Gary Kirby']
ASK WHERE { resource:United_States_of_America property:head_of_government resource:Duncan_McDonald . resource:United_States_of_America property:head_of_government resource:Gary_Kirby }
[]
common name
SYSTEM
NO
(Q30,P6,Q5314496) (Q30,P6,Q5525369)
action is_in
entity Q30
action intersection
action find_reverse
entity Q5314496
relation P6
action find_reverse
entity Q5525369
relation P6
[ANSWER]
['Q30', 'P6', 'Q5314496'] ['Q30', 'P6', 'Q5525369']
ASK WHERE { resource:Q30 property:P6 resource:Q5314496 . resource:Q30 property:P6 resource:Q5525369 }
No
action is_in
entity United States of America
action intersection
action find_reverse
entity Duncan McDonald
relation head of government
action find_reverse
entity Gary Kirby
relation head of government
['United States of America', 'head of government', 'Duncan McDonald'] ['United States of America', 'head of government', 'Gary Kirby']
ASK WHERE { resource:United_States_of_America property:head_of_government resource:Duncan_McDonald . resource:United_States_of_America property:head_of_government resource:Gary_Kirby }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P941
Q838948 Q15709879 Q15416
USER
How many works of art were around 1 artwork series or television programs inspired by ?
(c(Q15709879)|c(Q15416),P941,c(Q838948))
action count
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q838948
type Q15709879
action find_reverse_tuple_counts
relation P941
type Q838948
type Q15416
value 1
[[{'concept': 'Q15709879'}, {'concept': 'Q15416'}], 'P941', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) ?f WHERE { ?c rdf:type ?m . VALUES ( ?m ) { ( ontology:Q15416 ) ( ontology:Q15709879 ) } } GROUP BY ?f } . FILTER ( ?i = 1 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type work of art
type artwork series
action find_reverse_tuple_counts
relation inspired by
type work of art
type television program
value 1
[[{'concept': 'artwork series'}, {'concept': 'television program'}], 'inspired by', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) ?f WHERE { ?c rdf:type ?m . VALUES ( ?m ) { ( ontology:television_program ) ( ontology:artwork_series ) } } GROUP BY ?f } . FILTER ( ?i = 1 ) }
[]
work of art artwork series television program
SYSTEM
8
Q1198611 Q2568137 Q1432001 Q1144983 Q7445655 Q4936847 Q1170100 Q169082
(c(Q15709879)|c(Q15416),P941,c(Q838948))
action count
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q838948
type Q15709879
action find_reverse_tuple_counts
relation P941
type Q838948
type Q15416
value 1
[ANSWER]
[[{'concept': 'Q15709879'}, {'concept': 'Q15416'}], 'P941', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) ?f WHERE { ?c rdf:type ?m . VALUES ( ?m ) { ( ontology:Q15416 ) ( ontology:Q15709879 ) } } GROUP BY ?f } . FILTER ( ?i = 1 ) }
The Absent-Minded Professor How to Explain Pictures to a Dead Hare Torquato Tasso Animal Kingdom Seedbed Body Pressure The Philadelphia Experiment 10 Things I Hate About You
8
action count
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type work of art
type artwork series
action find_reverse_tuple_counts
relation inspired by
type work of art
type television program
value 1
[[{'concept': 'artwork series'}, {'concept': 'television program'}], 'inspired by', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) ?f WHERE { ?c rdf:type ?m . VALUES ( ?m ) { ( ontology:television_program ) ( ontology:artwork_series ) } } GROUP BY ?f } . FILTER ( ?i = 1 ) }
[]