id
int64 1
6
| graph_name
stringclasses 3
values | schema
stringclasses 3
values | input
stringclasses 6
values | output
stringclasses 6
values |
---|---|---|---|---|
1 | movies | Node properties are the following:
Movie {title: STRING, votes: INTEGER, tagline: STRING, released: INTEGER}, Person {born: INTEGER, name: STRING}
Relationship properties are the following:
ACTED_IN {roles: LIST}, REVIEWED {summary: STRING, rating: INTEGER}
The relationships are the following:
(:Person)-[:ACTED_IN]->(:Movie), (:Person)-[:DIRECTED]->(:Movie), (:Person)-[:PRODUCED]->(:Movie), (:Person)-[:WROTE]->(:Movie), (:Person)-[:FOLLOWS]->(:Person), (:Person)-[:REVIEWED]->(:Movie) | Which actors played in the most movies? | MATCH (p:Person)-[:ACTED_IN]->(m:Movie)
RETURN p.name, COUNT(m) AS movies_count
ORDER BY movies_count DESC
LIMIT 1 |
2 | movies | Node properties are the following:
Movie {title: STRING, votes: INTEGER, tagline: STRING, released: INTEGER}, Person {born: INTEGER, name: STRING}
Relationship properties are the following:
ACTED_IN {roles: LIST}, REVIEWED {summary: STRING, rating: INTEGER}
The relationships are the following:
(:Person)-[:ACTED_IN]->(:Movie), (:Person)-[:DIRECTED]->(:Movie), (:Person)-[:PRODUCED]->(:Movie), (:Person)-[:WROTE]->(:Movie), (:Person)-[:FOLLOWS]->(:Person), (:Person)-[:REVIEWED]->(:Movie) | Which actors played in more than one movie released after 2000? | MATCH (p:Person)-[a:ACTED_IN]->(m:Movie)
WHERE m.released > 2000
WITH p, COUNT(m) AS movies_count
WHERE movies_count > 1
RETURN p.name, movies_count |
3 | companies | Node properties are the following:
Person {name: STRING, id: STRING, summary: STRING}, Organization {isDissolved: BOOLEAN, nbrEmployees: INTEGER, revenue: FLOAT, name: STRING, motto: STRING, id: STRING, summary: STRING, isPublic: BOOLEAN}, IndustryCategory {name: STRING, id: STRING}, City {name: STRING, summary: STRING, id: STRING}, Country {name: STRING, id: STRING, summary: STRING}, Article {id: STRING, sentiment: FLOAT, author: STRING, siteName: STRING, summary: STRING, date: DATE_TIME, title: STRING}, Chunk {text: STRING, embedding: LIST}, Fewshot {Question: STRING, Cypher: STRING, id: INTEGER, embedding: LIST}
Relationship properties are the following:
The relationships are the following:
(:Person)-[:HAS_PARENT]->(:Person), (:Person)-[:HAS_CHILD]->(:Person), (:Organization)-[:IN_CITY]->(:City), (:Organization)-[:HAS_CATEGORY]->(:IndustryCategory), (:Organization)-[:HAS_SUBSIDIARY]->(:Organization), (:Organization)-[:HAS_SUPPLIER]->(:Organization), (:Organization)-[:HAS_CEO]->(:Person), (:Organization)-[:HAS_BOARD_MEMBER]->(:Person), (:Organization)-[:HAS_INVESTOR]->(:Organization), (:Organization)-[:HAS_INVESTOR]->(:Person), (:Organization)-[:HAS_COMPETITOR]->(:Organization), (:City)-[:IN_COUNTRY]->(:Country), (:Article)-[:HAS_CHUNK]->(:Chunk), (:Article)-[:MENTIONS]->(:Organization) | Which company has the most subsidiaries? | MATCH (o:Organization)-[:HAS_SUBSIDIARY]->(subsidiary:Organization)
WITH o, COUNT(subsidiary) AS NumberOfSubsidiaries
RETURN o.name AS CompanyName, NumberOfSubsidiaries
ORDER BY NumberOfSubsidiaries DESC
LIMIT 1 |
4 | companies | Node properties are the following:
Person {name: STRING, id: STRING, summary: STRING}, Organization {isDissolved: BOOLEAN, nbrEmployees: INTEGER, revenue: FLOAT, name: STRING, motto: STRING, id: STRING, summary: STRING, isPublic: BOOLEAN}, IndustryCategory {name: STRING, id: STRING}, City {name: STRING, summary: STRING, id: STRING}, Country {name: STRING, id: STRING, summary: STRING}, Article {id: STRING, sentiment: FLOAT, author: STRING, siteName: STRING, summary: STRING, date: DATE_TIME, title: STRING}, Chunk {text: STRING, embedding: LIST}, Fewshot {Question: STRING, Cypher: STRING, id: INTEGER, embedding: LIST}
Relationship properties are the following:
The relationships are the following:
(:Person)-[:HAS_PARENT]->(:Person), (:Person)-[:HAS_CHILD]->(:Person), (:Organization)-[:IN_CITY]->(:City), (:Organization)-[:HAS_CATEGORY]->(:IndustryCategory), (:Organization)-[:HAS_SUBSIDIARY]->(:Organization), (:Organization)-[:HAS_SUPPLIER]->(:Organization), (:Organization)-[:HAS_CEO]->(:Person), (:Organization)-[:HAS_BOARD_MEMBER]->(:Person), (:Organization)-[:HAS_INVESTOR]->(:Organization), (:Organization)-[:HAS_INVESTOR]->(:Person), (:Organization)-[:HAS_COMPETITOR]->(:Organization), (:City)-[:IN_COUNTRY]->(:Country), (:Article)-[:HAS_CHUNK]->(:Chunk), (:Article)-[:MENTIONS]->(:Organization) | Who are the board members of Siemens? | MATCH (:Organization {name: "Siemens"})-[:HAS_BOARD_MEMBER]->(person:Person)
RETURN person.name AS BoardMember |
5 | neoflix | Node properties are the following:
Movie {average_vote: FLOAT, overview: STRING, revenue: FLOAT, poster_path: STRING, vote_count: INTEGER, status: STRING, title: STRING, imdb_id: STRING, release_date: DATE, budget: INTEGER, runtime: FLOAT, popularity: FLOAT, id: INTEGER, original_title: STRING, original_language: STRING, tagline: STRING, homepage: STRING}, Language {id: STRING, name: STRING}, Country {id: STRING, name: STRING}, Genre {id: INTEGER, name: STRING}, ProductionCompany {id: INTEGER, name: STRING}, Collection {name: STRING, id: INTEGER, backdrop_path: STRING, poster_path: STRING}, Person {gender: INTEGER, profile_path: STRING, id: INTEGER, name: STRING}, User {id: INTEGER}, Keyword {id: INTEGER, name: STRING}, Video {tagline: STRING, average_vote: FLOAT, overview: STRING, revenue: FLOAT, poster_path: STRING, vote_count: INTEGER, title: STRING, release_date: DATE, status: STRING, budget: INTEGER, popularity: FLOAT, imdb_id: STRING, original_title: STRING, id: INTEGER, runtime: FLOAT, original_language: STRING, homepage: STRING}, Adult {average_vote: FLOAT, overview: STRING, revenue: FLOAT, poster_path: STRING, vote_count: INTEGER, title: STRING, release_date: DATE, status: STRING, budget: INTEGER, popularity: FLOAT, imdb_id: STRING, original_title: STRING, id: INTEGER, runtime: FLOAT, original_language: STRING, tagline: STRING, homepage: STRING}, Package {price: FLOAT, duration: DURATION, id: INTEGER, name: STRING}, Subscription {expiresAt: DATE_TIME, id: STRING}
Relationship properties are the following:
CAST_FOR {credit_id: STRING, cast_id: INTEGER, order: INTEGER, character: STRING}, CREW_FOR {credit_id: STRING, job: STRING, department: STRING}, RATED {timestamp: DATE_TIME, rating: FLOAT}
The relationships are the following:
(:Movie)-[:HAS_KEYWORD]->(:Keyword), (:Movie)-[:ORIGINAL_LANGUAGE]->(:Language), (:Movie)-[:SPOKEN_IN_LANGUAGE]->(:Language), (:Movie)-[:PRODUCED_IN_COUNTRY]->(:Country), (:Movie)-[:IN_GENRE]->(:Genre), (:Movie)-[:PRODUCED_BY]->(:ProductionCompany), (:Movie)-[:IN_COLLECTION]->(:Collection), (:Person)-[:CAST_FOR]->(:Movie), (:Person)-[:CAST_FOR]->(:Video), (:Person)-[:CREW_FOR]->(:Movie), (:User)-[:RATED]->(:Movie), (:User)-[:RATED]->(:Adult), (:User)-[:RATED]->(:Video), (:Video)-[:ORIGINAL_LANGUAGE]->(:Language), (:Video)-[:SPOKEN_IN_LANGUAGE]->(:Language), (:Video)-[:PRODUCED_IN_COUNTRY]->(:Country), (:Video)-[:IN_GENRE]->(:Genre), (:Video)-[:PRODUCED_BY]->(:ProductionCompany), (:Video)-[:HAS_KEYWORD]->(:Keyword), (:Video)-[:IN_COLLECTION]->(:Collection), (:Adult)-[:ORIGINAL_LANGUAGE]->(:Language), (:Adult)-[:SPOKEN_IN_LANGUAGE]->(:Language), (:Adult)-[:PRODUCED_IN_COUNTRY]->(:Country), (:Adult)-[:IN_GENRE]->(:Genre), (:Adult)-[:PRODUCED_BY]->(:ProductionCompany), (:Adult)-[:HAS_KEYWORD]->(:Keyword), (:Package)-[:PROVIDES_ACCESS_TO]->(:Genre), (:Subscription)-[:FOR_PACKAGE]->(:Package) | Which movies was Tim Allen casted for? | MATCH (p:Person {name: "Tim Allen"})-[:CAST_FOR]->(m:Movie)
RETURN m.title; |
6 | neoflix | Node properties are the following:
Movie {average_vote: FLOAT, overview: STRING, revenue: FLOAT, poster_path: STRING, vote_count: INTEGER, status: STRING, title: STRING, imdb_id: STRING, release_date: DATE, budget: INTEGER, runtime: FLOAT, popularity: FLOAT, id: INTEGER, original_title: STRING, original_language: STRING, tagline: STRING, homepage: STRING}, Language {id: STRING, name: STRING}, Country {id: STRING, name: STRING}, Genre {id: INTEGER, name: STRING}, ProductionCompany {id: INTEGER, name: STRING}, Collection {name: STRING, id: INTEGER, backdrop_path: STRING, poster_path: STRING}, Person {gender: INTEGER, profile_path: STRING, id: INTEGER, name: STRING}, User {id: INTEGER}, Keyword {id: INTEGER, name: STRING}, Video {tagline: STRING, average_vote: FLOAT, overview: STRING, revenue: FLOAT, poster_path: STRING, vote_count: INTEGER, title: STRING, release_date: DATE, status: STRING, budget: INTEGER, popularity: FLOAT, imdb_id: STRING, original_title: STRING, id: INTEGER, runtime: FLOAT, original_language: STRING, homepage: STRING}, Adult {average_vote: FLOAT, overview: STRING, revenue: FLOAT, poster_path: STRING, vote_count: INTEGER, title: STRING, release_date: DATE, status: STRING, budget: INTEGER, popularity: FLOAT, imdb_id: STRING, original_title: STRING, id: INTEGER, runtime: FLOAT, original_language: STRING, tagline: STRING, homepage: STRING}, Package {price: FLOAT, duration: DURATION, id: INTEGER, name: STRING}, Subscription {expiresAt: DATE_TIME, id: STRING}
Relationship properties are the following:
CAST_FOR {credit_id: STRING, cast_id: INTEGER, order: INTEGER, character: STRING}, CREW_FOR {credit_id: STRING, job: STRING, department: STRING}, RATED {timestamp: DATE_TIME, rating: FLOAT}
The relationships are the following:
(:Movie)-[:HAS_KEYWORD]->(:Keyword), (:Movie)-[:ORIGINAL_LANGUAGE]->(:Language), (:Movie)-[:SPOKEN_IN_LANGUAGE]->(:Language), (:Movie)-[:PRODUCED_IN_COUNTRY]->(:Country), (:Movie)-[:IN_GENRE]->(:Genre), (:Movie)-[:PRODUCED_BY]->(:ProductionCompany), (:Movie)-[:IN_COLLECTION]->(:Collection), (:Person)-[:CAST_FOR]->(:Movie), (:Person)-[:CAST_FOR]->(:Video), (:Person)-[:CREW_FOR]->(:Movie), (:User)-[:RATED]->(:Movie), (:User)-[:RATED]->(:Adult), (:User)-[:RATED]->(:Video), (:Video)-[:ORIGINAL_LANGUAGE]->(:Language), (:Video)-[:SPOKEN_IN_LANGUAGE]->(:Language), (:Video)-[:PRODUCED_IN_COUNTRY]->(:Country), (:Video)-[:IN_GENRE]->(:Genre), (:Video)-[:PRODUCED_BY]->(:ProductionCompany), (:Video)-[:HAS_KEYWORD]->(:Keyword), (:Video)-[:IN_COLLECTION]->(:Collection), (:Adult)-[:ORIGINAL_LANGUAGE]->(:Language), (:Adult)-[:SPOKEN_IN_LANGUAGE]->(:Language), (:Adult)-[:PRODUCED_IN_COUNTRY]->(:Country), (:Adult)-[:IN_GENRE]->(:Genre), (:Adult)-[:PRODUCED_BY]->(:ProductionCompany), (:Adult)-[:HAS_KEYWORD]->(:Keyword), (:Package)-[:PROVIDES_ACCESS_TO]->(:Genre), (:Subscription)-[:FOR_PACKAGE]->(:Package) | Who worked with Tim Allen in 2010? | MATCH (tim:Person {name: "Tim Allen"})-[:CAST_FOR]->(m:Movie)
WHERE m.release_date >= date("2010-01-01") AND m.release_date <= date("2010-12-31")
MATCH (p:Person)-[:CAST_FOR|CREW_FOR]->(m)
WHERE p <> tim
RETURN DISTINCT p.name |