Simple Question (Direct)
Simple Question
Q21176184
P69
Q163740
USER
Which nonprofit organizations were Jewel Freeman Graham educated at ?
(Q21176184,P69,c(Q163740))
action filter_type
action find
entity Q21176184
relation P69
type Q163740
['Q21176184', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q163740 . resource:Q21176184 property:P69 ?o }
Jewel Freeman Graham
action filter_type
action find
entity Jewel Freeman Graham
relation educated at
type nonprofit organization
['Jewel Freeman Graham', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:nonprofit_organization . resource:Jewel_Freeman_Graham property:educated_at ?o }
[]
nonprofit organization
Q1047060 Q49087
SYSTEM
Case Western Reserve University, Fisk University
Q1047060 Q49087
(Q21176184,P69,c(Q163740))
action filter_type
action find
entity Q21176184
relation P69
type Q163740
Jewel Freeman Graham were educated at [ANSWERS]
['Q21176184', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q163740 . resource:Q21176184 property:P69 ?o }
Case Western Reserve University Fisk University
Jewel Freeman Graham were educated at Case Western Reserve University and Fisk University
Case Western Reserve University Fisk University
action filter_type
action find
entity Jewel Freeman Graham
relation educated at
type nonprofit organization
['Jewel Freeman Graham', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:nonprofit_organization . resource:Jewel_Freeman_Graham property:educated_at ?o }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1047060 Q49087
P108
Q502895
USER
Who works for Case Western Reserve University and Fisk University ?
(c(Q502895),P108,Q1047060) (c(Q502895),P108,Q49087)
action union
action filter_type
action find_reverse
entity Q1047060
relation P108
type Q502895
action filter_type
action find_reverse
entity Q49087
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q1047060'] [{'concept': 'Q502895'}, 'P108', 'Q49087']
SELECT DISTINCT ?j WHERE { ?j property:P108 ?x . VALUES ( ?x ) { ( resource:Q1047060 ) ( resource:Q49087 ) } }
Case Western Reserve University Fisk University
action union
action filter_type
action find_reverse
entity Case Western Reserve University
relation employer
type common name
action filter_type
action find_reverse
entity Fisk University
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Case Western Reserve University'] [{'concept': 'common name'}, 'employer', 'Fisk University']
SELECT DISTINCT ?j WHERE { ?j property:employer ?x . VALUES ( ?x ) { ( resource:Case_Western_Reserve_University ) ( resource:Fisk_University ) } }
[]
common name
Q127234 Q191922 Q2251146
SYSTEM
Albert A. Michelson, Frederick Reines, William Ennis Thomson
Q20738650 Q16986338 Q567372 Q7620382 Q17421343 Q4795299 Q6162792 Q16864483 Q7793799 Q6038296 Q7798293 Q5489309 Q16983740 Q2600579 Q1376271 Q15435397 Q20738719 Q4792164 Q3809421 Q7342597 Q3436529 Q8008886 Q7329351 Q20679429 Q4799194 Q5733426 Q7114114 Q320889 Q1610250 Q5611515 Q5224034 Q16132687 Q5549462 Q525301 Q7109575 Q17319044 Q3849439 Q1590597 Q6255926 Q5342298 Q7349506 Q7175061 Q4747924 Q5250520 Q3395288 Q4784513 Q3162705 Q6796615 Q16206987 Q5249361 Q5334995 Q8012569 Q5075917 Q191922 Q5232552 Q16151777 Q7693249 Q4799810 Q6512919 Q7346567 Q3181418 Q5386068 Q7343115 Q6551534 Q464614 Q1066934 Q7346548 Q7324289 Q5423403 Q127234 Q20737362 Q16105842 Q1314693 Q18745815 Q470468 Q15436132 Q17466309 Q15431082 Q15130430 Q7291507 Q11103067 Q7347652 Q7087529 Q6514276 Q7863527 Q5232183 Q7346931 Q4889730 Q7108972 Q17403963 Q6167265 Q1431186 Q6253889 Q5083559 Q6760927 Q7626690 Q6796513 Q7519470 Q7964341 Q6474469 Q7299229 Q142881 Q6834165 Q4794248 Q1934348 Q4910459 Q6144941 Q5728954 Q5662623 Q6144848 Q1919788 Q4707983 Q1398542 Q7288528 Q822832 Q309885 Q18358428 Q5932013 Q6766473 Q16019661 Q21919570 Q68118 Q2251146 Q15485645 Q15121026 Q16858997 Q5301671 Q16107244 Q23725813
(c(Q502895),P108,Q1047060) (c(Q502895),P108,Q49087)
action union
action filter_type
action find_reverse
entity Q1047060
relation P108
type Q502895
action filter_type
action find_reverse
entity Q49087
relation P108
type Q502895
[ANSWERS] work for Case Western Reserve University and Fisk University
[{'concept': 'Q502895'}, 'P108', 'Q1047060'] [{'concept': 'Q502895'}, 'P108', 'Q49087']
SELECT DISTINCT ?j WHERE { ?j property:P108 ?x . VALUES ( ?x ) { ( resource:Q1047060 ) ( resource:Q49087 ) } }
Robert Samuel Rogers Shikha Varma Jacques Lusseyran Story Landis Grace Coyle Saba Valadkhan Jason John Nassau Ted Steinberg Thomas Sayers Ellis Insoo Hyun Thrity Umrigar Frank Ryan Wulf H. Utian Yohannes Haile-Selassie Melvyn Goldstein Harold Ginsberg Kathryn Gutzwiller Arlene Mosel John Little Robert C. Elston Robert Walser William F. Vallicella Richard T. Johnson Harold North Fowler Arthur J. Lohwater Herbert A. Shepard Ovid C. Lewis Edward W. Morley Herman D. Stein Grover C. Gilmore Darlyne Bailey Chaim Sukenik Gerald P. Lopez Maria Siemionow Otto Ege George Veras Mark Avsec Elliott Cutler John Ruhl Edward Christopher Williams Robert S. Shankland Peter Junger Amos N. Guiora Deepak Pandya David A. Kolb Aravinda Chakravarti Jared Potter Kirtland May Wykle Deepak Sarma Declan McCullagh Ed Jerse William Howard Brett Charles Burroughs Frederick Reines David Cooperrider Jane M. Olson Ted Gup Arthur Naparstek Lee A. Thompson Robert L. Greene John Eisenmann Eric Baer Robert Corell Linda Eastman Roman Vishniac Charlie Korsmo Robert L. Fantz Richard Boyatzis Ezra Schabas Albert A. Michelson Marbury Bladen Ogle Jr. Alice Bach Martha Woodmansee Clarence Powers Bill Lawrence M. Krauss John R. Sinnock Kenneth A. Loparo Robert C. Binkley Cynthia Beall Randall Beer Sidney Wilcox McCuskey Robert Mezey Oliver Farrar Emerson Lee K. Abbott U. Narayan Bhat David Carrier Robert Little Bennett Reimer Otomar Hájek Robert E. Collin Jay Tischfield Russell L. Ackoff John R. Isbell Charles William Hanko Mari Rege Stuart J. Youngner May Hill Arbuthnot Simon Ostrach Walter Boron Lajos Takács Raymond Wilding-White Frederick Herzberg Michael Scharf Susan Shurin Milan Vukcevich Bill Peirce James W. Wagner Henry T. King Harold W. Dodds James W. McElhaney Melvin Kranzberg Alan Walton James Anderson Ram Mudambi Richard S. Varga Frederick Chapman Robbins Jack L. Koenig Joaquín Gimeno Casalduero Mark A. Smith Mark Chamberlain Peter Buckley Earl Wilbur Sutherland Jr. William Ennis Thomson Jonathan H. Adler Max Wiznitzer Charles Cadwell Douglas K. Detterman Kim S. Cameron Charles Poindexter
Albert A. Michelson, Frederick Reines and William Ennis Thomson work for Case Western Reserve University and Fisk University
Albert A. Michelson Frederick Reines William Ennis Thomson
action union
action filter_type
action find_reverse
entity Case Western Reserve University
relation employer
type common name
action filter_type
action find_reverse
entity Fisk University
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Case Western Reserve University'] [{'concept': 'common name'}, 'employer', 'Fisk University']
SELECT DISTINCT ?j WHERE { ?j property:employer ?x . VALUES ( ?x ) { ( resource:Case_Western_Reserve_University ) ( resource:Fisk_University ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q127234 Q191922 Q2251146
P106
Q12737077
USER
What are the professions of Albert A. Michelson, Frederick Reines and William Ennis Thomson ?
(Q127234,P106,c(Q12737077)) (Q191922,P106,c(Q12737077)) (Q2251146,P106,c(Q12737077))
action union
action filter_type
action find
entity Q127234
relation P106
type Q12737077
action filter_type
action find
entity Q191922
relation P106
type Q12737077
action filter_type
action find
entity Q2251146
relation P106
type Q12737077
['Q127234', 'P106', {'concept': 'Q12737077'}] ['Q191922', 'P106', {'concept': 'Q12737077'}] ['Q2251146', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { { resource:Q191922 property:P106 ?z . ?z rdf:type ontology:Q12737077 } UNION { resource:Q127234 property:P106 ?z . ?z rdf:type ontology:Q12737077 } }
Albert A. Michelson Frederick Reines William Ennis Thomson
action union
action filter_type
action find
entity Albert A. Michelson
relation occupation
type occupation
action filter_type
action find
entity Frederick Reines
relation occupation
type occupation
action filter_type
action find
entity William Ennis Thomson
relation occupation
type occupation
['Albert A. Michelson', 'occupation', {'concept': 'occupation'}] ['Frederick Reines', 'occupation', {'concept': 'occupation'}] ['William Ennis Thomson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { { resource:Frederick_Reines property:occupation ?z . ?z rdf:type ontology:occupation } UNION { resource:Albert_A._Michelson property:occupation ?z . ?z rdf:type ontology:occupation } }
[]
occupation
Q1622272 Q1622272 Q36834
SYSTEM
university teacher for 1st, 2nd, composer for 3rd
Q169470 Q1622272 Q189290 Q169470 Q1622272 Q158852 Q16145150 Q36834 Q14915627
(Q127234,P106,c(Q12737077)) (Q191922,P106,c(Q12737077)) (Q2251146,P106,c(Q12737077))
action union
action filter_type
action find
entity Q127234
relation P106
type Q12737077
action filter_type
action find
entity Q191922
relation P106
type Q12737077
action filter_type
action find
entity Q2251146
relation P106
type Q12737077
[ANSWERS]
['Q127234', 'P106', {'concept': 'Q12737077'}] ['Q191922', 'P106', {'concept': 'Q12737077'}] ['Q2251146', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { { resource:Q191922 property:P106 ?z . ?z rdf:type ontology:Q12737077 } UNION { resource:Q127234 property:P106 ?z . ?z rdf:type ontology:Q12737077 } }
physicist university teacher officer physicist university teacher conductor music educator composer musicologist
The professions of Albert A. are university teacher, university teacher and composer
university teacher university teacher composer
action union
action filter_type
action find
entity Albert A. Michelson
relation occupation
type occupation
action filter_type
action find
entity Frederick Reines
relation occupation
type occupation
action filter_type
action find
entity William Ennis Thomson
relation occupation
type occupation
['Albert A. Michelson', 'occupation', {'concept': 'occupation'}] ['Frederick Reines', 'occupation', {'concept': 'occupation'}] ['William Ennis Thomson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { { resource:Frederick_Reines property:occupation ?z . ?z rdf:type ontology:occupation } UNION { resource:Albert_A._Michelson property:occupation ?z . ?z rdf:type ontology:occupation } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1047060
P127
Q2221906
USER
Which geographic location is owned by Case Western Reserve University ?
(c(Q2221906),P127,Q1047060)
action filter_type
action find_reverse
entity Q1047060
relation P127
type Q2221906
[{'concept': 'Q2221906'}, 'P127', 'Q1047060']
SELECT DISTINCT ?z WHERE { ?z property:P127 resource:Q1047060 . ?z rdf:type ontology:Q2221906 }
Case Western Reserve University
action filter_type
action find_reverse
entity Case Western Reserve University
relation owned by
type geographic location
[{'concept': 'geographic location'}, 'owned by', 'Case Western Reserve University']
SELECT DISTINCT ?z WHERE { ?z property:owned_by resource:Case_Western_Reserve_University . ?z rdf:type ontology:geographic_location }
[]
geographic location
Q6786936
SYSTEM
Mather House
Q6786936
(c(Q2221906),P127,Q1047060)
action filter_type
action find_reverse
entity Q1047060
relation P127
type Q2221906
House [ANSWER] is owned by Case Western Reserve University
[{'concept': 'Q2221906'}, 'P127', 'Q1047060']
SELECT DISTINCT ?z WHERE { ?z property:P127 resource:Q1047060 . ?z rdf:type ontology:Q2221906 }
Mather House
House Mather House is owned by Case Western Reserve University
Mather House
action filter_type
action find_reverse
entity Case Western Reserve University
relation owned by
type geographic location
[{'concept': 'geographic location'}, 'owned by', 'Case Western Reserve University']
SELECT DISTINCT ?z WHERE { ?z property:owned_by resource:Case_Western_Reserve_University . ?z rdf:type ontology:geographic_location }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1047060
P159
Q56061
USER
Which administrative territory is the head office of Case Western Reserve University ?
(Q1047060,P159,c(Q56061))
action filter_type
action find
entity Q1047060
relation P159
type Q56061
['Q1047060', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q56061 . resource:Q1047060 property:P159 ?v }
Case Western Reserve University
action filter_type
action find
entity Case Western Reserve University
relation headquarters location
type administrative territorial entity
['Case Western Reserve University', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:administrative_territorial_entity . resource:Case_Western_Reserve_University property:headquarters_location ?v }
[]
administrative territorial entity
Q37320
SYSTEM
Cleveland
Q37320
(Q1047060,P159,c(Q56061))
action filter_type
action find
entity Q1047060
relation P159
type Q56061
[ANSWER] is the head office of Case Western Reserve University
['Q1047060', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q56061 . resource:Q1047060 property:P159 ?v }
Cleveland
Cleveland is the head office of Case Western Reserve University
Cleveland
action filter_type
action find
entity Case Western Reserve University
relation headquarters location
type administrative territorial entity
['Case Western Reserve University', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:administrative_territorial_entity . resource:Case_Western_Reserve_University property:headquarters_location ?v }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q37320 Q776965 Q24550
P190
Q56061
USER
Is that administrative territory sister town of Klaipėda and Cleveland ?
(Q37320,P190,Q776965) (Q37320,P190,Q24550)
action is_in
entity Q37320
action intersection
action find_reverse
entity Q776965
relation P190
action find_reverse
entity Q24550
relation P190
['Q37320', 'P190', 'Q776965'] ['Q37320', 'P190', 'Q24550']
ASK WHERE { resource:Q37320 property:P190 resource:Q776965 . resource:Q37320 property:P190 resource:Q24550 }
Cleveland Klaipėda Cleveland
action is_in
entity Cleveland
action intersection
action find_reverse
entity Klaipėda
relation sister city
action find_reverse
entity Cleveland
relation sister city
['Cleveland', 'sister city', 'Klaipėda'] ['Cleveland', 'sister city', 'Cleveland']
ASK WHERE { resource:Cleveland property:sister_city resource:Klaipėda . resource:Cleveland property:sister_city resource:Cleveland }
[]
administrative territorial entity
SYSTEM
YES
(Q37320,P190,Q776965) (Q37320,P190,Q24550)
action is_in
entity Q37320
action intersection
action find_reverse
entity Q776965
relation P190
action find_reverse
entity Q24550
relation P190
[ANSWER]
['Q37320', 'P190', 'Q776965'] ['Q37320', 'P190', 'Q24550']
ASK WHERE { resource:Q37320 property:P190 resource:Q776965 . resource:Q37320 property:P190 resource:Q24550 }
Yes
action is_in
entity Cleveland
action intersection
action find_reverse
entity Klaipėda
relation sister city
action find_reverse
entity Cleveland
relation sister city
['Cleveland', 'sister city', 'Klaipėda'] ['Cleveland', 'sister city', 'Cleveland']
ASK WHERE { resource:Cleveland property:sister_city resource:Klaipėda . resource:Cleveland property:sister_city resource:Cleveland }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q49087 Q20451
P17
Q15617994
USER
Is Fisk University located in Giano dell'Umbria ?
(Q49087,P17,Q20451)
action is_in
entity Q20451
action find
entity Q49087
relation P17
['Q49087', 'P17', 'Q20451']
ASK WHERE { resource:Q49087 property:P17 resource:Q20451 }
Fisk University Giano dell'Umbria
action is_in
entity Giano dell'Umbria
action find
entity Fisk University
relation country
['Fisk University', 'country', "Giano dell'Umbria"]
ASK WHERE { resource:Fisk_University property:country resource:Giano_dell'Umbria }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q49087,P17,Q20451)
action is_in
entity Q20451
action find
entity Q49087
relation P17
[ANSWER]
['Q49087', 'P17', 'Q20451']
ASK WHERE { resource:Q49087 property:P17 resource:Q20451 }
No
action is_in
entity Giano dell'Umbria
action find
entity Fisk University
relation country
['Fisk University', 'country', "Giano dell'Umbria"]
ASK WHERE { resource:Fisk_University property:country resource:Giano_dell'Umbria }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1047060 Q19513749
P138
Q502895
USER
Is Stefan Fink the origin of Case Western Reserve University ?
(Q1047060,P138,Q19513749)
action is_in
entity Q19513749
action find
entity Q1047060
relation P138
['Q1047060', 'P138', 'Q19513749']
ASK WHERE { resource:Q1047060 property:P138 resource:Q19513749 }
Case Western Reserve University Stefan Fink
action is_in
entity Stefan Fink
action find
entity Case Western Reserve University
relation named after
['Case Western Reserve University', 'named after', 'Stefan Fink']
ASK WHERE { resource:Case_Western_Reserve_University property:named_after resource:Stefan_Fink }
[]
common name
SYSTEM
NO
(Q1047060,P138,Q19513749)
action is_in
entity Q19513749
action find
entity Q1047060
relation P138
[ANSWER]
['Q1047060', 'P138', 'Q19513749']
ASK WHERE { resource:Q1047060 property:P138 resource:Q19513749 }
No
action is_in
entity Stefan Fink
action find
entity Case Western Reserve University
relation named after
['Case Western Reserve University', 'named after', 'Stefan Fink']
ASK WHERE { resource:Case_Western_Reserve_University property:named_after resource:Stefan_Fink }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q127234
P138
Q46857 Q17444909
USER
How many scientific methods or astronomical object types have Albert A. Michelson as their namesake ?
(c(Q46857),P138,Q127234) (c(Q17444909),P138,Q127234)
action count
action union
action filter_type
action find_reverse
entity Q127234
relation P138
type Q46857
action filter_type
action find_reverse
entity Q127234
relation P138
type Q17444909
[{'concept': 'Q46857'}, 'P138', 'Q127234'] [{'concept': 'Q17444909'}, 'P138', 'Q127234']
SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { ?r rdf:type ?v . VALUES ( ?v ) { ( ontology:Q46857 ) ( ontology:Q17444909 ) } }
Albert A. Michelson
action count
action union
action filter_type
action find_reverse
entity Albert A. Michelson
relation named after
type scientific method
action filter_type
action find_reverse
entity Albert A. Michelson
relation named after
type astronomical object type
[{'concept': 'scientific method'}, 'named after', 'Albert A. Michelson'] [{'concept': 'astronomical object type'}, 'named after', 'Albert A. Michelson']
SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { ?r rdf:type ?v . VALUES ( ?v ) { ( ontology:scientific_method ) ( ontology:astronomical_object_type ) } }
[]
scientific method astronomical object type
SYSTEM
3
Q154844 Q2611523 Q580582
(c(Q46857),P138,Q127234) (c(Q17444909),P138,Q127234)
action count
action union
action filter_type
action find_reverse
entity Q127234
relation P138
type Q46857
action filter_type
action find_reverse
entity Q127234
relation P138
type Q17444909
[ANSWER]
[{'concept': 'Q46857'}, 'P138', 'Q127234'] [{'concept': 'Q17444909'}, 'P138', 'Q127234']
SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { ?r rdf:type ?v . VALUES ( ?v ) { ( ontology:Q46857 ) ( ontology:Q17444909 ) } }
Michelson–Morley experiment 27758 Michelson Michelson–Gale–Pearson experiment
3
action count
action union
action filter_type
action find_reverse
entity Albert A. Michelson
relation named after
type scientific method
action filter_type
action find_reverse
entity Albert A. Michelson
relation named after
type astronomical object type
[{'concept': 'scientific method'}, 'named after', 'Albert A. Michelson'] [{'concept': 'astronomical object type'}, 'named after', 'Albert A. Michelson']
SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { ?r rdf:type ?v . VALUES ( ?v ) { ( ontology:scientific_method ) ( ontology:astronomical_object_type ) } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P840
Q56061 Q166142 Q15416
USER
Which administrative territories are the narrative locations of exactly 27 applications and television programs ?
(c(Q166142)|c(Q15416),P840,c(Q56061))
action equal
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q166142
action find_reverse_tuple_counts
relation P840
type Q56061
type Q15416
value 27
[[{'concept': 'Q166142'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?b ) AS ?u ) WHERE { { ?b property:P840 ?e . ?e rdf:type ontology:Q56061 . ?b rdf:type ontology:Q166142 } UNION { ?b property:P840 ?e . ?b rdf:type ontology:Q15416 . ?e rdf:type ontology:Q56061 } } GROUP BY ?e } . FILTER ( ?u = 27 ) }
action equal
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type application
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type television program
value 27
[[{'concept': 'application'}, {'concept': 'television program'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?b ) AS ?u ) WHERE { { ?b property:narrative_location ?e . ?e rdf:type ontology:administrative_territorial_entity . ?b rdf:type ontology:application } UNION { ?b property:narrative_location ?e . ?b rdf:type ontology:television_program . ?e rdf:type ontology:administrative_territorial_entity } } GROUP BY ?e } . FILTER ( ?u = 27 ) }
[]
administrative territorial entity application television program
Q24639 Q64 Q24826
SYSTEM
Vancouver, Berlin, Liverpool
Q24639 Q64 Q24826
(c(Q166142)|c(Q15416),P840,c(Q56061))
action equal
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q166142
action find_reverse_tuple_counts
relation P840
type Q56061
type Q15416
value 27
[ANSWERS] are the narrative locations of exactly 27 applications and television programs
[[{'concept': 'Q166142'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?b ) AS ?u ) WHERE { { ?b property:P840 ?e . ?e rdf:type ontology:Q56061 . ?b rdf:type ontology:Q166142 } UNION { ?b property:P840 ?e . ?b rdf:type ontology:Q15416 . ?e rdf:type ontology:Q56061 } } GROUP BY ?e } . FILTER ( ?u = 27 ) }
Vancouver Berlin Liverpool
Vancouver, Berlin and Liverpool are the narrative locations of exactly 27 applications and television programs
Vancouver Berlin Liverpool
action equal
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type application
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type television program
value 27
[[{'concept': 'application'}, {'concept': 'television program'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?b ) AS ?u ) WHERE { { ?b property:narrative_location ?e . ?e rdf:type ontology:administrative_territorial_entity . ?b rdf:type ontology:application } UNION { ?b property:narrative_location ?e . ?b rdf:type ontology:television_program . ?e rdf:type ontology:administrative_territorial_entity } } GROUP BY ?e } . FILTER ( ?u = 27 ) }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q29 Q24639
P495 P915
Q838948
USER
Which works of art were filmed at Vancouver and do n't have Spain as their origination points ?
AND((c(Q838948),P915,Q24639), NOT((c(Q838948),P495,Q29)))
action filter_type
action difference
action find_reverse
entity Q24639
relation P915
action find_reverse
entity Q29
relation P495
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P915', 'Q24639'], {'NOT': [[{'concept': 'Q838948'}, 'P495', 'Q29']]}]}
SELECT DISTINCT ?p WHERE { FILTER NOT EXISTS { ?p property:P495 resource:Q29 } . ?p property:P915 resource:Q24639 . ?p rdf:type ontology:Q838948 }
Spain Vancouver
action filter_type
action difference
action find_reverse
entity Vancouver
relation filming location
action find_reverse
entity Spain
relation country of origin
type work of art
{'AND': [[{'concept': 'work of art'}, 'filming location', 'Vancouver'], {'NOT': [[{'concept': 'work of art'}, 'country of origin', 'Spain']]}]}
SELECT DISTINCT ?p WHERE { FILTER NOT EXISTS { ?p property:country_of_origin resource:Spain } . ?p property:filming_location resource:Vancouver . ?p rdf:type ontology:work_of_art }
[]
work of art
Q11985403 Q663645 Q4745333 Q217552 Q1338266 Q244963 Q7915937 Q789374 Q633133 Q7416646
SYSTEM
Some of them are A Single Shot, Street Fighter: The Legend of Chun-Li, American Venus, X-Men Origins: Wolverine, My Boss's Daughter, First Blood, Various Positions, Rumble in the Bronx, The 6th Day, The Marine 3: Homefront
Q581736 Q883773 Q12125625 Q79503 Q2713746 Q2079258 Q300395 Q93876 Q20814481 Q206224 Q1072661 Q6164695 Q1452656 Q224130 Q7798418 Q429969 Q44578 Q5067973 Q29871 Q1126383 Q4745333 Q617942 Q495314 Q19961230 Q1046883 Q701977 Q23013572 Q186864 Q1686936 Q870053 Q26154237 Q832444 Q1479235 Q392677 Q2155483 Q1051315 Q18811633 Q700905 Q610103 Q1946699 Q843450 Q2588951 Q732071 Q2420323 Q471932 Q1780808 Q1049139 Q14948606 Q904256 Q5576883 Q14594687 Q162182 Q11220194 Q1747405 Q628154 Q467251 Q959335 Q1284839 Q26720474 Q200572 Q221168 Q20949892 Q421875 Q19938437 Q1635521 Q864518 Q965859 Q21527866 Q1754202 Q3927586 Q13642259 Q640272 Q7416646 Q327613 Q1591769 Q5188648 Q646025 Q743190 Q596646 Q23755533 Q1768087 Q244963 Q582320 Q1907890 Q1823809 Q12119567 Q21869782 Q3078109 Q166031 Q23925054 Q3210661 Q11985403 Q1630741 Q219776 Q476726 Q4309827 Q549574 Q663645 Q622769 Q1166161 Q6655131 Q163869 Q1147689 Q1454794 Q3062444 Q1575486 Q469708 Q845204 Q4469620 Q15944402 Q5449935 Q7561043 Q1604555 Q297147 Q26391 Q2083437 Q4744400 Q471746 Q3429263 Q967489 Q650677 Q820009 Q1924207 Q918439 Q15922298 Q657981 Q200827 Q20708474 Q20204843 Q390063 Q1917962 Q5528576 Q823020 Q387601 Q1087883 Q1956899 Q309014 Q5393143 Q1710012 Q663936 Q247516 Q1051469 Q1324330 Q23939762 Q635937 Q949879 Q17110953 Q676939 Q15715663 Q219424 Q1753661 Q913324 Q1210907 Q1105631 Q3801069 Q1629016 Q2984104 Q4003717 Q27590375 Q820811 Q14566553 Q2342853 Q1070275 Q919363 Q19347291 Q21925075 Q7731172 Q29733 Q19840084 Q798740 Q1406330 Q1164919 Q1199038 Q5627837 Q20023116 Q18967 Q771023 Q7361084 Q1982253 Q1049480 Q116928 Q128582 Q7732731 Q1062533 Q18208803 Q4080573 Q60506 Q543248 Q217552 Q187154 Q7382116 Q18388239 Q633133 Q700350 Q1306840 Q706492 Q642501 Q430278 Q830324 Q786559 Q15111541 Q18388990 Q7487521 Q1509855 Q4900081 Q1628377 Q1256231 Q115760 Q14513321 Q16242543 Q2365654 Q15916752 Q933910 Q19689203 Q24308041 Q789477 Q582120 Q239296 Q789374 Q2016661 Q2448596 Q4379044 Q3988608 Q21648810 Q2576418 Q1464730 Q1338266 Q1787875 Q1167290 Q217010 Q704732 Q7736769 Q23068002 Q18954 Q20649898 Q543573 Q1198541 Q7897152 Q387638 Q5445932 Q80959 Q680989 Q3752012 Q581666 Q18206438 Q2627384 Q18511571 Q923343 Q1657613 Q23755715 Q650076 Q1077315 Q925072 Q5299794 Q135347 Q651950 Q22350712 Q1423362 Q22350848 Q2010251 Q771792 Q72925 Q2395298 Q2905622 Q21527490 Q2390111 Q5047441 Q841761 Q610159 Q184605 Q748080 Q221109 Q550520 Q631488 Q578391 Q466291 Q10858674 Q5245218 Q965111 Q1988751 Q3990397 Q73028 Q316555 Q5676967 Q531310 Q699299 Q17512788 Q686533 Q24806912 Q74579 Q1511480 Q16960397 Q581201 Q15524911 Q198451 Q73651 Q7834766 Q23899903 Q729297 Q22662385 Q2341110 Q1474127 Q6417984 Q7196049 Q1171541 Q1988785 Q1972417 Q1065829 Q735401 Q1624872 Q7825567 Q740414 Q2542741 Q4642107 Q22712210 Q1313063 Q3359347 Q892346 Q240849 Q3233113 Q4923202 Q1676737 Q578344 Q20649582 Q2030569 Q224118 Q661847 Q1453720 Q2647031 Q1697426 Q14512003 Q3120510 Q14948563 Q14948562 Q1517621 Q481151 Q6374172 Q158559 Q1047663 Q217008 Q939844 Q2736281 Q2567338 Q3012585 Q375512 Q731776 Q3795576 Q244333 Q814295 Q575848 Q3207089 Q1454546 Q6672869 Q4840318 Q60487 Q859448 Q1356265 Q187079 Q4469937 Q2293767 Q243983 Q45394 Q2594298 Q2657424 Q1312200 Q1958098 Q1259419 Q3987425 Q7820305 Q222939 Q274400 Q7994076 Q195845 Q1763458 Q501407 Q861640 Q636239 Q15208268 Q7915937 Q3783356 Q691257 Q4346025 Q621587 Q884999 Q922402 Q5449958 Q1055299 Q1326380 Q16386237 Q1988727 Q471976
AND((c(Q838948),P915,Q24639), NOT((c(Q838948),P495,Q29)))
action filter_type
action difference
action find_reverse
entity Q24639
relation P915
action find_reverse
entity Q29
relation P495
type Q838948
[ANSWERS] were filmed at Vancouver and do n't have Spain as their origination points
{'AND': [[{'concept': 'Q838948'}, 'P915', 'Q24639'], {'NOT': [[{'concept': 'Q838948'}, 'P495', 'Q29']]}]}
SELECT DISTINCT ?p WHERE { FILTER NOT EXISTS { ?p property:P495 resource:Q29 } . ?p property:P915 resource:Q24639 . ?p rdf:type ontology:Q838948 }
Little Man Deck the Halls Last Wedding Juno One Week Unforgettable A Dog's Breakfast The Condemned Come and Find Me The Hills Have Eyes III Look Who's Talking Too Jatt & Juliet 2 Freddy Got Fingered Fantastic Four Through a Blue Lens Insomnia Titanic Chaindance Life or Something Like It Connie and Carla American Venus The Scarlet Letter Duets Shut In The King of Fighters Alone in the Dark The Confirmation Thirteen Ghosts Trick 'r Treat Dead Heat Descendants 2 Better Than Chocolate Alaska Agent Cody Banks Diary of a Wimpy Kid: Dog Days Cats & Dogs Shooting Clerks Postal Cousins Beyond the Stars The Invisible Horns Air Bud: Golden Receiver Gutterballs Year of the Dragon The Last Mimzy Spy Game Leprechaun: Origins Dudley Do-Right Gods of Youth Assault on Wall Street Watchmen Dawn of the Planet of the Apes The Hole Mission: Impossible – Ghost Protocol Good Luck Chuck Cats & Dogs: The Revenge of Kitty Galore Edison On the Farm I, Robot X-Men: The Last Stand Kindergarten Cop 2 The X-Files: I Want to Believe War of the Planet of the Apes Mr. Magoo RoboCop Freddy vs. Jason Midnight Sun Fierce People That Cold Day in the Park Metallica Through the Never Daydream Nation The Marine 3: Homefront The Uninvited Demon Knight Crossing Underworld: Evolution The Lizzie McGuire Movie Hope Springs My Father's Angel Smokin' Aces 2: Assassins' Ball First Blood Black Christmas Masterminds Catch and Release Famine Santa Hunters Why Did I Get Married? In the Name of the King Dead Rising: Endgame La Menace A Single Shot Hot Rod X2 Night at the Museum: Battle of the Smithsonian Malone Firewall Street Fighter: The Legend of Chun-Li Man of Steel Wrong Turn 2: Dead End Live Feed Rampage The Grey Friday the 13th Part VIII: Jason Takes Manhattan The Stranger Hanger It's All About Love The Exorcism of Emily Rose Certain Fury Chi Finding Dawn Final Destination We Don't Live Here Anymore I Love You, Beth Cooper Knight Moves The Traveler American Mary The A-Team Blade Butterfly on a Wheel The Boy Who Could Fly Final Destination 2 Carpool Hellraiser: Hellseeker Hector and the Search for Happiness Crying Freeman The Wicker Man Brain on Fire Collar Fantastic Four: Rise of the Silver Surfer K-9: P.I. Date and Switch The Final Storm Night at the Museum Chronicle Mystery Date Shooter Ernest Goes to School Joy Ride 2: Dead Ahead Watchers Paycheck The Core Look Who's Talking Tomboy, a Revenger's Tale Scary Movie 3 Elf No Clue Reindeer Games Step Up All In Scary Movie Lake Placid Legends of the Fall Another Stakeout Code Name: The Cleaner Marley & Me: The Puppy Years The Art of War II: Betrayal Percy Jackson: Sea of Monsters The 6th Man 3 Days in Havana Final Destination 3 Fifty Shades of Grey Hunt to Kill Fear Walking Tall Deadpool Besties Godzilla Apollo 18 Everything Will Be Bad Moon The Hard Corps Case 39 Man About Town H-E Double Hockey Sticks Star Trek Beyond National Lampoon's Van Wilder John Tucker Must Die Rollercoaster Neverwas This Means War The Twilight Saga: New Moon Mission to Mars The Ex Chaos The 9th Life of Louis Drax Time Runner The Twilight Saga: Breaking Dawn – Part 1 Far Cry X-Men Origins: Wolverine The Day the Earth Stood Still Russian Roulette Dead Rising: Watchtower The 6th Day D-Tox Things We Lost in the Fire Wrongfully Accused Scary Movie 2 The Company You Keep Best in Show Martian Child Phantom Lockdown Shameless: The Art of Disability Are We Done Yet? Beyond the Black Rainbow Numb Dreamcatcher Catwoman Warcraft The Age of Adaline The Experts Night at the Museum: Secret of the Tomb The Butterfly Effect 2 The BFG Boundaries Ballistic: Ecks vs. Sever Are We There Yet? Eragon Rumble in the Bronx Say It Isn't So Space Buddies The Nature of the Beast The Package Power Rangers Free Style All I Want My Boss's Daughter Roxanne The Crush The Twilight Saga: Eclipse The NeverEnding Story II: The Next Chapter The Glitter Dome Maze Runner: The Death Cure Tron: Legacy The Shack Replicant Wind Chill Unnatural & Accidental Rocky IV Fetching Cody Elysium Underworld: Awakening Frankie and Alice Scooby-Doo 2: Monsters Unleashed Death Do Us Part Icarus The Keeper RV Ignition Electra Woman and Dyna Girl Aliens vs. Predator: Requiem Antitrust Hot Tub Time Machine Double Happiness Bird on a Wire Outlander Before I Fall McCabe & Mrs. Miller This Is Your Death Christmas Cottage Pathfinder She's the Man The Tortured Blackwoods Birth of the Dragon Once a Thief Carts of Darkness Vice Elektra 2012 Romeo Must Die The Butterfly Effect Another Cinderella Story White Noise: The Light Josie and the Pussycats American Pie Presents: The Book of Love Big Eyes Dead Hooker in a Trunk Snow Buddies Air Bud: Seventh Inning Fetch They Wait Underclassman The NeverEnding Story Harvey The Accused The NeverEnding Story III The Marine 4: Moving Target Gods and Monsters The Marine 5: Battleground The Seventh Son Passengers Afflicted Charlie St. Cloud The Interview Saving Silverman Double Jeopardy Transparency The Solutrean Whisper Fifty Shades Darker The Amazing Panda Adventure Saved! Kitchen Party Pink Ludoos Two for the Money Air Bud: Spikes Back The Possession Punisher: War Zone Stargate: Continuum Hollow Man 2 Torched White Noise Personal Effects 65 Redroses Fifty Shades Freed Happy Gilmore Superbabies: Baby Geniuses 2 Bones Timecop Warriors of Virtue Blackout Return Engagement The Imaginarium of Doctor Parnassus Hidden National Lampoon's Barely Legal 30 Days of Night: Dark Days Final Destination 5 Freeway II: Confessions of a Trickbaby Alien Agent The Fog 12 Rounds 2: Reloaded Wings of Courage Final Girl Endangered In the Land of Women While She Was Out Kash Aap Hamare Hote Man of the House Stakeout Blade: Trinity Kissed The Hunted Possession Damage War Jennifer 8 The Sandlot 2 Percy Jackson & the Olympians: The Lightning Thief Wiki Intersection White Chicks Slap Shot 2: Breaking the Ice Helen Long Life, Happiness & Prosperity Bad Girls from Valley High The Twilight Saga: Breaking Dawn – Part 2 50/50 Ghost Ship Married Life Immediate Family Slaughtered Vomit Dolls Rise of the Planet of the Apes The Cabin in the Woods Chaos Theory In the Name of the King 2: Two Worlds Miracle Shoot to Kill Driven The Grey Fox Tomorrowland Jumanji 88 Minutes Whistling Smith Klondike Fever Spacehunter: Adventures in the Forbidden Zone Andre Jennifer's Body BloodRayne 2: Deliverance Freaks of Nature Various Positions Hardwired Battle in Seattle Tactical Force Sucker Punch Blonde and Blonder Along Came a Spider Finding Mr. Right Scary Movie 4 Elegy If I Stay Air Bud: World Pup The Chronicles of Riddick
A Single Shot, Street Fighter: The Legend of Chun-Li, American Venus, X-Men Origins: Wolverine, My Boss's Daughter, First Blood, Various Positions, Rumble in the Bronx, The 6th Day and The Marine 3: Homefront were filmed at Vancouver and do n't have Spain as their origination points
A Single Shot Street Fighter: The Legend of Chun-Li American Venus X-Men Origins: Wolverine My Boss's Daughter First Blood Various Positions Rumble in the Bronx The 6th Day The Marine 3: Homefront
action filter_type
action difference
action find_reverse
entity Vancouver
relation filming location
action find_reverse
entity Spain
relation country of origin
type work of art
{'AND': [[{'concept': 'work of art'}, 'filming location', 'Vancouver'], {'NOT': [[{'concept': 'work of art'}, 'country of origin', 'Spain']]}]}
SELECT DISTINCT ?p WHERE { FILTER NOT EXISTS { ?p property:country_of_origin resource:Spain } . ?p property:filming_location resource:Vancouver . ?p rdf:type ontology:work_of_art }
[]