|
id,graph_name,schema,input,output |
|
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)",How many directors did Tom Hanks work with?,"MATCH (:Person {name: ""Tom Hanks""})-[:ACTED_IN]->(:Movie)<-[:DIRECTED]-(directors:Person) |
|
RETURN COUNT(DISTINCT directors) AS NumberOfDirectors" |
|
2,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)",What are the three latest articles mentioning Neo4j?,"MATCH (a:Article)-[:MENTIONS]->(o:Organization {name: ""Neo4j""}) |
|
RETURN a.id, a.title, a.date |
|
ORDER BY a.date DESC |
|
LIMIT 3" |
|
3,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 are the top 5 highest average rated Mystery movies?,"MATCH (m:Movie)-[:IN_GENRE]->(g:Genre {name: ""Mystery""}) |
|
RETURN m.title AS Title, m.average_vote AS AverageRating |
|
ORDER BY m.average_vote DESC |
|
LIMIT 5" |
|
|