Test Queries
Manish R Jain edited this page
·
5 revisions
Pages 6
Clone this wiki locally
- Name of the given UID, and it's external ID
{
me(_uid_: 0x223c69ea256f0eb2) {
type.object.name.en
_xid_
}
}
- Find all movies in which Angelina Jolie has acted :
{
me(_xid_: m.0f4vbz) {
type.object.name.en
film.actor.film {
film.performance.film {
type.object.name.en
}
}
}
}
- Genre of all the movies directed by Steven Spielberg
{
me(_xid_: m.06pj8) {
type.object.name.en
film.director.film {
film.film.genre {
type.object.name.en
}
}
}
}
- All the movies acted by Brad Pitt
{
me(_xid_: m.0c6qh) {
type.object.name.en
film.actor.film {
film.performance.film {
type.object.name.en
}
}
}
}
- Genre of all the movies acted by actor Leonardo DiCaprio
{
me(_xid_: m.0dvmd) {
type.object.name.en
film.actor.film {
film.performance.film {
film.film.genre {
type.object.name.en
}
}
}
}
}
- Countries Courteney Cox has acted in
{
me(_xid_: m.01rr9f) {
type.object.name.en
film.actor.film {
film.performance.film {
film.film.country {
type.object.name.en
}
}
}
}
}
- Name of characters played by Jennifer Aniston
{
me(_xid_: m.09yrh) {
type.object.name.en
film.actor.film {
film.performance.character {
type.object.name.en
}
}
}
}
- List of directors with whom Tom Hanks has worked
{
me(_xid_: m.0bxtg) {
type.object.name.en
film.actor.film {
film.performance.film {
film.film.directed_by {
type.object.name.en
}
}
}
}
}
- Name and rating of all the science fiction movies
{
me(_xid_: m.06n90) {
type.object.name.en
film.film_genre.films_in_this_genre {
type.object.name.en
film.film.genre {
type.object.name.en
}
}
}
}
- All the actors (filmwise) who acted in movies in which Kevin Bacon was a part
{
me(_xid_: m.04954) {
type.object.name.en
film.actor.film {
film.performance.film {
type.object.name.en
film.film.starring {
film.performance.actor {
type.object.name.en
}
}
}
}
}
}
- Details of all the movies directed by Steven Spielberg like release date, actors, genre etc.
{
me(_xid_: m.06pj8) {
type.object.name.en
film.director.film {
type.object.name.en
film.film.initial_release_date
film.film.country
film.film.starring {
film.performance.actor {
type.object.name.en
}
film.performance.character {
type.object.name.en
}
}
film.film.genre {
type.object.name.en
}
}
}
}
- A large query : All the actors who ever acted with actors who acted with Kevin Bacon. This query returns 146MB worth of data, with 2.4M entities. It takes 20s for the server to process this query. So, please run it carefully.
{
me(_xid_: m.04954) {
type.object.name.en
film.actor.film {
film.performance.film {
type.object.name.en
film.film.starring {
film.performance.actor {
type.object.name.en
film.actor.film {
film.performance.film {
type.object.name.en
film.film.starring {
film.performance.actor {
type.object.name.en
}
}
}
}
}
}
}
}
}