{"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}\n\n COMMAND:\n ```text\nShow me the event name, description, year, significant impact, and the countries involved with their population for the top 10 historical events.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n HistoricalEvent (\n limit: 10\n ) {\n eventName\n description\n year\n hadSignificantImpact\n involvedCountries {\n ... on Country {\n countryName\n population\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the event name, description, year, significant impact, and the countries involved with their population for the top 10 historical events.\n```", "apiRef": "`limit`\u00a0returned objects\n\nOften, you will only want the top\u00a0`n`\u00a0results from the query. This can be achieved by setting a\u00a0`limit`\u00a0as shown below.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n limit: 1\n ) {\n question\n }\n }\n}\n```", "apiRefPath": "get-limit-results.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}", "schemaPath": "historicalevent.json", "modelOutput": "{\n Get {\n HistoricalEvent(\n limit: 10\n ) {\n eventName\n description\n year\n hadSignificantImpact\n involvedCountries {\n ... on Country {\n countryName\n population\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}\n\n COMMAND:\n ```text\nShow me the name, description, year introduced, and whether it is a string of 10 instruments. Also, show me the name, genre, and years active of the musicians who play those instruments.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Instrument (\n limit: 10\n ) {\n name\n description\n yearIntroduced\n isString\n playedBy {\n ... on Musician {\n name\n genre\n yearsActive\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the name, description, year introduced, and whether it is a string of 10 instruments. Also, show me the name, genre, and years active of the musicians who play those instruments.\n```", "apiRef": "`limit`\u00a0returned objects\n\nOften, you will only want the top\u00a0`n`\u00a0results from the query. This can be achieved by setting a\u00a0`limit`\u00a0as shown below.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n limit: 1\n ) {\n question\n }\n }\n}\n```", "apiRefPath": "get-limit-results.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}", "schemaPath": "musicalinstrument.json", "modelOutput": "{\n Get {\n Instrument(\n where: {\n path: [\"yearIntroduced\"],\n operator: GreaterThan,\n valueInt: 2020\n }\n ) {\n name\n description\n yearIntroduced\n isString\n playedBy {\n ... on Musician {\n name\n genre\n yearsActive\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}\n\n COMMAND:\n ```text\nShow me the location, equipment, altitude, isActive, and managedBy (including name and yearsExperience) of 10 weather stations.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n WeatherStation (\n limit: 10\n ) {\n location\n equipment\n altitude\n isActive\n managedBy {\n ... on Meteorologist {\n name\n yearsExperience\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the location, equipment, altitude, isActive, and managedBy (including name and yearsExperience) of 10 weather stations.\n```", "apiRef": "`limit`\u00a0returned objects\n\nOften, you will only want the top\u00a0`n`\u00a0results from the query. This can be achieved by setting a\u00a0`limit`\u00a0as shown below.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n limit: 1\n ) {\n question\n }\n }\n}\n```", "apiRefPath": "get-limit-results.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}", "schemaPath": "weatherstation.json", "modelOutput": "{\n Get {\n WeatherStation (\n limit: 10\n ) {\n location\n equipment\n altitude\n isActive\n managedBy {\n ... on Meteorologist {\n name\n yearsExperience\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}\n\n COMMAND:\n ```text\nShow me the details of 10 AI models including their model name, application, accuracy, whether they are supervised or not, and the algorithm they are based on including the algorithm's name, description, and year of development.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n AIModel (\n limit: 10\n ) {\n modelName\n application\n accuracy\n isSupervised\n basedOn {\n ... on Algorithm {\n name\n description\n yearDeveloped\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the details of 10 AI models including their model name, application, accuracy, whether they are supervised or not, and the algorithm they are based on including the algorithm's name, description, and year of development.\n```", "apiRef": "`limit`\u00a0returned objects\n\nOften, you will only want the top\u00a0`n`\u00a0results from the query. This can be achieved by setting a\u00a0`limit`\u00a0as shown below.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n limit: 1\n ) {\n question\n }\n }\n}\n```", "apiRefPath": "get-limit-results.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}", "schemaPath": "AIModels.json", "modelOutput": "{\n Get {\n AIModel (\n limit: 10\n ) {\n modelName\n application\n accuracy\n isSupervised\n basedOn {\n ... on Algorithm {\n name\n description\n yearDeveloped\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}\n\n COMMAND:\n ```text\nShow me the gear name, description, weight, waterproof status, supplier name, and established year of 10 outdoor gears.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n OutdoorGear (\n limit: 10\n ) {\n gearName\n description\n weight\n isWaterproof\n supplier {\n ... on Supplier {\n supplierName\n establishedYear\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the gear name, description, weight, waterproof status, supplier name, and established year of 10 outdoor gears.\n```", "apiRef": "`limit`\u00a0returned objects\n\nOften, you will only want the top\u00a0`n`\u00a0results from the query. This can be achieved by setting a\u00a0`limit`\u00a0as shown below.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n limit: 1\n ) {\n question\n }\n }\n}\n```", "apiRefPath": "get-limit-results.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}", "schemaPath": "outdoorgear.json", "modelOutput": "{\n Get {\n OutdoorGear (\n limit: 10\n ) {\n gearName\n description\n weight\n isWaterproof\n supplier {\n ... on Supplier {\n supplierName\n establishedYear\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}\n\n COMMAND:\n ```text\nShow me the name, product, funding, isBootstrapped, and founders' name, biography, and successful startups of 10 startups.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Startup (\n limit: 10\n ) {\n name\n product\n funding\n isBootstrapped\n founders {\n ... on Entrepreneur {\n name\n biography\n successfulStartups\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the name, product, funding, isBootstrapped, and founders' name, biography, and successful startups of 10 startups.\n```", "apiRef": "`limit`\u00a0returned objects\n\nOften, you will only want the top\u00a0`n`\u00a0results from the query. This can be achieved by setting a\u00a0`limit`\u00a0as shown below.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n limit: 1\n ) {\n question\n }\n }\n}\n```", "apiRefPath": "get-limit-results.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}", "schemaPath": "startups.json", "modelOutput": "{\n Get {\n Startup (\n limit: 10\n ) {\n name\n product\n funding\n isBootstrapped\n founders {\n ... on Entrepreneur {\n name\n biography\n successfulStartups\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nShow me the title, genre, rating, isMultiplayer, developedBy name, and foundedYear of 10 games.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Game (\n limit: 10\n ) {\n title\n genre\n rating\n isMultiplayer\n developedBy {\n ... on Developer {\n name\n foundedYear\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the title, genre, rating, isMultiplayer, developedBy name, and foundedYear of 10 games.\n```", "apiRef": "`limit`\u00a0returned objects\n\nOften, you will only want the top\u00a0`n`\u00a0results from the query. This can be achieved by setting a\u00a0`limit`\u00a0as shown below.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n limit: 1\n ) {\n question\n }\n }\n}\n```", "apiRefPath": "get-limit-results.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}", "schemaPath": "videogame.json", "modelOutput": "{\n Get {\n Game (\n limit: 10\n ) {\n title\n genre\n rating\n isMultiplayer\n developedBy {\n ... on Developer {\n name\n foundedYear\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}\n\n COMMAND:\n ```text\nShow me the title and summary of 5 books.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Book (\n limit: 5\n ) {\n title\n summary\n }\n }\n}\n```", "nlcommand": "```text\nShow me the title and summary of 5 books.\n```", "apiRef": "`limit`\u00a0returned objects\n\nOften, you will only want the top\u00a0`n`\u00a0results from the query. This can be achieved by setting a\u00a0`limit`\u00a0as shown below.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n limit: 1\n ) {\n question\n }\n }\n}\n```", "apiRefPath": "get-limit-results.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}", "schemaPath": "books.json", "modelOutput": "{\n Get {\n Book (\n limit: 5\n ) {\n title\n summary\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}\n\n COMMAND:\n ```text\nShow me the beer name and tasting notes of 10 craft beers.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n CraftBeer (\n limit: 10\n ) {\n beerName\n tastingNotes\n }\n }\n}\n```", "nlcommand": "```text\nShow me the beer name and tasting notes of 10 craft beers.\n```", "apiRef": "`limit`\u00a0returned objects\n\nOften, you will only want the top\u00a0`n`\u00a0results from the query. This can be achieved by setting a\u00a0`limit`\u00a0as shown below.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n limit: 1\n ) {\n question\n }\n }\n}\n```", "apiRefPath": "get-limit-results.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}", "schemaPath": "craftbeer.json", "modelOutput": "{\n Get {\n CraftBeer (\n limit: 10\n ) {\n beerName\n tastingNotes\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 5 historical events with BM25 keyword scoring to the query 'World War II' in the event name or description, weighting the event name matches twice as high as the description matches, and show the event name, description, year, whether it had a significant impact, and the involved countries' names and populations.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n HistoricalEvent(\n bm25: {\n query: \"World War II\",\n properties: [\"eventName^2\", \"description\"]\n },\n limit: 5\n ) {\n eventName\n description\n year\n hadSignificantImpact\n involvedCountries {\n ... on Country {\n countryName\n population\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 5 historical events with BM25 keyword scoring to the query 'World War II' in the event name or description, weighting the event name matches twice as high as the description matches, and show the event name, description, year, whether it had a significant impact, and the involved countries' names and populations.\n```", "apiRef": "Weight (boost) searched properties\n\nYou can specify weighting of object\u00a0`properties`\u00a0in how they affect the BM25F score.\n\nThe below example searches for objects containing the keyword\u00a0`food`\u00a0in the\u00a0`question`\u00a0property and the\u00a0`answer`\u00a0property. Weaviate then scores the results with\u00a0`question`\u00a0property's weighting boosted by 2, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\",\n properties: [\"question^2\", \"answer\"]\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-weight-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}", "schemaPath": "historicalevent.json", "modelOutput": "{\n Get {\n HistoricalEvent(\n bm25: {\n query: \"World War II\",\n properties: [\"eventName^2\", \"description\"]\n },\n limit: 5\n ) {\n eventName\n description\n year\n hadSignificantImpact\n involvedCountries {\n ... on Country {\n countryName\n population\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 5 instruments with BM25 keyword scoring to the query 'guitar' in the name or description, weighting the name matches twice as high as the description matches, and show the name, description, year introduced, whether it is a string instrument, and the musician's name, genre, and years active.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Instrument(\n bm25: {\n query: \"guitar\",\n properties: [\"name^2\", \"description\"]\n },\n limit: 5\n ) {\n name\n description\n yearIntroduced\n isString\n playedBy {\n ... on Musician {\n name\n genre\n yearsActive\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 5 instruments with BM25 keyword scoring to the query 'guitar' in the name or description, weighting the name matches twice as high as the description matches, and show the name, description, year introduced, whether it is a string instrument, and the musician's name, genre, and years active.\n```", "apiRef": "Weight (boost) searched properties\n\nYou can specify weighting of object\u00a0`properties`\u00a0in how they affect the BM25F score.\n\nThe below example searches for objects containing the keyword\u00a0`food`\u00a0in the\u00a0`question`\u00a0property and the\u00a0`answer`\u00a0property. Weaviate then scores the results with\u00a0`question`\u00a0property's weighting boosted by 2, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\",\n properties: [\"question^2\", \"answer\"]\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-weight-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}", "schemaPath": "musicalinstrument.json", "modelOutput": "{\n Get {\n Instrument(\n bm25: {\n query: \"guitar\",\n properties: [\"name^2\", \"description\"]\n },\n limit: 5\n ) {\n name\n description\n yearIntroduced\n isString\n playedBy {\n ... on Musician {\n name\n genre\n yearsActive\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 10 weather stations with BM25 keyword scoring to the query 'rain' in the location or equipment, weighting the location matches twice as high as the equipment matches, and show the location, equipment, altitude, activity status, and the name and years of experience of the meteorologist managing the station.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n WeatherStation(\n bm25: {\n query: \"rain\",\n properties: [\"location^2\", \"equipment\"]\n },\n limit: 10\n ) {\n location\n equipment\n altitude\n isActive\n managedBy {\n ... on Meteorologist {\n name\n yearsExperience\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 10 weather stations with BM25 keyword scoring to the query 'rain' in the location or equipment, weighting the location matches twice as high as the equipment matches, and show the location, equipment, altitude, activity status, and the name and years of experience of the meteorologist managing the station.\n```", "apiRef": "Weight (boost) searched properties\n\nYou can specify weighting of object\u00a0`properties`\u00a0in how they affect the BM25F score.\n\nThe below example searches for objects containing the keyword\u00a0`food`\u00a0in the\u00a0`question`\u00a0property and the\u00a0`answer`\u00a0property. Weaviate then scores the results with\u00a0`question`\u00a0property's weighting boosted by 2, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\",\n properties: [\"question^2\", \"answer\"]\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-weight-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}", "schemaPath": "weatherstation.json", "modelOutput": "{\n Get {\n WeatherStation(\n bm25: {\n query: \"rain\",\n properties: [\"location^2\", \"equipment\"]\n },\n limit: 10\n ) {\n location\n equipment\n altitude\n isActive\n managedBy {\n ... on Meteorologist {\n name\n yearsExperience\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 10 AI models with BM25 keyword scoring to the query 'classification' in the model name or application, weighting the model name matches twice as high as the application matches, and show the model name, application, accuracy, whether it is supervised, and the algorithm's name, description, and year developed.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n AIModel(\n bm25: {\n query: \"classification\",\n properties: [\"modelName^2\", \"application\"]\n },\n limit: 10\n ) {\n modelName\n application\n accuracy\n isSupervised\n basedOn {\n ... on Algorithm {\n name\n description\n yearDeveloped\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 10 AI models with BM25 keyword scoring to the query 'classification' in the model name or application, weighting the model name matches twice as high as the application matches, and show the model name, application, accuracy, whether it is supervised, and the algorithm's name, description, and year developed.\n```", "apiRef": "Weight (boost) searched properties\n\nYou can specify weighting of object\u00a0`properties`\u00a0in how they affect the BM25F score.\n\nThe below example searches for objects containing the keyword\u00a0`food`\u00a0in the\u00a0`question`\u00a0property and the\u00a0`answer`\u00a0property. Weaviate then scores the results with\u00a0`question`\u00a0property's weighting boosted by 2, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\",\n properties: [\"question^2\", \"answer\"]\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-weight-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}", "schemaPath": "AIModels.json", "modelOutput": "{\n Get {\n AIModel(\n bm25: {\n query: \"classification\",\n properties: [\"modelName^2\", \"application\"]\n },\n limit: 10\n ) {\n modelName\n application\n accuracy\n isSupervised\n basedOn {\n ... on Algorithm {\n name\n description\n yearDeveloped\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 5 outdoor gear items with BM25 keyword scoring to the query 'hiking boots' in the gear name or description, weighting the gear name matches twice as high as the description matches, and show the gear name, description, weight, waterproof status, and supplier's name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n OutdoorGear(\n bm25: {\n query: \"hiking boots\",\n properties: [\"gearName^2\", \"description\"]\n },\n limit: 5\n ) {\n gearName\n description\n weight\n isWaterproof\n supplier {\n ... on Supplier {\n supplierName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 5 outdoor gear items with BM25 keyword scoring to the query 'hiking boots' in the gear name or description, weighting the gear name matches twice as high as the description matches, and show the gear name, description, weight, waterproof status, and supplier's name.\n```", "apiRef": "Weight (boost) searched properties\n\nYou can specify weighting of object\u00a0`properties`\u00a0in how they affect the BM25F score.\n\nThe below example searches for objects containing the keyword\u00a0`food`\u00a0in the\u00a0`question`\u00a0property and the\u00a0`answer`\u00a0property. Weaviate then scores the results with\u00a0`question`\u00a0property's weighting boosted by 2, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\",\n properties: [\"question^2\", \"answer\"]\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-weight-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}", "schemaPath": "outdoorgear.json", "modelOutput": "{\n Get {\n OutdoorGear(\n bm25: {\n query: \"hiking boots\",\n properties: [\"gearName^2\", \"description\"]\n },\n limit: 5\n ) {\n gearName\n description\n weight\n isWaterproof\n supplier {\n ... on Supplier {\n supplierName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 10 startups related to technology with BM25 keyword scoring to the query 'technology' in the name or product, weighting the name matches twice as high as the product matches, and show the name, product, funding, bootstrapped status, and founder's name, biography, and successful startups.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Startup(\n bm25: {\n query: \"technology\",\n properties: [\"name^2\", \"product\"]\n },\n limit: 10\n ) {\n name\n product\n funding\n isBootstrapped\n founders {\n ... on Entrepreneur {\n name\n biography\n successfulStartups\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 10 startups related to technology with BM25 keyword scoring to the query 'technology' in the name or product, weighting the name matches twice as high as the product matches, and show the name, product, funding, bootstrapped status, and founder's name, biography, and successful startups.\n```", "apiRef": "Weight (boost) searched properties\n\nYou can specify weighting of object\u00a0`properties`\u00a0in how they affect the BM25F score.\n\nThe below example searches for objects containing the keyword\u00a0`food`\u00a0in the\u00a0`question`\u00a0property and the\u00a0`answer`\u00a0property. Weaviate then scores the results with\u00a0`question`\u00a0property's weighting boosted by 2, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\",\n properties: [\"question^2\", \"answer\"]\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-weight-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}", "schemaPath": "startups.json", "modelOutput": "{\n Get {\n Startup(\n bm25: {\n query: \"technology\",\n properties: [\"name^2\", \"product\"]\n },\n limit: 10\n ) {\n name\n product\n funding\n isBootstrapped\n founders {\n ... on Entrepreneur {\n name\n biography\n successfulStartups\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 5 games with BM25 keyword scoring to the query 'action' in the title or genre, weighting the title matches twice as high as the genre matches, and show the title, genre, rating, multiplayer availability, and developer's name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Game(\n bm25: {\n query: \"action\",\n properties: [\"title^2\", \"genre\"]\n },\n limit: 5\n ) {\n title\n genre\n rating\n isMultiplayer\n developedBy {\n ... on Developer {\n name\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 5 games with BM25 keyword scoring to the query 'action' in the title or genre, weighting the title matches twice as high as the genre matches, and show the title, genre, rating, multiplayer availability, and developer's name.\n```", "apiRef": "Weight (boost) searched properties\n\nYou can specify weighting of object\u00a0`properties`\u00a0in how they affect the BM25F score.\n\nThe below example searches for objects containing the keyword\u00a0`food`\u00a0in the\u00a0`question`\u00a0property and the\u00a0`answer`\u00a0property. Weaviate then scores the results with\u00a0`question`\u00a0property's weighting boosted by 2, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\",\n properties: [\"question^2\", \"answer\"]\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-weight-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}", "schemaPath": "videogame.json", "modelOutput": "{\n Get {\n Game(\n bm25: {\n query: \"action\",\n properties: [\"title^2\", \"genre\"]\n },\n limit: 5\n ) {\n title\n genre\n rating\n isMultiplayer\n developedBy {\n ... on Developer {\n name\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 5 books with BM25 keyword scoring to the query 'science fiction' in the title or summary, weighting the title matches twice as high as the summary matches, and show the title, summary, availability, and author's name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Book(\n bm25: {\n query: \"science fiction\",\n properties: [\"title^2\", \"summary\"]\n },\n limit: 5\n ) {\n title\n summary\n isAvailable\n author {\n ... on Author {\n name\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 5 books with BM25 keyword scoring to the query 'science fiction' in the title or summary, weighting the title matches twice as high as the summary matches, and show the title, summary, availability, and author's name.\n```", "apiRef": "Weight (boost) searched properties\n\nYou can specify weighting of object\u00a0`properties`\u00a0in how they affect the BM25F score.\n\nThe below example searches for objects containing the keyword\u00a0`food`\u00a0in the\u00a0`question`\u00a0property and the\u00a0`answer`\u00a0property. Weaviate then scores the results with\u00a0`question`\u00a0property's weighting boosted by 2, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\",\n properties: [\"question^2\", \"answer\"]\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-weight-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}", "schemaPath": "books.json", "modelOutput": "{\n Get {\n Book(\n bm25: {\n query: \"science fiction\",\n properties: [\"title^2\", \"summary\"]\n },\n limit: 5\n ) {\n title\n summary\n isAvailable\n author {\n ... on Author {\n name\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 5 craft beers with BM25 keyword scoring to the query 'IPA' in the beer name or tasting notes, weighting the beer name matches twice as high as the tasting notes matches, and show the beer name, tasting notes, alcohol content, seasonal availability, brewery name, and founded year.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n CraftBeer(\n bm25: {\n query: \"IPA\",\n properties: [\"beerName^2\", \"tastingNotes\"]\n },\n limit: 5\n ) {\n beerName\n tastingNotes\n alcoholContent\n isSeasonal\n brewery {\n ... on Brewery {\n breweryName\n foundedYear\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 5 craft beers with BM25 keyword scoring to the query 'IPA' in the beer name or tasting notes, weighting the beer name matches twice as high as the tasting notes matches, and show the beer name, tasting notes, alcohol content, seasonal availability, brewery name, and founded year.\n```", "apiRef": "Weight (boost) searched properties\n\nYou can specify weighting of object\u00a0`properties`\u00a0in how they affect the BM25F score.\n\nThe below example searches for objects containing the keyword\u00a0`food`\u00a0in the\u00a0`question`\u00a0property and the\u00a0`answer`\u00a0property. Weaviate then scores the results with\u00a0`question`\u00a0property's weighting boosted by 2, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\",\n properties: [\"question^2\", \"answer\"]\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-weight-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}", "schemaPath": "craftbeer.json", "modelOutput": "{\n Get {\n CraftBeer(\n bm25: {\n query: \"IPA\",\n properties: [\"beerName^2\", \"tastingNotes\"]\n },\n limit: 5\n ) {\n beerName\n tastingNotes\n alcoholContent\n isSeasonal\n brewery {\n ... on Brewery {\n breweryName\n foundedYear\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}\n\n COMMAND:\n ```text\nGet me the historical events related to 'World War II'. Show me the event name, description, year, whether it had a significant impact, and the countries involved with their names and populations. Also, please explain how the Hybrid score is calculated and provide the score and explainScore for each event. Limit the results to 3.\n```\n\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n HistoricalEvent(\n hybrid: {\n query: \"World War II\"\n },\n limit: 3\n ) {\n eventName\n description\n year\n hadSignificantImpact\n involvedCountries {\n ... on Country {\n countryName\n population\n }\n }\n _additional {\n score\n explainScore\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the historical events related to 'World War II'. Show me the event name, description, year, whether it had a significant impact, and the countries involved with their names and populations. Also, please explain how the Hybrid score is calculated and provide the score and explainScore for each event. Limit the results to 3.\n```\n", "apiRef": "Score and ExplainScore in Hybrid Search\n\nScore / explainScore[]\n\nThe\u00a0`score`\u00a0and\u00a0`explainScore`\u00a0sub-properties aim to explain the outputs. They can be retrieved under the\u00a0`_additional`\u00a0property.\n\nThe below example adds the two properties to the list of retrieved properties.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\"\n }\n ) {\n question\n answer\n _additional {\n score\n explainScore\n }\n }\n }\n}\n```", "apiRefPath": "get-hybrid-explainScore.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}", "schemaPath": "historicalevent.json", "modelOutput": "{\n Get {\n HistoricalEvent(\n nearText: {\n concepts: [\"World War II\"]\n },\n limit: 3\n ) {\n eventName\n description\n year\n hadSignificantImpact\n involvedCountries {\n ... on Country {\n countryName\n population\n }\n }\n _additional {\n score\n explainScore\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}\n\n COMMAND:\n ```text\nGet me the instruments with a hybrid search of 'guitar', please explain how the Hybrid score is calculated and show the name, description, year introduced, whether it is a string instrument, and the musicians who play it including their name, genre, and years active.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Instrument(\n hybrid: {\n query: \"guitar\"\n },\n limit: 3\n ) {\n name\n description\n yearIntroduced\n isString\n playedBy {\n ... on Musician {\n name\n genre\n yearsActive\n }\n }\n _additional {\n score\n explainScore\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the instruments with a hybrid search of 'guitar', please explain how the Hybrid score is calculated and show the name, description, year introduced, whether it is a string instrument, and the musicians who play it including their name, genre, and years active.\n```", "apiRef": "Score and ExplainScore in Hybrid Search\n\nScore / explainScore[]\n\nThe\u00a0`score`\u00a0and\u00a0`explainScore`\u00a0sub-properties aim to explain the outputs. They can be retrieved under the\u00a0`_additional`\u00a0property.\n\nThe below example adds the two properties to the list of retrieved properties.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\"\n }\n ) {\n question\n answer\n _additional {\n score\n explainScore\n }\n }\n }\n}\n```", "apiRefPath": "get-hybrid-explainScore.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}", "schemaPath": "musicalinstrument.json", "modelOutput": "{\n Get {\n Instrument(\n hybrid: {\n query: \"guitar\"\n },\n limit: 3\n ) {\n name\n description\n yearIntroduced\n isString\n playedBy {\n ... on Musician {\n name\n genre\n yearsActive\n }\n }\n _additional {\n score\n explainScore\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}\n\n COMMAND:\n ```text\nGet me the weather stations with a hybrid search of 'temperature'. Show the location, equipment, altitude, and whether it is active. Also, please explain how the Hybrid score is calculated and show the score and explainScore. Additionally, show the name and years of experience of the meteorologist who manages each weather station. Limit the results to 10 weather stations.\n```\n\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n WeatherStation(\n hybrid: {\n query: \"temperature\"\n },\n limit: 10\n ) {\n location\n equipment\n altitude\n isActive\n _additional {\n score\n explainScore\n }\n managedBy {\n ... on Meteorologist {\n name\n yearsExperience\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the weather stations with a hybrid search of 'temperature'. Show the location, equipment, altitude, and whether it is active. Also, please explain how the Hybrid score is calculated and show the score and explainScore. Additionally, show the name and years of experience of the meteorologist who manages each weather station. Limit the results to 10 weather stations.\n```\n", "apiRef": "Score and ExplainScore in Hybrid Search\n\nScore / explainScore[]\n\nThe\u00a0`score`\u00a0and\u00a0`explainScore`\u00a0sub-properties aim to explain the outputs. They can be retrieved under the\u00a0`_additional`\u00a0property.\n\nThe below example adds the two properties to the list of retrieved properties.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\"\n }\n ) {\n question\n answer\n _additional {\n score\n explainScore\n }\n }\n }\n}\n```", "apiRefPath": "get-hybrid-explainScore.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}", "schemaPath": "weatherstation.json", "modelOutput": "{\n Get {\n WeatherStation(\n hybrid: {\n query: \"temperature\"\n },\n limit: 10\n ) {\n location\n equipment\n altitude\n isActive\n _additional {\n score\n explainScore\n }\n managedBy {\n ... on Meteorologist {\n name\n yearsExperience\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}\n\n COMMAND:\n ```text\nGet me the AI models with a hybrid search of 'classification'. Show me the model name, application, accuracy, whether it is supervised, and the algorithm it is based on including the name, description, and year developed. Please also explain how the Hybrid score is calculated and show the score and explainScore.\n```\n\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n AIModel(\n hybrid: {\n query: \"classification\"\n },\n limit: 10\n ) {\n modelName\n application\n accuracy\n isSupervised\n basedOn {\n ... on Algorithm {\n name\n description\n yearDeveloped\n }\n }\n _additional {\n score\n explainScore\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the AI models with a hybrid search of 'classification'. Show me the model name, application, accuracy, whether it is supervised, and the algorithm it is based on including the name, description, and year developed. Please also explain how the Hybrid score is calculated and show the score and explainScore.\n```\n", "apiRef": "Score and ExplainScore in Hybrid Search\n\nScore / explainScore[]\n\nThe\u00a0`score`\u00a0and\u00a0`explainScore`\u00a0sub-properties aim to explain the outputs. They can be retrieved under the\u00a0`_additional`\u00a0property.\n\nThe below example adds the two properties to the list of retrieved properties.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\"\n }\n ) {\n question\n answer\n _additional {\n score\n explainScore\n }\n }\n }\n}\n```", "apiRefPath": "get-hybrid-explainScore.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}", "schemaPath": "AIModels.json", "modelOutput": "{\n Get {\n AIModel(\n hybrid: {\n query: \"classification\"\n },\n limit: 5\n ) {\n modelName\n application\n accuracy\n isSupervised\n basedOn {\n ... on Algorithm {\n name\n description\n yearDeveloped\n }\n }\n _additional {\n score\n explainScore\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}\n\n COMMAND:\n ```text\nGet me the outdoor gear with a hybrid search of 'hiking boots'. Show me the gear name, description, weight, waterproof status, supplier's name, and the year the supplier was established. Also, please explain how the Hybrid score is calculated and provide the score and explainScore for each result. Limit the results to 5.\n```\n\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n OutdoorGear(\n hybrid: {\n query: \"hiking boots\"\n },\n limit: 5\n ) {\n gearName\n description\n weight\n isWaterproof\n supplier {\n ... on Supplier {\n supplierName\n establishedYear\n }\n }\n _additional {\n score\n explainScore\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the outdoor gear with a hybrid search of 'hiking boots'. Show me the gear name, description, weight, waterproof status, supplier's name, and the year the supplier was established. Also, please explain how the Hybrid score is calculated and provide the score and explainScore for each result. Limit the results to 5.\n```\n", "apiRef": "Score and ExplainScore in Hybrid Search\n\nScore / explainScore[]\n\nThe\u00a0`score`\u00a0and\u00a0`explainScore`\u00a0sub-properties aim to explain the outputs. They can be retrieved under the\u00a0`_additional`\u00a0property.\n\nThe below example adds the two properties to the list of retrieved properties.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\"\n }\n ) {\n question\n answer\n _additional {\n score\n explainScore\n }\n }\n }\n}\n```", "apiRefPath": "get-hybrid-explainScore.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}", "schemaPath": "outdoorgear.json", "modelOutput": "{\n Get {\n OutdoorGear(\n hybrid: {\n query: \"hiking boots\"\n },\n limit: 5\n ) {\n gearName\n description\n weight\n isWaterproof\n _additional {\n score\n explainScore\n }\n supplier {\n ... on Supplier {\n supplierName\n establishedYear\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the startups related to 'technology' with their names, products, funding information, bootstrapping status, and founder details. Please also explain how the Hybrid score is calculated and show the score and explainScore for each startup.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Startup(\n hybrid: {\n query: \"technology\"\n },\n limit: 10\n ) {\n name\n product\n funding\n isBootstrapped\n founders {\n ... on Entrepreneur {\n name\n biography\n successfulStartups\n }\n }\n _additional {\n score\n explainScore\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the startups related to 'technology' with their names, products, funding information, bootstrapping status, and founder details. Please also explain how the Hybrid score is calculated and show the score and explainScore for each startup.\n```", "apiRef": "Score and ExplainScore in Hybrid Search\n\nScore / explainScore[]\n\nThe\u00a0`score`\u00a0and\u00a0`explainScore`\u00a0sub-properties aim to explain the outputs. They can be retrieved under the\u00a0`_additional`\u00a0property.\n\nThe below example adds the two properties to the list of retrieved properties.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\"\n }\n ) {\n question\n answer\n _additional {\n score\n explainScore\n }\n }\n }\n}\n```", "apiRefPath": "get-hybrid-explainScore.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}", "schemaPath": "startups.json", "modelOutput": "{\n Get {\n Startup(\n hybrid: {\n query: \"technology\"\n },\n limit: 5\n ) {\n name\n product\n funding\n isBootstrapped\n _additional {\n score\n explainScore\n }\n founders {\n ... on Entrepreneur {\n name\n biography\n successfulStartups\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the games with a hybrid search of 'action adventure', please explain how the Hybrid score is calculated and show the title, genre, rating, multiplayer availability, developer's name, and the year the developer was founded.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Game(\n hybrid: {\n query: \"action adventure\"\n },\n limit: 5\n ) {\n title\n genre\n rating\n isMultiplayer\n _additional {\n score\n explainScore\n }\n developedBy {\n ... on Developer {\n name\n foundedYear\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the games with a hybrid search of 'action adventure', please explain how the Hybrid score is calculated and show the title, genre, rating, multiplayer availability, developer's name, and the year the developer was founded.\n```", "apiRef": "Score and ExplainScore in Hybrid Search\n\nScore / explainScore[]\n\nThe\u00a0`score`\u00a0and\u00a0`explainScore`\u00a0sub-properties aim to explain the outputs. They can be retrieved under the\u00a0`_additional`\u00a0property.\n\nThe below example adds the two properties to the list of retrieved properties.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\"\n }\n ) {\n question\n answer\n _additional {\n score\n explainScore\n }\n }\n }\n}\n```", "apiRefPath": "get-hybrid-explainScore.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}", "schemaPath": "videogame.json", "modelOutput": "{\n Get {\n Game(\n hybrid: {\n query: \"action adventure\"\n },\n limit: 5\n ) {\n title\n genre\n rating\n isMultiplayer\n developedBy {\n ... on Developer {\n name\n foundedYear\n }\n }\n _additional {\n score\n explainScore\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}\n\n COMMAND:\n ```text\nGet me the books with a hybrid search of 'science fiction', please explain how the Hybrid score is calculated and show the title, summary, availability, author's name, and author's age.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Book(\n hybrid: {\n query: \"science fiction\"\n },\n limit: 5\n ) {\n title\n summary\n isAvailable\n _additional {\n score\n explainScore\n }\n author {\n ... on Author {\n name\n age\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the books with a hybrid search of 'science fiction', please explain how the Hybrid score is calculated and show the title, summary, availability, author's name, and author's age.\n```", "apiRef": "Score and ExplainScore in Hybrid Search\n\nScore / explainScore[]\n\nThe\u00a0`score`\u00a0and\u00a0`explainScore`\u00a0sub-properties aim to explain the outputs. They can be retrieved under the\u00a0`_additional`\u00a0property.\n\nThe below example adds the two properties to the list of retrieved properties.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\"\n }\n ) {\n question\n answer\n _additional {\n score\n explainScore\n }\n }\n }\n}\n```", "apiRefPath": "get-hybrid-explainScore.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}", "schemaPath": "books.json", "modelOutput": "{\n Get {\n Book(\n hybrid: {\n query: \"science fiction\"\n },\n limit: 5\n ) {\n title\n summary\n isAvailable\n _additional {\n score\n explainScore\n }\n author {\n ... on Author {\n name\n age\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the craft beers with a hybrid search of 'IPA'. Show me the beer name, tasting notes, alcohol content, seasonal availability, brewery name, and founded year. Please also explain how the Hybrid score is calculated and provide the score and explainScore for each beer.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n CraftBeer(\n hybrid: {\n query: \"IPA\"\n },\n limit: 10\n ) {\n beerName\n tastingNotes\n alcoholContent\n isSeasonal\n brewery {\n ... on Brewery {\n breweryName\n foundedYear\n }\n }\n _additional {\n score\n explainScore\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the craft beers with a hybrid search of 'IPA'. Show me the beer name, tasting notes, alcohol content, seasonal availability, brewery name, and founded year. Please also explain how the Hybrid score is calculated and provide the score and explainScore for each beer.\n```", "apiRef": "Score and ExplainScore in Hybrid Search\n\nScore / explainScore[]\n\nThe\u00a0`score`\u00a0and\u00a0`explainScore`\u00a0sub-properties aim to explain the outputs. They can be retrieved under the\u00a0`_additional`\u00a0property.\n\nThe below example adds the two properties to the list of retrieved properties.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\"\n }\n ) {\n question\n answer\n _additional {\n score\n explainScore\n }\n }\n }\n}\n```", "apiRefPath": "get-hybrid-explainScore.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}", "schemaPath": "craftbeer.json", "modelOutput": "{\n Get {\n CraftBeer(\n hybrid: {\n query: \"IPA\"\n },\n limit: 5\n ) {\n beerName\n tastingNotes\n alcoholContent\n isSeasonal\n brewery {\n ... on Brewery {\n breweryName\n foundedYear\n }\n }\n _additional {\n score\n explainScore\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}\n\n COMMAND:\n ```text\nGet me historical events related to World War II, cutting off the results after the first significant drop in the hybrid search score. Show me the event name, description, year, whether it had a significant impact, and the involved countries' names and populations.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n HistoricalEvent(\n hybrid: {\n query: \"World War II\"\n },\n autocut: 1\n ) {\n eventName\n description\n year\n hadSignificantImpact\n involvedCountries {\n ... on Country {\n countryName\n population\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me historical events related to World War II, cutting off the results after the first significant drop in the hybrid search score. Show me the event name, description, year, whether it had a significant impact, and the involved countries' names and populations.\n```", "apiRef": "Autocut in Hybrid Search\n\nAnother way to limit the results returned by a hybrid search is to use the\u00a0`autocut`\u00a0filter. Autocut takes a positive integer parameter\u00a0`N`, looks at the\u00a0score\u00a0of each result, and stops returning results after the\u00a0`N`th \"drop\" in score. Because\u00a0`hybrid`\u00a0combines a vector search with a keyword (BM25F) search, their scores/distances cannot be directly compared, so the cut points may not be intuitive.\n\nAutocut can be used as follows:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n hybrid: {\n query: \"safety\"\n },\n autocut: 1\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-hybrid-with-autocut.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}", "schemaPath": "historicalevent.json", "modelOutput": "{\n Get {\n HistoricalEvent(\n hybrid: {\n query: \"World War II\"\n },\n autocut: 1\n ) {\n eventName\n description\n year\n hadSignificantImpact\n involvedCountries {\n ... on Country {\n countryName\n population\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}\n\n COMMAND:\n ```text\nGet me instruments with a hybrid search of 'piano', cutting results off with the first steep drop in the Hybrid search score, and show the name, description, year introduced, whether it is a string instrument, and the name, genre, and years active of the musicians who play it.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Instrument(\n hybrid: {\n query: \"piano\"\n },\n autocut: 1\n ) {\n name\n description\n yearIntroduced\n isString\n playedBy {\n ... on Musician {\n name\n genre\n yearsActive\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me instruments with a hybrid search of 'piano', cutting results off with the first steep drop in the Hybrid search score, and show the name, description, year introduced, whether it is a string instrument, and the name, genre, and years active of the musicians who play it.\n```", "apiRef": "Autocut in Hybrid Search\n\nAnother way to limit the results returned by a hybrid search is to use the\u00a0`autocut`\u00a0filter. Autocut takes a positive integer parameter\u00a0`N`, looks at the\u00a0score\u00a0of each result, and stops returning results after the\u00a0`N`th \"drop\" in score. Because\u00a0`hybrid`\u00a0combines a vector search with a keyword (BM25F) search, their scores/distances cannot be directly compared, so the cut points may not be intuitive.\n\nAutocut can be used as follows:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n hybrid: {\n query: \"safety\"\n },\n autocut: 1\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-hybrid-with-autocut.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}", "schemaPath": "musicalinstrument.json", "modelOutput": "{\n Get {\n Instrument(\n hybrid: {\n query: \"piano\"\n },\n autocut: 1\n ) {\n name\n description\n yearIntroduced\n isString\n playedBy {\n ... on Musician {\n name\n genre\n yearsActive\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}\n\n COMMAND:\n ```text\nGet me weather stations with a hybrid search of 'temperature', cutting results off with the first steep drop in the Hybrid search score, and show the location, equipment, altitude, activity status, and the name of the meteorologist managing it.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n WeatherStation(\n hybrid: {\n query: \"temperature\"\n },\n autocut: 1\n ) {\n location\n equipment\n altitude\n isActive\n managedBy {\n ... on Meteorologist {\n name\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me weather stations with a hybrid search of 'temperature', cutting results off with the first steep drop in the Hybrid search score, and show the location, equipment, altitude, activity status, and the name of the meteorologist managing it.\n```", "apiRef": "Autocut in Hybrid Search\n\nAnother way to limit the results returned by a hybrid search is to use the\u00a0`autocut`\u00a0filter. Autocut takes a positive integer parameter\u00a0`N`, looks at the\u00a0score\u00a0of each result, and stops returning results after the\u00a0`N`th \"drop\" in score. Because\u00a0`hybrid`\u00a0combines a vector search with a keyword (BM25F) search, their scores/distances cannot be directly compared, so the cut points may not be intuitive.\n\nAutocut can be used as follows:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n hybrid: {\n query: \"safety\"\n },\n autocut: 1\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-hybrid-with-autocut.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}", "schemaPath": "weatherstation.json", "modelOutput": "{\n Get {\n WeatherStation(\n hybrid: {\n query: \"temperature\"\n },\n autocut: 1\n ) {\n location\n equipment\n altitude\n isActive\n managedBy {\n ... on Meteorologist {\n name\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}\n\n COMMAND:\n ```text\nGet me AI models with a hybrid search of 'computer vision', cutting results off after the third drop in the Hybrid search score, and show the model name, application, accuracy, whether it is supervised, and the name, description, and year developed of the algorithm it is based on.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n AIModel(\n hybrid: {\n query: \"computer vision\"\n },\n autocut: 3\n ) {\n modelName\n application\n accuracy\n isSupervised\n basedOn {\n ... on Algorithm {\n name\n description\n yearDeveloped\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me AI models with a hybrid search of 'computer vision', cutting results off after the third drop in the Hybrid search score, and show the model name, application, accuracy, whether it is supervised, and the name, description, and year developed of the algorithm it is based on.\n```", "apiRef": "Autocut in Hybrid Search\n\nAnother way to limit the results returned by a hybrid search is to use the\u00a0`autocut`\u00a0filter. Autocut takes a positive integer parameter\u00a0`N`, looks at the\u00a0score\u00a0of each result, and stops returning results after the\u00a0`N`th \"drop\" in score. Because\u00a0`hybrid`\u00a0combines a vector search with a keyword (BM25F) search, their scores/distances cannot be directly compared, so the cut points may not be intuitive.\n\nAutocut can be used as follows:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n hybrid: {\n query: \"safety\"\n },\n autocut: 1\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-hybrid-with-autocut.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}", "schemaPath": "AIModels.json", "modelOutput": "{\n Get {\n AIModel(\n hybrid: {\n query: \"computer vision\"\n },\n autocut: 3\n ) {\n modelName\n application\n accuracy\n isSupervised\n basedOn {\n ... on Algorithm {\n name\n description\n yearDeveloped\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}\n\n COMMAND:\n ```text\nGet me outdoor gear with a hybrid search of 'hiking', cutting results off with the first steep drop in the Hybrid search score, and show the gear name, description, weight, waterproof status, and supplier's name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n OutdoorGear(\n hybrid: {\n query: \"hiking\"\n },\n autocut: 1\n ) {\n gearName\n description\n weight\n isWaterproof\n supplier {\n ... on Supplier {\n supplierName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me outdoor gear with a hybrid search of 'hiking', cutting results off with the first steep drop in the Hybrid search score, and show the gear name, description, weight, waterproof status, and supplier's name.\n```", "apiRef": "Autocut in Hybrid Search\n\nAnother way to limit the results returned by a hybrid search is to use the\u00a0`autocut`\u00a0filter. Autocut takes a positive integer parameter\u00a0`N`, looks at the\u00a0score\u00a0of each result, and stops returning results after the\u00a0`N`th \"drop\" in score. Because\u00a0`hybrid`\u00a0combines a vector search with a keyword (BM25F) search, their scores/distances cannot be directly compared, so the cut points may not be intuitive.\n\nAutocut can be used as follows:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n hybrid: {\n query: \"safety\"\n },\n autocut: 1\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-hybrid-with-autocut.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}", "schemaPath": "outdoorgear.json", "modelOutput": "{\n Get {\n OutdoorGear(\n hybrid: {\n query: \"hiking\"\n },\n autocut: 1\n ) {\n gearName\n description\n weight\n isWaterproof\n supplier {\n ... on Supplier {\n supplierName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me startups with a hybrid search of 'technology', cutting results off with the first steep drop in the Hybrid search score, and show the name, product, funding, bootstrapping status, and founder's name, biography, and successful startups.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Startup(\n hybrid: {\n query: \"technology\"\n },\n autocut: 1\n ) {\n name\n product\n funding\n isBootstrapped\n founders {\n ... on Entrepreneur {\n name\n biography\n successfulStartups\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me startups with a hybrid search of 'technology', cutting results off with the first steep drop in the Hybrid search score, and show the name, product, funding, bootstrapping status, and founder's name, biography, and successful startups.\n```", "apiRef": "Autocut in Hybrid Search\n\nAnother way to limit the results returned by a hybrid search is to use the\u00a0`autocut`\u00a0filter. Autocut takes a positive integer parameter\u00a0`N`, looks at the\u00a0score\u00a0of each result, and stops returning results after the\u00a0`N`th \"drop\" in score. Because\u00a0`hybrid`\u00a0combines a vector search with a keyword (BM25F) search, their scores/distances cannot be directly compared, so the cut points may not be intuitive.\n\nAutocut can be used as follows:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n hybrid: {\n query: \"safety\"\n },\n autocut: 1\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-hybrid-with-autocut.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}", "schemaPath": "startups.json", "modelOutput": "{\n Get {\n Startup(\n hybrid: {\n query: \"technology\"\n },\n autocut: 1\n ) {\n name\n product\n funding\n isBootstrapped\n founders {\n ... on Entrepreneur {\n name\n biography\n successfulStartups\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me games with a hybrid search of 'action', cutting results off with the first steep drop in the Hybrid search score, and show the title, genre, rating, multiplayer status, and developer's name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Game(\n hybrid: {\n query: \"action\"\n },\n autocut: 1\n ) {\n title\n genre\n rating\n isMultiplayer\n developedBy {\n ... on Developer {\n name\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me games with a hybrid search of 'action', cutting results off with the first steep drop in the Hybrid search score, and show the title, genre, rating, multiplayer status, and developer's name.\n```", "apiRef": "Autocut in Hybrid Search\n\nAnother way to limit the results returned by a hybrid search is to use the\u00a0`autocut`\u00a0filter. Autocut takes a positive integer parameter\u00a0`N`, looks at the\u00a0score\u00a0of each result, and stops returning results after the\u00a0`N`th \"drop\" in score. Because\u00a0`hybrid`\u00a0combines a vector search with a keyword (BM25F) search, their scores/distances cannot be directly compared, so the cut points may not be intuitive.\n\nAutocut can be used as follows:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n hybrid: {\n query: \"safety\"\n },\n autocut: 1\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-hybrid-with-autocut.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}", "schemaPath": "videogame.json", "modelOutput": "{\n Get {\n Game(\n hybrid: {\n query: \"action\"\n },\n autocut: 1\n ) {\n title\n genre\n rating\n isMultiplayer\n developedBy {\n ... on Developer {\n name\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}\n\n COMMAND:\n ```text\nGet me books with a hybrid search of 'science fiction', cutting results off with the first steep drop in the Hybrid search score, and show the title, summary, availability, and author's name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Book(\n hybrid: {\n query: \"science fiction\"\n },\n autocut: 1\n ) {\n title\n summary\n isAvailable\n author {\n ... on Author {\n name\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me books with a hybrid search of 'science fiction', cutting results off with the first steep drop in the Hybrid search score, and show the title, summary, availability, and author's name.\n```", "apiRef": "Autocut in Hybrid Search\n\nAnother way to limit the results returned by a hybrid search is to use the\u00a0`autocut`\u00a0filter. Autocut takes a positive integer parameter\u00a0`N`, looks at the\u00a0score\u00a0of each result, and stops returning results after the\u00a0`N`th \"drop\" in score. Because\u00a0`hybrid`\u00a0combines a vector search with a keyword (BM25F) search, their scores/distances cannot be directly compared, so the cut points may not be intuitive.\n\nAutocut can be used as follows:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n hybrid: {\n query: \"safety\"\n },\n autocut: 1\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-hybrid-with-autocut.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}", "schemaPath": "books.json", "modelOutput": "{\n Get {\n Book(\n hybrid: {\n query: \"science fiction\"\n },\n autocut: 1\n ) {\n title\n summary\n isAvailable\n author {\n ... on Author {\n name\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me craft beers with a hybrid search of 'IPA', cutting results off with the first steep drop in the Hybrid search score, and show the beer name, tasting notes, alcohol content, seasonal availability, and brewery name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n CraftBeer(\n hybrid: {\n query: \"IPA\"\n },\n autocut: 1\n ) {\n beerName\n tastingNotes\n alcoholContent\n isSeasonal\n brewery {\n ... on Brewery {\n breweryName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me craft beers with a hybrid search of 'IPA', cutting results off with the first steep drop in the Hybrid search score, and show the beer name, tasting notes, alcohol content, seasonal availability, and brewery name.\n```", "apiRef": "Autocut in Hybrid Search\n\nAnother way to limit the results returned by a hybrid search is to use the\u00a0`autocut`\u00a0filter. Autocut takes a positive integer parameter\u00a0`N`, looks at the\u00a0score\u00a0of each result, and stops returning results after the\u00a0`N`th \"drop\" in score. Because\u00a0`hybrid`\u00a0combines a vector search with a keyword (BM25F) search, their scores/distances cannot be directly compared, so the cut points may not be intuitive.\n\nAutocut can be used as follows:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n hybrid: {\n query: \"safety\"\n },\n autocut: 1\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-hybrid-with-autocut.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}", "schemaPath": "craftbeer.json", "modelOutput": "{\n Get {\n CraftBeer(\n hybrid: {\n query: \"IPA\"\n },\n autocut: 1\n ) {\n beerName\n tastingNotes\n alcoholContent\n isSeasonal\n brewery {\n ... on Brewery {\n breweryName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}\n\n COMMAND:\n ```text\nGet me the historical events related to 'World War II', please use an alpha value of 0.25 in the hybrid search, and show the event name, description, year, significant impact, and the names and populations of the involved countries.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n HistoricalEvent(\n hybrid: {\n query: \"World War II\",\n alpha: 0.25\n },\n limit: 5\n ) {\n eventName\n description\n year\n hadSignificantImpact\n involvedCountries {\n ... on Country {\n countryName\n population\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the historical events related to 'World War II', please use an alpha value of 0.25 in the hybrid search, and show the event name, description, year, significant impact, and the names and populations of the involved countries.\n```", "apiRef": "Weight keyword vs vector results in Hybrid Search\n\nYou can use the\u00a0`alpha`\u00a0argument to weight the keyword (`bm25`) or vector search results. An\u00a0`alpha`\u00a0of\u00a0`1`\u00a0is for a pure vector search and\u00a0`0`\u00a0is for a pure keyword search. The default is\u00a0`0.75`.\n\nThe following example uses an alpha of\u00a0`0.25`, favoring keyword search results.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n alpha: 0.25\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-alpha.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}", "schemaPath": "historicalevent.json", "modelOutput": "{\n Get {\n HistoricalEvent(\n hybrid: {\n query: \"World War II\",\n alpha: 0.25\n },\n limit: 5\n ) {\n eventName\n description\n year\n hadSignificantImpact\n involvedCountries {\n ... on Country {\n countryName\n population\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}\n\n COMMAND:\n ```text\nGet me the instruments with a hybrid search of 'piano', please use an alpha value of 0.25 in the hybrid search, and show the name, description, year introduced, whether it is a string instrument, and the name, genre, and years active of the musicians who play it.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Instrument(\n hybrid: {\n query: \"piano\",\n alpha: 0.25\n },\n limit: 5\n ) {\n name\n description\n yearIntroduced\n isString\n playedBy {\n ... on Musician {\n name\n genre\n yearsActive\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the instruments with a hybrid search of 'piano', please use an alpha value of 0.25 in the hybrid search, and show the name, description, year introduced, whether it is a string instrument, and the name, genre, and years active of the musicians who play it.\n```", "apiRef": "Weight keyword vs vector results in Hybrid Search\n\nYou can use the\u00a0`alpha`\u00a0argument to weight the keyword (`bm25`) or vector search results. An\u00a0`alpha`\u00a0of\u00a0`1`\u00a0is for a pure vector search and\u00a0`0`\u00a0is for a pure keyword search. The default is\u00a0`0.75`.\n\nThe following example uses an alpha of\u00a0`0.25`, favoring keyword search results.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n alpha: 0.25\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-alpha.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}", "schemaPath": "musicalinstrument.json", "modelOutput": "{\n Get {\n Instrument(\n hybrid: {\n query: \"piano\",\n alpha: 0.25\n },\n limit: 5\n ) {\n name\n description\n yearIntroduced\n isString\n playedBy {\n ... on Musician {\n name\n genre\n yearsActive\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}\n\n COMMAND:\n ```text\nGet me the weather stations with a hybrid search of 'temperature', please use an alpha value of 0.25 in the hybrid search, and show the location, equipment, altitude, activity status, and the name and years of experience of the meteorologist managing each station.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n WeatherStation(\n hybrid: {\n query: \"temperature\",\n alpha: 0.25\n },\n limit: 5\n ) {\n location\n equipment\n altitude\n isActive\n managedBy {\n ... on Meteorologist {\n name\n yearsExperience\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the weather stations with a hybrid search of 'temperature', please use an alpha value of 0.25 in the hybrid search, and show the location, equipment, altitude, activity status, and the name and years of experience of the meteorologist managing each station.\n```", "apiRef": "Weight keyword vs vector results in Hybrid Search\n\nYou can use the\u00a0`alpha`\u00a0argument to weight the keyword (`bm25`) or vector search results. An\u00a0`alpha`\u00a0of\u00a0`1`\u00a0is for a pure vector search and\u00a0`0`\u00a0is for a pure keyword search. The default is\u00a0`0.75`.\n\nThe following example uses an alpha of\u00a0`0.25`, favoring keyword search results.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n alpha: 0.25\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-alpha.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}", "schemaPath": "weatherstation.json", "modelOutput": "{\n Get {\n WeatherStation(\n hybrid: {\n query: \"temperature\",\n alpha: 0.25\n },\n limit: 5\n ) {\n location\n equipment\n altitude\n isActive\n managedBy {\n ... on Meteorologist {\n name\n yearsExperience\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}\n\n COMMAND:\n ```text\nGet me the AI models with a hybrid search of 'image classification', please use an alpha value of 0.25 in the hybrid search, and show the model name, application, accuracy, whether it is supervised, and the algorithm's name, description, and year developed.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n AIModel(\n hybrid: {\n query: \"image classification\",\n alpha: 0.25\n },\n limit: 5\n ) {\n modelName\n application\n accuracy\n isSupervised\n basedOn {\n ... on Algorithm {\n name\n description\n yearDeveloped\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the AI models with a hybrid search of 'image classification', please use an alpha value of 0.25 in the hybrid search, and show the model name, application, accuracy, whether it is supervised, and the algorithm's name, description, and year developed.\n```", "apiRef": "Weight keyword vs vector results in Hybrid Search\n\nYou can use the\u00a0`alpha`\u00a0argument to weight the keyword (`bm25`) or vector search results. An\u00a0`alpha`\u00a0of\u00a0`1`\u00a0is for a pure vector search and\u00a0`0`\u00a0is for a pure keyword search. The default is\u00a0`0.75`.\n\nThe following example uses an alpha of\u00a0`0.25`, favoring keyword search results.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n alpha: 0.25\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-alpha.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}", "schemaPath": "AIModels.json", "modelOutput": "{\n Get {\n AIModel(\n hybrid: {\n query: \"image classification\",\n alpha: 0.25\n },\n limit: 5\n ) {\n modelName\n application\n accuracy\n isSupervised\n basedOn {\n ... on Algorithm {\n name\n description\n yearDeveloped\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}\n\n COMMAND:\n ```text\nGet me the outdoor gear with a hybrid search of 'backpack', please use an alpha value of 0.25 in the hybrid search, and show the gear name, description, weight, waterproof status, and supplier's name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n OutdoorGear(\n hybrid: {\n query: \"backpack\",\n alpha: 0.25\n },\n limit: 5\n ) {\n gearName\n description\n weight\n isWaterproof\n supplier {\n ... on Supplier {\n supplierName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the outdoor gear with a hybrid search of 'backpack', please use an alpha value of 0.25 in the hybrid search, and show the gear name, description, weight, waterproof status, and supplier's name.\n```", "apiRef": "Weight keyword vs vector results in Hybrid Search\n\nYou can use the\u00a0`alpha`\u00a0argument to weight the keyword (`bm25`) or vector search results. An\u00a0`alpha`\u00a0of\u00a0`1`\u00a0is for a pure vector search and\u00a0`0`\u00a0is for a pure keyword search. The default is\u00a0`0.75`.\n\nThe following example uses an alpha of\u00a0`0.25`, favoring keyword search results.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n alpha: 0.25\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-alpha.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}", "schemaPath": "outdoorgear.json", "modelOutput": "{\n Get {\n OutdoorGear(\n hybrid: {\n query: \"backpack\",\n alpha: 0.25\n },\n limit: 5\n ) {\n gearName\n description\n weight\n isWaterproof\n supplier {\n ... on Supplier {\n supplierName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the startups with a hybrid search of 'technology', please use an alpha value of 0.25 in the hybrid search, and show the name, product, funding, bootstrapping status, and founder's name, biography, and successful startups.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Startup(\n hybrid: {\n query: \"technology\",\n alpha: 0.25\n },\n limit: 5\n ) {\n name\n product\n funding\n isBootstrapped\n founders {\n ... on Entrepreneur {\n name\n biography\n successfulStartups\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the startups with a hybrid search of 'technology', please use an alpha value of 0.25 in the hybrid search, and show the name, product, funding, bootstrapping status, and founder's name, biography, and successful startups.\n```", "apiRef": "Weight keyword vs vector results in Hybrid Search\n\nYou can use the\u00a0`alpha`\u00a0argument to weight the keyword (`bm25`) or vector search results. An\u00a0`alpha`\u00a0of\u00a0`1`\u00a0is for a pure vector search and\u00a0`0`\u00a0is for a pure keyword search. The default is\u00a0`0.75`.\n\nThe following example uses an alpha of\u00a0`0.25`, favoring keyword search results.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n alpha: 0.25\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-alpha.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}", "schemaPath": "startups.json", "modelOutput": "{\n Get {\n Startup(\n hybrid: {\n query: \"technology\",\n alpha: 0.25\n },\n limit: 5\n ) {\n name\n product\n funding\n isBootstrapped\n founders {\n ... on Entrepreneur {\n name\n biography\n successfulStartups\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the games with a hybrid search of 'action', please use an alpha value of 0.25 in the hybrid search, and show the title, genre, rating, multiplayer availability, and developer's name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Game(\n hybrid: {\n query: \"action\",\n alpha: 0.25\n },\n limit: 5\n ) {\n title\n genre\n rating\n isMultiplayer\n developedBy {\n ... on Developer {\n name\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the games with a hybrid search of 'action', please use an alpha value of 0.25 in the hybrid search, and show the title, genre, rating, multiplayer availability, and developer's name.\n```", "apiRef": "Weight keyword vs vector results in Hybrid Search\n\nYou can use the\u00a0`alpha`\u00a0argument to weight the keyword (`bm25`) or vector search results. An\u00a0`alpha`\u00a0of\u00a0`1`\u00a0is for a pure vector search and\u00a0`0`\u00a0is for a pure keyword search. The default is\u00a0`0.75`.\n\nThe following example uses an alpha of\u00a0`0.25`, favoring keyword search results.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n alpha: 0.25\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-alpha.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}", "schemaPath": "videogame.json", "modelOutput": "{\n Get {\n Game(\n hybrid: {\n query: \"action\",\n alpha: 0.25\n },\n limit: 5\n ) {\n title\n genre\n rating\n isMultiplayer\n developedBy {\n ... on Developer {\n name\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}\n\n COMMAND:\n ```text\nGet me the books with a hybrid search of 'science fiction', please use an alpha value of 0.25 in the hybrid search, and show the title, summary, availability, and author's name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Book(\n hybrid: {\n query: \"science fiction\",\n alpha: 0.25\n },\n limit: 5\n ) {\n title\n summary\n isAvailable\n author {\n ... on Author {\n name\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the books with a hybrid search of 'science fiction', please use an alpha value of 0.25 in the hybrid search, and show the title, summary, availability, and author's name.\n```", "apiRef": "Weight keyword vs vector results in Hybrid Search\n\nYou can use the\u00a0`alpha`\u00a0argument to weight the keyword (`bm25`) or vector search results. An\u00a0`alpha`\u00a0of\u00a0`1`\u00a0is for a pure vector search and\u00a0`0`\u00a0is for a pure keyword search. The default is\u00a0`0.75`.\n\nThe following example uses an alpha of\u00a0`0.25`, favoring keyword search results.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n alpha: 0.25\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-alpha.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}", "schemaPath": "books.json", "modelOutput": "{\n Get {\n Book(\n hybrid: {\n query: \"science fiction\",\n alpha: 0.25\n },\n limit: 5\n ) {\n title\n summary\n isAvailable\n author {\n ... on Author {\n name\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the craft beers with a hybrid search of 'IPA', please use an alpha value of 0.25 in the hybrid search, and show the beer name, tasting notes, alcohol content, seasonal availability, brewery name, and founded year.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n CraftBeer(\n hybrid: {\n query: \"IPA\",\n alpha: 0.25\n },\n limit: 5\n ) {\n beerName\n tastingNotes\n alcoholContent\n isSeasonal\n brewery {\n ... on Brewery {\n breweryName\n foundedYear\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the craft beers with a hybrid search of 'IPA', please use an alpha value of 0.25 in the hybrid search, and show the beer name, tasting notes, alcohol content, seasonal availability, brewery name, and founded year.\n```", "apiRef": "Weight keyword vs vector results in Hybrid Search\n\nYou can use the\u00a0`alpha`\u00a0argument to weight the keyword (`bm25`) or vector search results. An\u00a0`alpha`\u00a0of\u00a0`1`\u00a0is for a pure vector search and\u00a0`0`\u00a0is for a pure keyword search. The default is\u00a0`0.75`.\n\nThe following example uses an alpha of\u00a0`0.25`, favoring keyword search results.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n alpha: 0.25\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-alpha.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}", "schemaPath": "craftbeer.json", "modelOutput": "{\n Get {\n CraftBeer(\n hybrid: {\n query: \"IPA\",\n alpha: 0.25\n },\n limit: 5\n ) {\n beerName\n tastingNotes\n alcoholContent\n isSeasonal\n brewery {\n ... on Brewery {\n breweryName\n foundedYear\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 5 historical events with BM25 keyword scoring to 'World War II' in the event name, and show the event name, description, year, significant impact, and the involved countries' names and populations.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n HistoricalEvent(\n bm25: {\n query: \"World War II\",\n properties: [\"eventName\"]\n },\n limit: 5\n ) {\n eventName\n description\n year\n hadSignificantImpact\n involvedCountries {\n ... on Country {\n countryName\n population\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 5 historical events with BM25 keyword scoring to 'World War II' in the event name, and show the event name, description, year, significant impact, and the involved countries' names and populations.\n```", "apiRef": "BM25 with Selected properties\n\nYou can specify the object\u00a0`properties`\u00a0to search in.\n\nThe below example searches for objects containing the keyword\u00a0`food`\u00a0in the\u00a0`question`\u00a0property only, ranks them using BM25F scores of the searched property, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\",\n properties: [\"question\"]\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-select-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}", "schemaPath": "historicalevent.json", "modelOutput": "{\n Get {\n HistoricalEvent(\n bm25: {\n query: \"World War II\",\n properties: [\"eventName\"]\n },\n limit: 5\n ) {\n eventName\n description\n year\n hadSignificantImpact\n involvedCountries {\n ... on Country {\n countryName\n population\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 5 instruments with BM25 keyword scoring to 'guitar' in the name, and show the name, description, year introduced, whether it is a string instrument, and the musician's name, genre, and years active.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Instrument(\n bm25: {\n query: \"guitar\",\n properties: [\"name\"]\n },\n limit: 5\n ) {\n name\n description\n yearIntroduced\n isString\n playedBy {\n ... on Musician {\n name\n genre\n yearsActive\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 5 instruments with BM25 keyword scoring to 'guitar' in the name, and show the name, description, year introduced, whether it is a string instrument, and the musician's name, genre, and years active.\n```", "apiRef": "BM25 with Selected properties\n\nYou can specify the object\u00a0`properties`\u00a0to search in.\n\nThe below example searches for objects containing the keyword\u00a0`food`\u00a0in the\u00a0`question`\u00a0property only, ranks them using BM25F scores of the searched property, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\",\n properties: [\"question\"]\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-select-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}", "schemaPath": "musicalinstrument.json", "modelOutput": "{\n Get {\n Instrument(\n bm25: {\n query: \"guitar\",\n properties: [\"name\"]\n },\n limit: 5\n ) {\n name\n description\n yearIntroduced\n isString\n playedBy {\n ... on Musician {\n name\n genre\n yearsActive\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 3 weather stations with BM25 keyword scoring to 'temperature' in the location, and show the location, equipment, altitude, activity status, and the name and years of experience of the meteorologist managing them.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n WeatherStation(\n bm25: {\n query: \"temperature\",\n properties: [\"location\"]\n },\n limit: 3\n ) {\n location\n equipment\n altitude\n isActive\n managedBy {\n ... on Meteorologist {\n name\n yearsExperience\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 3 weather stations with BM25 keyword scoring to 'temperature' in the location, and show the location, equipment, altitude, activity status, and the name and years of experience of the meteorologist managing them.\n```", "apiRef": "BM25 with Selected properties\n\nYou can specify the object\u00a0`properties`\u00a0to search in.\n\nThe below example searches for objects containing the keyword\u00a0`food`\u00a0in the\u00a0`question`\u00a0property only, ranks them using BM25F scores of the searched property, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\",\n properties: [\"question\"]\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-select-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}", "schemaPath": "weatherstation.json", "modelOutput": "{\n Get {\n WeatherStation(\n bm25: {\n query: \"temperature\",\n properties: [\"location\"]\n },\n limit: 3\n ) {\n location\n equipment\n altitude\n isActive\n managedBy {\n ... on Meteorologist {\n name\n yearsExperience\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 10 AI models with BM25 keyword scoring to 'classification' in the modelName, and show the modelName, application, accuracy, isSupervised, and basedOn algorithm's name, description, and yearDeveloped.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n AIModel(\n bm25: {\n query: \"classification\",\n properties: [\"modelName\"]\n },\n limit: 10\n ) {\n modelName\n application\n accuracy\n isSupervised\n basedOn {\n ... on Algorithm {\n name\n description\n yearDeveloped\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 10 AI models with BM25 keyword scoring to 'classification' in the modelName, and show the modelName, application, accuracy, isSupervised, and basedOn algorithm's name, description, and yearDeveloped.\n```", "apiRef": "BM25 with Selected properties\n\nYou can specify the object\u00a0`properties`\u00a0to search in.\n\nThe below example searches for objects containing the keyword\u00a0`food`\u00a0in the\u00a0`question`\u00a0property only, ranks them using BM25F scores of the searched property, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\",\n properties: [\"question\"]\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-select-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}", "schemaPath": "AIModels.json", "modelOutput": "{\n Get {\n AIModel(\n bm25: {\n query: \"classification\",\n properties: [\"modelName\"]\n },\n limit: 10\n ) {\n modelName\n application\n accuracy\n isSupervised\n basedOn {\n ... on Algorithm {\n name\n description\n yearDeveloped\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 5 outdoor gears with BM25 keyword scoring to 'backpack' in the gear name, and show the gear name, description, weight, waterproof status, and supplier's name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n OutdoorGear(\n bm25: {\n query: \"backpack\",\n properties: [\"gearName\"]\n },\n limit: 5\n ) {\n gearName\n description\n weight\n isWaterproof\n supplier {\n ... on Supplier {\n supplierName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 5 outdoor gears with BM25 keyword scoring to 'backpack' in the gear name, and show the gear name, description, weight, waterproof status, and supplier's name.\n```", "apiRef": "BM25 with Selected properties\n\nYou can specify the object\u00a0`properties`\u00a0to search in.\n\nThe below example searches for objects containing the keyword\u00a0`food`\u00a0in the\u00a0`question`\u00a0property only, ranks them using BM25F scores of the searched property, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\",\n properties: [\"question\"]\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-select-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}", "schemaPath": "outdoorgear.json", "modelOutput": "{\n Get {\n OutdoorGear(\n bm25: {\n query: \"backpack\",\n properties: [\"gearName\"]\n },\n limit: 5\n ) {\n gearName\n description\n weight\n isWaterproof\n supplier {\n ... on Supplier {\n supplierName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 5 startups with BM25 keyword scoring to 'technology' in the name, and show the name, product, funding, bootstrapping status, and founder's name, biography, and successful startups.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Startup(\n bm25: {\n query: \"technology\",\n properties: [\"name\"]\n },\n limit: 5\n ) {\n name\n product\n funding\n isBootstrapped\n founders {\n ... on Entrepreneur {\n name\n biography\n successfulStartups\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 5 startups with BM25 keyword scoring to 'technology' in the name, and show the name, product, funding, bootstrapping status, and founder's name, biography, and successful startups.\n```", "apiRef": "BM25 with Selected properties\n\nYou can specify the object\u00a0`properties`\u00a0to search in.\n\nThe below example searches for objects containing the keyword\u00a0`food`\u00a0in the\u00a0`question`\u00a0property only, ranks them using BM25F scores of the searched property, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\",\n properties: [\"question\"]\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-select-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}", "schemaPath": "startups.json", "modelOutput": "{\n Get {\n Startup(\n bm25: {\n query: \"technology\",\n properties: [\"name\"]\n },\n limit: 5\n ) {\n name\n product\n funding\n isBootstrapped\n founders {\n ... on Entrepreneur {\n name\n biography\n successfulStartups\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 5 games with BM25 keyword scoring to 'action' in the title, and show the title, genre, rating, multiplayer availability, and developer's name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Game(\n bm25: {\n query: \"action\",\n properties: [\"title\"]\n },\n limit: 5\n ) {\n title\n genre\n rating\n isMultiplayer\n developedBy {\n ... on Developer {\n name\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 5 games with BM25 keyword scoring to 'action' in the title, and show the title, genre, rating, multiplayer availability, and developer's name.\n```", "apiRef": "BM25 with Selected properties\n\nYou can specify the object\u00a0`properties`\u00a0to search in.\n\nThe below example searches for objects containing the keyword\u00a0`food`\u00a0in the\u00a0`question`\u00a0property only, ranks them using BM25F scores of the searched property, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\",\n properties: [\"question\"]\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-select-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}", "schemaPath": "videogame.json", "modelOutput": "{\n Get {\n Game(\n bm25: {\n query: \"action\",\n properties: [\"title\"]\n },\n limit: 5\n ) {\n title\n genre\n rating\n isMultiplayer\n developedBy {\n ... on Developer {\n name\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 5 books with BM25 keyword scoring to 'science fiction' in the title, and show the title, summary, availability, and author's name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Book(\n bm25: {\n query: \"science fiction\",\n properties: [\"title\"]\n },\n limit: 5\n ) {\n title\n summary\n isAvailable\n author {\n ... on Author {\n name\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 5 books with BM25 keyword scoring to 'science fiction' in the title, and show the title, summary, availability, and author's name.\n```", "apiRef": "BM25 with Selected properties\n\nYou can specify the object\u00a0`properties`\u00a0to search in.\n\nThe below example searches for objects containing the keyword\u00a0`food`\u00a0in the\u00a0`question`\u00a0property only, ranks them using BM25F scores of the searched property, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\",\n properties: [\"question\"]\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-select-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}", "schemaPath": "books.json", "modelOutput": "{\n Get {\n Book(\n bm25: {\n query: \"science fiction\",\n properties: [\"title\"]\n },\n limit: 5\n ) {\n title\n summary\n isAvailable\n author {\n ... on Author {\n name\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 5 craft beers with BM25 keyword scoring to 'IPA' in the beer name, and show the beer name, tasting notes, alcohol content, seasonal availability, brewery name, and founded year.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n CraftBeer(\n bm25: {\n query: \"IPA\",\n properties: [\"beerName\"]\n },\n limit: 5\n ) {\n beerName\n tastingNotes\n alcoholContent\n isSeasonal\n brewery {\n ... on Brewery {\n breweryName\n foundedYear\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 5 craft beers with BM25 keyword scoring to 'IPA' in the beer name, and show the beer name, tasting notes, alcohol content, seasonal availability, brewery name, and founded year.\n```", "apiRef": "BM25 with Selected properties\n\nYou can specify the object\u00a0`properties`\u00a0to search in.\n\nThe below example searches for objects containing the keyword\u00a0`food`\u00a0in the\u00a0`question`\u00a0property only, ranks them using BM25F scores of the searched property, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\",\n properties: [\"question\"]\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-select-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}", "schemaPath": "craftbeer.json", "modelOutput": "{\n Get {\n CraftBeer(\n bm25: {\n query: \"IPA\",\n properties: [\"beerName\"]\n },\n limit: 5\n ) {\n beerName\n tastingNotes\n alcoholContent\n isSeasonal\n brewery {\n ... on Brewery {\n breweryName\n foundedYear\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}\n\n COMMAND:\n ```text\nShow me the event name and vector representation of historical events.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n HistoricalEvent {\n eventName\n _additional {\n vector\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the event name and vector representation of historical events.\n```", "apiRef": "Retrieve the object\u00a0`vector`\n\nTo retrieve the object vector, request the\u00a0`_additional`\u00a0property and\u00a0`vector`\u00a0sub-property. You can do so as shown below.\n\n```graphql\n{\n Get {\n JeopardyQuestion (limit: 1) {\n _additional {\n vector\n }\n }\n }\n}\n```", "apiRefPath": "get-retrieve-object-vector.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}", "schemaPath": "historicalevent.json", "modelOutput": "{\n Get {\n HistoricalEvent {\n eventName\n _additional {\n vector\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}\n\n COMMAND:\n ```text\nShow me the name and vector representation of instruments.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Instrument {\n name\n _additional {\n vector\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the name and vector representation of instruments.\n```", "apiRef": "Retrieve the object\u00a0`vector`\n\nTo retrieve the object vector, request the\u00a0`_additional`\u00a0property and\u00a0`vector`\u00a0sub-property. You can do so as shown below.\n\n```graphql\n{\n Get {\n JeopardyQuestion (limit: 1) {\n _additional {\n vector\n }\n }\n }\n}\n```", "apiRefPath": "get-retrieve-object-vector.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}", "schemaPath": "musicalinstrument.json", "modelOutput": "{\n Get {\n Instrument {\n name\n _additional {\n vector\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}\n\n COMMAND:\n ```text\nShow me the location and vector representation of weather stations.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n WeatherStation {\n location\n _additional {\n vector\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the location and vector representation of weather stations.\n```", "apiRef": "Retrieve the object\u00a0`vector`\n\nTo retrieve the object vector, request the\u00a0`_additional`\u00a0property and\u00a0`vector`\u00a0sub-property. You can do so as shown below.\n\n```graphql\n{\n Get {\n JeopardyQuestion (limit: 1) {\n _additional {\n vector\n }\n }\n }\n}\n```", "apiRefPath": "get-retrieve-object-vector.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}", "schemaPath": "weatherstation.json", "modelOutput": "{\n Get {\n WeatherStation {\n location\n _additional {\n vector\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}\n\n COMMAND:\n ```text\nShow me the model name and vector representation of AI models.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n AIModel {\n modelName\n _additional {\n vector\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the model name and vector representation of AI models.\n```", "apiRef": "Retrieve the object\u00a0`vector`\n\nTo retrieve the object vector, request the\u00a0`_additional`\u00a0property and\u00a0`vector`\u00a0sub-property. You can do so as shown below.\n\n```graphql\n{\n Get {\n JeopardyQuestion (limit: 1) {\n _additional {\n vector\n }\n }\n }\n}\n```", "apiRefPath": "get-retrieve-object-vector.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}", "schemaPath": "AIModels.json", "modelOutput": "{\n Get {\n AIModel {\n modelName\n _additional {\n vector\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}\n\n COMMAND:\n ```text\nShow me the gear name and vector representation of outdoor gear.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n OutdoorGear {\n gearName\n _additional {\n vector\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the gear name and vector representation of outdoor gear.\n```", "apiRef": "Retrieve the object\u00a0`vector`\n\nTo retrieve the object vector, request the\u00a0`_additional`\u00a0property and\u00a0`vector`\u00a0sub-property. You can do so as shown below.\n\n```graphql\n{\n Get {\n JeopardyQuestion (limit: 1) {\n _additional {\n vector\n }\n }\n }\n}\n```", "apiRefPath": "get-retrieve-object-vector.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}", "schemaPath": "outdoorgear.json", "modelOutput": "{\n Get {\n OutdoorGear {\n gearName\n _additional {\n vector\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}\n\n COMMAND:\n ```text\nShow me the name and vector representation of startups.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Startup {\n name\n _additional {\n vector\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the name and vector representation of startups.\n```", "apiRef": "Retrieve the object\u00a0`vector`\n\nTo retrieve the object vector, request the\u00a0`_additional`\u00a0property and\u00a0`vector`\u00a0sub-property. You can do so as shown below.\n\n```graphql\n{\n Get {\n JeopardyQuestion (limit: 1) {\n _additional {\n vector\n }\n }\n }\n}\n```", "apiRefPath": "get-retrieve-object-vector.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}", "schemaPath": "startups.json", "modelOutput": "{\n Get {\n Startup {\n name\n _additional {\n vector\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nShow me the title and vector representation of games.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Game {\n title\n _additional {\n vector\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the title and vector representation of games.\n```", "apiRef": "Retrieve the object\u00a0`vector`\n\nTo retrieve the object vector, request the\u00a0`_additional`\u00a0property and\u00a0`vector`\u00a0sub-property. You can do so as shown below.\n\n```graphql\n{\n Get {\n JeopardyQuestion (limit: 1) {\n _additional {\n vector\n }\n }\n }\n}\n```", "apiRefPath": "get-retrieve-object-vector.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}", "schemaPath": "videogame.json", "modelOutput": "{\n Get {\n Game {\n title\n _additional {\n vector\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}\n\n COMMAND:\n ```text\nShow me the title and vector representation of books.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Book {\n title\n _additional {\n vector\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the title and vector representation of books.\n```", "apiRef": "Retrieve the object\u00a0`vector`\n\nTo retrieve the object vector, request the\u00a0`_additional`\u00a0property and\u00a0`vector`\u00a0sub-property. You can do so as shown below.\n\n```graphql\n{\n Get {\n JeopardyQuestion (limit: 1) {\n _additional {\n vector\n }\n }\n }\n}\n```", "apiRefPath": "get-retrieve-object-vector.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}", "schemaPath": "books.json", "modelOutput": "{\n Get {\n Book {\n title\n _additional {\n vector\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}\n\n COMMAND:\n ```text\nShow me the beer name and vector representation of craft beers.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n CraftBeer {\n beerName\n _additional {\n vector\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the beer name and vector representation of craft beers.\n```", "apiRef": "Retrieve the object\u00a0`vector`\n\nTo retrieve the object vector, request the\u00a0`_additional`\u00a0property and\u00a0`vector`\u00a0sub-property. You can do so as shown below.\n\n```graphql\n{\n Get {\n JeopardyQuestion (limit: 1) {\n _additional {\n vector\n }\n }\n }\n}\n```", "apiRefPath": "get-retrieve-object-vector.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}", "schemaPath": "craftbeer.json", "modelOutput": "{\n Get {\n CraftBeer {\n beerName\n _additional {\n vector\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}\n\n COMMAND:\n ```text\nGet me the historical events semantically similar to the query 'World War II', and show the event name, description, year, significant impact, and the names and populations of the involved countries. Limit the results to 3.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n HistoricalEvent(\n nearText: {\n concepts: [\"World War II\"]\n },\n limit: 3\n ) {\n eventName\n description\n year\n hadSignificantImpact\n involvedCountries {\n ... on Country {\n countryName\n population\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the historical events semantically similar to the query 'World War II', and show the event name, description, year, significant impact, and the names and populations of the involved countries. Limit the results to 3.\n```", "apiRef": "1. nearText\n- `near`\u00a0- Finds objects closest to an input medium:\n - E.g.: Use it to find text objects most similar to\u00a0`cute animals`, or images most similar to a particular image.\n\nYou can use these operators to find objects most similar to a raw (un-vectorized) input, such as text or image. For text objects, you can provide an input text to\u00a0`nearText`, and for image objects, you can provide an input image to\u00a0`nearImage`. Or either if you are using\u00a0CLIP.\n\nThe example below searches the\u00a0`JeopardyQuestion`\u00a0class for the top 2 objects best matching\u00a0`\"animals in movies\"`, using\u00a0`nearText`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 2,\n nearText: {\n concepts: [\"animals in movies\"]\n }\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}", "schemaPath": "historicalevent.json", "modelOutput": "{\n Get {\n HistoricalEvent(\n nearText: {\n concepts: [\"World War II\"]\n },\n limit: 3\n ) {\n eventName\n description\n year\n hadSignificantImpact\n involvedCountries {\n ... on Country {\n countryName\n population\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}\n\n COMMAND:\n ```text\nGet me the instruments that are semantically similar to the query 'piano', and show the name, description, year of introduction, whether it is a string instrument, and the musicians who play it including their names, genres, and years active. Limit the results to 3.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Instrument(\n nearText: {\n concepts: [\"piano\"]\n },\n limit: 3\n ) {\n name\n description\n yearIntroduced\n isString\n playedBy {\n ... on Musician {\n name\n genre\n yearsActive\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the instruments that are semantically similar to the query 'piano', and show the name, description, year of introduction, whether it is a string instrument, and the musicians who play it including their names, genres, and years active. Limit the results to 3.\n```", "apiRef": "1. nearText\n- `near`\u00a0- Finds objects closest to an input medium:\n - E.g.: Use it to find text objects most similar to\u00a0`cute animals`, or images most similar to a particular image.\n\nYou can use these operators to find objects most similar to a raw (un-vectorized) input, such as text or image. For text objects, you can provide an input text to\u00a0`nearText`, and for image objects, you can provide an input image to\u00a0`nearImage`. Or either if you are using\u00a0CLIP.\n\nThe example below searches the\u00a0`JeopardyQuestion`\u00a0class for the top 2 objects best matching\u00a0`\"animals in movies\"`, using\u00a0`nearText`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 2,\n nearText: {\n concepts: [\"animals in movies\"]\n }\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}", "schemaPath": "musicalinstrument.json", "modelOutput": "{\n Get {\n Instrument(\n nearText: {\n concepts: [\"piano\"]\n },\n limit: 3\n ) {\n name\n description\n yearIntroduced\n isString\n playedBy {\n ... on Musician {\n name\n genre\n yearsActive\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}\n\n COMMAND:\n ```text\nGet me the weather stations that are semantically similar to the query 'mountain', and show the location, equipment, altitude, activity status, and the name and years of experience of the meteorologist managing each station. Limit the results to 3.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n WeatherStation(\n nearText: {\n concepts: [\"mountain\"]\n },\n limit: 3\n ) {\n location\n equipment\n altitude\n isActive\n managedBy {\n ... on Meteorologist {\n name\n yearsExperience\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the weather stations that are semantically similar to the query 'mountain', and show the location, equipment, altitude, activity status, and the name and years of experience of the meteorologist managing each station. Limit the results to 3.\n```", "apiRef": "1. nearText\n- `near`\u00a0- Finds objects closest to an input medium:\n - E.g.: Use it to find text objects most similar to\u00a0`cute animals`, or images most similar to a particular image.\n\nYou can use these operators to find objects most similar to a raw (un-vectorized) input, such as text or image. For text objects, you can provide an input text to\u00a0`nearText`, and for image objects, you can provide an input image to\u00a0`nearImage`. Or either if you are using\u00a0CLIP.\n\nThe example below searches the\u00a0`JeopardyQuestion`\u00a0class for the top 2 objects best matching\u00a0`\"animals in movies\"`, using\u00a0`nearText`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 2,\n nearText: {\n concepts: [\"animals in movies\"]\n }\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}", "schemaPath": "weatherstation.json", "modelOutput": "{\n Get {\n WeatherStation(\n nearText: {\n concepts: [\"mountain\"]\n },\n limit: 3\n ) {\n location\n equipment\n altitude\n isActive\n managedBy {\n ... on Meteorologist {\n name\n yearsExperience\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}\n\n COMMAND:\n ```text\nGet me the AI models that are semantically similar to the query 'natural language processing', and show me the model name, application, accuracy, whether it is supervised, and the algorithm it is based on including its name, description, and the year it was developed.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n AIModel(\n nearText: {\n concepts: [\"natural language processing\"]\n },\n limit: 3\n ) {\n modelName\n application\n accuracy\n isSupervised\n basedOn {\n ... on Algorithm {\n name\n description\n yearDeveloped\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the AI models that are semantically similar to the query 'natural language processing', and show me the model name, application, accuracy, whether it is supervised, and the algorithm it is based on including its name, description, and the year it was developed.\n```", "apiRef": "1. nearText\n- `near`\u00a0- Finds objects closest to an input medium:\n - E.g.: Use it to find text objects most similar to\u00a0`cute animals`, or images most similar to a particular image.\n\nYou can use these operators to find objects most similar to a raw (un-vectorized) input, such as text or image. For text objects, you can provide an input text to\u00a0`nearText`, and for image objects, you can provide an input image to\u00a0`nearImage`. Or either if you are using\u00a0CLIP.\n\nThe example below searches the\u00a0`JeopardyQuestion`\u00a0class for the top 2 objects best matching\u00a0`\"animals in movies\"`, using\u00a0`nearText`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 2,\n nearText: {\n concepts: [\"animals in movies\"]\n }\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}", "schemaPath": "AIModels.json", "modelOutput": "{\n Get {\n AIModel(\n nearText: {\n concepts: [\"natural language processing\"]\n },\n limit: 3\n ) {\n modelName\n application\n accuracy\n isSupervised\n basedOn {\n ... on Algorithm {\n name\n description\n yearDeveloped\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}\n\n COMMAND:\n ```text\nGet me the outdoor gear that is semantically similar to the query 'hiking boots'. Show me the gear name, description, weight, waterproof status, and the supplier's name. Limit the results to 3.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n OutdoorGear(\n nearText: {\n concepts: [\"hiking boots\"]\n },\n limit: 3\n ) {\n gearName\n description\n weight\n isWaterproof\n supplier {\n ... on Supplier {\n supplierName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the outdoor gear that is semantically similar to the query 'hiking boots'. Show me the gear name, description, weight, waterproof status, and the supplier's name. Limit the results to 3.\n```", "apiRef": "1. nearText\n- `near`\u00a0- Finds objects closest to an input medium:\n - E.g.: Use it to find text objects most similar to\u00a0`cute animals`, or images most similar to a particular image.\n\nYou can use these operators to find objects most similar to a raw (un-vectorized) input, such as text or image. For text objects, you can provide an input text to\u00a0`nearText`, and for image objects, you can provide an input image to\u00a0`nearImage`. Or either if you are using\u00a0CLIP.\n\nThe example below searches the\u00a0`JeopardyQuestion`\u00a0class for the top 2 objects best matching\u00a0`\"animals in movies\"`, using\u00a0`nearText`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 2,\n nearText: {\n concepts: [\"animals in movies\"]\n }\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}", "schemaPath": "outdoorgear.json", "modelOutput": "{\n Get {\n OutdoorGear(\n nearText: {\n concepts: [\"hiking boots\"]\n },\n limit: 3\n ) {\n gearName\n description\n weight\n isWaterproof\n supplier {\n ... on Supplier {\n supplierName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the startups that are semantically similar to the query 'technology', and show the name, product, funding, whether they are bootstrapped, and the founders' names, biographies, and successful startups. Limit the results to 3.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Startup(\n nearText: {\n concepts: [\"technology\"]\n },\n limit: 3\n ) {\n name\n product\n funding\n isBootstrapped\n founders {\n ... on Entrepreneur {\n name\n biography\n successfulStartups\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the startups that are semantically similar to the query 'technology', and show the name, product, funding, whether they are bootstrapped, and the founders' names, biographies, and successful startups. Limit the results to 3.\n```", "apiRef": "1. nearText\n- `near`\u00a0- Finds objects closest to an input medium:\n - E.g.: Use it to find text objects most similar to\u00a0`cute animals`, or images most similar to a particular image.\n\nYou can use these operators to find objects most similar to a raw (un-vectorized) input, such as text or image. For text objects, you can provide an input text to\u00a0`nearText`, and for image objects, you can provide an input image to\u00a0`nearImage`. Or either if you are using\u00a0CLIP.\n\nThe example below searches the\u00a0`JeopardyQuestion`\u00a0class for the top 2 objects best matching\u00a0`\"animals in movies\"`, using\u00a0`nearText`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 2,\n nearText: {\n concepts: [\"animals in movies\"]\n }\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}", "schemaPath": "startups.json", "modelOutput": "{\n Get {\n Startup(\n nearText: {\n concepts: [\"technology\"]\n },\n limit: 3\n ) {\n name\n product\n funding\n isBootstrapped\n founders {\n ... on Entrepreneur {\n name\n biography\n successfulStartups\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the games that are semantically similar to the query 'action', and show the title, genre, rating, multiplayer status, and developer's name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Game(\n nearText: {\n concepts: [\"action\"]\n },\n limit: 3\n ) {\n title\n genre\n rating\n isMultiplayer\n developedBy {\n ... on Developer {\n name\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the games that are semantically similar to the query 'action', and show the title, genre, rating, multiplayer status, and developer's name.\n```", "apiRef": "1. nearText\n- `near`\u00a0- Finds objects closest to an input medium:\n - E.g.: Use it to find text objects most similar to\u00a0`cute animals`, or images most similar to a particular image.\n\nYou can use these operators to find objects most similar to a raw (un-vectorized) input, such as text or image. For text objects, you can provide an input text to\u00a0`nearText`, and for image objects, you can provide an input image to\u00a0`nearImage`. Or either if you are using\u00a0CLIP.\n\nThe example below searches the\u00a0`JeopardyQuestion`\u00a0class for the top 2 objects best matching\u00a0`\"animals in movies\"`, using\u00a0`nearText`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 2,\n nearText: {\n concepts: [\"animals in movies\"]\n }\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}", "schemaPath": "videogame.json", "modelOutput": "{\n Get {\n Game(\n nearText: {\n concepts: [\"action\"]\n },\n limit: 3\n ) {\n title\n genre\n rating\n isMultiplayer\n developedBy {\n ... on Developer {\n name\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 5 books that are semantically similar to the query 'science fiction'. Show me the title, summary, availability, and author's name for each book.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Book(\n nearText: {\n concepts: [\"science fiction\"]\n },\n limit: 5\n ) {\n title\n summary\n isAvailable\n author {\n ... on Author {\n name\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 5 books that are semantically similar to the query 'science fiction'. Show me the title, summary, availability, and author's name for each book.\n```", "apiRef": "1. nearText\n- `near`\u00a0- Finds objects closest to an input medium:\n - E.g.: Use it to find text objects most similar to\u00a0`cute animals`, or images most similar to a particular image.\n\nYou can use these operators to find objects most similar to a raw (un-vectorized) input, such as text or image. For text objects, you can provide an input text to\u00a0`nearText`, and for image objects, you can provide an input image to\u00a0`nearImage`. Or either if you are using\u00a0CLIP.\n\nThe example below searches the\u00a0`JeopardyQuestion`\u00a0class for the top 2 objects best matching\u00a0`\"animals in movies\"`, using\u00a0`nearText`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 2,\n nearText: {\n concepts: [\"animals in movies\"]\n }\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}", "schemaPath": "books.json", "modelOutput": "{\n Get {\n Book(\n nearText: {\n concepts: [\"science fiction\"]\n },\n limit: 5\n ) {\n title\n summary\n isAvailable\n author {\n ... on Author {\n name\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the craft beers that are semantically similar to the query 'hoppy', and show the beer name, tasting notes, alcohol content, seasonal availability, brewery name, and founded year.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n CraftBeer(\n nearText: {\n concepts: [\"hoppy\"]\n },\n limit: 3\n ) {\n beerName\n tastingNotes\n alcoholContent\n isSeasonal\n brewery {\n ... on Brewery {\n breweryName\n foundedYear\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the craft beers that are semantically similar to the query 'hoppy', and show the beer name, tasting notes, alcohol content, seasonal availability, brewery name, and founded year.\n```", "apiRef": "1. nearText\n- `near`\u00a0- Finds objects closest to an input medium:\n - E.g.: Use it to find text objects most similar to\u00a0`cute animals`, or images most similar to a particular image.\n\nYou can use these operators to find objects most similar to a raw (un-vectorized) input, such as text or image. For text objects, you can provide an input text to\u00a0`nearText`, and for image objects, you can provide an input image to\u00a0`nearImage`. Or either if you are using\u00a0CLIP.\n\nThe example below searches the\u00a0`JeopardyQuestion`\u00a0class for the top 2 objects best matching\u00a0`\"animals in movies\"`, using\u00a0`nearText`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 2,\n nearText: {\n concepts: [\"animals in movies\"]\n }\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}", "schemaPath": "craftbeer.json", "modelOutput": "{\n Get {\n CraftBeer(\n nearText: {\n concepts: [\"hoppy\"]\n },\n limit: 3\n ) {\n beerName\n tastingNotes\n alcoholContent\n isSeasonal\n brewery {\n ... on Brewery {\n breweryName\n foundedYear\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}\n\n COMMAND:\n ```text\nShow me the location and equipment of weather stations with an altitude greater than 1000 that are either located in a place containing \"mountain\" or \"peak\" in the location.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n WeatherStation(\n where: {\n operator: And,\n operands: [\n {\n path: [\"altitude\"],\n operator: GreaterThan,\n valueNumber: 1000\n },\n {\n operator: Or,\n operands: [\n {\n path: [\"location\"],\n operator: Like,\n valueText: \"*mountain*\"\n },\n {\n path: [\"location\"],\n operator: Like,\n valueText: \"*peak*\"\n }\n ]\n }\n ]\n }\n ) {\n location\n equipment\n }\n }\n}\n```", "nlcommand": "```text\nShow me the location and equipment of weather stations with an altitude greater than 1000 that are either located in a place containing \"mountain\" or \"peak\" in the location.\n```", "apiRef": "Nested multiple conditions\n\nConditional filters can be nested in Weaviate. To do so, set the operator of an outer operands value to And or Or. Then, you can provide two or more conditions to the inner operands.\n\nThe following example specifies that:\n\nthe answer property must contain a substring \"nest\", And\nthe points property must be greater than 700, Or, the points property must be less than 300.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n operator: And,\n operands: [\n {\n path: [\"answer\"],\n operator: Like,\n valueText: \"*nest*\"\n },\n {\n operator: Or,\n operands: [\n {\n path: [\"points\"],\n operator: GreaterThan,\n valueInt: 700\n },\n {\n path: [\"points\"],\n operator: LessThan,\n valueInt: 300\n },\n ]\n }\n ]\n\n }\n ) {\n question\n answer\n round\n points\n }\n }\n}\n```", "apiRefPath": "get-where-nested-multiple-conditions.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}", "schemaPath": "weatherstation.json", "modelOutput": "{\n Get {\n WeatherStation(\n where: {\n operator: And,\n operands: [\n {\n path: [\"altitude\"],\n operator: GreaterThan,\n valueNumber: 1000\n },\n {\n operator: Or,\n operands: [\n {\n path: [\"location\"],\n operator: Like,\n valueText: \"*mountain*\"\n },\n {\n path: [\"location\"],\n operator: Like,\n valueText: \"*peak*\"\n }\n ]\n }\n ]\n }\n ) {\n location\n equipment\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}\n\n COMMAND:\n ```text\nShow me the model name, application, and accuracy of AI models with an accuracy greater than 0.8 that either contain \"image\" in the model name or \"text\" in the application.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n AIModel(\n where: {\n operator: And,\n operands: [\n {\n path: [\"accuracy\"],\n operator: GreaterThan,\n valueNumber: 0.8\n },\n {\n operator: Or,\n operands: [\n {\n path: [\"modelName\"],\n operator: Like,\n valueText: \"*image*\"\n },\n {\n path: [\"application\"],\n operator: Like,\n valueText: \"*text*\"\n }\n ]\n }\n ]\n }\n ) {\n modelName\n application\n accuracy\n }\n }\n}\n```", "nlcommand": "```text\nShow me the model name, application, and accuracy of AI models with an accuracy greater than 0.8 that either contain \"image\" in the model name or \"text\" in the application.\n```", "apiRef": "Nested multiple conditions\n\nConditional filters can be nested in Weaviate. To do so, set the operator of an outer operands value to And or Or. Then, you can provide two or more conditions to the inner operands.\n\nThe following example specifies that:\n\nthe answer property must contain a substring \"nest\", And\nthe points property must be greater than 700, Or, the points property must be less than 300.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n operator: And,\n operands: [\n {\n path: [\"answer\"],\n operator: Like,\n valueText: \"*nest*\"\n },\n {\n operator: Or,\n operands: [\n {\n path: [\"points\"],\n operator: GreaterThan,\n valueInt: 700\n },\n {\n path: [\"points\"],\n operator: LessThan,\n valueInt: 300\n },\n ]\n }\n ]\n\n }\n ) {\n question\n answer\n round\n points\n }\n }\n}\n```", "apiRefPath": "get-where-nested-multiple-conditions.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}", "schemaPath": "AIModels.json", "modelOutput": "{\n Get {\n AIModel(\n where: {\n operator: And,\n operands: [\n {\n path: [\"modelName\"],\n operator: Like,\n valueText: \"*image*\"\n },\n {\n path: [\"application\"],\n operator: Like,\n valueText: \"*text*\"\n }\n ]\n },\n nearText: {\n concepts: [\"machine learning\"]\n },\n limit: 10\n ) {\n modelName\n application\n accuracy\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}\n\n COMMAND:\n ```text\nShow me the gear name and description of outdoor gear with a weight less than 1000 that either contains \"tent\" or \"sleeping bag\" in the gear name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n OutdoorGear(\n where: {\n operator: And,\n operands: [\n {\n path: [\"weight\"],\n operator: LessThan,\n valueNumber: 1000\n },\n {\n operator: Or,\n operands: [\n {\n path: [\"gearName\"],\n operator: Like,\n valueText: \"*tent*\"\n },\n {\n path: [\"gearName\"],\n operator: Like,\n valueText: \"*sleeping bag*\"\n }\n ]\n }\n ]\n }\n ) {\n gearName\n description\n }\n }\n}\n```", "nlcommand": "```text\nShow me the gear name and description of outdoor gear with a weight less than 1000 that either contains \"tent\" or \"sleeping bag\" in the gear name.\n```", "apiRef": "Nested multiple conditions\n\nConditional filters can be nested in Weaviate. To do so, set the operator of an outer operands value to And or Or. Then, you can provide two or more conditions to the inner operands.\n\nThe following example specifies that:\n\nthe answer property must contain a substring \"nest\", And\nthe points property must be greater than 700, Or, the points property must be less than 300.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n operator: And,\n operands: [\n {\n path: [\"answer\"],\n operator: Like,\n valueText: \"*nest*\"\n },\n {\n operator: Or,\n operands: [\n {\n path: [\"points\"],\n operator: GreaterThan,\n valueInt: 700\n },\n {\n path: [\"points\"],\n operator: LessThan,\n valueInt: 300\n },\n ]\n }\n ]\n\n }\n ) {\n question\n answer\n round\n points\n }\n }\n}\n```", "apiRefPath": "get-where-nested-multiple-conditions.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}", "schemaPath": "outdoorgear.json", "modelOutput": "{\n Get {\n OutdoorGear(\n where: {\n operator: And,\n operands: [\n {\n path: [\"weight\"],\n operator: LessThan,\n valueNumber: 1000\n },\n {\n operator: Or,\n operands: [\n {\n path: [\"gearName\"],\n operator: Like,\n valueText: \"*tent*\"\n },\n {\n path: [\"gearName\"],\n operator: Like,\n valueText: \"*sleeping bag*\"\n }\n ]\n }\n ]\n }\n ) {\n gearName\n description\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}\n\n COMMAND:\n ```text\nShow me the name and product of startups with funding greater than 1,000,000 that either contain \"tech\" in the name or \"software\" in the product.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Startup(\n where: {\n operator: And,\n operands: [\n {\n path: [\"funding\"],\n operator: GreaterThan,\n valueNumber: 1000000\n },\n {\n operator: Or,\n operands: [\n {\n path: [\"name\"],\n operator: Like,\n valueText: \"*tech*\"\n },\n {\n path: [\"product\"],\n operator: Like,\n valueText: \"*software*\"\n }\n ]\n }\n ]\n }\n ) {\n name\n product\n }\n }\n}\n```", "nlcommand": "```text\nShow me the name and product of startups with funding greater than 1,000,000 that either contain \"tech\" in the name or \"software\" in the product.\n```", "apiRef": "Nested multiple conditions\n\nConditional filters can be nested in Weaviate. To do so, set the operator of an outer operands value to And or Or. Then, you can provide two or more conditions to the inner operands.\n\nThe following example specifies that:\n\nthe answer property must contain a substring \"nest\", And\nthe points property must be greater than 700, Or, the points property must be less than 300.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n operator: And,\n operands: [\n {\n path: [\"answer\"],\n operator: Like,\n valueText: \"*nest*\"\n },\n {\n operator: Or,\n operands: [\n {\n path: [\"points\"],\n operator: GreaterThan,\n valueInt: 700\n },\n {\n path: [\"points\"],\n operator: LessThan,\n valueInt: 300\n },\n ]\n }\n ]\n\n }\n ) {\n question\n answer\n round\n points\n }\n }\n}\n```", "apiRefPath": "get-where-nested-multiple-conditions.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}", "schemaPath": "startups.json", "modelOutput": "{\n Get {\n Startup(\n where: {\n operator: And,\n operands: [\n {\n path: [\"funding\"],\n operator: GreaterThan,\n valueNumber: 1000000\n },\n {\n operator: Or,\n operands: [\n {\n path: [\"name\"],\n operator: Like,\n valueText: \"*tech*\"\n },\n {\n path: [\"product\"],\n operator: Like,\n valueText: \"*software*\"\n }\n ]\n }\n ]\n }\n ) {\n name\n product\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nShow me the title and genre of games with a rating greater than 8 that are either categorized as \"action\" or \"adventure\".\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Game(\n where: {\n operator: And,\n operands: [\n {\n path: [\"rating\"],\n operator: GreaterThan,\n valueInt: 8\n },\n {\n operator: Or,\n operands: [\n {\n path: [\"genre\"],\n operator: Like,\n valueText: \"*action*\"\n },\n {\n path: [\"genre\"],\n operator: Like,\n valueText: \"*adventure*\"\n }\n ]\n }\n ]\n }\n ) {\n title\n genre\n }\n }\n}\n```", "nlcommand": "```text\nShow me the title and genre of games with a rating greater than 8 that are either categorized as \"action\" or \"adventure\".\n```", "apiRef": "Nested multiple conditions\n\nConditional filters can be nested in Weaviate. To do so, set the operator of an outer operands value to And or Or. Then, you can provide two or more conditions to the inner operands.\n\nThe following example specifies that:\n\nthe answer property must contain a substring \"nest\", And\nthe points property must be greater than 700, Or, the points property must be less than 300.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n operator: And,\n operands: [\n {\n path: [\"answer\"],\n operator: Like,\n valueText: \"*nest*\"\n },\n {\n operator: Or,\n operands: [\n {\n path: [\"points\"],\n operator: GreaterThan,\n valueInt: 700\n },\n {\n path: [\"points\"],\n operator: LessThan,\n valueInt: 300\n },\n ]\n }\n ]\n\n }\n ) {\n question\n answer\n round\n points\n }\n }\n}\n```", "apiRefPath": "get-where-nested-multiple-conditions.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}", "schemaPath": "videogame.json", "modelOutput": "{\n Get {\n Game(\n where: {\n operator: And,\n operands: [\n {\n path: [\"rating\"],\n operator: GreaterThan,\n valueInt: 8\n },\n {\n operator: Or,\n operands: [\n {\n path: [\"genre\"],\n operator: Like,\n valueText: \"*action*\"\n },\n {\n path: [\"genre\"],\n operator: Like,\n valueText: \"*adventure*\"\n }\n ]\n }\n ]\n }\n ) {\n title\n genre\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}\n\n COMMAND:\n ```text\nShow me the title and summary of books with less than 150 pages that either contain \"robots\" or \"aliens\" in the title.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Book(\n where: {\n operator: And,\n operands: [\n {\n path: [\"pageCount\"],\n operator: LessThan,\n valueInt: 150\n },\n {\n operator: Or,\n operands: [\n {\n path: [\"title\"],\n operator: Like,\n valueText: \"*robots*\"\n },\n {\n path: [\"title\"],\n operator: Like,\n valueText: \"*aliens*\"\n }\n ]\n }\n ]\n }\n ) {\n title\n summary\n }\n }\n}\n```", "nlcommand": "```text\nShow me the title and summary of books with less than 150 pages that either contain \"robots\" or \"aliens\" in the title.\n```", "apiRef": "Nested multiple conditions\n\nConditional filters can be nested in Weaviate. To do so, set the operator of an outer operands value to And or Or. Then, you can provide two or more conditions to the inner operands.\n\nThe following example specifies that:\n\nthe answer property must contain a substring \"nest\", And\nthe points property must be greater than 700, Or, the points property must be less than 300.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n operator: And,\n operands: [\n {\n path: [\"answer\"],\n operator: Like,\n valueText: \"*nest*\"\n },\n {\n operator: Or,\n operands: [\n {\n path: [\"points\"],\n operator: GreaterThan,\n valueInt: 700\n },\n {\n path: [\"points\"],\n operator: LessThan,\n valueInt: 300\n },\n ]\n }\n ]\n\n }\n ) {\n question\n answer\n round\n points\n }\n }\n}\n```", "apiRefPath": "get-where-nested-multiple-conditions.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}", "schemaPath": "books.json", "modelOutput": "{\n Get {\n Book(\n where: {\n operator: And,\n operands: [\n {\n path: [\"pageCount\"],\n operator: LessThan,\n valueInt: 150\n },\n {\n operator: Or,\n operands: [\n {\n path: [\"title\"],\n operator: Like,\n valueText: \"*robots*\"\n },\n {\n path: [\"title\"],\n operator: Like,\n valueText: \"*aliens*\"\n }\n ]\n }\n ]\n }\n ) {\n title\n summary\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}\n\n COMMAND:\n ```text\nShow me the number of unique event names and the sum of years of the Historical Events in the database.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n HistoricalEvent {\n eventName {\n count\n type\n topOccurrences {\n occurs\n value\n }\n }\n year {\n count\n sum\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the number of unique event names and the sum of years of the Historical Events in the database.\n```", "apiRef": "Retrieve aggregated object properties\n\nYou can retrieve aggregations of text, number, int, or boolean data types.\n\nThe available sub-types vary for each data type, except for type which is available to all, and count which is available to all but cross-references.\n\nExample with text\nThe following example retrieves information about the most commonly occurring examples in the question property:\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion {\n answer {\n count\n type\n topOccurrences {\n occurs\n value\n }\n }\n }\n }\n}\n```\n\nExample with int\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion {\n points {\n count\n sum\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}", "schemaPath": "historicalevent.json", "modelOutput": "{\n Aggregate {\n HistoricalEvent {\n eventName {\n count\n type\n topOccurrences {\n occurs\n value\n }\n }\n year {\n count\n sum\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}\n\n COMMAND:\n ```text\nShow me the number of unique names and the sum of year introduced for the Instruments in the database.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n Instrument {\n name {\n count\n type\n topOccurrences {\n occurs\n value\n }\n }\n yearIntroduced {\n count\n sum\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the number of unique names and the sum of year introduced for the Instruments in the database.\n```", "apiRef": "Retrieve aggregated object properties\n\nYou can retrieve aggregations of text, number, int, or boolean data types.\n\nThe available sub-types vary for each data type, except for type which is available to all, and count which is available to all but cross-references.\n\nExample with text\nThe following example retrieves information about the most commonly occurring examples in the question property:\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion {\n answer {\n count\n type\n topOccurrences {\n occurs\n value\n }\n }\n }\n }\n}\n```\n\nExample with int\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion {\n points {\n count\n sum\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}", "schemaPath": "musicalinstrument.json", "modelOutput": "{\n Aggregate {\n Instrument {\n name {\n count\n type\n topOccurrences {\n occurs\n value\n }\n }\n yearIntroduced {\n count\n sum\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}\n\n COMMAND:\n ```text\nShow me the count and type of unique locations of the WeatherStations in the database, as well as the sum of altitudes.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n WeatherStation {\n location {\n count\n type\n topOccurrences {\n occurs\n value\n }\n }\n altitude {\n count\n sum\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the count and type of unique locations of the WeatherStations in the database, as well as the sum of altitudes.\n```", "apiRef": "Retrieve aggregated object properties\n\nYou can retrieve aggregations of text, number, int, or boolean data types.\n\nThe available sub-types vary for each data type, except for type which is available to all, and count which is available to all but cross-references.\n\nExample with text\nThe following example retrieves information about the most commonly occurring examples in the question property:\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion {\n answer {\n count\n type\n topOccurrences {\n occurs\n value\n }\n }\n }\n }\n}\n```\n\nExample with int\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion {\n points {\n count\n sum\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}", "schemaPath": "weatherstation.json", "modelOutput": "{\n Aggregate {\n WeatherStation {\n location {\n count\n type\n topOccurrences {\n occurs\n value\n }\n }\n altitude {\n count\n sum\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}\n\n COMMAND:\n ```text\nShow me the count and top occurrences of unique AI model names, as well as the count and sum of accuracy values for the AI models in the database.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n AIModel {\n modelName {\n count\n type\n topOccurrences {\n occurs\n value\n }\n }\n accuracy {\n count\n sum\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the count and top occurrences of unique AI model names, as well as the count and sum of accuracy values for the AI models in the database.\n```", "apiRef": "Retrieve aggregated object properties\n\nYou can retrieve aggregations of text, number, int, or boolean data types.\n\nThe available sub-types vary for each data type, except for type which is available to all, and count which is available to all but cross-references.\n\nExample with text\nThe following example retrieves information about the most commonly occurring examples in the question property:\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion {\n answer {\n count\n type\n topOccurrences {\n occurs\n value\n }\n }\n }\n }\n}\n```\n\nExample with int\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion {\n points {\n count\n sum\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}", "schemaPath": "AIModels.json", "modelOutput": "{\n Aggregate {\n AIModel {\n modelName {\n count\n type\n topOccurrences {\n occurs\n value\n }\n }\n accuracy {\n count\n sum\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}\n\n COMMAND:\n ```text\nShow me the number of unique gear names and the sum of weights of the Outdoor Gear in the database.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n OutdoorGear {\n gearName {\n count\n type\n topOccurrences {\n occurs\n value\n }\n }\n weight {\n count\n sum\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the number of unique gear names and the sum of weights of the Outdoor Gear in the database.\n```", "apiRef": "Retrieve aggregated object properties\n\nYou can retrieve aggregations of text, number, int, or boolean data types.\n\nThe available sub-types vary for each data type, except for type which is available to all, and count which is available to all but cross-references.\n\nExample with text\nThe following example retrieves information about the most commonly occurring examples in the question property:\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion {\n answer {\n count\n type\n topOccurrences {\n occurs\n value\n }\n }\n }\n }\n}\n```\n\nExample with int\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion {\n points {\n count\n sum\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}", "schemaPath": "outdoorgear.json", "modelOutput": "{\n Aggregate {\n OutdoorGear {\n gearName {\n count\n type\n topOccurrences {\n occurs\n value\n }\n }\n weight {\n count\n sum\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}\n\n COMMAND:\n ```text\nShow me the number of unique names and the total funding amount of the Startups in the database.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n Startup {\n name {\n count\n type\n topOccurrences {\n occurs\n value\n }\n }\n funding {\n count\n sum\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the number of unique names and the total funding amount of the Startups in the database.\n```", "apiRef": "Retrieve aggregated object properties\n\nYou can retrieve aggregations of text, number, int, or boolean data types.\n\nThe available sub-types vary for each data type, except for type which is available to all, and count which is available to all but cross-references.\n\nExample with text\nThe following example retrieves information about the most commonly occurring examples in the question property:\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion {\n answer {\n count\n type\n topOccurrences {\n occurs\n value\n }\n }\n }\n }\n}\n```\n\nExample with int\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion {\n points {\n count\n sum\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}", "schemaPath": "startups.json", "modelOutput": "{\n Aggregate {\n Startup {\n name {\n count\n type\n topOccurrences {\n occurs\n value\n }\n }\n funding {\n count\n sum\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nShow me the count and types of unique titles and the sum of ratings of the Games in the database.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n Game {\n title {\n count\n type\n topOccurrences {\n occurs\n value\n }\n }\n rating {\n count\n sum\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the count and types of unique titles and the sum of ratings of the Games in the database.\n```", "apiRef": "Retrieve aggregated object properties\n\nYou can retrieve aggregations of text, number, int, or boolean data types.\n\nThe available sub-types vary for each data type, except for type which is available to all, and count which is available to all but cross-references.\n\nExample with text\nThe following example retrieves information about the most commonly occurring examples in the question property:\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion {\n answer {\n count\n type\n topOccurrences {\n occurs\n value\n }\n }\n }\n }\n}\n```\n\nExample with int\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion {\n points {\n count\n sum\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}", "schemaPath": "videogame.json", "modelOutput": "{\n Aggregate {\n Game {\n title {\n count\n type\n topOccurrences {\n occurs\n value\n }\n }\n rating {\n count\n sum\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}\n\n COMMAND:\n ```text\nShow me the count and type of unique titles, as well as the count and sum of page counts for the Books in the database.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n Book {\n title {\n count\n type\n topOccurrences {\n occurs\n value\n }\n }\n pageCount {\n count\n sum\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the count and type of unique titles, as well as the count and sum of page counts for the Books in the database.\n```", "apiRef": "Retrieve aggregated object properties\n\nYou can retrieve aggregations of text, number, int, or boolean data types.\n\nThe available sub-types vary for each data type, except for type which is available to all, and count which is available to all but cross-references.\n\nExample with text\nThe following example retrieves information about the most commonly occurring examples in the question property:\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion {\n answer {\n count\n type\n topOccurrences {\n occurs\n value\n }\n }\n }\n }\n}\n```\n\nExample with int\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion {\n points {\n count\n sum\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}", "schemaPath": "books.json", "modelOutput": "{\n Aggregate {\n Book {\n title {\n count\n type\n topOccurrences {\n occurs\n value\n }\n }\n pageCount {\n count\n sum\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}\n\n COMMAND:\n ```text\nShow me the number of unique beer names and the sum of alcohol content of the Craft Beers in the database.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n CraftBeer {\n beerName {\n count\n type\n topOccurrences {\n occurs\n value\n }\n }\n alcoholContent {\n count\n sum\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the number of unique beer names and the sum of alcohol content of the Craft Beers in the database.\n```", "apiRef": "Retrieve aggregated object properties\n\nYou can retrieve aggregations of text, number, int, or boolean data types.\n\nThe available sub-types vary for each data type, except for type which is available to all, and count which is available to all but cross-references.\n\nExample with text\nThe following example retrieves information about the most commonly occurring examples in the question property:\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion {\n answer {\n count\n type\n topOccurrences {\n occurs\n value\n }\n }\n }\n }\n}\n```\n\nExample with int\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion {\n points {\n count\n sum\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}", "schemaPath": "craftbeer.json", "modelOutput": "{\n Aggregate {\n CraftBeer {\n beerName {\n count\n type\n topOccurrences {\n occurs\n value\n }\n }\n alcoholContent {\n count\n sum\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}\n\n COMMAND:\n ```text\nShow me the count of objects in the HistoricalEvent class.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n HistoricalEvent {\n meta {\n count\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the count of objects in the HistoricalEvent class.\n```", "apiRef": "Aggregate, retrieve a meta property\n\nThe meta property has only one sub-property (count) available. This returns the count of objects matched by the query.\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion {\n meta {\n count\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-meta.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}", "schemaPath": "historicalevent.json", "modelOutput": "{\n Aggregate {\n HistoricalEvent {\n meta {\n count\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}\n\n COMMAND:\n ```text\nShow me the total count of objects in the Instrument class.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n Instrument {\n meta {\n count\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the total count of objects in the Instrument class.\n```", "apiRef": "Aggregate, retrieve a meta property\n\nThe meta property has only one sub-property (count) available. This returns the count of objects matched by the query.\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion {\n meta {\n count\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-meta.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}", "schemaPath": "musicalinstrument.json", "modelOutput": "{\n Aggregate {\n Instrument {\n meta {\n count\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}\n\n COMMAND:\n ```text\nShow me the count of objects in the WeatherStation class.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n WeatherStation {\n meta {\n count\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the count of objects in the WeatherStation class.\n```", "apiRef": "Aggregate, retrieve a meta property\n\nThe meta property has only one sub-property (count) available. This returns the count of objects matched by the query.\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion {\n meta {\n count\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-meta.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}", "schemaPath": "weatherstation.json", "modelOutput": "{\n Aggregate {\n WeatherStation {\n meta {\n count\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}\n\n COMMAND:\n ```text\nShow me the count of objects in the AIModel class\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n AIModel {\n meta {\n count\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the count of objects in the AIModel class\n```", "apiRef": "Aggregate, retrieve a meta property\n\nThe meta property has only one sub-property (count) available. This returns the count of objects matched by the query.\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion {\n meta {\n count\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-meta.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}", "schemaPath": "AIModels.json", "modelOutput": "{\n Aggregate {\n AIModel {\n meta {\n count\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}\n\n COMMAND:\n ```text\nShow me the count of objects in the OutdoorGear class.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n OutdoorGear {\n meta {\n count\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the count of objects in the OutdoorGear class.\n```", "apiRef": "Aggregate, retrieve a meta property\n\nThe meta property has only one sub-property (count) available. This returns the count of objects matched by the query.\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion {\n meta {\n count\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-meta.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}", "schemaPath": "outdoorgear.json", "modelOutput": "{\n Aggregate {\n OutdoorGear {\n meta {\n count\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}\n\n COMMAND:\n ```text\nShow me the total count of objects in the Startup class.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n Startup {\n meta {\n count\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the total count of objects in the Startup class.\n```", "apiRef": "Aggregate, retrieve a meta property\n\nThe meta property has only one sub-property (count) available. This returns the count of objects matched by the query.\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion {\n meta {\n count\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-meta.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}", "schemaPath": "startups.json", "modelOutput": "{\n Aggregate {\n Startup {\n meta {\n count\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nShow me the total count of objects in the Game class.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n Game {\n meta {\n count\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the total count of objects in the Game class.\n```", "apiRef": "Aggregate, retrieve a meta property\n\nThe meta property has only one sub-property (count) available. This returns the count of objects matched by the query.\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion {\n meta {\n count\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-meta.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}", "schemaPath": "videogame.json", "modelOutput": "{\n Aggregate {\n Game {\n meta {\n count\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}\n\n COMMAND:\n ```text\nShow me the total count of objects in the Book class.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n Book {\n meta {\n count\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the total count of objects in the Book class.\n```", "apiRef": "Aggregate, retrieve a meta property\n\nThe meta property has only one sub-property (count) available. This returns the count of objects matched by the query.\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion {\n meta {\n count\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-meta.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}", "schemaPath": "books.json", "modelOutput": "{\n Aggregate {\n Book {\n meta {\n count\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}\n\n COMMAND:\n ```text\nShow me the total count of objects in the CraftBeer class.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n CraftBeer {\n meta {\n count\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the total count of objects in the CraftBeer class.\n```", "apiRef": "Aggregate, retrieve a meta property\n\nThe meta property has only one sub-property (count) available. This returns the count of objects matched by the query.\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion {\n meta {\n count\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-meta.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}", "schemaPath": "craftbeer.json", "modelOutput": "{\n Aggregate {\n CraftBeer {\n meta {\n count\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}\n\n COMMAND:\n ```text\nGet me the historical events that are semantically similar to the query 'World War II' with a vector distance greater than 0.25. Show me the event name, description, year, whether it had a significant impact, and the involved countries' names and populations.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n HistoricalEvent(\n nearText: {\n concepts: [\"World War II\"],\n distance: 0.25\n }\n ) {\n eventName\n description\n year\n hadSignificantImpact\n involvedCountries {\n ... on Country {\n countryName\n population\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the historical events that are semantically similar to the query 'World War II' with a vector distance greater than 0.25. Show me the event name, description, year, whether it had a significant impact, and the involved countries' names and populations.\n```", "apiRef": "nearText with distance threshold\n\nDistance threshold\n\nYou can set a threshold for similarity search by setting a maximum\u00a0`distance`. The distance indicates how dissimilar two objects are.\n\nMultiple\u00a0distance metrics are available in Weaviate. You can set it in the schema.\n\nThe example below searches the\u00a0`JeopardyQuestion`\u00a0class for objects best matching\u00a0`\"animals in movies\"`, returning those with a\u00a0`distance`\u00a0less than\u00a0`0.18`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in movies\"],\n distance: 0.18\n }\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-distance.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}", "schemaPath": "historicalevent.json", "modelOutput": "{\n Get {\n HistoricalEvent(\n nearText: {\n concepts: [\"World War II\"],\n distance: 0.25\n }\n ) {\n eventName\n description\n year\n hadSignificantImpact\n involvedCountries {\n ... on Country {\n countryName\n population\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}\n\n COMMAND:\n ```text\nGet me the instruments that are semantically similar to the query 'piano' with a vector distance greater than 0.25. Show me the name, description, year introduced, whether it is a string instrument, and the name, genre, and years active of the musicians who play it.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Instrument(\n nearText: {\n concepts: [\"piano\"],\n distance: 0.25\n }\n ) {\n name\n description\n yearIntroduced\n isString\n playedBy {\n ... on Musician {\n name\n genre\n yearsActive\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the instruments that are semantically similar to the query 'piano' with a vector distance greater than 0.25. Show me the name, description, year introduced, whether it is a string instrument, and the name, genre, and years active of the musicians who play it.\n```", "apiRef": "nearText with distance threshold\n\nDistance threshold\n\nYou can set a threshold for similarity search by setting a maximum\u00a0`distance`. The distance indicates how dissimilar two objects are.\n\nMultiple\u00a0distance metrics are available in Weaviate. You can set it in the schema.\n\nThe example below searches the\u00a0`JeopardyQuestion`\u00a0class for objects best matching\u00a0`\"animals in movies\"`, returning those with a\u00a0`distance`\u00a0less than\u00a0`0.18`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in movies\"],\n distance: 0.18\n }\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-distance.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}", "schemaPath": "musicalinstrument.json", "modelOutput": "{\n Get {\n Instrument(\n nearText: {\n concepts: [\"piano\"],\n distance: 0.25\n }\n ) {\n name\n description\n yearIntroduced\n isString\n playedBy {\n ... on Musician {\n name\n genre\n yearsActive\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}\n\n COMMAND:\n ```text\nGet me the weather stations that are semantically similar to the query 'temperature' with a vector distance greater than 0.2. Show me the location, equipment, altitude, activity status, and the name and years of experience of the meteorologist managing the station.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n WeatherStation(\n nearText: {\n concepts: [\"temperature\"],\n distance: 0.2\n }\n ) {\n location\n equipment\n altitude\n isActive\n managedBy {\n ... on Meteorologist {\n name\n yearsExperience\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the weather stations that are semantically similar to the query 'temperature' with a vector distance greater than 0.2. Show me the location, equipment, altitude, activity status, and the name and years of experience of the meteorologist managing the station.\n```", "apiRef": "nearText with distance threshold\n\nDistance threshold\n\nYou can set a threshold for similarity search by setting a maximum\u00a0`distance`. The distance indicates how dissimilar two objects are.\n\nMultiple\u00a0distance metrics are available in Weaviate. You can set it in the schema.\n\nThe example below searches the\u00a0`JeopardyQuestion`\u00a0class for objects best matching\u00a0`\"animals in movies\"`, returning those with a\u00a0`distance`\u00a0less than\u00a0`0.18`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in movies\"],\n distance: 0.18\n }\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-distance.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}", "schemaPath": "weatherstation.json", "modelOutput": "{\n Get {\n WeatherStation(\n nearText: {\n concepts: [\"temperature\"],\n distance: 0.2\n }\n ) {\n location\n equipment\n altitude\n isActive\n managedBy {\n ... on Meteorologist {\n name\n yearsExperience\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}\n\n COMMAND:\n ```text\nGet me the AI models that are semantically similar to the query 'computer vision' with a vector distance greater than 0.25. Show me the model name, application, accuracy, whether it is supervised, and the algorithm's name, description, and year of development it is based on.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n AIModel(\n nearText: {\n concepts: [\"computer vision\"],\n distance: 0.25\n }\n ) {\n modelName\n application\n accuracy\n isSupervised\n basedOn {\n ... on Algorithm {\n name\n description\n yearDeveloped\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the AI models that are semantically similar to the query 'computer vision' with a vector distance greater than 0.25. Show me the model name, application, accuracy, whether it is supervised, and the algorithm's name, description, and year of development it is based on.\n```", "apiRef": "nearText with distance threshold\n\nDistance threshold\n\nYou can set a threshold for similarity search by setting a maximum\u00a0`distance`. The distance indicates how dissimilar two objects are.\n\nMultiple\u00a0distance metrics are available in Weaviate. You can set it in the schema.\n\nThe example below searches the\u00a0`JeopardyQuestion`\u00a0class for objects best matching\u00a0`\"animals in movies\"`, returning those with a\u00a0`distance`\u00a0less than\u00a0`0.18`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in movies\"],\n distance: 0.18\n }\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-distance.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}", "schemaPath": "AIModels.json", "modelOutput": "{\n Get {\n AIModel(\n nearText: {\n concepts: [\"computer vision\"],\n distance: 0.25\n }\n ) {\n modelName\n application\n accuracy\n isSupervised\n basedOn {\n ... on Algorithm {\n name\n description\n yearDeveloped\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}\n\n COMMAND:\n ```text\nGet me the outdoor gear that is semantically similar to the query 'hiking boots' with a vector distance greater than 0.25. Show me the gear name, description, weight, waterproof status, and the supplier's name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n OutdoorGear(\n nearText: {\n concepts: [\"hiking boots\"],\n distance: 0.25\n }\n ) {\n gearName\n description\n weight\n isWaterproof\n supplier {\n ... on Supplier {\n supplierName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the outdoor gear that is semantically similar to the query 'hiking boots' with a vector distance greater than 0.25. Show me the gear name, description, weight, waterproof status, and the supplier's name.\n```", "apiRef": "nearText with distance threshold\n\nDistance threshold\n\nYou can set a threshold for similarity search by setting a maximum\u00a0`distance`. The distance indicates how dissimilar two objects are.\n\nMultiple\u00a0distance metrics are available in Weaviate. You can set it in the schema.\n\nThe example below searches the\u00a0`JeopardyQuestion`\u00a0class for objects best matching\u00a0`\"animals in movies\"`, returning those with a\u00a0`distance`\u00a0less than\u00a0`0.18`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in movies\"],\n distance: 0.18\n }\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-distance.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}", "schemaPath": "outdoorgear.json", "modelOutput": "{\n Get {\n OutdoorGear(\n nearText: {\n concepts: [\"hiking boots\"],\n distance: 0.25\n }\n ) {\n gearName\n description\n weight\n isWaterproof\n supplier {\n ... on Supplier {\n supplierName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the startups that are semantically similar to the query 'technology' with a vector distance greater than 0.25. Show me the name, product, funding, bootstrapping status, and the founders' names, biographies, and successful startups.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Startup(\n nearText: {\n concepts: [\"technology\"],\n distance: 0.25\n }\n ) {\n name\n product\n funding\n isBootstrapped\n founders {\n ... on Entrepreneur {\n name\n biography\n successfulStartups\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the startups that are semantically similar to the query 'technology' with a vector distance greater than 0.25. Show me the name, product, funding, bootstrapping status, and the founders' names, biographies, and successful startups.\n```", "apiRef": "nearText with distance threshold\n\nDistance threshold\n\nYou can set a threshold for similarity search by setting a maximum\u00a0`distance`. The distance indicates how dissimilar two objects are.\n\nMultiple\u00a0distance metrics are available in Weaviate. You can set it in the schema.\n\nThe example below searches the\u00a0`JeopardyQuestion`\u00a0class for objects best matching\u00a0`\"animals in movies\"`, returning those with a\u00a0`distance`\u00a0less than\u00a0`0.18`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in movies\"],\n distance: 0.18\n }\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-distance.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}", "schemaPath": "startups.json", "modelOutput": "{\n Get {\n Startup(\n nearText: {\n concepts: [\"technology\"],\n distance: 0.25\n }\n ) {\n name\n product\n funding\n isBootstrapped\n founders {\n ... on Entrepreneur {\n name\n biography\n successfulStartups\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the games that are semantically similar to the query 'action' with a vector distance greater than 0.2. Show me the title, genre, rating, multiplayer status, and the name of the developer.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Game(\n nearText: {\n concepts: [\"action\"],\n distance: 0.2\n }\n ) {\n title\n genre\n rating\n isMultiplayer\n developedBy {\n ... on Developer {\n name\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the games that are semantically similar to the query 'action' with a vector distance greater than 0.2. Show me the title, genre, rating, multiplayer status, and the name of the developer.\n```", "apiRef": "nearText with distance threshold\n\nDistance threshold\n\nYou can set a threshold for similarity search by setting a maximum\u00a0`distance`. The distance indicates how dissimilar two objects are.\n\nMultiple\u00a0distance metrics are available in Weaviate. You can set it in the schema.\n\nThe example below searches the\u00a0`JeopardyQuestion`\u00a0class for objects best matching\u00a0`\"animals in movies\"`, returning those with a\u00a0`distance`\u00a0less than\u00a0`0.18`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in movies\"],\n distance: 0.18\n }\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-distance.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}", "schemaPath": "videogame.json", "modelOutput": "{\n Get {\n Game(\n nearText: {\n concepts: [\"action\"],\n distance: 0.2\n }\n ) {\n title\n genre\n rating\n isMultiplayer\n developedBy {\n ... on Developer {\n name\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}\n\n COMMAND:\n ```text\nGet me the books semantically similar to the query 'science fiction' with a vector distance greater than 0.3, and show the title, summary, availability, and author's name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Book(\n nearText: {\n concepts: [\"science fiction\"],\n distance: 0.3\n }\n ) {\n title\n summary\n isAvailable\n author {\n ... on Author {\n name\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the books semantically similar to the query 'science fiction' with a vector distance greater than 0.3, and show the title, summary, availability, and author's name.\n```", "apiRef": "nearText with distance threshold\n\nDistance threshold\n\nYou can set a threshold for similarity search by setting a maximum\u00a0`distance`. The distance indicates how dissimilar two objects are.\n\nMultiple\u00a0distance metrics are available in Weaviate. You can set it in the schema.\n\nThe example below searches the\u00a0`JeopardyQuestion`\u00a0class for objects best matching\u00a0`\"animals in movies\"`, returning those with a\u00a0`distance`\u00a0less than\u00a0`0.18`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in movies\"],\n distance: 0.18\n }\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-distance.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}", "schemaPath": "books.json", "modelOutput": "{\n Get {\n Book(\n nearText: {\n concepts: [\"science fiction\"],\n distance: 0.3\n }\n ) {\n title\n summary\n isAvailable\n author {\n ... on Author {\n name\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the craft beers that are semantically similar to the query 'IPA' with a vector distance greater than 0.25. Show me the beer name, tasting notes, alcohol content, seasonal availability, and the name of the brewery.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n CraftBeer(\n nearText: {\n concepts: [\"IPA\"],\n distance: 0.25\n }\n ) {\n beerName\n tastingNotes\n alcoholContent\n isSeasonal\n brewery {\n ... on Brewery {\n breweryName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the craft beers that are semantically similar to the query 'IPA' with a vector distance greater than 0.25. Show me the beer name, tasting notes, alcohol content, seasonal availability, and the name of the brewery.\n```", "apiRef": "nearText with distance threshold\n\nDistance threshold\n\nYou can set a threshold for similarity search by setting a maximum\u00a0`distance`. The distance indicates how dissimilar two objects are.\n\nMultiple\u00a0distance metrics are available in Weaviate. You can set it in the schema.\n\nThe example below searches the\u00a0`JeopardyQuestion`\u00a0class for objects best matching\u00a0`\"animals in movies\"`, returning those with a\u00a0`distance`\u00a0less than\u00a0`0.18`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in movies\"],\n distance: 0.18\n }\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-distance.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}", "schemaPath": "craftbeer.json", "modelOutput": "{\n Get {\n CraftBeer(\n nearText: {\n concepts: [\"IPA\"],\n distance: 0.25\n }\n ) {\n beerName\n tastingNotes\n alcoholContent\n isSeasonal\n brewery {\n ... on Brewery {\n breweryName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}\n\n COMMAND:\n ```text\nShow me the event name, description, year, significant impact, and linked country's name and population of historical events that occurred after 1900.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n HistoricalEvent(\n where: {\n path: [\"year\"],\n operator: GreaterThan,\n valueInt: 1900\n }\n ) {\n eventName\n description\n year\n hadSignificantImpact\n involvedCountries {\n ... on Country {\n countryName\n population\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the event name, description, year, significant impact, and linked country's name and population of historical events that occurred after 1900.\n```", "apiRef": "A single-condition filter\n\nTo add a filter, you must provide at least one where condition to your query.\n\nThe following example specifies that the round property must equal \"Double Jeopardy!\". Note that the valueText parameter is used since the property datatype is text.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n round\n }\n }\n}\n```", "apiRefPath": "get-single-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}", "schemaPath": "historicalevent.json", "modelOutput": "{\n Get {\n HistoricalEvent(\n where: {\n path: [\"year\"],\n operator: GreaterThan,\n valueInt: 1900\n }\n ) {\n eventName\n description\n year\n hadSignificantImpact\n involvedCountries {\n ... on Country {\n countryName\n population\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}\n\n COMMAND:\n ```text\nShow me the name, description, whether it is a string instrument, and the names and genres of musicians who play instruments introduced after the year 2000.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Instrument(\n where: {\n path: [\"yearIntroduced\"],\n operator: GreaterThan,\n valueInt: 2000\n }\n ) {\n name\n description\n isString\n playedBy {\n ... on Musician {\n name\n genre\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the name, description, whether it is a string instrument, and the names and genres of musicians who play instruments introduced after the year 2000.\n```", "apiRef": "A single-condition filter\n\nTo add a filter, you must provide at least one where condition to your query.\n\nThe following example specifies that the round property must equal \"Double Jeopardy!\". Note that the valueText parameter is used since the property datatype is text.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n round\n }\n }\n}\n```", "apiRefPath": "get-single-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}", "schemaPath": "musicalinstrument.json", "modelOutput": "{\n Get {\n Instrument(\n where: {\n path: [\"yearIntroduced\"],\n operator: GreaterThan,\n valueInt: 2000\n }\n ) {\n name\n description\n isString\n playedBy {\n ... on Musician {\n name\n genre\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}\n\n COMMAND:\n ```text\nShow me the location, equipment, activity status, and linked meteorologist's name and years of experience of weather stations with an altitude greater than 1000.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n WeatherStation(\n where: {\n path: [\"altitude\"],\n operator: GreaterThan,\n valueNumber: 1000\n }\n ) {\n location\n equipment\n isActive\n managedBy {\n ... on Meteorologist {\n name\n yearsExperience\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the location, equipment, activity status, and linked meteorologist's name and years of experience of weather stations with an altitude greater than 1000.\n```", "apiRef": "A single-condition filter\n\nTo add a filter, you must provide at least one where condition to your query.\n\nThe following example specifies that the round property must equal \"Double Jeopardy!\". Note that the valueText parameter is used since the property datatype is text.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n round\n }\n }\n}\n```", "apiRefPath": "get-single-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}", "schemaPath": "weatherstation.json", "modelOutput": "{\n Get {\n WeatherStation(\n where: {\n path: [\"altitude\"],\n operator: GreaterThan,\n valueNumber: 1000\n }\n ) {\n location\n equipment\n isActive\n managedBy {\n ... on Meteorologist {\n name\n yearsExperience\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}\n\n COMMAND:\n ```text\nShow me the model name, application, supervised status, and linked algorithm's name and description of AI models with an accuracy greater than 0.8.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n AIModel(\n where: {\n path: [\"accuracy\"],\n operator: GreaterThan,\n valueNumber: 0.8\n }\n ) {\n modelName\n application\n isSupervised\n basedOn {\n ... on Algorithm {\n name\n description\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the model name, application, supervised status, and linked algorithm's name and description of AI models with an accuracy greater than 0.8.\n```", "apiRef": "A single-condition filter\n\nTo add a filter, you must provide at least one where condition to your query.\n\nThe following example specifies that the round property must equal \"Double Jeopardy!\". Note that the valueText parameter is used since the property datatype is text.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n round\n }\n }\n}\n```", "apiRefPath": "get-single-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}", "schemaPath": "AIModels.json", "modelOutput": "{\n Get {\n AIModel(\n where: {\n path: [\"accuracy\"],\n operator: GreaterThan,\n valueNumber: 0.8\n }\n ) {\n modelName\n application\n isSupervised\n basedOn {\n ... on Algorithm {\n name\n description\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}\n\n COMMAND:\n ```text\nShow me the gear name, description, waterproof status, and linked supplier's name of outdoor gear with a weight greater than 500.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n OutdoorGear(\n where: {\n path: [\"weight\"],\n operator: GreaterThan,\n valueNumber: 500\n }\n ) {\n gearName\n description\n isWaterproof\n supplier {\n ... on Supplier {\n supplierName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the gear name, description, waterproof status, and linked supplier's name of outdoor gear with a weight greater than 500.\n```", "apiRef": "A single-condition filter\n\nTo add a filter, you must provide at least one where condition to your query.\n\nThe following example specifies that the round property must equal \"Double Jeopardy!\". Note that the valueText parameter is used since the property datatype is text.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n round\n }\n }\n}\n```", "apiRefPath": "get-single-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}", "schemaPath": "outdoorgear.json", "modelOutput": "{\n Get {\n OutdoorGear(\n where: {\n path: [\"weight\"],\n operator: GreaterThan,\n valueNumber: 500\n }\n ) {\n gearName\n description\n isWaterproof\n supplier {\n ... on Supplier {\n supplierName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}\n\n COMMAND:\n ```text\nShow me the name, product, bootstrapped status, and linked founder's name, biography, and successful startups of startups with funding greater than 1,000,000.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Startup(\n where: {\n path: [\"funding\"],\n operator: GreaterThan,\n valueNumber: 1000000\n }\n ) {\n name\n product\n isBootstrapped\n founders {\n ... on Entrepreneur {\n name\n biography\n successfulStartups\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the name, product, bootstrapped status, and linked founder's name, biography, and successful startups of startups with funding greater than 1,000,000.\n```", "apiRef": "A single-condition filter\n\nTo add a filter, you must provide at least one where condition to your query.\n\nThe following example specifies that the round property must equal \"Double Jeopardy!\". Note that the valueText parameter is used since the property datatype is text.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n round\n }\n }\n}\n```", "apiRefPath": "get-single-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}", "schemaPath": "startups.json", "modelOutput": "{\n Get {\n Startup(\n where: {\n path: [\"funding\"],\n operator: GreaterThan,\n valueNumber: 1000000\n }\n ) {\n name\n product\n isBootstrapped\n founders {\n ... on Entrepreneur {\n name\n biography\n successfulStartups\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nShow me the title, genre, multiplayer status, and linked developer's name of games with a rating greater than 8.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Game(\n where: {\n path: [\"rating\"],\n operator: GreaterThan,\n valueInt: 8\n }\n ) {\n title\n genre\n isMultiplayer\n developedBy {\n ... on Developer {\n name\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the title, genre, multiplayer status, and linked developer's name of games with a rating greater than 8.\n```", "apiRef": "A single-condition filter\n\nTo add a filter, you must provide at least one where condition to your query.\n\nThe following example specifies that the round property must equal \"Double Jeopardy!\". Note that the valueText parameter is used since the property datatype is text.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n round\n }\n }\n}\n```", "apiRefPath": "get-single-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}", "schemaPath": "videogame.json", "modelOutput": "{\n Get {\n Game(\n where: {\n path: [\"rating\"],\n operator: GreaterThan,\n valueInt: 8\n }\n ) {\n title\n genre\n isMultiplayer\n developedBy {\n ... on Developer {\n name\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}\n\n COMMAND:\n ```text\nShow me the title, summary, availability, and linked author's name of books with less than 100 pages.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Book(\n where: {\n path: [\"pageCount\"],\n operator: LessThan,\n valueInt: 100\n }\n ) {\n title\n summary\n isAvailable\n author {\n ... on Author {\n name\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the title, summary, availability, and linked author's name of books with less than 100 pages.\n```", "apiRef": "A single-condition filter\n\nTo add a filter, you must provide at least one where condition to your query.\n\nThe following example specifies that the round property must equal \"Double Jeopardy!\". Note that the valueText parameter is used since the property datatype is text.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n round\n }\n }\n}\n```", "apiRefPath": "get-single-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}", "schemaPath": "books.json", "modelOutput": "{\n Get {\n Book(\n where: {\n path: [\"pageCount\"],\n operator: LessThan,\n valueInt: 100\n }\n ) {\n title\n summary\n isAvailable\n author {\n ... on Author {\n name\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}\n\n COMMAND:\n ```text\nShow me the beer name, tasting notes, seasonal availability, and linked brewery's name of craft beers with an alcohol content greater than 5.0.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n CraftBeer(\n where: {\n path: [\"alcoholContent\"],\n operator: GreaterThan,\n valueNumber: 5.0\n }\n ) {\n beerName\n tastingNotes\n isSeasonal\n brewery {\n ... on Brewery {\n breweryName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the beer name, tasting notes, seasonal availability, and linked brewery's name of craft beers with an alcohol content greater than 5.0.\n```", "apiRef": "A single-condition filter\n\nTo add a filter, you must provide at least one where condition to your query.\n\nThe following example specifies that the round property must equal \"Double Jeopardy!\". Note that the valueText parameter is used since the property datatype is text.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n round\n }\n }\n}\n```", "apiRefPath": "get-single-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}", "schemaPath": "craftbeer.json", "modelOutput": "{\n Get {\n CraftBeer(\n where: {\n path: [\"alcoholContent\"],\n operator: GreaterThan,\n valueNumber: 5.0\n }\n ) {\n beerName\n tastingNotes\n isSeasonal\n brewery {\n ... on Brewery {\n breweryName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}\n\n COMMAND:\n ```text\nShow me the eventName, description, year, hadSignificantImpact, and the countryName and population of the involvedCountries of the HistoricalEvent objects.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n HistoricalEvent {\n eventName\n description\n year\n hadSignificantImpact\n involvedCountries {\n ... on Country {\n countryName\n population\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the eventName, description, year, hadSignificantImpact, and the countryName and population of the involvedCountries of the HistoricalEvent objects.\n```", "apiRef": "Simple Get to return a multiple properties\n\n`Get`\u00a0function requirements\nTo retrieve objects from Weaviate, you must use the\u00a0`Get`\u00a0function and specify at least:\n\n- The target\u00a0`class`\u00a0to search, and\n- One or more\u00a0`properties`\u00a0to retrieve.\n\n```graphql\n{\n Get {\n JeopardyQuestion {\n question\n answer\n points\n }\n }\n}\n```", "apiRefPath": "get-multiple-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}", "schemaPath": "historicalevent.json", "modelOutput": "{\n Get {\n HistoricalEvent {\n eventName\n description\n year\n hadSignificantImpact\n involvedCountries {\n ... on Country {\n countryName\n population\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}\n\n COMMAND:\n ```text\nShow me the name, description, and yearIntroduced of the Instrument objects.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Instrument {\n name\n description\n yearIntroduced\n }\n }\n}\n```", "nlcommand": "```text\nShow me the name, description, and yearIntroduced of the Instrument objects.\n```", "apiRef": "Simple Get to return a multiple properties\n\n`Get`\u00a0function requirements\nTo retrieve objects from Weaviate, you must use the\u00a0`Get`\u00a0function and specify at least:\n\n- The target\u00a0`class`\u00a0to search, and\n- One or more\u00a0`properties`\u00a0to retrieve.\n\n```graphql\n{\n Get {\n JeopardyQuestion {\n question\n answer\n points\n }\n }\n}\n```", "apiRefPath": "get-multiple-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}", "schemaPath": "musicalinstrument.json", "modelOutput": "{\n Get {\n Instrument {\n name\n description\n yearIntroduced\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}\n\n COMMAND:\n ```text\nShow me the location, equipment, and altitude of the WeatherStation objects.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n WeatherStation {\n location\n equipment\n altitude\n }\n }\n}\n```", "nlcommand": "```text\nShow me the location, equipment, and altitude of the WeatherStation objects.\n```", "apiRef": "Simple Get to return a multiple properties\n\n`Get`\u00a0function requirements\nTo retrieve objects from Weaviate, you must use the\u00a0`Get`\u00a0function and specify at least:\n\n- The target\u00a0`class`\u00a0to search, and\n- One or more\u00a0`properties`\u00a0to retrieve.\n\n```graphql\n{\n Get {\n JeopardyQuestion {\n question\n answer\n points\n }\n }\n}\n```", "apiRefPath": "get-multiple-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}", "schemaPath": "weatherstation.json", "modelOutput": "{\n Get {\n WeatherStation {\n location\n equipment\n altitude\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}\n\n COMMAND:\n ```text\nShow me the modelName, application, and accuracy of the AIModel objects.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n AIModel {\n modelName\n application\n accuracy\n }\n }\n}\n```", "nlcommand": "```text\nShow me the modelName, application, and accuracy of the AIModel objects.\n```", "apiRef": "Simple Get to return a multiple properties\n\n`Get`\u00a0function requirements\nTo retrieve objects from Weaviate, you must use the\u00a0`Get`\u00a0function and specify at least:\n\n- The target\u00a0`class`\u00a0to search, and\n- One or more\u00a0`properties`\u00a0to retrieve.\n\n```graphql\n{\n Get {\n JeopardyQuestion {\n question\n answer\n points\n }\n }\n}\n```", "apiRefPath": "get-multiple-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}", "schemaPath": "AIModels.json", "modelOutput": "{\n Get {\n AIModel {\n modelName\n application\n accuracy\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}\n\n COMMAND:\n ```text\nShow me the gearName, description, and weight of the OutdoorGear objects.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n OutdoorGear {\n gearName\n description\n weight\n }\n }\n}\n```", "nlcommand": "```text\nShow me the gearName, description, and weight of the OutdoorGear objects.\n```", "apiRef": "Simple Get to return a multiple properties\n\n`Get`\u00a0function requirements\nTo retrieve objects from Weaviate, you must use the\u00a0`Get`\u00a0function and specify at least:\n\n- The target\u00a0`class`\u00a0to search, and\n- One or more\u00a0`properties`\u00a0to retrieve.\n\n```graphql\n{\n Get {\n JeopardyQuestion {\n question\n answer\n points\n }\n }\n}\n```", "apiRefPath": "get-multiple-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}", "schemaPath": "outdoorgear.json", "modelOutput": "{\n Get {\n OutdoorGear {\n gearName\n description\n weight\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}\n\n COMMAND:\n ```text\nShow me the name, product, and funding of the Startup objects.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Startup {\n name\n product\n funding\n }\n }\n}\n```", "nlcommand": "```text\nShow me the name, product, and funding of the Startup objects.\n```", "apiRef": "Simple Get to return a multiple properties\n\n`Get`\u00a0function requirements\nTo retrieve objects from Weaviate, you must use the\u00a0`Get`\u00a0function and specify at least:\n\n- The target\u00a0`class`\u00a0to search, and\n- One or more\u00a0`properties`\u00a0to retrieve.\n\n```graphql\n{\n Get {\n JeopardyQuestion {\n question\n answer\n points\n }\n }\n}\n```", "apiRefPath": "get-multiple-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}", "schemaPath": "startups.json", "modelOutput": "{\n Get {\n Startup {\n name\n product\n funding\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nShow me the title, genre, and rating of the Game objects.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Game {\n title\n genre\n rating\n }\n }\n}\n```", "nlcommand": "```text\nShow me the title, genre, and rating of the Game objects.\n```", "apiRef": "Simple Get to return a multiple properties\n\n`Get`\u00a0function requirements\nTo retrieve objects from Weaviate, you must use the\u00a0`Get`\u00a0function and specify at least:\n\n- The target\u00a0`class`\u00a0to search, and\n- One or more\u00a0`properties`\u00a0to retrieve.\n\n```graphql\n{\n Get {\n JeopardyQuestion {\n question\n answer\n points\n }\n }\n}\n```", "apiRefPath": "get-multiple-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}", "schemaPath": "videogame.json", "modelOutput": "{\n Get {\n Game {\n title\n genre\n rating\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}\n\n COMMAND:\n ```text\nShow me the title, summary, and pageCount of the Book objects.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Book {\n title\n summary\n pageCount\n }\n }\n}\n```", "nlcommand": "```text\nShow me the title, summary, and pageCount of the Book objects.\n```", "apiRef": "Simple Get to return a multiple properties\n\n`Get`\u00a0function requirements\nTo retrieve objects from Weaviate, you must use the\u00a0`Get`\u00a0function and specify at least:\n\n- The target\u00a0`class`\u00a0to search, and\n- One or more\u00a0`properties`\u00a0to retrieve.\n\n```graphql\n{\n Get {\n JeopardyQuestion {\n question\n answer\n points\n }\n }\n}\n```", "apiRefPath": "get-multiple-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}", "schemaPath": "books.json", "modelOutput": "{\n Get {\n Book {\n title\n summary\n pageCount\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}\n\n COMMAND:\n ```text\nShow me the beerName, tastingNotes, and alcoholContent of the CraftBeer objects.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n CraftBeer {\n beerName\n tastingNotes\n alcoholContent\n }\n }\n}\n```", "nlcommand": "```text\nShow me the beerName, tastingNotes, and alcoholContent of the CraftBeer objects.\n```", "apiRef": "Simple Get to return a multiple properties\n\n`Get`\u00a0function requirements\nTo retrieve objects from Weaviate, you must use the\u00a0`Get`\u00a0function and specify at least:\n\n- The target\u00a0`class`\u00a0to search, and\n- One or more\u00a0`properties`\u00a0to retrieve.\n\n```graphql\n{\n Get {\n JeopardyQuestion {\n question\n answer\n points\n }\n }\n}\n```", "apiRefPath": "get-multiple-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}", "schemaPath": "craftbeer.json", "modelOutput": "{\n Get {\n CraftBeer {\n beerName\n tastingNotes\n alcoholContent\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}\n\n COMMAND:\n ```text\nShow me the event name, description, year, significant impact, and linked country name of historical events where the linked country's population is greater than 100,000,000.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n HistoricalEvent(\n where: {\n path: [\"involvedCountries\", \"Country\", \"population\"],\n operator: GreaterThan,\n valueInt: 100000000\n }\n ) {\n eventName\n description\n year\n hadSignificantImpact\n involvedCountries {\n ... on Country {\n countryName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the event name, description, year, significant impact, and linked country name of historical events where the linked country's population is greater than 100,000,000.\n```", "apiRef": "Filter using cross-references\n\nYou can filter objects using properties from a cross-referenced object.\n\nThe following example filters JeopardyQuestion objects using properties of JeopardyCategory that they are cross-referencing.\n\nMore speficially, the example filters for the title property of JeopardyCategory objects that are cross-referenced from the JeopardyQuestion object. The title property must include the substring Sport.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"hasCategory\", \"JeopardyCategory\", \"title\"],\n operator: Like,\n valueText: \"*Sport*\"\n }\n ) {\n question\n answer\n round\n hasCategory {... on JeopardyCategory { title } }\n }\n }\n}\n```", "apiRefPath": "get-where-filter-with-crefs.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}", "schemaPath": "historicalevent.json", "modelOutput": "{\n Get {\n HistoricalEvent(\n where: {\n path: [\"involvedCountries\", \"Country\", \"population\"],\n operator: GreaterThan,\n valueInt: 100000000\n }\n ) {\n eventName\n description\n year\n hadSignificantImpact\n involvedCountries {\n ... on Country {\n countryName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}\n\n COMMAND:\n ```text\nShow me the name, description, year introduced, and linked musician name and genre of instruments that are played by musicians who have been active for more than 10 years.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Instrument(\n where: {\n path: [\"playedBy\", \"Musician\", \"yearsActive\"],\n operator: GreaterThan,\n valueInt: 10\n }\n ) {\n name\n description\n yearIntroduced\n isString\n playedBy {\n ... on Musician {\n name\n genre\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the name, description, year introduced, and linked musician name and genre of instruments that are played by musicians who have been active for more than 10 years.\n```", "apiRef": "Filter using cross-references\n\nYou can filter objects using properties from a cross-referenced object.\n\nThe following example filters JeopardyQuestion objects using properties of JeopardyCategory that they are cross-referencing.\n\nMore speficially, the example filters for the title property of JeopardyCategory objects that are cross-referenced from the JeopardyQuestion object. The title property must include the substring Sport.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"hasCategory\", \"JeopardyCategory\", \"title\"],\n operator: Like,\n valueText: \"*Sport*\"\n }\n ) {\n question\n answer\n round\n hasCategory {... on JeopardyCategory { title } }\n }\n }\n}\n```", "apiRefPath": "get-where-filter-with-crefs.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}", "schemaPath": "musicalinstrument.json", "modelOutput": "{\n Get {\n Instrument(\n where: {\n path: [\"playedBy\", \"Musician\", \"yearsActive\"],\n operator: GreaterThan,\n valueInt: 10\n }\n ) {\n name\n description\n yearIntroduced\n isString\n playedBy {\n ... on Musician {\n name\n genre\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}\n\n COMMAND:\n ```text\nShow me the location, equipment, altitude, and activity status of weather stations managed by meteorologists with more than 10 years of experience. Also, include the names of the meteorologists.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n WeatherStation(\n where: {\n path: [\"managedBy\", \"Meteorologist\", \"yearsExperience\"],\n operator: GreaterThan,\n valueInt: 10\n }\n ) {\n location\n equipment\n altitude\n isActive\n managedBy {\n ... on Meteorologist {\n name\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the location, equipment, altitude, and activity status of weather stations managed by meteorologists with more than 10 years of experience. Also, include the names of the meteorologists.\n```", "apiRef": "Filter using cross-references\n\nYou can filter objects using properties from a cross-referenced object.\n\nThe following example filters JeopardyQuestion objects using properties of JeopardyCategory that they are cross-referencing.\n\nMore speficially, the example filters for the title property of JeopardyCategory objects that are cross-referenced from the JeopardyQuestion object. The title property must include the substring Sport.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"hasCategory\", \"JeopardyCategory\", \"title\"],\n operator: Like,\n valueText: \"*Sport*\"\n }\n ) {\n question\n answer\n round\n hasCategory {... on JeopardyCategory { title } }\n }\n }\n}\n```", "apiRefPath": "get-where-filter-with-crefs.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}", "schemaPath": "weatherstation.json", "modelOutput": "{\n Get {\n WeatherStation(\n where: {\n path: [\"managedBy\", \"Meteorologist\", \"yearsExperience\"],\n operator: GreaterThan,\n valueInt: 10\n }\n ) {\n location\n equipment\n altitude\n isActive\n managedBy {\n ... on Meteorologist {\n name\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}\n\n COMMAND:\n ```text\nShow me the model name, application, accuracy, and whether it is supervised, of AI models that are based on algorithms developed before the year 2000. Also, include the name of the algorithm they are based on.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n AIModel(\n where: {\n path: [\"basedOn\", \"Algorithm\", \"yearDeveloped\"],\n operator: LessThan,\n valueInt: 2000\n }\n ) {\n modelName\n application\n accuracy\n isSupervised\n basedOn {\n ... on Algorithm {\n name\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the model name, application, accuracy, and whether it is supervised, of AI models that are based on algorithms developed before the year 2000. Also, include the name of the algorithm they are based on.\n```", "apiRef": "Filter using cross-references\n\nYou can filter objects using properties from a cross-referenced object.\n\nThe following example filters JeopardyQuestion objects using properties of JeopardyCategory that they are cross-referencing.\n\nMore speficially, the example filters for the title property of JeopardyCategory objects that are cross-referenced from the JeopardyQuestion object. The title property must include the substring Sport.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"hasCategory\", \"JeopardyCategory\", \"title\"],\n operator: Like,\n valueText: \"*Sport*\"\n }\n ) {\n question\n answer\n round\n hasCategory {... on JeopardyCategory { title } }\n }\n }\n}\n```", "apiRefPath": "get-where-filter-with-crefs.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}", "schemaPath": "AIModels.json", "modelOutput": "{\n Get {\n AIModel(\n where: {\n path: [\"basedOn\", \"Algorithm\", \"yearDeveloped\"],\n operator: LessThan,\n valueInt: 2000\n }\n ) {\n modelName\n application\n accuracy\n isSupervised\n basedOn {\n ... on Algorithm {\n name\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}\n\n COMMAND:\n ```text\nShow me the gear name, description, weight, waterproof status, and linked supplier name of outdoor gear whose linked supplier was established before the year 2000.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n OutdoorGear(\n where: {\n path: [\"supplier\", \"Supplier\", \"establishedYear\"],\n operator: LessThan,\n valueInt: 2000\n }\n ) {\n gearName\n description\n weight\n isWaterproof\n supplier {\n ... on Supplier {\n supplierName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the gear name, description, weight, waterproof status, and linked supplier name of outdoor gear whose linked supplier was established before the year 2000.\n```", "apiRef": "Filter using cross-references\n\nYou can filter objects using properties from a cross-referenced object.\n\nThe following example filters JeopardyQuestion objects using properties of JeopardyCategory that they are cross-referencing.\n\nMore speficially, the example filters for the title property of JeopardyCategory objects that are cross-referenced from the JeopardyQuestion object. The title property must include the substring Sport.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"hasCategory\", \"JeopardyCategory\", \"title\"],\n operator: Like,\n valueText: \"*Sport*\"\n }\n ) {\n question\n answer\n round\n hasCategory {... on JeopardyCategory { title } }\n }\n }\n}\n```", "apiRefPath": "get-where-filter-with-crefs.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}", "schemaPath": "outdoorgear.json", "modelOutput": "{\n Get {\n OutdoorGear(\n where: {\n path: [\"supplier\", \"Supplier\", \"establishedYear\"],\n operator: LessThan,\n valueInt: 2000\n }\n ) {\n gearName\n description\n weight\n isWaterproof\n supplier {\n ... on Supplier {\n supplierName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}\n\n COMMAND:\n ```text\nShow me the name, product, funding, bootstrapped status, and linked founder name of startups whose linked founder has more than 2 successful startups.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Startup(\n where: {\n path: [\"founders\", \"Entrepreneur\", \"successfulStartups\"],\n operator: GreaterThan,\n valueInt: 2\n }\n ) {\n name\n product\n funding\n isBootstrapped\n founders {\n ... on Entrepreneur {\n name\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the name, product, funding, bootstrapped status, and linked founder name of startups whose linked founder has more than 2 successful startups.\n```", "apiRef": "Filter using cross-references\n\nYou can filter objects using properties from a cross-referenced object.\n\nThe following example filters JeopardyQuestion objects using properties of JeopardyCategory that they are cross-referencing.\n\nMore speficially, the example filters for the title property of JeopardyCategory objects that are cross-referenced from the JeopardyQuestion object. The title property must include the substring Sport.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"hasCategory\", \"JeopardyCategory\", \"title\"],\n operator: Like,\n valueText: \"*Sport*\"\n }\n ) {\n question\n answer\n round\n hasCategory {... on JeopardyCategory { title } }\n }\n }\n}\n```", "apiRefPath": "get-where-filter-with-crefs.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}", "schemaPath": "startups.json", "modelOutput": "{\n Get {\n Startup(\n where: {\n path: [\"founders\", \"Entrepreneur\", \"foundingYear\"],\n operator: GreaterThan,\n valueInt: 1990\n },\n nearText: {\n concepts: [\"Web 2.0\"]\n }\n ) {\n name\n product\n funding\n isBootstrapped\n founders {\n ... on Entrepreneur {\n name\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nShow me the title, genre, rating, multiplayer status, and linked developer name of games whose linked developer was founded before the year 2000.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Game(\n where: {\n path: [\"developedBy\", \"Developer\", \"foundedYear\"],\n operator: LessThan,\n valueInt: 2000\n }\n ) {\n title\n genre\n rating\n isMultiplayer\n developedBy {\n ... on Developer {\n name\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the title, genre, rating, multiplayer status, and linked developer name of games whose linked developer was founded before the year 2000.\n```", "apiRef": "Filter using cross-references\n\nYou can filter objects using properties from a cross-referenced object.\n\nThe following example filters JeopardyQuestion objects using properties of JeopardyCategory that they are cross-referencing.\n\nMore speficially, the example filters for the title property of JeopardyCategory objects that are cross-referenced from the JeopardyQuestion object. The title property must include the substring Sport.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"hasCategory\", \"JeopardyCategory\", \"title\"],\n operator: Like,\n valueText: \"*Sport*\"\n }\n ) {\n question\n answer\n round\n hasCategory {... on JeopardyCategory { title } }\n }\n }\n}\n```", "apiRefPath": "get-where-filter-with-crefs.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}", "schemaPath": "videogame.json", "modelOutput": "{\n Get {\n Game(\n where: {\n path: [\"developedBy\", \"Developer\", \"foundedYear\"],\n operator: LessThan,\n valueInt: 2000\n }\n ) {\n title\n genre\n rating\n isMultiplayer\n developedBy {\n ... on Developer {\n name\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}\n\n COMMAND:\n ```text\nShow me the title, summary, availability, and linked author name of books whose linked author is older than 60 years old.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Book(\n where: {\n path: [\"author\", \"Author\", \"age\"],\n operator: GreaterThan,\n valueInt: 60\n }\n ) {\n title\n summary\n isAvailable\n author {\n ... on Author {\n name\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the title, summary, availability, and linked author name of books whose linked author is older than 60 years old.\n```", "apiRef": "Filter using cross-references\n\nYou can filter objects using properties from a cross-referenced object.\n\nThe following example filters JeopardyQuestion objects using properties of JeopardyCategory that they are cross-referencing.\n\nMore speficially, the example filters for the title property of JeopardyCategory objects that are cross-referenced from the JeopardyQuestion object. The title property must include the substring Sport.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"hasCategory\", \"JeopardyCategory\", \"title\"],\n operator: Like,\n valueText: \"*Sport*\"\n }\n ) {\n question\n answer\n round\n hasCategory {... on JeopardyCategory { title } }\n }\n }\n}\n```", "apiRefPath": "get-where-filter-with-crefs.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}", "schemaPath": "books.json", "modelOutput": "{\n Get {\n Book(\n where: {\n path: [\"author\", \"Author\", \"age\"],\n operator: GreaterThan,\n valueInt: 60\n }\n ) {\n title\n summary\n isAvailable\n author {\n ... on Author {\n name\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}\n\n COMMAND:\n ```text\nShow me the beer name, tasting notes, alcohol content, and seasonal availability of craft beers whose linked brewery was founded before 1990. Also, show me the linked brewery name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n CraftBeer(\n where: {\n path: [\"brewery\", \"Brewery\", \"foundedYear\"],\n operator: LessThan,\n valueInt: 1990\n }\n ) {\n beerName\n tastingNotes\n alcoholContent\n isSeasonal\n brewery {\n ... on Brewery {\n breweryName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the beer name, tasting notes, alcohol content, and seasonal availability of craft beers whose linked brewery was founded before 1990. Also, show me the linked brewery name.\n```", "apiRef": "Filter using cross-references\n\nYou can filter objects using properties from a cross-referenced object.\n\nThe following example filters JeopardyQuestion objects using properties of JeopardyCategory that they are cross-referencing.\n\nMore speficially, the example filters for the title property of JeopardyCategory objects that are cross-referenced from the JeopardyQuestion object. The title property must include the substring Sport.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"hasCategory\", \"JeopardyCategory\", \"title\"],\n operator: Like,\n valueText: \"*Sport*\"\n }\n ) {\n question\n answer\n round\n hasCategory {... on JeopardyCategory { title } }\n }\n }\n}\n```", "apiRefPath": "get-where-filter-with-crefs.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}", "schemaPath": "craftbeer.json", "modelOutput": "{\n Get {\n CraftBeer(\n where: {\n path: [\"brewery\", \"Brewery\", \"foundedYear\"],\n operator: LessThan,\n valueInt: 1990\n }\n ) {\n beerName\n tastingNotes\n alcoholContent\n isSeasonal\n brewery {\n ... on Brewery {\n breweryName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}\n\n COMMAND:\n ```text\nWhat is the average accuracy of AIModels related to \"Artificial Intelligence Sci-Fi\" with a maximum distance of 0.2?\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n AIModel(\n nearText: {\n concepts: [\"Artificial Intelligence Sci-Fi\"],\n distance: 0.2\n }\n ) {\n accuracy {\n mean\n }\n }\n }\n}\n```", "nlcommand": "```text\nWhat is the average accuracy of AIModels related to \"Artificial Intelligence Sci-Fi\" with a maximum distance of 0.2?\n```", "apiRef": "With nearXXX\nWhen using a similarity search operator (i.e. nearXXX) with Aggregate, you should include a way to limit the search results. This is because a vector search in itself does not exclude any objects from the results set - all objects have some degree of similarity to the query.\n\nThus, for the vector search to affect the Aggregate output, you must set a limit on:\n\nThe number of results returned (with limit), or\nHow similar the results are to the query (with distance).\n\nSet a maximum distance\nYou can set the distance operator to specify the maximum dissimilarity (i.e. minimum similarity) of results to be aggregated.\n\nThe below query retrieves the 10 question objects with vectors that are within a distance of 0.19 to \"animals in space\", and returns the sum total of the point property.\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in space\"],\n distance: 0.19\n }\n ) {\n points {\n sum\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-nearText-with-distance.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}", "schemaPath": "AIModels.json", "modelOutput": "{\n Aggregate {\n AIModel(\n nearText: {\n concepts: [\"Artificial Intelligence Sci-Fi\"],\n distance: 0.2\n }\n ) {\n accuracy {\n mean\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}\n\n COMMAND:\n ```text\nWhat is the average weight of OutdoorGear related to \"Camping Hiking\" with a maximum distance of 0.3.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n OutdoorGear(\n nearText: {\n concepts: [\"Camping Hiking\"],\n distance: 0.3\n }\n ) {\n weight {\n mean\n }\n }\n }\n}\n```", "nlcommand": "```text\nWhat is the average weight of OutdoorGear related to \"Camping Hiking\" with a maximum distance of 0.3.\n```", "apiRef": "With nearXXX\nWhen using a similarity search operator (i.e. nearXXX) with Aggregate, you should include a way to limit the search results. This is because a vector search in itself does not exclude any objects from the results set - all objects have some degree of similarity to the query.\n\nThus, for the vector search to affect the Aggregate output, you must set a limit on:\n\nThe number of results returned (with limit), or\nHow similar the results are to the query (with distance).\n\nSet a maximum distance\nYou can set the distance operator to specify the maximum dissimilarity (i.e. minimum similarity) of results to be aggregated.\n\nThe below query retrieves the 10 question objects with vectors that are within a distance of 0.19 to \"animals in space\", and returns the sum total of the point property.\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in space\"],\n distance: 0.19\n }\n ) {\n points {\n sum\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-nearText-with-distance.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}", "schemaPath": "outdoorgear.json", "modelOutput": "{\n Aggregate {\n OutdoorGear(\n nearText: {\n concepts: [\"Camping Hiking\"],\n distance: 0.3\n }\n ) {\n weight {\n mean\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}\n\n COMMAND:\n ```text\nShow me the event name and description of historical events that contain \"revolution\" in the event name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n HistoricalEvent(\n where: {\n path: [\"eventName\"],\n operator: Like,\n valueText: \"*revolution*\"\n }\n ) {\n eventName\n description\n }\n }\n}\n```", "nlcommand": "```text\nShow me the event name and description of historical events that contain \"revolution\" in the event name.\n```", "apiRef": "By partial matches (text)\n\nWith text data type properties, you can use the Like operator to filter by partial matches.\n\nThe following example filters for objects including the text \"inter\" in any part of a token in the answer property.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"answer\"],\n operator: Like,\n valueText: \"*inter*\"\n }\n ) {\n question\n answer\n round\n }\n }\n}\n```", "apiRefPath": "get-where-like-operator.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}", "schemaPath": "historicalevent.json", "modelOutput": "{\n Get {\n HistoricalEvent(\n where: {\n path: [\"eventName\"],\n operator: Like,\n valueText: \"*revolution*\"\n }\n ) {\n eventName\n description\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}\n\n COMMAND:\n ```text\nShow me the name and description of instruments that contain \"guitar\" in the name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Instrument(\n where: {\n path: [\"name\"],\n operator: Like,\n valueText: \"*guitar*\"\n }\n ) {\n name\n description\n }\n }\n}\n```", "nlcommand": "```text\nShow me the name and description of instruments that contain \"guitar\" in the name.\n```", "apiRef": "By partial matches (text)\n\nWith text data type properties, you can use the Like operator to filter by partial matches.\n\nThe following example filters for objects including the text \"inter\" in any part of a token in the answer property.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"answer\"],\n operator: Like,\n valueText: \"*inter*\"\n }\n ) {\n question\n answer\n round\n }\n }\n}\n```", "apiRefPath": "get-where-like-operator.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}", "schemaPath": "musicalinstrument.json", "modelOutput": "{\n Get {\n Instrument(\n where: {\n path: [\"name\"],\n operator: Like,\n valueText: \"*guitar*\"\n }\n ) {\n name\n description\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}\n\n COMMAND:\n ```text\nShow me the location and equipment of weather stations located in New York.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n WeatherStation(\n where: {\n path: [\"location\"],\n operator: Like,\n valueText: \"*New York*\"\n }\n ) {\n location\n equipment\n }\n }\n}\n```", "nlcommand": "```text\nShow me the location and equipment of weather stations located in New York.\n```", "apiRef": "By partial matches (text)\n\nWith text data type properties, you can use the Like operator to filter by partial matches.\n\nThe following example filters for objects including the text \"inter\" in any part of a token in the answer property.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"answer\"],\n operator: Like,\n valueText: \"*inter*\"\n }\n ) {\n question\n answer\n round\n }\n }\n}\n```", "apiRefPath": "get-where-like-operator.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}", "schemaPath": "weatherstation.json", "modelOutput": "{\n Get {\n WeatherStation(\n where: {\n path: [\"location\"],\n operator: Equal,\n valueText: \"New York\"\n }\n ) {\n location\n equipment\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}\n\n COMMAND:\n ```text\nShow me the model name, application, and accuracy of AI models that contain \"classification\" in the model name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n AIModel(\n where: {\n path: [\"modelName\"],\n operator: Like,\n valueText: \"*classification*\"\n }\n ) {\n modelName\n application\n accuracy\n }\n }\n}\n```", "nlcommand": "```text\nShow me the model name, application, and accuracy of AI models that contain \"classification\" in the model name.\n```", "apiRef": "By partial matches (text)\n\nWith text data type properties, you can use the Like operator to filter by partial matches.\n\nThe following example filters for objects including the text \"inter\" in any part of a token in the answer property.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"answer\"],\n operator: Like,\n valueText: \"*inter*\"\n }\n ) {\n question\n answer\n round\n }\n }\n}\n```", "apiRefPath": "get-where-like-operator.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}", "schemaPath": "AIModels.json", "modelOutput": "{\n Get {\n AIModel(\n where: {\n path: [\"modelName\"],\n operator: Like,\n valueText: \"*classification*\"\n }\n ) {\n modelName\n application\n accuracy\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}\n\n COMMAND:\n ```text\nShow me the gear name and description of outdoor gear that contains \"backpack\" in the gear name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n OutdoorGear(\n where: {\n path: [\"gearName\"],\n operator: Like,\n valueText: \"*backpack*\"\n }\n ) {\n gearName\n description\n }\n }\n}\n```", "nlcommand": "```text\nShow me the gear name and description of outdoor gear that contains \"backpack\" in the gear name.\n```", "apiRef": "By partial matches (text)\n\nWith text data type properties, you can use the Like operator to filter by partial matches.\n\nThe following example filters for objects including the text \"inter\" in any part of a token in the answer property.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"answer\"],\n operator: Like,\n valueText: \"*inter*\"\n }\n ) {\n question\n answer\n round\n }\n }\n}\n```", "apiRefPath": "get-where-like-operator.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}", "schemaPath": "outdoorgear.json", "modelOutput": "{\n Get {\n OutdoorGear(\n where: {\n path: [\"gearName\"],\n operator: Like,\n valueText: \"*backpack*\"\n }\n ) {\n gearName\n description\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}\n\n COMMAND:\n ```text\nShow me the name and product of startups that contain \"tech\" in the name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Startup(\n where: {\n path: [\"name\"],\n operator: Like,\n valueText: \"*tech*\"\n }\n ) {\n name\n product\n }\n }\n}\n```", "nlcommand": "```text\nShow me the name and product of startups that contain \"tech\" in the name.\n```", "apiRef": "By partial matches (text)\n\nWith text data type properties, you can use the Like operator to filter by partial matches.\n\nThe following example filters for objects including the text \"inter\" in any part of a token in the answer property.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"answer\"],\n operator: Like,\n valueText: \"*inter*\"\n }\n ) {\n question\n answer\n round\n }\n }\n}\n```", "apiRefPath": "get-where-like-operator.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}", "schemaPath": "startups.json", "modelOutput": "{\n Get {\n Startup(\n where: {\n path: [\"name\"],\n operator: Like,\n valueText: \"*tech*\"\n }\n ) {\n name\n product\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nShow me the title and genre of games that contain \"action\" in the title.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Game(\n where: {\n path: [\"title\"],\n operator: Like,\n valueText: \"*action*\"\n }\n ) {\n title\n genre\n }\n }\n}\n```", "nlcommand": "```text\nShow me the title and genre of games that contain \"action\" in the title.\n```", "apiRef": "By partial matches (text)\n\nWith text data type properties, you can use the Like operator to filter by partial matches.\n\nThe following example filters for objects including the text \"inter\" in any part of a token in the answer property.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"answer\"],\n operator: Like,\n valueText: \"*inter*\"\n }\n ) {\n question\n answer\n round\n }\n }\n}\n```", "apiRefPath": "get-where-like-operator.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}", "schemaPath": "videogame.json", "modelOutput": "{\n Get {\n Game(\n where: {\n path: [\"title\"],\n operator: Like,\n valueText: \"*action*\"\n }\n ) {\n title\n genre\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}\n\n COMMAND:\n ```text\nShow me the title and summary of books that contain \"robots\" in the title.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Book(\n where: {\n path: [\"title\"],\n operator: Like,\n valueText: \"*robots*\"\n }\n ) {\n title\n summary\n }\n }\n}\n```", "nlcommand": "```text\nShow me the title and summary of books that contain \"robots\" in the title.\n```", "apiRef": "By partial matches (text)\n\nWith text data type properties, you can use the Like operator to filter by partial matches.\n\nThe following example filters for objects including the text \"inter\" in any part of a token in the answer property.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"answer\"],\n operator: Like,\n valueText: \"*inter*\"\n }\n ) {\n question\n answer\n round\n }\n }\n}\n```", "apiRefPath": "get-where-like-operator.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}", "schemaPath": "books.json", "modelOutput": "{\n Get {\n Book(\n where: {\n path: [\"title\"],\n operator: Like,\n valueText: \"*robots*\"\n }\n ) {\n title\n summary\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}\n\n COMMAND:\n ```text\nShow me the beer name and tasting notes of craft beers that contain \"IPA\" in the name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n CraftBeer(\n where: {\n path: [\"beerName\"],\n operator: Like,\n valueText: \"*IPA*\"\n }\n ) {\n beerName\n tastingNotes\n }\n }\n}\n```", "nlcommand": "```text\nShow me the beer name and tasting notes of craft beers that contain \"IPA\" in the name.\n```", "apiRef": "By partial matches (text)\n\nWith text data type properties, you can use the Like operator to filter by partial matches.\n\nThe following example filters for objects including the text \"inter\" in any part of a token in the answer property.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"answer\"],\n operator: Like,\n valueText: \"*inter*\"\n }\n ) {\n question\n answer\n round\n }\n }\n}\n```", "apiRefPath": "get-where-like-operator.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}", "schemaPath": "craftbeer.json", "modelOutput": "{\n Get {\n CraftBeer(\n where: {\n path: [\"beerName\"],\n operator: Like,\n valueText: \"*IPA*\"\n }\n ) {\n beerName\n tastingNotes\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}\n\n COMMAND:\n ```text\nGet me the historical event related to \"World War II\" with the highest BM25 score, and show the event name, description, year, significant impact, and the countries involved with their names and populations.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n HistoricalEvent(\n bm25: {\n query: \"World War II\"\n },\n autocut: 1\n ) {\n eventName\n description\n year\n hadSignificantImpact\n involvedCountries {\n ... on Country {\n countryName\n population\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the historical event related to \"World War II\" with the highest BM25 score, and show the event name, description, year, significant impact, and the countries involved with their names and populations.\n```", "apiRef": "### Autocut\n\nAnother way to limit the results returned by a similarity search is to use the `autocut` filter. Autocut takes a positive integer parameter\u00a0`N`, looks at the\u00a0score\u00a0of each result, and stops returning results after the\u00a0`N`th \"drop\" in score. For example, if the distances for six objects returned by a\u00a0`bm25`\u00a0query were\u00a0`[2.676, 2.021, 2.022, 1.854, 1.856, 1.713]`\u00a0then `autocut: 1` would return the first object,\u00a0`autocut: 2`\u00a0would return the first 3 objects, and\u00a0`autocut: 3`\u00a0would return all objects.\n\nAutocut can be used as follows:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"safety\"\n },\n autocut: 1\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-with-autocut.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}", "schemaPath": "historicalevent.json", "modelOutput": "{\n Get {\n HistoricalEvent(\n bm25: {\n query: \"World War II\"\n },\n autocut: 1\n ) {\n eventName\n description\n year\n hadSignificantImpact\n involvedCountries {\n ... on Country {\n countryName\n population\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 1 instrument with BM25 scoring to the query 'piano', cutting search results at the first steep drop in the BM25 score, and show the name, description, year introduced, whether it is a string instrument, and the name, genre, and years active of the musician who plays it.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Instrument(\n bm25: {\n query: \"piano\"\n },\n autocut: 1\n ) {\n name\n description\n yearIntroduced\n isString\n playedBy {\n ... on Musician {\n name\n genre\n yearsActive\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 1 instrument with BM25 scoring to the query 'piano', cutting search results at the first steep drop in the BM25 score, and show the name, description, year introduced, whether it is a string instrument, and the name, genre, and years active of the musician who plays it.\n```", "apiRef": "### Autocut\n\nAnother way to limit the results returned by a similarity search is to use the `autocut` filter. Autocut takes a positive integer parameter\u00a0`N`, looks at the\u00a0score\u00a0of each result, and stops returning results after the\u00a0`N`th \"drop\" in score. For example, if the distances for six objects returned by a\u00a0`bm25`\u00a0query were\u00a0`[2.676, 2.021, 2.022, 1.854, 1.856, 1.713]`\u00a0then `autocut: 1` would return the first object,\u00a0`autocut: 2`\u00a0would return the first 3 objects, and\u00a0`autocut: 3`\u00a0would return all objects.\n\nAutocut can be used as follows:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"safety\"\n },\n autocut: 1\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-with-autocut.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}", "schemaPath": "musicalinstrument.json", "modelOutput": "{\n Get {\n Instrument(\n bm25: {\n query: \"piano\"\n },\n autocut: 1\n ) {\n name\n description\n yearIntroduced\n isString\n playedBy {\n ... on Musician {\n name\n genre\n yearsActive\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 2 weather stations with BM25 scoring to the query 'temperature', cutting search results at the second steep drop in the BM25 score, and show the location, equipment, altitude, activity status, and the name and years of experience of the meteorologist managing each station.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n WeatherStation(\n bm25: {\n query: \"temperature\"\n },\n autocut: 2\n ) {\n location\n equipment\n altitude\n isActive\n managedBy {\n ... on Meteorologist {\n name\n yearsExperience\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 2 weather stations with BM25 scoring to the query 'temperature', cutting search results at the second steep drop in the BM25 score, and show the location, equipment, altitude, activity status, and the name and years of experience of the meteorologist managing each station.\n```", "apiRef": "### Autocut\n\nAnother way to limit the results returned by a similarity search is to use the `autocut` filter. Autocut takes a positive integer parameter\u00a0`N`, looks at the\u00a0score\u00a0of each result, and stops returning results after the\u00a0`N`th \"drop\" in score. For example, if the distances for six objects returned by a\u00a0`bm25`\u00a0query were\u00a0`[2.676, 2.021, 2.022, 1.854, 1.856, 1.713]`\u00a0then `autocut: 1` would return the first object,\u00a0`autocut: 2`\u00a0would return the first 3 objects, and\u00a0`autocut: 3`\u00a0would return all objects.\n\nAutocut can be used as follows:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"safety\"\n },\n autocut: 1\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-with-autocut.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}", "schemaPath": "weatherstation.json", "modelOutput": "{\n Get {\n WeatherStation(\n bm25: {\n query: \"temperature\"\n },\n autocut: 2\n ) {\n location\n equipment\n altitude\n isActive\n managedBy {\n ... on Meteorologist {\n name\n yearsExperience\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 2 AI models with BM25 scoring to the query 'classification', cutting search results at the second steep drop in the BM25 score, and show the model name, application, accuracy, whether it is supervised, and the algorithm's name, description, and year of development.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n AIModel(\n bm25: {\n query: \"classification\"\n },\n autocut: 2\n ) {\n modelName\n application\n accuracy\n isSupervised\n basedOn {\n ... on Algorithm {\n name\n description\n yearDeveloped\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 2 AI models with BM25 scoring to the query 'classification', cutting search results at the second steep drop in the BM25 score, and show the model name, application, accuracy, whether it is supervised, and the algorithm's name, description, and year of development.\n```", "apiRef": "### Autocut\n\nAnother way to limit the results returned by a similarity search is to use the `autocut` filter. Autocut takes a positive integer parameter\u00a0`N`, looks at the\u00a0score\u00a0of each result, and stops returning results after the\u00a0`N`th \"drop\" in score. For example, if the distances for six objects returned by a\u00a0`bm25`\u00a0query were\u00a0`[2.676, 2.021, 2.022, 1.854, 1.856, 1.713]`\u00a0then `autocut: 1` would return the first object,\u00a0`autocut: 2`\u00a0would return the first 3 objects, and\u00a0`autocut: 3`\u00a0would return all objects.\n\nAutocut can be used as follows:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"safety\"\n },\n autocut: 1\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-with-autocut.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}", "schemaPath": "AIModels.json", "modelOutput": "{\n Get {\n AIModel(\n bm25: {\n query: \"classification\"\n },\n autocut: 2\n ) {\n modelName\n application\n accuracy\n isSupervised\n basedOn {\n ... on Algorithm {\n name\n description\n yearDeveloped\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 1 outdoor gear item with BM25 scoring to the query 'hiking boots', cutting search results at the first steep drop in the BM25 score, and show the gear name, description, weight, waterproof status, and supplier's name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n OutdoorGear(\n bm25: {\n query: \"hiking boots\"\n },\n autocut: 1\n ) {\n gearName\n description\n weight\n isWaterproof\n supplier {\n ... on Supplier {\n supplierName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 1 outdoor gear item with BM25 scoring to the query 'hiking boots', cutting search results at the first steep drop in the BM25 score, and show the gear name, description, weight, waterproof status, and supplier's name.\n```", "apiRef": "### Autocut\n\nAnother way to limit the results returned by a similarity search is to use the `autocut` filter. Autocut takes a positive integer parameter\u00a0`N`, looks at the\u00a0score\u00a0of each result, and stops returning results after the\u00a0`N`th \"drop\" in score. For example, if the distances for six objects returned by a\u00a0`bm25`\u00a0query were\u00a0`[2.676, 2.021, 2.022, 1.854, 1.856, 1.713]`\u00a0then `autocut: 1` would return the first object,\u00a0`autocut: 2`\u00a0would return the first 3 objects, and\u00a0`autocut: 3`\u00a0would return all objects.\n\nAutocut can be used as follows:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"safety\"\n },\n autocut: 1\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-with-autocut.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}", "schemaPath": "outdoorgear.json", "modelOutput": "{\n Get {\n OutdoorGear(\n bm25: {\n query: \"hiking boots\"\n },\n autocut: 1\n ) {\n gearName\n description\n weight\n isWaterproof\n supplier {\n ... on Supplier {\n supplierName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 2 startups with BM25 scoring to the query 'technology', cutting search results at the second steep drop in the BM25 score, and show the name, product, funding, bootstrapped status, and founder's name, biography, and successful startups.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Startup(\n bm25: {\n query: \"technology\"\n },\n autocut: 2\n ) {\n name\n product\n funding\n isBootstrapped\n founders {\n ... on Entrepreneur {\n name\n biography\n successfulStartups\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 2 startups with BM25 scoring to the query 'technology', cutting search results at the second steep drop in the BM25 score, and show the name, product, funding, bootstrapped status, and founder's name, biography, and successful startups.\n```", "apiRef": "### Autocut\n\nAnother way to limit the results returned by a similarity search is to use the `autocut` filter. Autocut takes a positive integer parameter\u00a0`N`, looks at the\u00a0score\u00a0of each result, and stops returning results after the\u00a0`N`th \"drop\" in score. For example, if the distances for six objects returned by a\u00a0`bm25`\u00a0query were\u00a0`[2.676, 2.021, 2.022, 1.854, 1.856, 1.713]`\u00a0then `autocut: 1` would return the first object,\u00a0`autocut: 2`\u00a0would return the first 3 objects, and\u00a0`autocut: 3`\u00a0would return all objects.\n\nAutocut can be used as follows:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"safety\"\n },\n autocut: 1\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-with-autocut.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}", "schemaPath": "startups.json", "modelOutput": "{\n Get {\n Startup(\n bm25: {\n query: \"technology\"\n },\n autocut: 2\n ) {\n name\n product\n funding\n isBootstrapped\n founders {\n ... on Entrepreneur {\n name\n biography\n successfulStartups\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 2 games with BM25 scoring to the query 'action', cutting search results at the second steep drop in the BM25 score, and show the title, genre, rating, multiplayer availability, and developer's name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Game(\n bm25: {\n query: \"action\"\n },\n autocut: 2\n ) {\n title\n genre\n rating\n isMultiplayer\n developedBy {\n ... on Developer {\n name\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 2 games with BM25 scoring to the query 'action', cutting search results at the second steep drop in the BM25 score, and show the title, genre, rating, multiplayer availability, and developer's name.\n```", "apiRef": "### Autocut\n\nAnother way to limit the results returned by a similarity search is to use the `autocut` filter. Autocut takes a positive integer parameter\u00a0`N`, looks at the\u00a0score\u00a0of each result, and stops returning results after the\u00a0`N`th \"drop\" in score. For example, if the distances for six objects returned by a\u00a0`bm25`\u00a0query were\u00a0`[2.676, 2.021, 2.022, 1.854, 1.856, 1.713]`\u00a0then `autocut: 1` would return the first object,\u00a0`autocut: 2`\u00a0would return the first 3 objects, and\u00a0`autocut: 3`\u00a0would return all objects.\n\nAutocut can be used as follows:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"safety\"\n },\n autocut: 1\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-with-autocut.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}", "schemaPath": "videogame.json", "modelOutput": "{\n Get {\n Game(\n bm25: {\n query: \"action\"\n },\n autocut: 2\n ) {\n title\n genre\n rating\n isMultiplayer\n developedBy {\n ... on Developer {\n name\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top book with BM25 scoring to the query 'science fiction', cutting search results at the first steep drop in the BM25 score, and show the title, summary, availability, and author's name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Book(\n bm25: {\n query: \"science fiction\"\n },\n autocut: 1\n ) {\n title\n summary\n isAvailable\n author {\n ... on Author {\n name\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top book with BM25 scoring to the query 'science fiction', cutting search results at the first steep drop in the BM25 score, and show the title, summary, availability, and author's name.\n```", "apiRef": "### Autocut\n\nAnother way to limit the results returned by a similarity search is to use the `autocut` filter. Autocut takes a positive integer parameter\u00a0`N`, looks at the\u00a0score\u00a0of each result, and stops returning results after the\u00a0`N`th \"drop\" in score. For example, if the distances for six objects returned by a\u00a0`bm25`\u00a0query were\u00a0`[2.676, 2.021, 2.022, 1.854, 1.856, 1.713]`\u00a0then `autocut: 1` would return the first object,\u00a0`autocut: 2`\u00a0would return the first 3 objects, and\u00a0`autocut: 3`\u00a0would return all objects.\n\nAutocut can be used as follows:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"safety\"\n },\n autocut: 1\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-with-autocut.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}", "schemaPath": "books.json", "modelOutput": "{\n Get {\n Book(\n bm25: {\n query: \"science fiction\"\n },\n autocut: 1\n ) {\n title\n summary\n isAvailable\n author {\n ... on Author {\n name\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 2 craft beers with BM25 scoring to the query 'IPA', cutting search results at the second steep drop in the BM25 score, and show the beer name, tasting notes, alcohol content, seasonal availability, brewery name, and founded year.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n CraftBeer(\n bm25: {\n query: \"IPA\"\n },\n autocut: 2\n ) {\n beerName\n tastingNotes\n alcoholContent\n isSeasonal\n brewery {\n ... on Brewery {\n breweryName\n foundedYear\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 2 craft beers with BM25 scoring to the query 'IPA', cutting search results at the second steep drop in the BM25 score, and show the beer name, tasting notes, alcohol content, seasonal availability, brewery name, and founded year.\n```", "apiRef": "### Autocut\n\nAnother way to limit the results returned by a similarity search is to use the `autocut` filter. Autocut takes a positive integer parameter\u00a0`N`, looks at the\u00a0score\u00a0of each result, and stops returning results after the\u00a0`N`th \"drop\" in score. For example, if the distances for six objects returned by a\u00a0`bm25`\u00a0query were\u00a0`[2.676, 2.021, 2.022, 1.854, 1.856, 1.713]`\u00a0then `autocut: 1` would return the first object,\u00a0`autocut: 2`\u00a0would return the first 3 objects, and\u00a0`autocut: 3`\u00a0would return all objects.\n\nAutocut can be used as follows:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"safety\"\n },\n autocut: 1\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-with-autocut.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}", "schemaPath": "craftbeer.json", "modelOutput": "{\n Get {\n CraftBeer(\n bm25: {\n query: \"IPA\"\n },\n autocut: 2\n ) {\n beerName\n tastingNotes\n alcoholContent\n isSeasonal\n brewery {\n ... on Brewery {\n breweryName\n foundedYear\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 10 HistoricalEvents related to World War II. Show the event name, description, year, whether it had a significant impact, and the involved countries' names and populations.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n HistoricalEvent(\n bm25: {\n query: \"World War II\"\n },\n limit: 10\n ) {\n eventName\n description\n year\n hadSignificantImpact\n involvedCountries {\n ... on Country {\n countryName\n population\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 10 HistoricalEvents related to World War II. Show the event name, description, year, whether it had a significant impact, and the involved countries' names and populations.\n```", "apiRef": "Query API: Basic BM25 search\n\nBM25 Search is a keyword scoring algorithm that looks ranks data objects based on the shared keywords between the data objects and the query.\n\nTo use BM25 search, you must provide a search string as a minimum.\n\nThe below example uses default settings, looking for objects containing the keyword\u00a0`food`\u00a0anywhere in the object.\n\nIt ranks the results using BM25, and returns the top 3.\n\nFollowing is an example for a database schema with the Class name `JeopardyQuestion` with properties `question` and `answer`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"food\"\n },\n limit: 3\n ) {\n question\n answer\n }\n }\n}\n```\n\nIn this example, the query will rank the `JeopardyQuestion` data objects based on the BM25 keyword scoring algorithm with the query \"food\".\n\nA Natural Language Command for this example could be: \"Get me the top 3 JeopardyQuestions that mention food, show the question and answer.\"", "apiRefPath": "get-bm25.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}", "schemaPath": "historicalevent.json", "modelOutput": "{\n Get {\n HistoricalEvent(\n bm25: {\n query: \"World War II\"\n },\n limit: 10\n ) {\n eventName\n description\n year\n hadSignificantImpact\n involvedCountries {\n ... on Country {\n countryName\n population\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 3 Instruments that mention guitar, show the name, description, year introduced, whether it is a string instrument, and the name, genre, and years active of the musicians who play it.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Instrument(\n bm25: {\n query: \"guitar\"\n },\n limit: 3\n ) {\n name\n description\n yearIntroduced\n isString\n playedBy {\n ... on Musician {\n name\n genre\n yearsActive\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 3 Instruments that mention guitar, show the name, description, year introduced, whether it is a string instrument, and the name, genre, and years active of the musicians who play it.\n```", "apiRef": "Query API: Basic BM25 search\n\nBM25 Search is a keyword scoring algorithm that looks ranks data objects based on the shared keywords between the data objects and the query.\n\nTo use BM25 search, you must provide a search string as a minimum.\n\nThe below example uses default settings, looking for objects containing the keyword\u00a0`food`\u00a0anywhere in the object.\n\nIt ranks the results using BM25, and returns the top 3.\n\nFollowing is an example for a database schema with the Class name `JeopardyQuestion` with properties `question` and `answer`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"food\"\n },\n limit: 3\n ) {\n question\n answer\n }\n }\n}\n```\n\nIn this example, the query will rank the `JeopardyQuestion` data objects based on the BM25 keyword scoring algorithm with the query \"food\".\n\nA Natural Language Command for this example could be: \"Get me the top 3 JeopardyQuestions that mention food, show the question and answer.\"", "apiRefPath": "get-bm25.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}", "schemaPath": "musicalinstrument.json", "modelOutput": "{\n Get {\n Instrument(\n bm25: {\n query: \"guitar\"\n },\n limit: 3\n ) {\n name\n description\n yearIntroduced\n isString\n playedBy {\n ... on Musician {\n name\n genre\n yearsActive\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 10 WeatherStations that mention rain, show the location, equipment, altitude, activity status, and the name and years of experience of the meteorologist managing each station.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n WeatherStation(\n bm25: {\n query: \"rain\"\n },\n limit: 10\n ) {\n location\n equipment\n altitude\n isActive\n managedBy {\n ... on Meteorologist {\n name\n yearsExperience\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 10 WeatherStations that mention rain, show the location, equipment, altitude, activity status, and the name and years of experience of the meteorologist managing each station.\n```", "apiRef": "Query API: Basic BM25 search\n\nBM25 Search is a keyword scoring algorithm that looks ranks data objects based on the shared keywords between the data objects and the query.\n\nTo use BM25 search, you must provide a search string as a minimum.\n\nThe below example uses default settings, looking for objects containing the keyword\u00a0`food`\u00a0anywhere in the object.\n\nIt ranks the results using BM25, and returns the top 3.\n\nFollowing is an example for a database schema with the Class name `JeopardyQuestion` with properties `question` and `answer`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"food\"\n },\n limit: 3\n ) {\n question\n answer\n }\n }\n}\n```\n\nIn this example, the query will rank the `JeopardyQuestion` data objects based on the BM25 keyword scoring algorithm with the query \"food\".\n\nA Natural Language Command for this example could be: \"Get me the top 3 JeopardyQuestions that mention food, show the question and answer.\"", "apiRefPath": "get-bm25.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}", "schemaPath": "weatherstation.json", "modelOutput": "{\n Get {\n WeatherStation(\n bm25: {\n query: \"rain\"\n },\n limit: 10\n ) {\n location\n equipment\n altitude\n isActive\n managedBy {\n ... on Meteorologist {\n name\n yearsExperience\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 10 AIModels that are related to classification, and show the modelName, application, accuracy, isSupervised, and basedOn algorithm's name, description, and yearDeveloped.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n AIModel(\n bm25: {\n query: \"classification\"\n },\n limit: 10\n ) {\n modelName\n application\n accuracy\n isSupervised\n basedOn {\n ... on Algorithm {\n name\n description\n yearDeveloped\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 10 AIModels that are related to classification, and show the modelName, application, accuracy, isSupervised, and basedOn algorithm's name, description, and yearDeveloped.\n```", "apiRef": "Query API: Basic BM25 search\n\nBM25 Search is a keyword scoring algorithm that looks ranks data objects based on the shared keywords between the data objects and the query.\n\nTo use BM25 search, you must provide a search string as a minimum.\n\nThe below example uses default settings, looking for objects containing the keyword\u00a0`food`\u00a0anywhere in the object.\n\nIt ranks the results using BM25, and returns the top 3.\n\nFollowing is an example for a database schema with the Class name `JeopardyQuestion` with properties `question` and `answer`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"food\"\n },\n limit: 3\n ) {\n question\n answer\n }\n }\n}\n```\n\nIn this example, the query will rank the `JeopardyQuestion` data objects based on the BM25 keyword scoring algorithm with the query \"food\".\n\nA Natural Language Command for this example could be: \"Get me the top 3 JeopardyQuestions that mention food, show the question and answer.\"", "apiRefPath": "get-bm25.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}", "schemaPath": "AIModels.json", "modelOutput": "{\n Get {\n AIModel(\n bm25: {\n query: \"classification\"\n },\n limit: 10\n ) {\n modelName\n application\n accuracy\n isSupervised\n basedOn {\n ... on Algorithm {\n name\n description\n yearDeveloped\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 10 OutdoorGear items that mention 'backpack', and show the gear name, description, weight, waterproof status, and supplier's name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n OutdoorGear(\n bm25: {\n query: \"backpack\"\n },\n limit: 10\n ) {\n gearName\n description\n weight\n isWaterproof\n supplier {\n ... on Supplier {\n supplierName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 10 OutdoorGear items that mention 'backpack', and show the gear name, description, weight, waterproof status, and supplier's name.\n```", "apiRef": "Query API: Basic BM25 search\n\nBM25 Search is a keyword scoring algorithm that looks ranks data objects based on the shared keywords between the data objects and the query.\n\nTo use BM25 search, you must provide a search string as a minimum.\n\nThe below example uses default settings, looking for objects containing the keyword\u00a0`food`\u00a0anywhere in the object.\n\nIt ranks the results using BM25, and returns the top 3.\n\nFollowing is an example for a database schema with the Class name `JeopardyQuestion` with properties `question` and `answer`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"food\"\n },\n limit: 3\n ) {\n question\n answer\n }\n }\n}\n```\n\nIn this example, the query will rank the `JeopardyQuestion` data objects based on the BM25 keyword scoring algorithm with the query \"food\".\n\nA Natural Language Command for this example could be: \"Get me the top 3 JeopardyQuestions that mention food, show the question and answer.\"", "apiRefPath": "get-bm25.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}", "schemaPath": "outdoorgear.json", "modelOutput": "{\n Get {\n OutdoorGear(\n bm25: {\n query: \"backpack\"\n },\n limit: 10\n ) {\n gearName\n description\n weight\n isWaterproof\n supplier {\n ... on Supplier {\n supplierName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 10 Startups related to technology, show their name, product, funding, bootstrapping status, and founders' names, biographies, and successful startups.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Startup(\n bm25: {\n query: \"technology\"\n },\n limit: 10\n ) {\n name\n product\n funding\n isBootstrapped\n founders {\n ... on Entrepreneur {\n name\n biography\n successfulStartups\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 10 Startups related to technology, show their name, product, funding, bootstrapping status, and founders' names, biographies, and successful startups.\n```", "apiRef": "Query API: Basic BM25 search\n\nBM25 Search is a keyword scoring algorithm that looks ranks data objects based on the shared keywords between the data objects and the query.\n\nTo use BM25 search, you must provide a search string as a minimum.\n\nThe below example uses default settings, looking for objects containing the keyword\u00a0`food`\u00a0anywhere in the object.\n\nIt ranks the results using BM25, and returns the top 3.\n\nFollowing is an example for a database schema with the Class name `JeopardyQuestion` with properties `question` and `answer`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"food\"\n },\n limit: 3\n ) {\n question\n answer\n }\n }\n}\n```\n\nIn this example, the query will rank the `JeopardyQuestion` data objects based on the BM25 keyword scoring algorithm with the query \"food\".\n\nA Natural Language Command for this example could be: \"Get me the top 3 JeopardyQuestions that mention food, show the question and answer.\"", "apiRefPath": "get-bm25.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}", "schemaPath": "startups.json", "modelOutput": "{\n Get {\n Startup(\n bm25: {\n query: \"technology\"\n },\n limit: 10\n ) {\n name\n product\n funding\n isBootstrapped\n founders {\n ... on Entrepreneur {\n name\n biography\n successfulStartups\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 10 Games with BM25 scoring to the query 'action', and show the title, genre, rating, multiplayer availability, and developer's name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Game(\n bm25: {\n query: \"action\"\n },\n limit: 10\n ) {\n title\n genre\n rating\n isMultiplayer\n developedBy {\n ... on Developer {\n name\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 10 Games with BM25 scoring to the query 'action', and show the title, genre, rating, multiplayer availability, and developer's name.\n```", "apiRef": "Query API: Basic BM25 search\n\nBM25 Search is a keyword scoring algorithm that looks ranks data objects based on the shared keywords between the data objects and the query.\n\nTo use BM25 search, you must provide a search string as a minimum.\n\nThe below example uses default settings, looking for objects containing the keyword\u00a0`food`\u00a0anywhere in the object.\n\nIt ranks the results using BM25, and returns the top 3.\n\nFollowing is an example for a database schema with the Class name `JeopardyQuestion` with properties `question` and `answer`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"food\"\n },\n limit: 3\n ) {\n question\n answer\n }\n }\n}\n```\n\nIn this example, the query will rank the `JeopardyQuestion` data objects based on the BM25 keyword scoring algorithm with the query \"food\".\n\nA Natural Language Command for this example could be: \"Get me the top 3 JeopardyQuestions that mention food, show the question and answer.\"", "apiRefPath": "get-bm25.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}", "schemaPath": "videogame.json", "modelOutput": "{\n Get {\n Game(\n bm25: {\n query: \"action\"\n },\n limit: 10\n ) {\n title\n genre\n rating\n isMultiplayer\n developedBy {\n ... on Developer {\n name\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 5 books that are science fiction, show the title, summary, availability, and author's name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Book(\n bm25: {\n query: \"science fiction\"\n },\n limit: 5\n ) {\n title\n summary\n isAvailable\n author {\n ... on Author {\n name\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 5 books that are science fiction, show the title, summary, availability, and author's name.\n```", "apiRef": "Query API: Basic BM25 search\n\nBM25 Search is a keyword scoring algorithm that looks ranks data objects based on the shared keywords between the data objects and the query.\n\nTo use BM25 search, you must provide a search string as a minimum.\n\nThe below example uses default settings, looking for objects containing the keyword\u00a0`food`\u00a0anywhere in the object.\n\nIt ranks the results using BM25, and returns the top 3.\n\nFollowing is an example for a database schema with the Class name `JeopardyQuestion` with properties `question` and `answer`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"food\"\n },\n limit: 3\n ) {\n question\n answer\n }\n }\n}\n```\n\nIn this example, the query will rank the `JeopardyQuestion` data objects based on the BM25 keyword scoring algorithm with the query \"food\".\n\nA Natural Language Command for this example could be: \"Get me the top 3 JeopardyQuestions that mention food, show the question and answer.\"", "apiRefPath": "get-bm25.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}", "schemaPath": "books.json", "modelOutput": "{\n Get {\n Book(\n bm25: {\n query: \"science fiction\"\n },\n limit: 5\n ) {\n title\n summary\n isAvailable\n author {\n ... on Author {\n name\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 10 CraftBeers that mention IPA, show the beer name, tasting notes, alcohol content, seasonal availability, brewery name, and founded year.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n CraftBeer(\n bm25: {\n query: \"IPA\"\n },\n limit: 10\n ) {\n beerName\n tastingNotes\n alcoholContent\n isSeasonal\n brewery {\n ... on Brewery {\n breweryName\n foundedYear\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 10 CraftBeers that mention IPA, show the beer name, tasting notes, alcohol content, seasonal availability, brewery name, and founded year.\n```", "apiRef": "Query API: Basic BM25 search\n\nBM25 Search is a keyword scoring algorithm that looks ranks data objects based on the shared keywords between the data objects and the query.\n\nTo use BM25 search, you must provide a search string as a minimum.\n\nThe below example uses default settings, looking for objects containing the keyword\u00a0`food`\u00a0anywhere in the object.\n\nIt ranks the results using BM25, and returns the top 3.\n\nFollowing is an example for a database schema with the Class name `JeopardyQuestion` with properties `question` and `answer`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"food\"\n },\n limit: 3\n ) {\n question\n answer\n }\n }\n}\n```\n\nIn this example, the query will rank the `JeopardyQuestion` data objects based on the BM25 keyword scoring algorithm with the query \"food\".\n\nA Natural Language Command for this example could be: \"Get me the top 3 JeopardyQuestions that mention food, show the question and answer.\"", "apiRefPath": "get-bm25.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}", "schemaPath": "craftbeer.json", "modelOutput": "{\n Get {\n CraftBeer(\n bm25: {\n query: \"IPA\"\n },\n limit: 10\n ) {\n beerName\n tastingNotes\n alcoholContent\n isSeasonal\n brewery {\n ... on Brewery {\n breweryName\n foundedYear\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}\n\n COMMAND:\n ```text\nGet me the historical events related to 'World War II'. Please use a hybrid search with an alpha value of 0.25 and perform the BM25 search on the eventName and description properties. Show me the eventName, description, year, whether it had a significant impact, and the involved countries' names and populations.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n HistoricalEvent(\n hybrid: {\n query: \"World War II\",\n properties: [\"eventName\", \"description\"],\n alpha: 0.25\n },\n limit: 5\n ) {\n eventName\n description\n year\n hadSignificantImpact\n involvedCountries {\n ... on Country {\n countryName\n population\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the historical events related to 'World War II'. Please use a hybrid search with an alpha value of 0.25 and perform the BM25 search on the eventName and description properties. Show me the eventName, description, year, whether it had a significant impact, and the involved countries' names and populations.\n```", "apiRef": "Selected properties only for BM25 scoring in Hybrid Search\n\nYou can specify the object\u00a0`properties`\u00a0for the\u00a0`bm25`\u00a0portion of the search.\n\nThe below example performs a\u00a0`bm25`\u00a0search for the keyword\u00a0`food`\u00a0in the\u00a0`question`\u00a0property only, and combines it with vector search results for\u00a0`food`.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n properties: [\"question\"],\n alpha: 0.25\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-alpha-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}", "schemaPath": "historicalevent.json", "modelOutput": "{\n Get {\n HistoricalEvent(\n hybrid: {\n query: \"World War II\",\n properties: [\"eventName\", \"description\"],\n alpha: 0.25\n },\n limit: 5\n ) {\n eventName\n description\n year\n hadSignificantImpact\n involvedCountries {\n ... on Country {\n countryName\n population\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}\n\n COMMAND:\n ```text\nGet me the instruments with a hybrid search of 'guitar', please use an alpha value of 0.25 in the hybrid search and perform the BM25 search on the name and description properties. Please show the name, description, year introduced, whether it is a string instrument, and the musician's name, genre, and years active.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Instrument(\n hybrid: {\n query: \"guitar\",\n properties: [\"name\", \"description\"],\n alpha: 0.25\n },\n limit: 5\n ) {\n name\n description\n yearIntroduced\n isString\n playedBy {\n ... on Musician {\n name\n genre\n yearsActive\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the instruments with a hybrid search of 'guitar', please use an alpha value of 0.25 in the hybrid search and perform the BM25 search on the name and description properties. Please show the name, description, year introduced, whether it is a string instrument, and the musician's name, genre, and years active.\n```", "apiRef": "Selected properties only for BM25 scoring in Hybrid Search\n\nYou can specify the object\u00a0`properties`\u00a0for the\u00a0`bm25`\u00a0portion of the search.\n\nThe below example performs a\u00a0`bm25`\u00a0search for the keyword\u00a0`food`\u00a0in the\u00a0`question`\u00a0property only, and combines it with vector search results for\u00a0`food`.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n properties: [\"question\"],\n alpha: 0.25\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-alpha-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}", "schemaPath": "musicalinstrument.json", "modelOutput": "{\n Get {\n Instrument(\n hybrid: {\n query: \"guitar\",\n properties: [\"name\", \"description\"],\n alpha: 0.25\n },\n limit: 5\n ) {\n name\n description\n yearIntroduced\n isString\n playedBy {\n ... on Musician {\n name\n genre\n yearsActive\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}\n\n COMMAND:\n ```text\nGet me the weather stations with a hybrid search of 'temperature', please use an alpha value of 0.25 in the hybrid search and perform the BM25 search on the location and equipment properties. Please show the location, equipment, altitude, activity status, and the name and years of experience of the meteorologist managing the station.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n WeatherStation(\n hybrid: {\n query: \"temperature\",\n properties: [\"location\", \"equipment\"],\n alpha: 0.25\n },\n limit: 5\n ) {\n location\n equipment\n altitude\n isActive\n managedBy {\n ... on Meteorologist {\n name\n yearsExperience\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the weather stations with a hybrid search of 'temperature', please use an alpha value of 0.25 in the hybrid search and perform the BM25 search on the location and equipment properties. Please show the location, equipment, altitude, activity status, and the name and years of experience of the meteorologist managing the station.\n```", "apiRef": "Selected properties only for BM25 scoring in Hybrid Search\n\nYou can specify the object\u00a0`properties`\u00a0for the\u00a0`bm25`\u00a0portion of the search.\n\nThe below example performs a\u00a0`bm25`\u00a0search for the keyword\u00a0`food`\u00a0in the\u00a0`question`\u00a0property only, and combines it with vector search results for\u00a0`food`.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n properties: [\"question\"],\n alpha: 0.25\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-alpha-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}", "schemaPath": "weatherstation.json", "modelOutput": "{\n Get {\n WeatherStation(\n hybrid: {\n query: \"temperature\",\n properties: [\"location\", \"equipment\"],\n alpha: 0.25\n },\n limit: 5\n ) {\n location\n equipment\n altitude\n isActive\n managedBy {\n ... on Meteorologist {\n name\n yearsExperience\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}\n\n COMMAND:\n ```text\nGet me the AI models with a hybrid search of 'classification', please use an alpha value of 0.25 in the hybrid search and perform the BM25 search on the modelName and application properties. Please show the modelName, application, accuracy, isSupervised, and basedOn algorithm's name, description, and yearDeveloped.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n AIModel(\n hybrid: {\n query: \"classification\",\n properties: [\"modelName\", \"application\"],\n alpha: 0.25\n },\n limit: 5\n ) {\n modelName\n application\n accuracy\n isSupervised\n basedOn {\n ... on Algorithm {\n name\n description\n yearDeveloped\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the AI models with a hybrid search of 'classification', please use an alpha value of 0.25 in the hybrid search and perform the BM25 search on the modelName and application properties. Please show the modelName, application, accuracy, isSupervised, and basedOn algorithm's name, description, and yearDeveloped.\n```", "apiRef": "Selected properties only for BM25 scoring in Hybrid Search\n\nYou can specify the object\u00a0`properties`\u00a0for the\u00a0`bm25`\u00a0portion of the search.\n\nThe below example performs a\u00a0`bm25`\u00a0search for the keyword\u00a0`food`\u00a0in the\u00a0`question`\u00a0property only, and combines it with vector search results for\u00a0`food`.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n properties: [\"question\"],\n alpha: 0.25\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-alpha-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}", "schemaPath": "AIModels.json", "modelOutput": "{\n Get {\n AIModel(\n hybrid: {\n query: \"classification\",\n properties: [\"modelName\", \"application\"],\n alpha: 0.25\n },\n limit: 5\n ) {\n modelName\n application\n accuracy\n isSupervised\n basedOn {\n ... on Algorithm {\n name\n description\n yearDeveloped\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}\n\n COMMAND:\n ```text\nGet me the outdoor gear with a hybrid search of 'backpack', please use an alpha value of 0.25 in the hybrid search and perform the BM25 search on the gear name and description properties. Please show the gear name, description, weight, waterproof status, and supplier's name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n OutdoorGear(\n hybrid: {\n query: \"backpack\",\n properties: [\"gearName\", \"description\"],\n alpha: 0.25\n },\n limit: 5\n ) {\n gearName\n description\n weight\n isWaterproof\n supplier {\n ... on Supplier {\n supplierName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the outdoor gear with a hybrid search of 'backpack', please use an alpha value of 0.25 in the hybrid search and perform the BM25 search on the gear name and description properties. Please show the gear name, description, weight, waterproof status, and supplier's name.\n```", "apiRef": "Selected properties only for BM25 scoring in Hybrid Search\n\nYou can specify the object\u00a0`properties`\u00a0for the\u00a0`bm25`\u00a0portion of the search.\n\nThe below example performs a\u00a0`bm25`\u00a0search for the keyword\u00a0`food`\u00a0in the\u00a0`question`\u00a0property only, and combines it with vector search results for\u00a0`food`.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n properties: [\"question\"],\n alpha: 0.25\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-alpha-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}", "schemaPath": "outdoorgear.json", "modelOutput": "{\n Get {\n OutdoorGear(\n hybrid: {\n query: \"backpack\",\n properties: [\"gearName\", \"description\"],\n alpha: 0.25\n },\n limit: 5\n ) {\n gearName\n description\n weight\n isWaterproof\n supplier {\n ... on Supplier {\n supplierName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the startups with a hybrid search of 'technology', please use an alpha value of 0.25 in the hybrid search and perform the BM25 search on the name and product properties. Please show the name, product, funding, bootstrapped status, and founders' name, biography, and successful startups.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Startup(\n hybrid: {\n query: \"technology\",\n properties: [\"name\", \"product\"],\n alpha: 0.25\n },\n limit: 5\n ) {\n name\n product\n funding\n isBootstrapped\n founders {\n ... on Entrepreneur {\n name\n biography\n successfulStartups\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the startups with a hybrid search of 'technology', please use an alpha value of 0.25 in the hybrid search and perform the BM25 search on the name and product properties. Please show the name, product, funding, bootstrapped status, and founders' name, biography, and successful startups.\n```", "apiRef": "Selected properties only for BM25 scoring in Hybrid Search\n\nYou can specify the object\u00a0`properties`\u00a0for the\u00a0`bm25`\u00a0portion of the search.\n\nThe below example performs a\u00a0`bm25`\u00a0search for the keyword\u00a0`food`\u00a0in the\u00a0`question`\u00a0property only, and combines it with vector search results for\u00a0`food`.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n properties: [\"question\"],\n alpha: 0.25\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-alpha-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}", "schemaPath": "startups.json", "modelOutput": "{\n Get {\n Startup(\n hybrid: {\n query: \"technology\",\n properties: [\"name\", \"product\"],\n alpha: 0.25\n },\n limit: 5\n ) {\n name\n product\n funding\n isBootstrapped\n founders {\n ... on Entrepreneur {\n name\n biography\n successfulStartups\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the games with a hybrid search of 'action', please use an alpha value of 0.25 in the hybrid search and perform the BM25 search on the title and genre properties. Please show the title, genre, rating, multiplayer availability, and developer's name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Game(\n hybrid: {\n query: \"action\",\n properties: [\"title\", \"genre\"],\n alpha: 0.25\n },\n limit: 5\n ) {\n title\n genre\n rating\n isMultiplayer\n developedBy {\n ... on Developer {\n name\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the games with a hybrid search of 'action', please use an alpha value of 0.25 in the hybrid search and perform the BM25 search on the title and genre properties. Please show the title, genre, rating, multiplayer availability, and developer's name.\n```", "apiRef": "Selected properties only for BM25 scoring in Hybrid Search\n\nYou can specify the object\u00a0`properties`\u00a0for the\u00a0`bm25`\u00a0portion of the search.\n\nThe below example performs a\u00a0`bm25`\u00a0search for the keyword\u00a0`food`\u00a0in the\u00a0`question`\u00a0property only, and combines it with vector search results for\u00a0`food`.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n properties: [\"question\"],\n alpha: 0.25\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-alpha-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}", "schemaPath": "videogame.json", "modelOutput": "{\n Get {\n Game(\n hybrid: {\n query: \"action\",\n properties: [\"title\", \"genre\"],\n alpha: 0.25\n },\n limit: 5\n ) {\n title\n genre\n rating\n isMultiplayer\n developedBy {\n ... on Developer {\n name\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}\n\n COMMAND:\n ```text\nGet me the books with a hybrid search of 'science fiction', please use an alpha value of 0.25 in the hybrid search and perform the BM25 search on the title and summary properties. Please show the title, summary, availability, and author's name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Book(\n hybrid: {\n query: \"science fiction\",\n properties: [\"title\", \"summary\"],\n alpha: 0.25\n },\n limit: 5\n ) {\n title\n summary\n isAvailable\n author {\n ... on Author {\n name\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the books with a hybrid search of 'science fiction', please use an alpha value of 0.25 in the hybrid search and perform the BM25 search on the title and summary properties. Please show the title, summary, availability, and author's name.\n```", "apiRef": "Selected properties only for BM25 scoring in Hybrid Search\n\nYou can specify the object\u00a0`properties`\u00a0for the\u00a0`bm25`\u00a0portion of the search.\n\nThe below example performs a\u00a0`bm25`\u00a0search for the keyword\u00a0`food`\u00a0in the\u00a0`question`\u00a0property only, and combines it with vector search results for\u00a0`food`.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n properties: [\"question\"],\n alpha: 0.25\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-alpha-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}", "schemaPath": "books.json", "modelOutput": "{\n Get {\n Book(\n hybrid: {\n query: \"science fiction\",\n properties: [\"title\", \"summary\"],\n alpha: 0.25\n },\n limit: 5\n ) {\n title\n summary\n isAvailable\n author {\n ... on Author {\n name\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the craft beers with a hybrid search of 'IPA', please use an alpha value of 0.25 in the hybrid search and perform the BM25 search on the beer name and tasting notes properties. Please show the beer name, tasting notes, alcohol content, seasonal availability, and brewery name.\n```\n\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n CraftBeer(\n hybrid: {\n query: \"IPA\",\n properties: [\"beerName\", \"tastingNotes\"],\n alpha: 0.25\n },\n limit: 5\n ) {\n beerName\n tastingNotes\n alcoholContent\n isSeasonal\n brewery {\n ... on Brewery {\n breweryName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the craft beers with a hybrid search of 'IPA', please use an alpha value of 0.25 in the hybrid search and perform the BM25 search on the beer name and tasting notes properties. Please show the beer name, tasting notes, alcohol content, seasonal availability, and brewery name.\n```\n", "apiRef": "Selected properties only for BM25 scoring in Hybrid Search\n\nYou can specify the object\u00a0`properties`\u00a0for the\u00a0`bm25`\u00a0portion of the search.\n\nThe below example performs a\u00a0`bm25`\u00a0search for the keyword\u00a0`food`\u00a0in the\u00a0`question`\u00a0property only, and combines it with vector search results for\u00a0`food`.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n properties: [\"question\"],\n alpha: 0.25\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-alpha-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}", "schemaPath": "craftbeer.json", "modelOutput": "{\n Get {\n CraftBeer(\n hybrid: {\n query: \"IPA\",\n properties: [\"beerName\", \"tastingNotes\"],\n alpha: 0.25\n },\n limit: 5\n ) {\n beerName\n tastingNotes\n alcoholContent\n isSeasonal\n brewery {\n ... on Brewery {\n breweryName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}\n\n COMMAND:\n ```text\nPlease get the title and summaries of 10 books and ask a Large Language Model to answer \"What do these books have in common?\" passing in the title and summary to the Large Language Model.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Book (limit: 10) {\n title\n summary\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these books have in common?\n \"\"\",\n properties: [\"title\", \"summary\"]\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease get the title and summaries of 10 books and ask a Large Language Model to answer \"What do these books have in common?\" passing in the title and summary to the Large Language Model.\n```", "apiRef": "Grouped task\n\nA grouped task works by generating a response for the entire query results set.\n\nWhen using generative search with a grouped task, the required parameter is the user prompt. By default, the entire set of properties are included in the combined prompt unless specified otherwise.\n\nExample\n\nIn the below example, the query:\n\nRetrieves three JeopardyQuestion objects related to cute animals,\nCombines the user prompt with the set of retrieved objects to build the grouped task,\nRetrieves one generated text using the grouped task, and\nReturns the generated text as a part of the first object returned, as well as the requested points property.\nNote that the prompt includes information about the type of the animal (from the answer property), even though the answer property is not explicitly retrieved.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"Cute animals\"]\n },\n limit: 3\n ) {\n points\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these animals have in common, if anything?\n \"\"\"\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n```\n\nYou can specify which properties will be included in the grouped task prompt. Use this to limit the information provided in the prompt, and to reduce the prompt length.\n\nIn the below example, the prompt will only include the question and answer properties. Note that the answer property is not explicitly retrieved in the query, but is used by the prompt.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"Australian animals\"]\n },\n limit: 3\n ) {\n question\n points\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these animals have in common, if anything?\n \"\"\",\n properties: [\"answer\", \"question\"]\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-grouped-task.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}", "schemaPath": "books.json", "modelOutput": "{\n Get {\n Book (\n limit: 10\n ) {\n title\n summary\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these books have in common?\n \"\"\",\n properties: [\"title\", \"summary\"]\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}\n\n COMMAND:\n ```text\nWhat is the average altitude of Weather Stations near \"New York\" with a maximum distance of 0.5? Please limit results to the top 50.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n WeatherStation(\n nearText: {\n concepts: [\"New York\"],\n distance: 0.5\n },\n objectLimit: 50\n ) {\n altitude {\n mean\n }\n }\n }\n}\n```", "nlcommand": "```text\nWhat is the average altitude of Weather Stations near \"New York\" with a maximum distance of 0.5? Please limit results to the top 50.\n```", "apiRef": "With nearXXX\n\nWhen using a similarity search operator (i.e. nearXXX) with Aggregate, you should include a way to limit the search results. This is because a vector search in itself does not exclude any objects from the results set - all objects have some degree of similarity to the query.\n\nThus, for the vector search to affect the Aggregate output, you must set a limit on:\n\nThe number of results returned (with limit), or\nHow similar the results are to the query (with distance).\nSet an object limit\nYou can set the objectLimit argument to specify the maximum number of results to be aggregated.\n\nThe below query retrieves the 10 question objects with vectors that are closest to \"animals in space\", and return the sum total of the point property.\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in space\"]\n },\n objectLimit: 10\n ) {\n points {\n sum\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-nearText-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}", "schemaPath": "weatherstation.json", "modelOutput": "{\n Aggregate {\n WeatherStation(\n nearText: {\n concepts: [\"New York\"],\n distance: 0.5\n },\n objectLimit: 50\n ) {\n altitude {\n mean\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}\n\n COMMAND:\n ```text\nWhat is the average accuracy of AIModels related to \"Natural Language Processing\" with a maximum distance of 0.3? Please limit results to the top 50.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n AIModel(\n nearText: {\n concepts: [\"Natural Language Processing\"],\n distance: 0.3\n },\n objectLimit: 50\n ) {\n accuracy {\n mean\n }\n }\n }\n}\n```", "nlcommand": "```text\nWhat is the average accuracy of AIModels related to \"Natural Language Processing\" with a maximum distance of 0.3? Please limit results to the top 50.\n```", "apiRef": "With nearXXX\n\nWhen using a similarity search operator (i.e. nearXXX) with Aggregate, you should include a way to limit the search results. This is because a vector search in itself does not exclude any objects from the results set - all objects have some degree of similarity to the query.\n\nThus, for the vector search to affect the Aggregate output, you must set a limit on:\n\nThe number of results returned (with limit), or\nHow similar the results are to the query (with distance).\nSet an object limit\nYou can set the objectLimit argument to specify the maximum number of results to be aggregated.\n\nThe below query retrieves the 10 question objects with vectors that are closest to \"animals in space\", and return the sum total of the point property.\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in space\"]\n },\n objectLimit: 10\n ) {\n points {\n sum\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-nearText-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}", "schemaPath": "AIModels.json", "modelOutput": "{\n Aggregate {\n AIModel(\n nearText: {\n concepts: [\"Natural Language Processing\"],\n distance: 0.3\n },\n objectLimit: 50\n ) {\n accuracy {\n mean\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}\n\n COMMAND:\n ```text\nWhat is the average weight of OutdoorGear items related to \"hiking boots\" with a maximum distance of 0.3? Please limit the results to the top 50.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n OutdoorGear(\n nearText: {\n concepts: [\"hiking boots\"],\n distance: 0.3\n },\n objectLimit: 50\n ) {\n weight {\n mean\n }\n }\n }\n}\n```", "nlcommand": "```text\nWhat is the average weight of OutdoorGear items related to \"hiking boots\" with a maximum distance of 0.3? Please limit the results to the top 50.\n```", "apiRef": "With nearXXX\n\nWhen using a similarity search operator (i.e. nearXXX) with Aggregate, you should include a way to limit the search results. This is because a vector search in itself does not exclude any objects from the results set - all objects have some degree of similarity to the query.\n\nThus, for the vector search to affect the Aggregate output, you must set a limit on:\n\nThe number of results returned (with limit), or\nHow similar the results are to the query (with distance).\nSet an object limit\nYou can set the objectLimit argument to specify the maximum number of results to be aggregated.\n\nThe below query retrieves the 10 question objects with vectors that are closest to \"animals in space\", and return the sum total of the point property.\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in space\"]\n },\n objectLimit: 10\n ) {\n points {\n sum\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-nearText-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}", "schemaPath": "outdoorgear.json", "modelOutput": "{\n Aggregate {\n OutdoorGear(\n nearText: {\n concepts: [\"hiking boots\"],\n distance: 0.3\n },\n objectLimit: 50\n ) {\n weight {\n mean\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nWhat is the average rating of Games about \"Action Adventure\" with a maximum distance of 0.3. Please limit results to the top 50.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n Game(\n nearText: {\n concepts: [\"Action Adventure\"],\n distance: 0.3\n },\n objectLimit: 50\n ) {\n rating {\n mean\n }\n }\n }\n}\n```", "nlcommand": "```text\nWhat is the average rating of Games about \"Action Adventure\" with a maximum distance of 0.3. Please limit results to the top 50.\n```", "apiRef": "With nearXXX\n\nWhen using a similarity search operator (i.e. nearXXX) with Aggregate, you should include a way to limit the search results. This is because a vector search in itself does not exclude any objects from the results set - all objects have some degree of similarity to the query.\n\nThus, for the vector search to affect the Aggregate output, you must set a limit on:\n\nThe number of results returned (with limit), or\nHow similar the results are to the query (with distance).\nSet an object limit\nYou can set the objectLimit argument to specify the maximum number of results to be aggregated.\n\nThe below query retrieves the 10 question objects with vectors that are closest to \"animals in space\", and return the sum total of the point property.\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in space\"]\n },\n objectLimit: 10\n ) {\n points {\n sum\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-nearText-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}", "schemaPath": "videogame.json", "modelOutput": "{\n Aggregate {\n Game(\n nearText: {\n concepts: [\"Action Adventure\"],\n distance: 0.3\n },\n objectLimit: 50\n ) {\n rating {\n mean\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}\n\n COMMAND:\n ```text\nWhat is the average pageCount of Books about \"Artificial Intelligence Science Fiction\" with a maximum distance of 0.2. Please limit results to the top 100.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n Book(\n nearText: {\n concepts: [\"Artificial Intelligence Sci-Fi\"],\n distance: 0.2\n },\n objectLimit: 100\n ) {\n pageCount {\n mean\n }\n }\n }\n}\n```", "nlcommand": "```text\nWhat is the average pageCount of Books about \"Artificial Intelligence Science Fiction\" with a maximum distance of 0.2. Please limit results to the top 100.\n```", "apiRef": "With nearXXX\n\nWhen using a similarity search operator (i.e. nearXXX) with Aggregate, you should include a way to limit the search results. This is because a vector search in itself does not exclude any objects from the results set - all objects have some degree of similarity to the query.\n\nThus, for the vector search to affect the Aggregate output, you must set a limit on:\n\nThe number of results returned (with limit), or\nHow similar the results are to the query (with distance).\nSet an object limit\nYou can set the objectLimit argument to specify the maximum number of results to be aggregated.\n\nThe below query retrieves the 10 question objects with vectors that are closest to \"animals in space\", and return the sum total of the point property.\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in space\"]\n },\n objectLimit: 10\n ) {\n points {\n sum\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-nearText-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}", "schemaPath": "books.json", "modelOutput": "{\n Aggregate {\n Book(\n nearText: {\n concepts: [\"Artificial Intelligence Sci-Fi\"],\n distance: 0.2\n },\n objectLimit: 100\n ) {\n pageCount {\n mean\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}\n\n COMMAND:\n ```text\nWhat is the average alcohol content of Craft Beers that are similar to \"IPA\" with a maximum distance of 0.3? Please limit the results to the top 50.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n CraftBeer(\n nearText: {\n concepts: [\"IPA\"],\n distance: 0.3\n },\n objectLimit: 50\n ) {\n alcoholContent {\n mean\n }\n }\n }\n}\n```", "nlcommand": "```text\nWhat is the average alcohol content of Craft Beers that are similar to \"IPA\" with a maximum distance of 0.3? Please limit the results to the top 50.\n```", "apiRef": "With nearXXX\n\nWhen using a similarity search operator (i.e. nearXXX) with Aggregate, you should include a way to limit the search results. This is because a vector search in itself does not exclude any objects from the results set - all objects have some degree of similarity to the query.\n\nThus, for the vector search to affect the Aggregate output, you must set a limit on:\n\nThe number of results returned (with limit), or\nHow similar the results are to the query (with distance).\nSet an object limit\nYou can set the objectLimit argument to specify the maximum number of results to be aggregated.\n\nThe below query retrieves the 10 question objects with vectors that are closest to \"animals in space\", and return the sum total of the point property.\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in space\"]\n },\n objectLimit: 10\n ) {\n points {\n sum\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-nearText-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}", "schemaPath": "craftbeer.json", "modelOutput": "{\n Aggregate {\n CraftBeer(\n nearText: {\n concepts: [\"IPA\"],\n distance: 0.3\n },\n objectLimit: 50\n ) {\n alcoholContent {\n mean\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 3 historical events with BM25 keyword scoring to the query 'World War II', and show the event name, description, and BM25 score for each event returned.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n HistoricalEvent(\n bm25: {\n query: \"World War II\"\n },\n limit: 3\n ) {\n eventName\n description\n _additional {\n score\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 3 historical events with BM25 keyword scoring to the query 'World War II', and show the event name, description, and BM25 score for each event returned.\n```", "apiRef": "Get score from BM25 search\n\nScore\n\nThe\u00a0`score`\u00a0sub-property is the BM25F score used to rank the outputs. It can be retrieved under the\u00a0`_additional`\u00a0property.\n\nThe below example adds the\u00a0`score`\u00a0property to the list of retrieved properties.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\"\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-with-score.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}", "schemaPath": "historicalevent.json", "modelOutput": "{\n Get {\n HistoricalEvent(\n bm25: {\n query: \"World War II\"\n },\n limit: 3\n ) {\n eventName\n description\n _additional {\n score\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 3 instruments with BM25 keyword scoring to the query 'piano', and show the name, description, and BM25 score for each instrument returned.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Instrument(\n bm25: {\n query: \"piano\"\n },\n limit: 3\n ) {\n name\n description\n _additional {\n score\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 3 instruments with BM25 keyword scoring to the query 'piano', and show the name, description, and BM25 score for each instrument returned.\n```", "apiRef": "Get score from BM25 search\n\nScore\n\nThe\u00a0`score`\u00a0sub-property is the BM25F score used to rank the outputs. It can be retrieved under the\u00a0`_additional`\u00a0property.\n\nThe below example adds the\u00a0`score`\u00a0property to the list of retrieved properties.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\"\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-with-score.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}", "schemaPath": "musicalinstrument.json", "modelOutput": "{\n Get {\n Instrument(\n bm25: {\n query: \"piano\"\n },\n limit: 3\n ) {\n name\n description\n _additional {\n score\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 3 weather stations with BM25 keyword scoring to the query 'temperature'. Show me the location and equipment of each weather station. Please also include the BM25 score for each weather station returned.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n WeatherStation(\n bm25: {\n query: \"temperature\"\n },\n limit: 3\n ) {\n location\n equipment\n _additional {\n score\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 3 weather stations with BM25 keyword scoring to the query 'temperature'. Show me the location and equipment of each weather station. Please also include the BM25 score for each weather station returned.\n```", "apiRef": "Get score from BM25 search\n\nScore\n\nThe\u00a0`score`\u00a0sub-property is the BM25F score used to rank the outputs. It can be retrieved under the\u00a0`_additional`\u00a0property.\n\nThe below example adds the\u00a0`score`\u00a0property to the list of retrieved properties.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\"\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-with-score.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}", "schemaPath": "weatherstation.json", "modelOutput": "{\n Get {\n WeatherStation(\n bm25: {\n query: \"temperature\"\n },\n limit: 3\n ) {\n location\n equipment\n _additional {\n score\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 10 AI models with BM25 keyword scoring to the query 'classification'. Show me the model name, application, and the BM25 score for each model returned.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n AIModel(\n bm25: {\n query: \"classification\"\n },\n limit: 10\n ) {\n modelName\n application\n _additional {\n score\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 10 AI models with BM25 keyword scoring to the query 'classification'. Show me the model name, application, and the BM25 score for each model returned.\n```", "apiRef": "Get score from BM25 search\n\nScore\n\nThe\u00a0`score`\u00a0sub-property is the BM25F score used to rank the outputs. It can be retrieved under the\u00a0`_additional`\u00a0property.\n\nThe below example adds the\u00a0`score`\u00a0property to the list of retrieved properties.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\"\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-with-score.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}", "schemaPath": "AIModels.json", "modelOutput": "{\n Get {\n AIModel(\n bm25: {\n query: \"classification\"\n },\n limit: 10\n ) {\n modelName\n application\n _additional {\n score\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 10 outdoor gear items with BM25 keyword scoring to the query 'hiking boots'. Show me the gear name, description, and the BM25 score for each item returned.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n OutdoorGear(\n bm25: {\n query: \"hiking boots\"\n },\n limit: 10\n ) {\n gearName\n description\n _additional {\n score\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 10 outdoor gear items with BM25 keyword scoring to the query 'hiking boots'. Show me the gear name, description, and the BM25 score for each item returned.\n```", "apiRef": "Get score from BM25 search\n\nScore\n\nThe\u00a0`score`\u00a0sub-property is the BM25F score used to rank the outputs. It can be retrieved under the\u00a0`_additional`\u00a0property.\n\nThe below example adds the\u00a0`score`\u00a0property to the list of retrieved properties.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\"\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-with-score.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}", "schemaPath": "outdoorgear.json", "modelOutput": "{\n Get {\n OutdoorGear(\n bm25: {\n query: \"hiking boots\"\n },\n limit: 10\n ) {\n gearName\n description\n _additional {\n score\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 10 startups related to technology. Show me the name and product of each startup. Please include the BM25 score for each startup returned.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Startup(\n bm25: {\n query: \"technology\"\n },\n limit: 10\n ) {\n name\n product\n _additional {\n score\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 10 startups related to technology. Show me the name and product of each startup. Please include the BM25 score for each startup returned.\n```", "apiRef": "Get score from BM25 search\n\nScore\n\nThe\u00a0`score`\u00a0sub-property is the BM25F score used to rank the outputs. It can be retrieved under the\u00a0`_additional`\u00a0property.\n\nThe below example adds the\u00a0`score`\u00a0property to the list of retrieved properties.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\"\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-with-score.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}", "schemaPath": "startups.json", "modelOutput": "{\n Get {\n Startup(\n bm25: {\n query: \"technology\"\n },\n limit: 10\n ) {\n name\n product\n _additional {\n score\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 10 games with BM25 keyword scoring to the query 'action', and show the title, genre, and BM25 score for each game returned.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Game(\n bm25: {\n query: \"action\"\n },\n limit: 10\n ) {\n title\n genre\n _additional {\n score\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 10 games with BM25 keyword scoring to the query 'action', and show the title, genre, and BM25 score for each game returned.\n```", "apiRef": "Get score from BM25 search\n\nScore\n\nThe\u00a0`score`\u00a0sub-property is the BM25F score used to rank the outputs. It can be retrieved under the\u00a0`_additional`\u00a0property.\n\nThe below example adds the\u00a0`score`\u00a0property to the list of retrieved properties.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\"\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-with-score.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}", "schemaPath": "videogame.json", "modelOutput": "{\n Get {\n Game(\n bm25: {\n query: \"action\"\n },\n limit: 10\n ) {\n title\n genre\n _additional {\n score\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 5 books with BM25 keyword scoring to the query 'science fiction', and show the title, summary, and BM25 score for each book returned.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Book(\n bm25: {\n query: \"science fiction\"\n },\n limit: 5\n ) {\n title\n summary\n _additional {\n score\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 5 books with BM25 keyword scoring to the query 'science fiction', and show the title, summary, and BM25 score for each book returned.\n```", "apiRef": "Get score from BM25 search\n\nScore\n\nThe\u00a0`score`\u00a0sub-property is the BM25F score used to rank the outputs. It can be retrieved under the\u00a0`_additional`\u00a0property.\n\nThe below example adds the\u00a0`score`\u00a0property to the list of retrieved properties.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\"\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-with-score.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}", "schemaPath": "books.json", "modelOutput": "{\n Get {\n Book(\n bm25: {\n query: \"science fiction\"\n },\n limit: 5\n ) {\n title\n summary\n _additional {\n score\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 10 craft beers with BM25 keyword scoring to the query 'IPA', and show the beer name, tasting notes, and BM25 score for each beer returned.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n CraftBeer(\n bm25: {\n query: \"IPA\"\n },\n limit: 10\n ) {\n beerName\n tastingNotes\n _additional {\n score\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 10 craft beers with BM25 keyword scoring to the query 'IPA', and show the beer name, tasting notes, and BM25 score for each beer returned.\n```", "apiRef": "Get score from BM25 search\n\nScore\n\nThe\u00a0`score`\u00a0sub-property is the BM25F score used to rank the outputs. It can be retrieved under the\u00a0`_additional`\u00a0property.\n\nThe below example adds the\u00a0`score`\u00a0property to the list of retrieved properties.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\"\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-with-score.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}", "schemaPath": "craftbeer.json", "modelOutput": "{\n Get {\n CraftBeer(\n bm25: {\n query: \"IPA\"\n },\n limit: 10\n ) {\n beerName\n tastingNotes\n _additional {\n score\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}\n\n COMMAND:\n ```text\nShow me the event name, description, year, significant impact, and involved countries' names and populations of historical events with \"World War\" anywhere in the event name and a year greater than 1900.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n HistoricalEvent(\n where: {\n operator: And,\n operands: [\n {\n path: [\"eventName\"],\n operator: Like,\n valueText: \"*World War*\"\n },\n {\n path: [\"year\"],\n operator: GreaterThan,\n valueInt: 1900\n }\n ]\n }\n ) {\n eventName\n description\n year\n hadSignificantImpact\n involvedCountries {\n ... on Country {\n countryName\n population\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the event name, description, year, significant impact, and involved countries' names and populations of historical events with \"World War\" anywhere in the event name and a year greater than 1900.\n```", "apiRef": "Multiple-condition filters\n\nTo add a multiple-condition filter, you must set the operator to And or Or, and set two or more conditions under the corresponding operands parameter.\n\nThe following example specifies and And condition, so that both:\n\nthe round property must equal \"Double Jeopardy!\", and\nthe points property must be less than 600.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n operator: And,\n operands: [\n {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n },\n {\n path: [\"points\"],\n operator: LessThan,\n valueInt: 600\n },\n ]\n\n }\n ) {\n question\n answer\n round\n points\n }\n }\n}\n```", "apiRefPath": "get-where-multiple-conditions.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}", "schemaPath": "historicalevent.json", "modelOutput": "{\n Get {\n HistoricalEvent(\n where: {\n operator: And,\n operands: [\n {\n path: [\"eventName\"],\n operator: Like,\n valueText: \"*World War*\"\n },\n {\n path: [\"year\"],\n operator: GreaterThan,\n valueInt: 1900\n }\n ]\n }\n ) {\n eventName\n description\n year\n hadSignificantImpact\n involvedCountries {\n ... on Country {\n countryName\n population\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}\n\n COMMAND:\n ```text\nShow me the name, description, and string type of instruments with \"guitar\" anywhere in the name and a year introduced greater than 1950.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Instrument(\n where: {\n operator: And,\n operands: [\n {\n path: [\"name\"],\n operator: Like,\n valueText: \"*guitar*\"\n },\n {\n path: [\"yearIntroduced\"],\n operator: GreaterThan,\n valueInt: 1950\n }\n ]\n }\n ) {\n name\n description\n isString\n }\n }\n}\n```", "nlcommand": "```text\nShow me the name, description, and string type of instruments with \"guitar\" anywhere in the name and a year introduced greater than 1950.\n```", "apiRef": "Multiple-condition filters\n\nTo add a multiple-condition filter, you must set the operator to And or Or, and set two or more conditions under the corresponding operands parameter.\n\nThe following example specifies and And condition, so that both:\n\nthe round property must equal \"Double Jeopardy!\", and\nthe points property must be less than 600.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n operator: And,\n operands: [\n {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n },\n {\n path: [\"points\"],\n operator: LessThan,\n valueInt: 600\n },\n ]\n\n }\n ) {\n question\n answer\n round\n points\n }\n }\n}\n```", "apiRefPath": "get-where-multiple-conditions.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}", "schemaPath": "musicalinstrument.json", "modelOutput": "{\n Get {\n Instrument(\n where: {\n operator: And,\n operands: [\n {\n path: [\"name\"],\n operator: Like,\n valueText: \"*guitar*\"\n },\n {\n path: [\"yearIntroduced\"],\n operator: GreaterThan,\n valueInt: 1950\n }\n ]\n }\n ) {\n name\n description\n isString\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}\n\n COMMAND:\n ```text\nShow me the location, equipment, and activity status of weather stations located in New York with an altitude greater than 1000.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n WeatherStation(\n where: {\n operator: And,\n operands: [\n {\n path: [\"location\"],\n operator: Equal,\n valueText: \"New York\"\n },\n {\n path: [\"altitude\"],\n operator: GreaterThan,\n valueNumber: 1000\n }\n ]\n }\n ) {\n location\n equipment\n isActive\n }\n }\n}\n```", "nlcommand": "```text\nShow me the location, equipment, and activity status of weather stations located in New York with an altitude greater than 1000.\n```", "apiRef": "Multiple-condition filters\n\nTo add a multiple-condition filter, you must set the operator to And or Or, and set two or more conditions under the corresponding operands parameter.\n\nThe following example specifies and And condition, so that both:\n\nthe round property must equal \"Double Jeopardy!\", and\nthe points property must be less than 600.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n operator: And,\n operands: [\n {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n },\n {\n path: [\"points\"],\n operator: LessThan,\n valueInt: 600\n },\n ]\n\n }\n ) {\n question\n answer\n round\n points\n }\n }\n}\n```", "apiRefPath": "get-where-multiple-conditions.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}", "schemaPath": "weatherstation.json", "modelOutput": "{\n Get {\n WeatherStation(\n where: {\n path: [\"location\"],\n operator: GreaterThan,\n valueText: \"New York\"\n },\n nearText: {\n concepts: [\"1000\"]\n }\n ) {\n location\n equipment\n isActive\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}\n\n COMMAND:\n ```text\nShow me the model name, application, and supervised status of AI models with \"image\" anywhere in the model name and an accuracy greater than 0.8.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n AIModel(\n where: {\n operator: And,\n operands: [\n {\n path: [\"modelName\"],\n operator: Like,\n valueText: \"*image*\"\n },\n {\n path: [\"accuracy\"],\n operator: GreaterThan,\n valueNumber: 0.8\n }\n ]\n }\n ) {\n modelName\n application\n isSupervised\n }\n }\n}\n```", "nlcommand": "```text\nShow me the model name, application, and supervised status of AI models with \"image\" anywhere in the model name and an accuracy greater than 0.8.\n```", "apiRef": "Multiple-condition filters\n\nTo add a multiple-condition filter, you must set the operator to And or Or, and set two or more conditions under the corresponding operands parameter.\n\nThe following example specifies and And condition, so that both:\n\nthe round property must equal \"Double Jeopardy!\", and\nthe points property must be less than 600.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n operator: And,\n operands: [\n {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n },\n {\n path: [\"points\"],\n operator: LessThan,\n valueInt: 600\n },\n ]\n\n }\n ) {\n question\n answer\n round\n points\n }\n }\n}\n```", "apiRefPath": "get-where-multiple-conditions.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}", "schemaPath": "AIModels.json", "modelOutput": "{\n Get {\n AIModel(\n where: {\n operator: And,\n operands: [\n {\n path: [\"modelName\"],\n operator: Like,\n valueText: \"*image*\"\n },\n {\n path: [\"accuracy\"],\n operator: GreaterThan,\n valueNumber: 0.8\n }\n ]\n }\n ) {\n modelName\n application\n isSupervised\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}\n\n COMMAND:\n ```text\nShow me the gear name, description, and waterproof status of outdoor gear with \"backpack\" exactly contained in the gear name and a weight less than 1000.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n OutdoorGear(\n where: {\n operator: And,\n operands: [\n {\n path: [\"gearName\"],\n operator: Like,\n valueText: \"*backpack*\"\n },\n {\n path: [\"weight\"],\n operator: LessThan,\n valueNumber: 1000\n }\n ]\n }\n ) {\n gearName\n description\n isWaterproof\n }\n }\n}\n```", "nlcommand": "```text\nShow me the gear name, description, and waterproof status of outdoor gear with \"backpack\" exactly contained in the gear name and a weight less than 1000.\n```", "apiRef": "Multiple-condition filters\n\nTo add a multiple-condition filter, you must set the operator to And or Or, and set two or more conditions under the corresponding operands parameter.\n\nThe following example specifies and And condition, so that both:\n\nthe round property must equal \"Double Jeopardy!\", and\nthe points property must be less than 600.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n operator: And,\n operands: [\n {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n },\n {\n path: [\"points\"],\n operator: LessThan,\n valueInt: 600\n },\n ]\n\n }\n ) {\n question\n answer\n round\n points\n }\n }\n}\n```", "apiRefPath": "get-where-multiple-conditions.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}", "schemaPath": "outdoorgear.json", "modelOutput": "{\n Get {\n OutdoorGear(\n where: {\n operator: And,\n operands: [\n {\n path: [\"gearName\"],\n operator: Like,\n valueText: \"*backpack*\"\n },\n {\n path: [\"weight\"],\n operator: LessThan,\n valueNumber: 1000\n }\n ]\n }\n ) {\n gearName\n description\n isWaterproof\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}\n\n COMMAND:\n ```text\nShow me the name, product, and bootstrapped status of startups with \"tech\" anywhere in the name and funding greater than 1,000,000.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Startup(\n where: {\n operator: And,\n operands: [\n {\n path: [\"name\"],\n operator: Like,\n valueText: \"*tech*\"\n },\n {\n path: [\"funding\"],\n operator: GreaterThan,\n valueNumber: 1000000\n }\n ]\n }\n ) {\n name\n product\n isBootstrapped\n }\n }\n}\n```", "nlcommand": "```text\nShow me the name, product, and bootstrapped status of startups with \"tech\" anywhere in the name and funding greater than 1,000,000.\n```", "apiRef": "Multiple-condition filters\n\nTo add a multiple-condition filter, you must set the operator to And or Or, and set two or more conditions under the corresponding operands parameter.\n\nThe following example specifies and And condition, so that both:\n\nthe round property must equal \"Double Jeopardy!\", and\nthe points property must be less than 600.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n operator: And,\n operands: [\n {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n },\n {\n path: [\"points\"],\n operator: LessThan,\n valueInt: 600\n },\n ]\n\n }\n ) {\n question\n answer\n round\n points\n }\n }\n}\n```", "apiRefPath": "get-where-multiple-conditions.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}", "schemaPath": "startups.json", "modelOutput": "{\n Get {\n Startup(\n where: {\n operator: And,\n operands: [\n {\n path: [\"name\"],\n operator: Like,\n valueText: \"*tech*\"\n },\n {\n path: [\"funding\"],\n operator: GreaterThan,\n valueNumber: 1000000\n }\n ]\n }\n ) {\n name\n product\n isBootstrapped\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nShow me the title, genre, and multiplayer status of games with \"robots\" exactly contained in the title and a rating greater than 8.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Game(\n where: {\n operator: And,\n operands: [\n {\n path: [\"title\"],\n operator: Like,\n valueText: \"*robots*\"\n },\n {\n path: [\"rating\"],\n operator: GreaterThan,\n valueInt: 8\n }\n ]\n }\n ) {\n title\n genre\n isMultiplayer\n }\n }\n}\n```", "nlcommand": "```text\nShow me the title, genre, and multiplayer status of games with \"robots\" exactly contained in the title and a rating greater than 8.\n```", "apiRef": "Multiple-condition filters\n\nTo add a multiple-condition filter, you must set the operator to And or Or, and set two or more conditions under the corresponding operands parameter.\n\nThe following example specifies and And condition, so that both:\n\nthe round property must equal \"Double Jeopardy!\", and\nthe points property must be less than 600.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n operator: And,\n operands: [\n {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n },\n {\n path: [\"points\"],\n operator: LessThan,\n valueInt: 600\n },\n ]\n\n }\n ) {\n question\n answer\n round\n points\n }\n }\n}\n```", "apiRefPath": "get-where-multiple-conditions.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}", "schemaPath": "videogame.json", "modelOutput": "{\n Get {\n Game(\n where: {\n operator: And,\n operands: [\n {\n path: [\"title\"],\n operator: Like,\n valueText: \"*robots*\"\n },\n {\n path: [\"rating\"],\n operator: GreaterThan,\n valueInt: 8\n }\n ]\n }\n ) {\n title\n genre\n isMultiplayer\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}\n\n COMMAND:\n ```text\nShow me the title, summary, and availability of books with \"robots\" exactly contained in the title and a pageCount less than 150.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Book(\n where: {\n operator: And,\n operands: [\n {\n path: [\"title\"],\n operator: Like,\n valueText: \"*robots*\"\n },\n {\n path: [\"pageCount\"],\n operator: LessThan,\n valueInt: 150\n }\n ]\n }\n ) {\n title\n summary\n isAvailable\n }\n }\n}\n```", "nlcommand": "```text\nShow me the title, summary, and availability of books with \"robots\" exactly contained in the title and a pageCount less than 150.\n```", "apiRef": "Multiple-condition filters\n\nTo add a multiple-condition filter, you must set the operator to And or Or, and set two or more conditions under the corresponding operands parameter.\n\nThe following example specifies and And condition, so that both:\n\nthe round property must equal \"Double Jeopardy!\", and\nthe points property must be less than 600.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n operator: And,\n operands: [\n {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n },\n {\n path: [\"points\"],\n operator: LessThan,\n valueInt: 600\n },\n ]\n\n }\n ) {\n question\n answer\n round\n points\n }\n }\n}\n```", "apiRefPath": "get-where-multiple-conditions.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}", "schemaPath": "books.json", "modelOutput": "{\n Get {\n Book(\n where: {\n operator: And,\n operands: [\n {\n path: [\"title\"],\n operator: Like,\n valueText: \"*robots*\"\n },\n {\n path: [\"pageCount\"],\n operator: LessThan,\n valueInt: 150\n }\n ]\n }\n ) {\n title\n summary\n isAvailable\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}\n\n COMMAND:\n ```text\nShow me the beer name, tasting notes, and seasonal availability of craft beers with \"IPA\" anywhere in the name and an alcohol content greater than 5.0.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n CraftBeer(\n where: {\n operator: And,\n operands: [\n {\n path: [\"beerName\"],\n operator: Like,\n valueText: \"*IPA*\"\n },\n {\n path: [\"alcoholContent\"],\n operator: GreaterThan,\n valueNumber: 5.0\n }\n ]\n }\n ) {\n beerName\n tastingNotes\n isSeasonal\n }\n }\n}\n```", "nlcommand": "```text\nShow me the beer name, tasting notes, and seasonal availability of craft beers with \"IPA\" anywhere in the name and an alcohol content greater than 5.0.\n```", "apiRef": "Multiple-condition filters\n\nTo add a multiple-condition filter, you must set the operator to And or Or, and set two or more conditions under the corresponding operands parameter.\n\nThe following example specifies and And condition, so that both:\n\nthe round property must equal \"Double Jeopardy!\", and\nthe points property must be less than 600.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n operator: And,\n operands: [\n {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n },\n {\n path: [\"points\"],\n operator: LessThan,\n valueInt: 600\n },\n ]\n\n }\n ) {\n question\n answer\n round\n points\n }\n }\n}\n```", "apiRefPath": "get-where-multiple-conditions.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}", "schemaPath": "craftbeer.json", "modelOutput": "{\n Get {\n CraftBeer(\n where: {\n operator: And,\n operands: [\n {\n path: [\"beerName\"],\n operator: Like,\n valueText: \"*IPA*\"\n },\n {\n path: [\"alcoholContent\"],\n operator: GreaterThan,\n valueNumber: 5.0\n }\n ]\n }\n ) {\n beerName\n tastingNotes\n isSeasonal\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}\n\n COMMAND:\n ```text\nGet me the historical events related to 'World War II'. Please use an alpha value of 0.75 in the hybrid search and perform the BM25 search on the eventName and description properties, weighting description twice as high. Please show the eventName, description, year, hadSignificantImpact, and the involved countries' country name and population.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n HistoricalEvent(\n hybrid: {\n query: \"World War II\",\n properties: [\"eventName\", \"description^2\"],\n alpha: 0.75\n },\n limit: 10\n ) {\n eventName\n description\n year\n hadSignificantImpact\n involvedCountries {\n ... on Country {\n countryName\n population\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the historical events related to 'World War II'. Please use an alpha value of 0.75 in the hybrid search and perform the BM25 search on the eventName and description properties, weighting description twice as high. Please show the eventName, description, year, hadSignificantImpact, and the involved countries' country name and population.\n```", "apiRef": "Weight (boost) searched properties in Hybrid Search\n\nYou can specify weighting of object\u00a0`properties`\u00a0in how they affect the BM25F component of hybrid searches.\n\nThe below example searches for objects containing the keyword\u00a0`food`. The BM25 search is done in the\u00a0`question`\u00a0property and the\u00a0`answer`\u00a0property, with the\u00a0`question`\u00a0property's weighting boosted by 2, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n properties: [\"question^2\", \"answer\"],\n alpha: 0.25\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-weight-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}", "schemaPath": "historicalevent.json", "modelOutput": "{\n Get {\n HistoricalEvent(\n hybrid: {\n query: \"World War II\",\n properties: [\"eventName\", \"description^2\"],\n alpha: 0.75\n },\n limit: 5\n ) {\n eventName\n description\n year\n hadSignificantImpact\n involvedCountries {\n ... on Country {\n countryName\n population\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}\n\n COMMAND:\n ```text\nGet me the instruments with a hybrid search of 'guitar', please use an alpha value of 0.75 in the hybrid search and perform the BM25 search on the name and description properties, weighting description twice as high. Please show the name, description, year introduced, whether it is a string instrument, and the name and genre of the musician who plays it.\n```\n\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Instrument(\n hybrid: {\n query: \"guitar\",\n properties: [\"name\", \"description^2\"],\n alpha: 0.75\n },\n limit: 5\n ) {\n name\n description\n yearIntroduced\n isString\n playedBy {\n ... on Musician {\n name\n genre\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the instruments with a hybrid search of 'guitar', please use an alpha value of 0.75 in the hybrid search and perform the BM25 search on the name and description properties, weighting description twice as high. Please show the name, description, year introduced, whether it is a string instrument, and the name and genre of the musician who plays it.\n```\n", "apiRef": "Weight (boost) searched properties in Hybrid Search\n\nYou can specify weighting of object\u00a0`properties`\u00a0in how they affect the BM25F component of hybrid searches.\n\nThe below example searches for objects containing the keyword\u00a0`food`. The BM25 search is done in the\u00a0`question`\u00a0property and the\u00a0`answer`\u00a0property, with the\u00a0`question`\u00a0property's weighting boosted by 2, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n properties: [\"question^2\", \"answer\"],\n alpha: 0.25\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-weight-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}", "schemaPath": "musicalinstrument.json", "modelOutput": "{\n Get {\n Instrument(\n hybrid: {\n query: \"guitar\",\n properties: [\"name\", \"description^2\"],\n alpha: 0.75\n },\n limit: 5\n ) {\n name\n description\n yearIntroduced\n isString\n playedBy {\n ... on Musician {\n name\n genre\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}\n\n COMMAND:\n ```text\nGet me the weather stations with a hybrid search of 'temperature', please use an alpha value of 0.75 in the hybrid search and perform the BM25 search on the location and equipment properties, weighting equipment twice as high. Please show the location, equipment, altitude, activity status, and the name and years of experience of the meteorologist managing the station.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n WeatherStation(\n hybrid: {\n query: \"temperature\",\n properties: [\"location\", \"equipment^2\"],\n alpha: 0.75\n },\n limit: 10\n ) {\n location\n equipment\n altitude\n isActive\n managedBy {\n ... on Meteorologist {\n name\n yearsExperience\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the weather stations with a hybrid search of 'temperature', please use an alpha value of 0.75 in the hybrid search and perform the BM25 search on the location and equipment properties, weighting equipment twice as high. Please show the location, equipment, altitude, activity status, and the name and years of experience of the meteorologist managing the station.\n```", "apiRef": "Weight (boost) searched properties in Hybrid Search\n\nYou can specify weighting of object\u00a0`properties`\u00a0in how they affect the BM25F component of hybrid searches.\n\nThe below example searches for objects containing the keyword\u00a0`food`. The BM25 search is done in the\u00a0`question`\u00a0property and the\u00a0`answer`\u00a0property, with the\u00a0`question`\u00a0property's weighting boosted by 2, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n properties: [\"question^2\", \"answer\"],\n alpha: 0.25\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-weight-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}", "schemaPath": "weatherstation.json", "modelOutput": "{\n Get {\n WeatherStation(\n hybrid: {\n query: \"temperature\",\n properties: [\"location\", \"equipment^2\"],\n alpha: 0.75\n },\n limit: 10\n ) {\n location\n equipment\n altitude\n isActive\n managedBy {\n ... on Meteorologist {\n name\n yearsExperience\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}\n\n COMMAND:\n ```text\nGet me the AI models with a hybrid search of 'classification', please use an alpha value of 0.75 in the hybrid search and perform the BM25 search on the modelName and application properties, weighting application twice as high. Please show the modelName, application, accuracy, isSupervised, and basedOn algorithm's name, description, and yearDeveloped.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n AIModel(\n hybrid: {\n query: \"classification\",\n properties: [\"modelName\", \"application^2\"],\n alpha: 0.75\n },\n limit: 10\n ) {\n modelName\n application\n accuracy\n isSupervised\n basedOn {\n ... on Algorithm {\n name\n description\n yearDeveloped\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the AI models with a hybrid search of 'classification', please use an alpha value of 0.75 in the hybrid search and perform the BM25 search on the modelName and application properties, weighting application twice as high. Please show the modelName, application, accuracy, isSupervised, and basedOn algorithm's name, description, and yearDeveloped.\n```", "apiRef": "Weight (boost) searched properties in Hybrid Search\n\nYou can specify weighting of object\u00a0`properties`\u00a0in how they affect the BM25F component of hybrid searches.\n\nThe below example searches for objects containing the keyword\u00a0`food`. The BM25 search is done in the\u00a0`question`\u00a0property and the\u00a0`answer`\u00a0property, with the\u00a0`question`\u00a0property's weighting boosted by 2, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n properties: [\"question^2\", \"answer\"],\n alpha: 0.25\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-weight-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}", "schemaPath": "AIModels.json", "modelOutput": "{\n Get {\n AIModel(\n hybrid: {\n query: \"classification\",\n properties: [\"modelName\", \"application^2\"],\n alpha: 0.75\n },\n limit: 5\n ) {\n modelName\n application\n accuracy\n isSupervised\n basedOn {\n ... on Algorithm {\n name\n description\n yearDeveloped\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}\n\n COMMAND:\n ```text\nGet me the outdoor gear with a hybrid search of 'hiking boots', please use an alpha value of 0.75 in the hybrid search and perform the BM25 search on the gearName and description properties, weighting description twice as high. Please show the gearName, description, weight, waterproof status, and supplier's name.\n```\n\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n OutdoorGear(\n hybrid: {\n query: \"hiking boots\",\n properties: [\"gearName\", \"description^2\"],\n alpha: 0.75\n },\n limit: 10\n ) {\n gearName\n description\n weight\n isWaterproof\n supplier {\n ... on Supplier {\n supplierName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the outdoor gear with a hybrid search of 'hiking boots', please use an alpha value of 0.75 in the hybrid search and perform the BM25 search on the gearName and description properties, weighting description twice as high. Please show the gearName, description, weight, waterproof status, and supplier's name.\n```\n", "apiRef": "Weight (boost) searched properties in Hybrid Search\n\nYou can specify weighting of object\u00a0`properties`\u00a0in how they affect the BM25F component of hybrid searches.\n\nThe below example searches for objects containing the keyword\u00a0`food`. The BM25 search is done in the\u00a0`question`\u00a0property and the\u00a0`answer`\u00a0property, with the\u00a0`question`\u00a0property's weighting boosted by 2, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n properties: [\"question^2\", \"answer\"],\n alpha: 0.25\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-weight-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}", "schemaPath": "outdoorgear.json", "modelOutput": "{\n Get {\n OutdoorGear(\n hybrid: {\n query: \"hiking boots\",\n properties: [\"gearName\", \"description^2\"],\n alpha: 0.75\n },\n limit: 5\n ) {\n gearName\n description\n weight\n isWaterproof\n supplier {\n ... on Supplier {\n supplierName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the startups with a hybrid search of 'technology', please use an alpha value of 0.75 in the hybrid search and perform the BM25 search on the name and product properties, weighting product twice as high. Please show the name, product, funding, isBootstrapped, and founders' name, biography, and successful startups.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Startup(\n hybrid: {\n query: \"technology\",\n properties: [\"name\", \"product^2\"],\n alpha: 0.75\n },\n limit: 10\n ) {\n name\n product\n funding\n isBootstrapped\n founders {\n ... on Entrepreneur {\n name\n biography\n successfulStartups\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the startups with a hybrid search of 'technology', please use an alpha value of 0.75 in the hybrid search and perform the BM25 search on the name and product properties, weighting product twice as high. Please show the name, product, funding, isBootstrapped, and founders' name, biography, and successful startups.\n```", "apiRef": "Weight (boost) searched properties in Hybrid Search\n\nYou can specify weighting of object\u00a0`properties`\u00a0in how they affect the BM25F component of hybrid searches.\n\nThe below example searches for objects containing the keyword\u00a0`food`. The BM25 search is done in the\u00a0`question`\u00a0property and the\u00a0`answer`\u00a0property, with the\u00a0`question`\u00a0property's weighting boosted by 2, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n properties: [\"question^2\", \"answer\"],\n alpha: 0.25\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-weight-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}", "schemaPath": "startups.json", "modelOutput": "{\n Get {\n Startup(\n hybrid: {\n query: \"technology\",\n properties: [\"name\", \"product^2\"],\n alpha: 0.75\n },\n limit: 5\n ) {\n name\n product\n funding\n isBootstrapped\n founders {\n ... on Entrepreneur {\n name\n biography\n successfulStartups\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the games with a hybrid search of 'action adventure', please use an alpha value of 0.75 in the hybrid search and perform the BM25 search on the title and genre properties, weighting genre twice as high. Please show the title, genre, rating, multiplayer availability, and developer's name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Game(\n hybrid: {\n query: \"action adventure\",\n properties: [\"title\", \"genre^2\"],\n alpha: 0.75\n },\n limit: 5\n ) {\n title\n genre\n rating\n isMultiplayer\n developedBy {\n ... on Developer {\n name\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the games with a hybrid search of 'action adventure', please use an alpha value of 0.75 in the hybrid search and perform the BM25 search on the title and genre properties, weighting genre twice as high. Please show the title, genre, rating, multiplayer availability, and developer's name.\n```", "apiRef": "Weight (boost) searched properties in Hybrid Search\n\nYou can specify weighting of object\u00a0`properties`\u00a0in how they affect the BM25F component of hybrid searches.\n\nThe below example searches for objects containing the keyword\u00a0`food`. The BM25 search is done in the\u00a0`question`\u00a0property and the\u00a0`answer`\u00a0property, with the\u00a0`question`\u00a0property's weighting boosted by 2, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n properties: [\"question^2\", \"answer\"],\n alpha: 0.25\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-weight-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}", "schemaPath": "videogame.json", "modelOutput": "{\n Get {\n Game(\n hybrid: {\n query: \"action adventure\",\n properties: [\"title\", \"genre^2\"],\n alpha: 0.75\n },\n limit: 5\n ) {\n title\n genre\n rating\n isMultiplayer\n developedBy {\n ... on Developer {\n name\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}\n\n COMMAND:\n ```text\nGet me the books with a hybrid search of 'science fiction', please use an alpha value of 0.5 in the hybrid search and perform the BM25 search on the title and summary properties, weighting summary twice as high. Please show the title, summary, availability, and author's name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Book(\n hybrid: {\n query: \"science fiction\",\n properties: [\"title\", \"summary^2\"],\n alpha: 0.5\n },\n limit: 5\n ) {\n title\n summary\n isAvailable\n author {\n ... on Author {\n name\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the books with a hybrid search of 'science fiction', please use an alpha value of 0.5 in the hybrid search and perform the BM25 search on the title and summary properties, weighting summary twice as high. Please show the title, summary, availability, and author's name.\n```", "apiRef": "Weight (boost) searched properties in Hybrid Search\n\nYou can specify weighting of object\u00a0`properties`\u00a0in how they affect the BM25F component of hybrid searches.\n\nThe below example searches for objects containing the keyword\u00a0`food`. The BM25 search is done in the\u00a0`question`\u00a0property and the\u00a0`answer`\u00a0property, with the\u00a0`question`\u00a0property's weighting boosted by 2, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n properties: [\"question^2\", \"answer\"],\n alpha: 0.25\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-weight-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}", "schemaPath": "books.json", "modelOutput": "{\n Get {\n Book(\n hybrid: {\n query: \"science fiction\",\n properties: [\"title\", \"summary^2\"],\n alpha: 0.5\n },\n limit: 5\n ) {\n title\n summary\n isAvailable\n author {\n ... on Author {\n name\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the craft beers with a hybrid search of 'IPA', please use an alpha value of 0.75 in the hybrid search and perform the BM25 search on the beer name and tasting notes properties, weighting tasting notes twice as high. Please show the beer name, tasting notes, alcohol content, seasonal availability, brewery name, and founded year.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n CraftBeer(\n hybrid: {\n query: \"IPA\",\n properties: [\"beerName\", \"tastingNotes^2\"],\n alpha: 0.75\n },\n limit: 10\n ) {\n beerName\n tastingNotes\n alcoholContent\n isSeasonal\n brewery {\n ... on Brewery {\n breweryName\n foundedYear\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the craft beers with a hybrid search of 'IPA', please use an alpha value of 0.75 in the hybrid search and perform the BM25 search on the beer name and tasting notes properties, weighting tasting notes twice as high. Please show the beer name, tasting notes, alcohol content, seasonal availability, brewery name, and founded year.\n```", "apiRef": "Weight (boost) searched properties in Hybrid Search\n\nYou can specify weighting of object\u00a0`properties`\u00a0in how they affect the BM25F component of hybrid searches.\n\nThe below example searches for objects containing the keyword\u00a0`food`. The BM25 search is done in the\u00a0`question`\u00a0property and the\u00a0`answer`\u00a0property, with the\u00a0`question`\u00a0property's weighting boosted by 2, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n properties: [\"question^2\", \"answer\"],\n alpha: 0.25\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-weight-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}", "schemaPath": "craftbeer.json", "modelOutput": "{\n Get {\n CraftBeer(\n hybrid: {\n query: \"IPA\",\n properties: [\"beerName\", \"tastingNotes^2\"],\n alpha: 0.75\n },\n limit: 5\n ) {\n beerName\n tastingNotes\n alcoholContent\n isSeasonal\n brewery {\n ... on Brewery {\n breweryName\n foundedYear\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}\n\n COMMAND:\n ```text\nGet me the historical events related to 'World War II', and show the event name, description, year, significant impact, and the countries involved with their names and populations. Limit the results to 5.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n HistoricalEvent(\n hybrid: {\n query: \"World War II\"\n },\n limit: 5\n ) {\n eventName\n description\n year\n hadSignificantImpact\n involvedCountries {\n ... on Country {\n countryName\n population\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the historical events related to 'World War II', and show the event name, description, year, significant impact, and the countries involved with their names and populations. Limit the results to 5.\n```", "apiRef": "Basic hybrid search\n\nTo use hybrid search, you must provide a search string as a minimum.\n\nThe below example uses default settings, looking for:\n\n- Objects containing the keyword\u00a0`food`\u00a0anywhere in the object, and\n- Objects most similar to the vector of\u00a0`food`.\n\nIt ranks the results using a combination of the\u00a0`bm25`\u00a0and vector search rankings, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\"\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}", "schemaPath": "historicalevent.json", "modelOutput": "{\n Get {\n HistoricalEvent(\n bm25: {\n query: \"World War II\"\n },\n limit: 5\n ) {\n eventName\n description\n year\n hadSignificantImpact\n involvedCountries {\n ... on Country {\n countryName\n population\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}\n\n COMMAND:\n ```text\nGet me the instruments with a hybrid search of 'guitar', and show the name, description, year introduced, whether it is a string instrument, and the musicians who play it including their name, genre, and years active. Limit the results to 3.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Instrument(\n hybrid: {\n query: \"guitar\"\n },\n limit: 3\n ) {\n name\n description\n yearIntroduced\n isString\n playedBy {\n ... on Musician {\n name\n genre\n yearsActive\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the instruments with a hybrid search of 'guitar', and show the name, description, year introduced, whether it is a string instrument, and the musicians who play it including their name, genre, and years active. Limit the results to 3.\n```", "apiRef": "Basic hybrid search\n\nTo use hybrid search, you must provide a search string as a minimum.\n\nThe below example uses default settings, looking for:\n\n- Objects containing the keyword\u00a0`food`\u00a0anywhere in the object, and\n- Objects most similar to the vector of\u00a0`food`.\n\nIt ranks the results using a combination of the\u00a0`bm25`\u00a0and vector search rankings, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\"\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}", "schemaPath": "musicalinstrument.json", "modelOutput": "{\n Get {\n Instrument(\n hybrid: {\n query: \"guitar\"\n },\n limit: 3\n ) {\n name\n description\n yearIntroduced\n isString\n playedBy {\n ... on Musician {\n name\n genre\n yearsActive\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}\n\n COMMAND:\n ```text\nGet me the weather stations with a hybrid search of 'temperature', and show the location, equipment, altitude, activity status, and the name and years of experience of the meteorologist managing each station. Limit the results to 3.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n WeatherStation(\n hybrid: {\n query: \"temperature\"\n },\n limit: 3\n ) {\n location\n equipment\n altitude\n isActive\n managedBy {\n ... on Meteorologist {\n name\n yearsExperience\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the weather stations with a hybrid search of 'temperature', and show the location, equipment, altitude, activity status, and the name and years of experience of the meteorologist managing each station. Limit the results to 3.\n```", "apiRef": "Basic hybrid search\n\nTo use hybrid search, you must provide a search string as a minimum.\n\nThe below example uses default settings, looking for:\n\n- Objects containing the keyword\u00a0`food`\u00a0anywhere in the object, and\n- Objects most similar to the vector of\u00a0`food`.\n\nIt ranks the results using a combination of the\u00a0`bm25`\u00a0and vector search rankings, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\"\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}", "schemaPath": "weatherstation.json", "modelOutput": "{\n Get {\n WeatherStation(\n hybrid: {\n query: \"temperature\"\n },\n limit: 3\n ) {\n location\n equipment\n altitude\n isActive\n managedBy {\n ... on Meteorologist {\n name\n yearsExperience\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}\n\n COMMAND:\n ```text\nGet me the AI models with a hybrid search of 'classification', and show the model name, application, accuracy, whether it is supervised, and the algorithm's name, description, and year developed. Limit the results to 10.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n AIModel(\n hybrid: {\n query: \"classification\"\n },\n limit: 10\n ) {\n modelName\n application\n accuracy\n isSupervised\n basedOn {\n ... on Algorithm {\n name\n description\n yearDeveloped\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the AI models with a hybrid search of 'classification', and show the model name, application, accuracy, whether it is supervised, and the algorithm's name, description, and year developed. Limit the results to 10.\n```", "apiRef": "Basic hybrid search\n\nTo use hybrid search, you must provide a search string as a minimum.\n\nThe below example uses default settings, looking for:\n\n- Objects containing the keyword\u00a0`food`\u00a0anywhere in the object, and\n- Objects most similar to the vector of\u00a0`food`.\n\nIt ranks the results using a combination of the\u00a0`bm25`\u00a0and vector search rankings, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\"\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}", "schemaPath": "AIModels.json", "modelOutput": "{\n Get {\n AIModel(\n hybrid: {\n query: \"classification\"\n },\n limit: 10\n ) {\n modelName\n application\n accuracy\n isSupervised\n basedOn {\n ... on Algorithm {\n name\n description\n yearDeveloped\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}\n\n COMMAND:\n ```text\nGet me the outdoor gear with a hybrid search of 'backpack', and show the gear name, description, weight, waterproof status, and supplier's name. Limit the results to 5.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n OutdoorGear(\n hybrid: {\n query: \"backpack\"\n },\n limit: 5\n ) {\n gearName\n description\n weight\n isWaterproof\n supplier {\n ... on Supplier {\n supplierName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the outdoor gear with a hybrid search of 'backpack', and show the gear name, description, weight, waterproof status, and supplier's name. Limit the results to 5.\n```", "apiRef": "Basic hybrid search\n\nTo use hybrid search, you must provide a search string as a minimum.\n\nThe below example uses default settings, looking for:\n\n- Objects containing the keyword\u00a0`food`\u00a0anywhere in the object, and\n- Objects most similar to the vector of\u00a0`food`.\n\nIt ranks the results using a combination of the\u00a0`bm25`\u00a0and vector search rankings, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\"\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}", "schemaPath": "outdoorgear.json", "modelOutput": "{\n Get {\n OutdoorGear(\n hybrid: {\n query: \"backpack\"\n },\n limit: 5\n ) {\n gearName\n description\n weight\n isWaterproof\n supplier {\n ... on Supplier {\n supplierName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the startups with a hybrid search of 'technology', and show the name, product, funding, bootstrapping status, and founders' names, biographies, and successful startups. Limit the results to 10.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Startup(\n hybrid: {\n query: \"technology\"\n },\n limit: 10\n ) {\n name\n product\n funding\n isBootstrapped\n founders {\n ... on Entrepreneur {\n name\n biography\n successfulStartups\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the startups with a hybrid search of 'technology', and show the name, product, funding, bootstrapping status, and founders' names, biographies, and successful startups. Limit the results to 10.\n```", "apiRef": "Basic hybrid search\n\nTo use hybrid search, you must provide a search string as a minimum.\n\nThe below example uses default settings, looking for:\n\n- Objects containing the keyword\u00a0`food`\u00a0anywhere in the object, and\n- Objects most similar to the vector of\u00a0`food`.\n\nIt ranks the results using a combination of the\u00a0`bm25`\u00a0and vector search rankings, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\"\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}", "schemaPath": "startups.json", "modelOutput": "{\n Get {\n Startup(\n hybrid: {\n query: \"technology\"\n },\n limit: 10\n ) {\n name\n product\n funding\n isBootstrapped\n founders {\n ... on Entrepreneur {\n name\n biography\n successfulStartups\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 5 games with a hybrid search of 'action adventure', and show the title, genre, rating, multiplayer availability, and developer's name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Game(\n hybrid: {\n query: \"action adventure\"\n },\n limit: 5\n ) {\n title\n genre\n rating\n isMultiplayer\n developedBy {\n ... on Developer {\n name\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 5 games with a hybrid search of 'action adventure', and show the title, genre, rating, multiplayer availability, and developer's name.\n```", "apiRef": "Basic hybrid search\n\nTo use hybrid search, you must provide a search string as a minimum.\n\nThe below example uses default settings, looking for:\n\n- Objects containing the keyword\u00a0`food`\u00a0anywhere in the object, and\n- Objects most similar to the vector of\u00a0`food`.\n\nIt ranks the results using a combination of the\u00a0`bm25`\u00a0and vector search rankings, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\"\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}", "schemaPath": "videogame.json", "modelOutput": "{\n Get {\n Game(\n hybrid: {\n query: \"action adventure\"\n },\n limit: 5\n ) {\n title\n genre\n rating\n isMultiplayer\n developedBy {\n ... on Developer {\n name\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}\n\n COMMAND:\n ```text\nGet me the books with a hybrid search of 'science fiction', limit the results to 5, and show the title, summary, availability, and author's name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Book(\n hybrid: {\n query: \"science fiction\"\n },\n limit: 5\n ) {\n title\n summary\n isAvailable\n author {\n ... on Author {\n name\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the books with a hybrid search of 'science fiction', limit the results to 5, and show the title, summary, availability, and author's name.\n```", "apiRef": "Basic hybrid search\n\nTo use hybrid search, you must provide a search string as a minimum.\n\nThe below example uses default settings, looking for:\n\n- Objects containing the keyword\u00a0`food`\u00a0anywhere in the object, and\n- Objects most similar to the vector of\u00a0`food`.\n\nIt ranks the results using a combination of the\u00a0`bm25`\u00a0and vector search rankings, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\"\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}", "schemaPath": "books.json", "modelOutput": "{\n Get {\n Book(\n hybrid: {\n query: \"science fiction\"\n },\n limit: 5\n ) {\n title\n summary\n isAvailable\n author {\n ... on Author {\n name\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the craft beers with a hybrid search of 'IPA', and show the beer name, tasting notes, alcohol content, seasonal availability, brewery name, and founded year. Limit the results to 5.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n CraftBeer(\n hybrid: {\n query: \"IPA\"\n },\n limit: 5\n ) {\n beerName\n tastingNotes\n alcoholContent\n isSeasonal\n brewery {\n ... on Brewery {\n breweryName\n foundedYear\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the craft beers with a hybrid search of 'IPA', and show the beer name, tasting notes, alcohol content, seasonal availability, brewery name, and founded year. Limit the results to 5.\n```", "apiRef": "Basic hybrid search\n\nTo use hybrid search, you must provide a search string as a minimum.\n\nThe below example uses default settings, looking for:\n\n- Objects containing the keyword\u00a0`food`\u00a0anywhere in the object, and\n- Objects most similar to the vector of\u00a0`food`.\n\nIt ranks the results using a combination of the\u00a0`bm25`\u00a0and vector search rankings, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\"\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}", "schemaPath": "craftbeer.json", "modelOutput": "{\n Get {\n CraftBeer(\n hybrid: {\n query: \"IPA\"\n },\n limit: 5\n ) {\n beerName\n tastingNotes\n alcoholContent\n isSeasonal\n brewery {\n ... on Brewery {\n breweryName\n foundedYear\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 10 historical events related to 'World War II', and show the event name, description, year, significant impact, and the names of the countries involved along with their populations.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n HistoricalEvent(\n bm25: {\n query: \"World War II\"\n },\n limit: 10\n ) {\n eventName\n description\n year\n hadSignificantImpact\n involvedCountries {\n ... on Country {\n countryName\n population\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 10 historical events related to 'World War II', and show the event name, description, year, significant impact, and the names of the countries involved along with their populations.\n```", "apiRef": "1. Limit BM25 search results\n\nLimit the results[]\n\nYou can limit the number of results returned by a\u00a0`bm25`\u00a0search,\n\n- to a fixed number, using the\u00a0`limit: `\u00a0operator\n- to the first N \"drops\" in\u00a0`score`, using the\u00a0`autocut`\u00a0operator\n\n`autocut`\u00a0can be combined with\u00a0`limit: N`, which would limit autocut's input to the first\u00a0`N`\u00a0objects.\n\nLimiting the number of results\n\nUse the\u00a0`limit`\u00a0argument to specify the maximum number of results that should be returned:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"safety\"\n },\n limit: 3\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}", "schemaPath": "historicalevent.json", "modelOutput": "{\n Get {\n HistoricalEvent(\n bm25: {\n query: \"World War II\"\n },\n limit: 10\n ) {\n eventName\n description\n year\n hadSignificantImpact\n involvedCountries {\n ... on Country {\n countryName\n population\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 3 instruments with BM25 scoring of the query 'piano', and show the name, description, year introduced, whether it is a string instrument, and the name, genre, and years active of the musician who plays it.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Instrument(\n bm25: {\n query: \"piano\"\n },\n limit: 3\n ) {\n name\n description\n yearIntroduced\n isString\n playedBy {\n ... on Musician {\n name\n genre\n yearsActive\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 3 instruments with BM25 scoring of the query 'piano', and show the name, description, year introduced, whether it is a string instrument, and the name, genre, and years active of the musician who plays it.\n```", "apiRef": "1. Limit BM25 search results\n\nLimit the results[]\n\nYou can limit the number of results returned by a\u00a0`bm25`\u00a0search,\n\n- to a fixed number, using the\u00a0`limit: `\u00a0operator\n- to the first N \"drops\" in\u00a0`score`, using the\u00a0`autocut`\u00a0operator\n\n`autocut`\u00a0can be combined with\u00a0`limit: N`, which would limit autocut's input to the first\u00a0`N`\u00a0objects.\n\nLimiting the number of results\n\nUse the\u00a0`limit`\u00a0argument to specify the maximum number of results that should be returned:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"safety\"\n },\n limit: 3\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}", "schemaPath": "musicalinstrument.json", "modelOutput": "{\n Get {\n Instrument(\n bm25: {\n query: \"piano\"\n },\n limit: 3\n ) {\n name\n description\n yearIntroduced\n isString\n playedBy {\n ... on Musician {\n name\n genre\n yearsActive\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 10 weather stations with BM25 scoring of the query 'rainfall', and show the location, equipment, altitude, activity status, and the name and years of experience of the meteorologist managing each station.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n WeatherStation(\n bm25: {\n query: \"rainfall\"\n },\n limit: 10\n ) {\n location\n equipment\n altitude\n isActive\n managedBy {\n ... on Meteorologist {\n name\n yearsExperience\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 10 weather stations with BM25 scoring of the query 'rainfall', and show the location, equipment, altitude, activity status, and the name and years of experience of the meteorologist managing each station.\n```", "apiRef": "1. Limit BM25 search results\n\nLimit the results[]\n\nYou can limit the number of results returned by a\u00a0`bm25`\u00a0search,\n\n- to a fixed number, using the\u00a0`limit: `\u00a0operator\n- to the first N \"drops\" in\u00a0`score`, using the\u00a0`autocut`\u00a0operator\n\n`autocut`\u00a0can be combined with\u00a0`limit: N`, which would limit autocut's input to the first\u00a0`N`\u00a0objects.\n\nLimiting the number of results\n\nUse the\u00a0`limit`\u00a0argument to specify the maximum number of results that should be returned:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"safety\"\n },\n limit: 3\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}", "schemaPath": "weatherstation.json", "modelOutput": "{\n Get {\n WeatherStation(\n bm25: {\n query: \"rainfall\"\n },\n limit: 10\n ) {\n location\n equipment\n altitude\n isActive\n managedBy {\n ... on Meteorologist {\n name\n yearsExperience\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 10 AI models with BM25 scoring of the query 'classification', and show the model name, application, accuracy, whether it is supervised, and the algorithm's name, description, and year developed.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n AIModel(\n bm25: {\n query: \"classification\"\n },\n limit: 10\n ) {\n modelName\n application\n accuracy\n isSupervised\n basedOn {\n ... on Algorithm {\n name\n description\n yearDeveloped\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 10 AI models with BM25 scoring of the query 'classification', and show the model name, application, accuracy, whether it is supervised, and the algorithm's name, description, and year developed.\n```", "apiRef": "1. Limit BM25 search results\n\nLimit the results[]\n\nYou can limit the number of results returned by a\u00a0`bm25`\u00a0search,\n\n- to a fixed number, using the\u00a0`limit: `\u00a0operator\n- to the first N \"drops\" in\u00a0`score`, using the\u00a0`autocut`\u00a0operator\n\n`autocut`\u00a0can be combined with\u00a0`limit: N`, which would limit autocut's input to the first\u00a0`N`\u00a0objects.\n\nLimiting the number of results\n\nUse the\u00a0`limit`\u00a0argument to specify the maximum number of results that should be returned:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"safety\"\n },\n limit: 3\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}", "schemaPath": "AIModels.json", "modelOutput": "{\n Get {\n AIModel(\n bm25: {\n query: \"classification\"\n },\n limit: 10\n ) {\n modelName\n application\n accuracy\n isSupervised\n basedOn {\n ... on Algorithm {\n name\n description\n yearDeveloped\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 10 outdoor gears with BM25 scoring of the query 'hiking boots', and show the gear name, description, weight, waterproof status, and supplier's name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n OutdoorGear(\n bm25: {\n query: \"hiking boots\"\n },\n limit: 10\n ) {\n gearName\n description\n weight\n isWaterproof\n supplier {\n ... on Supplier {\n supplierName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 10 outdoor gears with BM25 scoring of the query 'hiking boots', and show the gear name, description, weight, waterproof status, and supplier's name.\n```", "apiRef": "1. Limit BM25 search results\n\nLimit the results[]\n\nYou can limit the number of results returned by a\u00a0`bm25`\u00a0search,\n\n- to a fixed number, using the\u00a0`limit: `\u00a0operator\n- to the first N \"drops\" in\u00a0`score`, using the\u00a0`autocut`\u00a0operator\n\n`autocut`\u00a0can be combined with\u00a0`limit: N`, which would limit autocut's input to the first\u00a0`N`\u00a0objects.\n\nLimiting the number of results\n\nUse the\u00a0`limit`\u00a0argument to specify the maximum number of results that should be returned:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"safety\"\n },\n limit: 3\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}", "schemaPath": "outdoorgear.json", "modelOutput": "{\n Get {\n OutdoorGear(\n bm25: {\n query: \"hiking boots\"\n },\n limit: 10\n ) {\n gearName\n description\n weight\n isWaterproof\n supplier {\n ... on Supplier {\n supplierName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 10 startups with BM25 scoring of the query 'technology', and show the name, product, funding, bootstrapping status, and founder's name, biography, and successful startups.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Startup(\n bm25: {\n query: \"technology\"\n },\n limit: 10\n ) {\n name\n product\n funding\n isBootstrapped\n founders {\n ... on Entrepreneur {\n name\n biography\n successfulStartups\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 10 startups with BM25 scoring of the query 'technology', and show the name, product, funding, bootstrapping status, and founder's name, biography, and successful startups.\n```", "apiRef": "1. Limit BM25 search results\n\nLimit the results[]\n\nYou can limit the number of results returned by a\u00a0`bm25`\u00a0search,\n\n- to a fixed number, using the\u00a0`limit: `\u00a0operator\n- to the first N \"drops\" in\u00a0`score`, using the\u00a0`autocut`\u00a0operator\n\n`autocut`\u00a0can be combined with\u00a0`limit: N`, which would limit autocut's input to the first\u00a0`N`\u00a0objects.\n\nLimiting the number of results\n\nUse the\u00a0`limit`\u00a0argument to specify the maximum number of results that should be returned:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"safety\"\n },\n limit: 3\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}", "schemaPath": "startups.json", "modelOutput": "{\n Get {\n Startup(\n bm25: {\n query: \"technology\"\n },\n limit: 10\n ) {\n name\n product\n funding\n isBootstrapped\n _additional {\n founder {\n ... on Entrepreneur {\n name\n biography\n successfulStartups\n }\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 10 games with BM25 scoring of the query 'action', and show the title, genre, rating, multiplayer availability, and developer's name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Game(\n bm25: {\n query: \"action\"\n },\n limit: 10\n ) {\n title\n genre\n rating\n isMultiplayer\n developedBy {\n ... on Developer {\n name\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 10 games with BM25 scoring of the query 'action', and show the title, genre, rating, multiplayer availability, and developer's name.\n```", "apiRef": "1. Limit BM25 search results\n\nLimit the results[]\n\nYou can limit the number of results returned by a\u00a0`bm25`\u00a0search,\n\n- to a fixed number, using the\u00a0`limit: `\u00a0operator\n- to the first N \"drops\" in\u00a0`score`, using the\u00a0`autocut`\u00a0operator\n\n`autocut`\u00a0can be combined with\u00a0`limit: N`, which would limit autocut's input to the first\u00a0`N`\u00a0objects.\n\nLimiting the number of results\n\nUse the\u00a0`limit`\u00a0argument to specify the maximum number of results that should be returned:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"safety\"\n },\n limit: 3\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}", "schemaPath": "videogame.json", "modelOutput": "{\n Get {\n Game(\n bm25: {\n query: \"action\"\n },\n limit: 10\n ) {\n title\n genre\n rating\n isMultiplayer\n developedBy {\n ... on Developer {\n name\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 5 books with BM25 scoring of the query 'science fiction', and show the title, summary, availability, and author's name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Book(\n bm25: {\n query: \"science fiction\"\n },\n limit: 5\n ) {\n title\n summary\n isAvailable\n author {\n ... on Author {\n name\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 5 books with BM25 scoring of the query 'science fiction', and show the title, summary, availability, and author's name.\n```", "apiRef": "1. Limit BM25 search results\n\nLimit the results[]\n\nYou can limit the number of results returned by a\u00a0`bm25`\u00a0search,\n\n- to a fixed number, using the\u00a0`limit: `\u00a0operator\n- to the first N \"drops\" in\u00a0`score`, using the\u00a0`autocut`\u00a0operator\n\n`autocut`\u00a0can be combined with\u00a0`limit: N`, which would limit autocut's input to the first\u00a0`N`\u00a0objects.\n\nLimiting the number of results\n\nUse the\u00a0`limit`\u00a0argument to specify the maximum number of results that should be returned:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"safety\"\n },\n limit: 3\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}", "schemaPath": "books.json", "modelOutput": "{\n Get {\n Book(\n bm25: {\n query: \"science fiction\"\n },\n limit: 5\n ) {\n title\n summary\n isAvailable\n author {\n ... on Author {\n name\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 10 craft beers with BM25 scoring of the query 'IPA', and show the beer name, tasting notes, alcohol content, seasonal availability, brewery name, and founded year.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n CraftBeer(\n bm25: {\n query: \"IPA\"\n },\n limit: 10\n ) {\n beerName\n tastingNotes\n alcoholContent\n isSeasonal\n brewery {\n ... on Brewery {\n breweryName\n foundedYear\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 10 craft beers with BM25 scoring of the query 'IPA', and show the beer name, tasting notes, alcohol content, seasonal availability, brewery name, and founded year.\n```", "apiRef": "1. Limit BM25 search results\n\nLimit the results[]\n\nYou can limit the number of results returned by a\u00a0`bm25`\u00a0search,\n\n- to a fixed number, using the\u00a0`limit: `\u00a0operator\n- to the first N \"drops\" in\u00a0`score`, using the\u00a0`autocut`\u00a0operator\n\n`autocut`\u00a0can be combined with\u00a0`limit: N`, which would limit autocut's input to the first\u00a0`N`\u00a0objects.\n\nLimiting the number of results\n\nUse the\u00a0`limit`\u00a0argument to specify the maximum number of results that should be returned:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"safety\"\n },\n limit: 3\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}", "schemaPath": "craftbeer.json", "modelOutput": "{\n Get {\n CraftBeer(\n bm25: {\n query: \"IPA\"\n },\n limit: 10\n ) {\n beerName\n tastingNotes\n alcoholContent\n isSeasonal\n brewery {\n ... on Brewery {\n breweryName\n foundedYear\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}\n\n COMMAND:\n ```text\nShow me the event name and description of historical events semantically similar to \"Industrial Revolution\" that occurred after the year 1800.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n HistoricalEvent(\n where: {\n path: [\"year\"],\n operator: GreaterThan,\n valueInt: 1800\n },\n nearText: {\n concepts: [\"Industrial Revolution\"]\n }\n ) {\n eventName\n description\n }\n }\n}\n```", "nlcommand": "```text\nShow me the event name and description of historical events semantically similar to \"Industrial Revolution\" that occurred after the year 1800.\n```", "apiRef": "With a search operator\n\nConditional filters can be combined with a search operator such as nearXXX, hybrid or bm25.\n\nThe following example adds a points filter to a nearText query, where the points property must be greater than 200. Note that the valueInt is used as the property datatype is int.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"points\"],\n operator: GreaterThan,\n valueInt: 200\n }\n nearText: {\n concepts: [\"fashion icons\"]\n }\n ) {\n question\n answer\n round\n points\n }\n }\n}\n```", "apiRefPath": "get-where-with-search.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}", "schemaPath": "historicalevent.json", "modelOutput": "{\n Get {\n HistoricalEvent(\n where: {\n path: [\"year\"],\n operator: GreaterThan,\n valueInt: 1800\n },\n nearText: {\n concepts: [\"Industrial Revolution\"]\n }\n ) {\n eventName\n description\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}\n\n COMMAND:\n ```text\nShow me the name and description of instruments introduced after the year 2000 that are semantically similar to \"electric\".\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Instrument(\n where: {\n path: [\"yearIntroduced\"],\n operator: GreaterThan,\n valueInt: 2000\n },\n nearText: {\n concepts: [\"electric\"]\n }\n ) {\n name\n description\n }\n }\n}\n```", "nlcommand": "```text\nShow me the name and description of instruments introduced after the year 2000 that are semantically similar to \"electric\".\n```", "apiRef": "With a search operator\n\nConditional filters can be combined with a search operator such as nearXXX, hybrid or bm25.\n\nThe following example adds a points filter to a nearText query, where the points property must be greater than 200. Note that the valueInt is used as the property datatype is int.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"points\"],\n operator: GreaterThan,\n valueInt: 200\n }\n nearText: {\n concepts: [\"fashion icons\"]\n }\n ) {\n question\n answer\n round\n points\n }\n }\n}\n```", "apiRefPath": "get-where-with-search.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}", "schemaPath": "musicalinstrument.json", "modelOutput": "{\n Get {\n Instrument(\n where: {\n path: [\"yearIntroduced\"],\n operator: GreaterThan,\n valueInt: 2000\n },\n nearText: {\n concepts: [\"electric\"]\n }\n ) {\n name\n description\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}\n\n COMMAND:\n ```text\nShow me the location and equipment of weather stations with an altitude greater than 1000 and semantically related to \"Weather forecast\".\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n WeatherStation(\n where: {\n path: [\"altitude\"],\n operator: GreaterThan,\n valueNumber: 1000\n },\n nearText: {\n concepts: [\"Weather forecast\"]\n }\n ) {\n location\n equipment\n }\n }\n}\n```", "nlcommand": "```text\nShow me the location and equipment of weather stations with an altitude greater than 1000 and semantically related to \"Weather forecast\".\n```", "apiRef": "With a search operator\n\nConditional filters can be combined with a search operator such as nearXXX, hybrid or bm25.\n\nThe following example adds a points filter to a nearText query, where the points property must be greater than 200. Note that the valueInt is used as the property datatype is int.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"points\"],\n operator: GreaterThan,\n valueInt: 200\n }\n nearText: {\n concepts: [\"fashion icons\"]\n }\n ) {\n question\n answer\n round\n points\n }\n }\n}\n```", "apiRefPath": "get-where-with-search.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}", "schemaPath": "weatherstation.json", "modelOutput": "{\n Get {\n WeatherStation(\n where: {\n path: [\"altitude\"],\n operator: GreaterThan,\n valueNumber: 1000\n },\n nearText: {\n concepts: [\"Weather forecast\"]\n }\n ) {\n location\n equipment\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}\n\n COMMAND:\n ```text\nShow me the model name and application of AI models that have an accuracy greater than 0.8 and are semantically similar to \"computer vision\".\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n AIModel(\n where: {\n path: [\"accuracy\"],\n operator: GreaterThan,\n valueNumber: 0.8\n },\n nearText: {\n concepts: [\"computer vision\"]\n }\n ) {\n modelName\n application\n }\n }\n}\n```", "nlcommand": "```text\nShow me the model name and application of AI models that have an accuracy greater than 0.8 and are semantically similar to \"computer vision\".\n```", "apiRef": "With a search operator\n\nConditional filters can be combined with a search operator such as nearXXX, hybrid or bm25.\n\nThe following example adds a points filter to a nearText query, where the points property must be greater than 200. Note that the valueInt is used as the property datatype is int.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"points\"],\n operator: GreaterThan,\n valueInt: 200\n }\n nearText: {\n concepts: [\"fashion icons\"]\n }\n ) {\n question\n answer\n round\n points\n }\n }\n}\n```", "apiRefPath": "get-where-with-search.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}", "schemaPath": "AIModels.json", "modelOutput": "{\n Get {\n AIModel(\n where: {\n path: [\"accuracy\"],\n operator: GreaterThan,\n valueNumber: 0.8\n },\n nearText: {\n concepts: [\"computer vision\"]\n }\n ) {\n modelName\n application\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}\n\n COMMAND:\n ```text\nShow me the gear name and description of outdoor gear related to \"Camping\" with a weight greater than 500.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n OutdoorGear(\n where: {\n path: [\"weight\"],\n operator: GreaterThan,\n valueNumber: 500\n },\n nearText: {\n concepts: [\"Camping\"]\n }\n ) {\n gearName\n description\n }\n }\n}\n```", "nlcommand": "```text\nShow me the gear name and description of outdoor gear related to \"Camping\" with a weight greater than 500.\n```", "apiRef": "With a search operator\n\nConditional filters can be combined with a search operator such as nearXXX, hybrid or bm25.\n\nThe following example adds a points filter to a nearText query, where the points property must be greater than 200. Note that the valueInt is used as the property datatype is int.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"points\"],\n operator: GreaterThan,\n valueInt: 200\n }\n nearText: {\n concepts: [\"fashion icons\"]\n }\n ) {\n question\n answer\n round\n points\n }\n }\n}\n```", "apiRefPath": "get-where-with-search.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}", "schemaPath": "outdoorgear.json", "modelOutput": "{\n Get {\n OutdoorGear(\n where: {\n path: [\"weight\"],\n operator: GreaterThan,\n valueNumber: 500\n },\n nearText: {\n concepts: [\"Camping\"]\n }\n ) {\n gearName\n description\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}\n\n COMMAND:\n ```text\nShow me the name and product of startups related to \"technology\" with funding greater than $1,000,000.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Startup(\n where: {\n path: [\"funding\"],\n operator: GreaterThan,\n valueNumber: 1000000\n },\n nearText: {\n concepts: [\"technology\"]\n }\n ) {\n name\n product\n }\n }\n}\n```", "nlcommand": "```text\nShow me the name and product of startups related to \"technology\" with funding greater than $1,000,000.\n```", "apiRef": "With a search operator\n\nConditional filters can be combined with a search operator such as nearXXX, hybrid or bm25.\n\nThe following example adds a points filter to a nearText query, where the points property must be greater than 200. Note that the valueInt is used as the property datatype is int.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"points\"],\n operator: GreaterThan,\n valueInt: 200\n }\n nearText: {\n concepts: [\"fashion icons\"]\n }\n ) {\n question\n answer\n round\n points\n }\n }\n}\n```", "apiRefPath": "get-where-with-search.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}", "schemaPath": "startups.json", "modelOutput": "{\n Get {\n Startup(\n where: {\n path: [\"funding\"],\n operator: GreaterThan,\n valueNumber: 1000000\n },\n nearText: {\n concepts: [\"technology\"]\n }\n ) {\n name\n product\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nShow me the title and genre of games with a rating greater than 80 that are semantically similar to \"open world\".\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Game(\n where: {\n path: [\"rating\"],\n operator: GreaterThan,\n valueInt: 80\n },\n nearText: {\n concepts: [\"open world\"]\n }\n ) {\n title\n genre\n }\n }\n}\n```", "nlcommand": "```text\nShow me the title and genre of games with a rating greater than 80 that are semantically similar to \"open world\".\n```", "apiRef": "With a search operator\n\nConditional filters can be combined with a search operator such as nearXXX, hybrid or bm25.\n\nThe following example adds a points filter to a nearText query, where the points property must be greater than 200. Note that the valueInt is used as the property datatype is int.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"points\"],\n operator: GreaterThan,\n valueInt: 200\n }\n nearText: {\n concepts: [\"fashion icons\"]\n }\n ) {\n question\n answer\n round\n points\n }\n }\n}\n```", "apiRefPath": "get-where-with-search.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}", "schemaPath": "videogame.json", "modelOutput": "{\n Get {\n Game(\n where: {\n path: [\"rating\"],\n operator: GreaterThan,\n valueInt: 80\n },\n nearText: {\n concepts: [\"open world\"]\n }\n ) {\n title\n genre\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}\n\n COMMAND:\n ```text\nShow me the title and summary of books semantically similar to \"Police robots\" with a page count greater than 200.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Book(\n where: {\n path: [\"pageCount\"],\n operator: GreaterThan,\n valueInt: 200\n },\n nearText: {\n concepts: [\"Police robots\"]\n }\n ) {\n title\n summary\n }\n }\n}\n```", "nlcommand": "```text\nShow me the title and summary of books semantically similar to \"Police robots\" with a page count greater than 200.\n```", "apiRef": "With a search operator\n\nConditional filters can be combined with a search operator such as nearXXX, hybrid or bm25.\n\nThe following example adds a points filter to a nearText query, where the points property must be greater than 200. Note that the valueInt is used as the property datatype is int.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"points\"],\n operator: GreaterThan,\n valueInt: 200\n }\n nearText: {\n concepts: [\"fashion icons\"]\n }\n ) {\n question\n answer\n round\n points\n }\n }\n}\n```", "apiRefPath": "get-where-with-search.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}", "schemaPath": "books.json", "modelOutput": "{\n Get {\n Book(\n where: {\n path: [\"pageCount\"],\n operator: GreaterThan,\n valueInt: 200\n },\n nearText: {\n concepts: [\"Police robots\"]\n }\n ) {\n title\n summary\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}\n\n COMMAND:\n ```text\nShow me the beer name and tasting notes of craft beers with an alcohol content greater than 5.0 and semantically similar to \"IPA\".\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n CraftBeer(\n where: {\n path: [\"alcoholContent\"],\n operator: GreaterThan,\n valueNumber: 5.0\n },\n nearText: {\n concepts: [\"IPA\"]\n }\n ) {\n beerName\n tastingNotes\n }\n }\n}\n```", "nlcommand": "```text\nShow me the beer name and tasting notes of craft beers with an alcohol content greater than 5.0 and semantically similar to \"IPA\".\n```", "apiRef": "With a search operator\n\nConditional filters can be combined with a search operator such as nearXXX, hybrid or bm25.\n\nThe following example adds a points filter to a nearText query, where the points property must be greater than 200. Note that the valueInt is used as the property datatype is int.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"points\"],\n operator: GreaterThan,\n valueInt: 200\n }\n nearText: {\n concepts: [\"fashion icons\"]\n }\n ) {\n question\n answer\n round\n points\n }\n }\n}\n```", "apiRefPath": "get-where-with-search.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}", "schemaPath": "craftbeer.json", "modelOutput": "{\n Get {\n CraftBeer(\n where: {\n path: [\"alcoholContent\"],\n operator: GreaterThan,\n valueNumber: 5.0\n },\n nearText: {\n concepts: [\"IPA\"]\n }\n ) {\n beerName\n tastingNotes\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}\n\n COMMAND:\n ```text\nGet me the historical events with a hybrid search of 'World War II' where the events happened after the year 1939, and show the event name, description, significant impact, and the names of the involved countries along with their populations.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n HistoricalEvent(\n hybrid: {\n query: \"World War II\"\n },\n where: {\n path: [\"year\"],\n operator: GreaterThan,\n valueInt: 1939\n }\n ) {\n eventName\n description\n hadSignificantImpact\n involvedCountries {\n ... on Country {\n countryName\n population\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the historical events with a hybrid search of 'World War II' where the events happened after the year 1939, and show the event name, description, significant impact, and the names of the involved countries along with their populations.\n```", "apiRef": "Hybrid Search with Where Filter\n\nYou can add a conditional filter to any hybrid search query, which will filter the outputs but not impact the ranking.\n\nThe below example performs a hybrid search for\u00a0`food`\u00a0in any field from objects that have the\u00a0`round`\u00a0property of\u00a0`Double Jeopardy!`, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\"\n },\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n round\n }\n }\n}\n```", "apiRefPath": "get-hybrid-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}", "schemaPath": "historicalevent.json", "modelOutput": "{\n Get {\n HistoricalEvent(\n hybrid: {\n query: \"World War II\"\n },\n where: {\n path: [\"year\"],\n operator: GreaterThan,\n valueInt: 1939\n }\n ) {\n eventName\n description\n hadSignificantImpact\n involvedCountries {\n ... on Country {\n countryName\n population\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}\n\n COMMAND:\n ```text\nGet me the instruments with a hybrid search of 'guitar' where the instruments were introduced after the year 1900, and show the name, description, whether it is a string instrument, and the name and genre of the musicians who play it.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Instrument(\n hybrid: {\n query: \"guitar\"\n },\n where: {\n path: [\"yearIntroduced\"],\n operator: GreaterThan,\n valueInt: 1900\n }\n ) {\n name\n description\n isString\n playedBy {\n ... on Musician {\n name\n genre\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the instruments with a hybrid search of 'guitar' where the instruments were introduced after the year 1900, and show the name, description, whether it is a string instrument, and the name and genre of the musicians who play it.\n```", "apiRef": "Hybrid Search with Where Filter\n\nYou can add a conditional filter to any hybrid search query, which will filter the outputs but not impact the ranking.\n\nThe below example performs a hybrid search for\u00a0`food`\u00a0in any field from objects that have the\u00a0`round`\u00a0property of\u00a0`Double Jeopardy!`, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\"\n },\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n round\n }\n }\n}\n```", "apiRefPath": "get-hybrid-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}", "schemaPath": "musicalinstrument.json", "modelOutput": "{\n Get {\n Instrument(\n hybrid: {\n query: \"guitar\"\n },\n where: {\n path: [\"yearIntroduced\"],\n operator: GreaterThan,\n valueInt: 1900\n }\n ) {\n name\n description\n isString\n playedBy {\n ... on Musician {\n name\n genre\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}\n\n COMMAND:\n ```text\nGet me the weather stations with a hybrid search of 'rain' where the altitude is greater than 1000, and show the location, equipment, activity status, and the name and years of experience of the meteorologist managing it.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n WeatherStation(\n hybrid: {\n query: \"rain\"\n },\n where: {\n path: [\"altitude\"],\n operator: GreaterThan,\n valueNumber: 1000\n }\n ) {\n location\n equipment\n isActive\n managedBy {\n ... on Meteorologist {\n name\n yearsExperience\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the weather stations with a hybrid search of 'rain' where the altitude is greater than 1000, and show the location, equipment, activity status, and the name and years of experience of the meteorologist managing it.\n```", "apiRef": "Hybrid Search with Where Filter\n\nYou can add a conditional filter to any hybrid search query, which will filter the outputs but not impact the ranking.\n\nThe below example performs a hybrid search for\u00a0`food`\u00a0in any field from objects that have the\u00a0`round`\u00a0property of\u00a0`Double Jeopardy!`, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\"\n },\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n round\n }\n }\n}\n```", "apiRefPath": "get-hybrid-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}", "schemaPath": "weatherstation.json", "modelOutput": "{\n Get {\n WeatherStation(\n hybrid: {\n query: \"rain\"\n },\n where: {\n path: [\"altitude\"],\n operator: GreaterThan,\n valueNumber: 1000\n }\n ) {\n location\n equipment\n isActive\n managedBy {\n ... on Meteorologist {\n name\n yearsExperience\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}\n\n COMMAND:\n ```text\nGet me the AI models with a hybrid search of 'computer vision' where the models have an accuracy greater than 0.8, and show the model name, application, accuracy, whether it is supervised, and the algorithm's name, description, and year developed.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n AIModel(\n hybrid: {\n query: \"computer vision\"\n },\n where: {\n path: [\"accuracy\"],\n operator: GreaterThan,\n valueNumber: 0.8\n }\n ) {\n modelName\n application\n accuracy\n isSupervised\n basedOn {\n ... on Algorithm {\n name\n description\n yearDeveloped\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the AI models with a hybrid search of 'computer vision' where the models have an accuracy greater than 0.8, and show the model name, application, accuracy, whether it is supervised, and the algorithm's name, description, and year developed.\n```", "apiRef": "Hybrid Search with Where Filter\n\nYou can add a conditional filter to any hybrid search query, which will filter the outputs but not impact the ranking.\n\nThe below example performs a hybrid search for\u00a0`food`\u00a0in any field from objects that have the\u00a0`round`\u00a0property of\u00a0`Double Jeopardy!`, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\"\n },\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n round\n }\n }\n}\n```", "apiRefPath": "get-hybrid-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}", "schemaPath": "AIModels.json", "modelOutput": "{\n Get {\n AIModel(\n hybrid: {\n query: \"computer vision\"\n },\n where: {\n path: [\"accuracy\"],\n operator: GreaterThan,\n valueNumber: 0.8\n }\n ) {\n modelName\n application\n accuracy\n isSupervised\n basedOn {\n ... on Algorithm {\n name\n description\n yearDeveloped\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}\n\n COMMAND:\n ```text\nGet me the outdoor gear with a hybrid search of 'backpack' where the gear has a weight less than 1000, and show the gear name, description, waterproof status, and supplier's name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n OutdoorGear(\n hybrid: {\n query: \"backpack\"\n },\n where: {\n path: [\"weight\"],\n operator: LessThan,\n valueNumber: 1000\n }\n ) {\n gearName\n description\n isWaterproof\n supplier {\n ... on Supplier {\n supplierName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the outdoor gear with a hybrid search of 'backpack' where the gear has a weight less than 1000, and show the gear name, description, waterproof status, and supplier's name.\n```", "apiRef": "Hybrid Search with Where Filter\n\nYou can add a conditional filter to any hybrid search query, which will filter the outputs but not impact the ranking.\n\nThe below example performs a hybrid search for\u00a0`food`\u00a0in any field from objects that have the\u00a0`round`\u00a0property of\u00a0`Double Jeopardy!`, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\"\n },\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n round\n }\n }\n}\n```", "apiRefPath": "get-hybrid-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}", "schemaPath": "outdoorgear.json", "modelOutput": "{\n Get {\n OutdoorGear(\n hybrid: {\n query: \"backpack\"\n },\n where: {\n path: [\"weight\"],\n operator: LessThan,\n valueNumber: 1000\n }\n ) {\n gearName\n description\n isWaterproof\n supplier {\n ... on Supplier {\n supplierName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the startups with a hybrid search of 'technology' where the funding is greater than 1,000,000, and show the name, product, bootstrapping status, and founder's name, biography, and successful startups.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Startup(\n hybrid: {\n query: \"technology\"\n },\n where: {\n path: [\"funding\"],\n operator: GreaterThan,\n valueNumber: 1000000\n }\n ) {\n name\n product\n isBootstrapped\n founders {\n ... on Entrepreneur {\n name\n biography\n successfulStartups\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the startups with a hybrid search of 'technology' where the funding is greater than 1,000,000, and show the name, product, bootstrapping status, and founder's name, biography, and successful startups.\n```", "apiRef": "Hybrid Search with Where Filter\n\nYou can add a conditional filter to any hybrid search query, which will filter the outputs but not impact the ranking.\n\nThe below example performs a hybrid search for\u00a0`food`\u00a0in any field from objects that have the\u00a0`round`\u00a0property of\u00a0`Double Jeopardy!`, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\"\n },\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n round\n }\n }\n}\n```", "apiRefPath": "get-hybrid-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}", "schemaPath": "startups.json", "modelOutput": "{\n Get {\n Startup(\n hybrid: {\n query: \"technology\"\n },\n where: {\n path: [\"funding\"],\n operator: GreaterThan,\n valueNumber: 1000000\n }\n ) {\n name\n product\n isBootstrapped\n founders {\n ... on Entrepreneur {\n name\n biography\n successfulStartups\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the games with a hybrid search of 'action' where the games have a rating greater than 80, and show the title, genre, multiplayer availability, and developer's name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Game(\n hybrid: {\n query: \"action\"\n },\n where: {\n path: [\"rating\"],\n operator: GreaterThan,\n valueInt: 80\n }\n ) {\n title\n genre\n isMultiplayer\n developedBy {\n ... on Developer {\n name\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the games with a hybrid search of 'action' where the games have a rating greater than 80, and show the title, genre, multiplayer availability, and developer's name.\n```", "apiRef": "Hybrid Search with Where Filter\n\nYou can add a conditional filter to any hybrid search query, which will filter the outputs but not impact the ranking.\n\nThe below example performs a hybrid search for\u00a0`food`\u00a0in any field from objects that have the\u00a0`round`\u00a0property of\u00a0`Double Jeopardy!`, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\"\n },\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n round\n }\n }\n}\n```", "apiRefPath": "get-hybrid-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}", "schemaPath": "videogame.json", "modelOutput": "{\n Get {\n Game(\n hybrid: {\n query: \"action\"\n },\n where: {\n path: [\"rating\"],\n operator: GreaterThan,\n valueInt: 80\n }\n ) {\n title\n genre\n isMultiplayer\n developedBy {\n ... on Developer {\n name\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}\n\n COMMAND:\n ```text\nGet me the books with a hybrid search of 'science fiction' where the books have a page count greater than 250, and show the title, summary, availability, and author's name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Book(\n hybrid: {\n query: \"science fiction\"\n },\n where: {\n path: [\"pageCount\"],\n operator: GreaterThan,\n valueInt: 250\n }\n ) {\n title\n summary\n isAvailable\n author {\n ... on Author {\n name\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the books with a hybrid search of 'science fiction' where the books have a page count greater than 250, and show the title, summary, availability, and author's name.\n```", "apiRef": "Hybrid Search with Where Filter\n\nYou can add a conditional filter to any hybrid search query, which will filter the outputs but not impact the ranking.\n\nThe below example performs a hybrid search for\u00a0`food`\u00a0in any field from objects that have the\u00a0`round`\u00a0property of\u00a0`Double Jeopardy!`, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\"\n },\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n round\n }\n }\n}\n```", "apiRefPath": "get-hybrid-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}", "schemaPath": "books.json", "modelOutput": "{\n Get {\n Book(\n hybrid: {\n query: \"science fiction\"\n },\n where: {\n path: [\"pageCount\"],\n operator: GreaterThan,\n valueInt: 250\n }\n ) {\n title\n summary\n isAvailable\n author {\n ... on Author {\n name\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the craft beers with a hybrid search of 'IPA' where the alcohol content is greater than 6.0, and show the beer name, tasting notes, seasonal availability, and brewery name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n CraftBeer(\n hybrid: {\n query: \"IPA\"\n },\n where: {\n path: [\"alcoholContent\"],\n operator: GreaterThan,\n valueNumber: 6.0\n }\n ) {\n beerName\n tastingNotes\n isSeasonal\n brewery {\n ... on Brewery {\n breweryName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the craft beers with a hybrid search of 'IPA' where the alcohol content is greater than 6.0, and show the beer name, tasting notes, seasonal availability, and brewery name.\n```", "apiRef": "Hybrid Search with Where Filter\n\nYou can add a conditional filter to any hybrid search query, which will filter the outputs but not impact the ranking.\n\nThe below example performs a hybrid search for\u00a0`food`\u00a0in any field from objects that have the\u00a0`round`\u00a0property of\u00a0`Double Jeopardy!`, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\"\n },\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n round\n }\n }\n}\n```", "apiRefPath": "get-hybrid-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}", "schemaPath": "craftbeer.json", "modelOutput": "{\n Get {\n CraftBeer(\n hybrid: {\n query: \"IPA\"\n },\n where: {\n path: [\"alcoholContent\"],\n operator: GreaterThan,\n valueNumber: 6.0\n }\n ) {\n beerName\n tastingNotes\n isSeasonal\n brewery {\n ... on Brewery {\n breweryName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}\n\n COMMAND:\n ```text\nPlease show me the event name, description, year, significant impact, and the names of the countries involved for the 6th object in the HistoricalEvent class.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n HistoricalEvent(\n limit: 1,\n offset: 5\n ) {\n eventName\n description\n year\n hadSignificantImpact\n involvedCountries {\n ... on Country {\n countryName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease show me the event name, description, year, significant impact, and the names of the countries involved for the 6th object in the HistoricalEvent class.\n```", "apiRef": "Paginate with\u00a0`limit`\u00a0and\u00a0`offset`\n\nIf you only want the\u00a0`n`\u00a0results after the first\u00a0`m`\u00a0results from the query, you can do this with\u00a0`limit`\u00a0and\u00a0`offset`\u00a0as shown below.\n\nBe aware that although you will only see\u00a0`n`\u00a0results, this could become an expensive operation as\u00a0`m`\u00a0grows larger, as Weaviate must fetch\u00a0`n+m`\u00a0results.\n\nFOR EXHAUSTIVE RETRIEVAL, USE\u00a0`after`\u00a0INSTEAD.\n\nIf you want to list and retrieve all objects from a\u00a0`class`, use the cursor API instead with the\u00a0`after`\u00a0operator.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n limit: 1,\n offset: 1\n ) {\n question\n }\n }\n}\n```", "apiRefPath": "get-paginate-with-limit-and-offset.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}", "schemaPath": "historicalevent.json", "modelOutput": "{\n Get {\n HistoricalEvent(\n limit: 1,\n offset: 5\n ) {\n eventName\n description\n year\n hadSignificantImpact\n involvedCountries {\n ... on Country {\n countryName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}\n\n COMMAND:\n ```text\nPlease show me the name, description, year introduced, whether it is a string instrument, and the name, genre, and years active of the musician who plays the 6th object in the Instrument class.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Instrument(\n limit: 1,\n offset: 5\n ) {\n name\n description\n yearIntroduced\n isString\n playedBy {\n ... on Musician {\n name\n genre\n yearsActive\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease show me the name, description, year introduced, whether it is a string instrument, and the name, genre, and years active of the musician who plays the 6th object in the Instrument class.\n```", "apiRef": "Paginate with\u00a0`limit`\u00a0and\u00a0`offset`\n\nIf you only want the\u00a0`n`\u00a0results after the first\u00a0`m`\u00a0results from the query, you can do this with\u00a0`limit`\u00a0and\u00a0`offset`\u00a0as shown below.\n\nBe aware that although you will only see\u00a0`n`\u00a0results, this could become an expensive operation as\u00a0`m`\u00a0grows larger, as Weaviate must fetch\u00a0`n+m`\u00a0results.\n\nFOR EXHAUSTIVE RETRIEVAL, USE\u00a0`after`\u00a0INSTEAD.\n\nIf you want to list and retrieve all objects from a\u00a0`class`, use the cursor API instead with the\u00a0`after`\u00a0operator.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n limit: 1,\n offset: 1\n ) {\n question\n }\n }\n}\n```", "apiRefPath": "get-paginate-with-limit-and-offset.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}", "schemaPath": "musicalinstrument.json", "modelOutput": "{\n Get {\n Instrument(\n limit: 1,\n offset: 5\n ) {\n name\n description\n yearIntroduced\n isString\n playedBy {\n ... on Musician {\n name\n genre\n yearsActive\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}\n\n COMMAND:\n ```text\nPlease show me the location, equipment, altitude, activity status, and the name of the meteorologist managing the 6th object in the WeatherStation class.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n WeatherStation(\n limit: 1,\n offset: 5\n ) {\n location\n equipment\n altitude\n isActive\n managedBy {\n ... on Meteorologist {\n name\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease show me the location, equipment, altitude, activity status, and the name of the meteorologist managing the 6th object in the WeatherStation class.\n```", "apiRef": "Paginate with\u00a0`limit`\u00a0and\u00a0`offset`\n\nIf you only want the\u00a0`n`\u00a0results after the first\u00a0`m`\u00a0results from the query, you can do this with\u00a0`limit`\u00a0and\u00a0`offset`\u00a0as shown below.\n\nBe aware that although you will only see\u00a0`n`\u00a0results, this could become an expensive operation as\u00a0`m`\u00a0grows larger, as Weaviate must fetch\u00a0`n+m`\u00a0results.\n\nFOR EXHAUSTIVE RETRIEVAL, USE\u00a0`after`\u00a0INSTEAD.\n\nIf you want to list and retrieve all objects from a\u00a0`class`, use the cursor API instead with the\u00a0`after`\u00a0operator.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n limit: 1,\n offset: 1\n ) {\n question\n }\n }\n}\n```", "apiRefPath": "get-paginate-with-limit-and-offset.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}", "schemaPath": "weatherstation.json", "modelOutput": "{\n Get {\n WeatherStation(\n limit: 1,\n offset: 5\n ) {\n location\n equipment\n altitude\n isActive\n managedBy {\n ... on Meteorologist {\n name\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}\n\n COMMAND:\n ```text\nPlease show me the model name, application, accuracy, supervised status, and the name of the algorithm it is based on for the 6th object in the AIModel class.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n AIModel(\n limit: 1,\n offset: 5\n ) {\n modelName\n application\n accuracy\n isSupervised\n basedOn {\n ... on Algorithm {\n name\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease show me the model name, application, accuracy, supervised status, and the name of the algorithm it is based on for the 6th object in the AIModel class.\n```", "apiRef": "Paginate with\u00a0`limit`\u00a0and\u00a0`offset`\n\nIf you only want the\u00a0`n`\u00a0results after the first\u00a0`m`\u00a0results from the query, you can do this with\u00a0`limit`\u00a0and\u00a0`offset`\u00a0as shown below.\n\nBe aware that although you will only see\u00a0`n`\u00a0results, this could become an expensive operation as\u00a0`m`\u00a0grows larger, as Weaviate must fetch\u00a0`n+m`\u00a0results.\n\nFOR EXHAUSTIVE RETRIEVAL, USE\u00a0`after`\u00a0INSTEAD.\n\nIf you want to list and retrieve all objects from a\u00a0`class`, use the cursor API instead with the\u00a0`after`\u00a0operator.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n limit: 1,\n offset: 1\n ) {\n question\n }\n }\n}\n```", "apiRefPath": "get-paginate-with-limit-and-offset.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}", "schemaPath": "AIModels.json", "modelOutput": "{\n Get {\n AIModel(\n limit: 1,\n offset: 5\n ) {\n modelName\n application\n accuracy\n isSupervised\n basedOn {\n ... on Algorithm {\n name\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}\n\n COMMAND:\n ```text\nPlease show me the gear name, description, weight, waterproof status, and the name of the supplier for the 6th object in the Outdoor Gear class.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n OutdoorGear(\n limit: 1,\n offset: 5\n ) {\n gearName\n description\n weight\n isWaterproof\n supplier {\n ... on Supplier {\n supplierName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease show me the gear name, description, weight, waterproof status, and the name of the supplier for the 6th object in the Outdoor Gear class.\n```", "apiRef": "Paginate with\u00a0`limit`\u00a0and\u00a0`offset`\n\nIf you only want the\u00a0`n`\u00a0results after the first\u00a0`m`\u00a0results from the query, you can do this with\u00a0`limit`\u00a0and\u00a0`offset`\u00a0as shown below.\n\nBe aware that although you will only see\u00a0`n`\u00a0results, this could become an expensive operation as\u00a0`m`\u00a0grows larger, as Weaviate must fetch\u00a0`n+m`\u00a0results.\n\nFOR EXHAUSTIVE RETRIEVAL, USE\u00a0`after`\u00a0INSTEAD.\n\nIf you want to list and retrieve all objects from a\u00a0`class`, use the cursor API instead with the\u00a0`after`\u00a0operator.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n limit: 1,\n offset: 1\n ) {\n question\n }\n }\n}\n```", "apiRefPath": "get-paginate-with-limit-and-offset.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}", "schemaPath": "outdoorgear.json", "modelOutput": "{\n Get {\n OutdoorGear(\n limit: 1,\n offset: 5\n ) {\n gearName\n description\n weight\n isWaterproof\n supplier {\n ... on Supplier {\n supplierName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}\n\n COMMAND:\n ```text\nPlease show me the name, product, funding, isBootstrapped, and linked founder's name for the 6th object in the Startup class.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Startup(\n limit: 1,\n offset: 5\n ) {\n name\n product\n funding\n isBootstrapped\n founders {\n ... on Entrepreneur {\n name\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease show me the name, product, funding, isBootstrapped, and linked founder's name for the 6th object in the Startup class.\n```", "apiRef": "Paginate with\u00a0`limit`\u00a0and\u00a0`offset`\n\nIf you only want the\u00a0`n`\u00a0results after the first\u00a0`m`\u00a0results from the query, you can do this with\u00a0`limit`\u00a0and\u00a0`offset`\u00a0as shown below.\n\nBe aware that although you will only see\u00a0`n`\u00a0results, this could become an expensive operation as\u00a0`m`\u00a0grows larger, as Weaviate must fetch\u00a0`n+m`\u00a0results.\n\nFOR EXHAUSTIVE RETRIEVAL, USE\u00a0`after`\u00a0INSTEAD.\n\nIf you want to list and retrieve all objects from a\u00a0`class`, use the cursor API instead with the\u00a0`after`\u00a0operator.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n limit: 1,\n offset: 1\n ) {\n question\n }\n }\n}\n```", "apiRefPath": "get-paginate-with-limit-and-offset.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}", "schemaPath": "startups.json", "modelOutput": "{\n Get {\n Startup(\n limit: 1,\n offset: 5\n ) {\n name\n product\n funding\n isBootstrapped\n founders {\n ... on Entrepreneur {\n name\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nPlease show me the title, genre, rating, multiplayer status, and developer's name for the 6th object in the Game class.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Game(\n limit: 1,\n offset: 5\n ) {\n title\n genre\n rating\n isMultiplayer\n developedBy {\n ... on Developer {\n name\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease show me the title, genre, rating, multiplayer status, and developer's name for the 6th object in the Game class.\n```", "apiRef": "Paginate with\u00a0`limit`\u00a0and\u00a0`offset`\n\nIf you only want the\u00a0`n`\u00a0results after the first\u00a0`m`\u00a0results from the query, you can do this with\u00a0`limit`\u00a0and\u00a0`offset`\u00a0as shown below.\n\nBe aware that although you will only see\u00a0`n`\u00a0results, this could become an expensive operation as\u00a0`m`\u00a0grows larger, as Weaviate must fetch\u00a0`n+m`\u00a0results.\n\nFOR EXHAUSTIVE RETRIEVAL, USE\u00a0`after`\u00a0INSTEAD.\n\nIf you want to list and retrieve all objects from a\u00a0`class`, use the cursor API instead with the\u00a0`after`\u00a0operator.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n limit: 1,\n offset: 1\n ) {\n question\n }\n }\n}\n```", "apiRefPath": "get-paginate-with-limit-and-offset.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}", "schemaPath": "videogame.json", "modelOutput": "{\n Get {\n Game(\n limit: 1,\n offset: 5\n ) {\n title\n genre\n rating\n isMultiplayer\n developedBy {\n ... on Developer {\n name\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}\n\n COMMAND:\n ```text\nPlease show me the title, summary, availability, and linked author's name for the 6th object in the Books class.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Book (\n limit: 1,\n offset: 5\n ) {\n title\n summary\n isAvailable\n author {\n ... on Author {\n name\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease show me the title, summary, availability, and linked author's name for the 6th object in the Books class.\n```", "apiRef": "Paginate with\u00a0`limit`\u00a0and\u00a0`offset`\n\nIf you only want the\u00a0`n`\u00a0results after the first\u00a0`m`\u00a0results from the query, you can do this with\u00a0`limit`\u00a0and\u00a0`offset`\u00a0as shown below.\n\nBe aware that although you will only see\u00a0`n`\u00a0results, this could become an expensive operation as\u00a0`m`\u00a0grows larger, as Weaviate must fetch\u00a0`n+m`\u00a0results.\n\nFOR EXHAUSTIVE RETRIEVAL, USE\u00a0`after`\u00a0INSTEAD.\n\nIf you want to list and retrieve all objects from a\u00a0`class`, use the cursor API instead with the\u00a0`after`\u00a0operator.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n limit: 1,\n offset: 1\n ) {\n question\n }\n }\n}\n```", "apiRefPath": "get-paginate-with-limit-and-offset.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}", "schemaPath": "books.json", "modelOutput": "{\n Get {\n Book(\n limit: 1,\n offset: 5\n ) {\n title\n summary\n isAvailable\n author {\n ... on Author {\n name\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}\n\n COMMAND:\n ```text\nPlease show me the beer name, tasting notes, alcohol content, seasonal availability, and linked brewery name for the 6th object in the CraftBeer class.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n CraftBeer(\n limit: 1,\n offset: 5\n ) {\n beerName\n tastingNotes\n alcoholContent\n isSeasonal\n brewery {\n ... on Brewery {\n breweryName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease show me the beer name, tasting notes, alcohol content, seasonal availability, and linked brewery name for the 6th object in the CraftBeer class.\n```", "apiRef": "Paginate with\u00a0`limit`\u00a0and\u00a0`offset`\n\nIf you only want the\u00a0`n`\u00a0results after the first\u00a0`m`\u00a0results from the query, you can do this with\u00a0`limit`\u00a0and\u00a0`offset`\u00a0as shown below.\n\nBe aware that although you will only see\u00a0`n`\u00a0results, this could become an expensive operation as\u00a0`m`\u00a0grows larger, as Weaviate must fetch\u00a0`n+m`\u00a0results.\n\nFOR EXHAUSTIVE RETRIEVAL, USE\u00a0`after`\u00a0INSTEAD.\n\nIf you want to list and retrieve all objects from a\u00a0`class`, use the cursor API instead with the\u00a0`after`\u00a0operator.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n limit: 1,\n offset: 1\n ) {\n question\n }\n }\n}\n```", "apiRefPath": "get-paginate-with-limit-and-offset.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}", "schemaPath": "craftbeer.json", "modelOutput": "{\n Get {\n CraftBeer(\n limit: 1,\n offset: 5\n ) {\n beerName\n tastingNotes\n alcoholContent\n isSeasonal\n brewery {\n ... on Brewery {\n breweryName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}\n\n COMMAND:\n ```text\nList all distinct years in the HistoricalEvent class.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n HistoricalEvent(groupBy: \"year\") {\n groupedBy {\n value\n }\n meta {\n count\n }\n }\n }\n}\n```", "nlcommand": "```text\nList all distinct years in the HistoricalEvent class.\n```", "apiRef": "Retrieve groupedBy properties\n\nYou can use the groupBy variable to group the results set into subsets. Then, you can retrieve the grouped aggregate data for each group through the groupedBy properties.\n\nFor example, to list all distinct values of a property, and the counts for each:\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion(groupBy: \"round\") {\n groupedBy {\n value\n }\n meta {\n count\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-groupedBy.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}", "schemaPath": "historicalevent.json", "modelOutput": "{\n Aggregate {\n HistoricalEvent(groupBy: \"year\") {\n groupedBy {\n value\n }\n meta {\n count\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}\n\n COMMAND:\n ```text\nList all distinct names in the Instrument class.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n Instrument(groupBy: \"name\") {\n groupedBy {\n value\n }\n meta {\n count\n }\n }\n }\n}\n```", "nlcommand": "```text\nList all distinct names in the Instrument class.\n```", "apiRef": "Retrieve groupedBy properties\n\nYou can use the groupBy variable to group the results set into subsets. Then, you can retrieve the grouped aggregate data for each group through the groupedBy properties.\n\nFor example, to list all distinct values of a property, and the counts for each:\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion(groupBy: \"round\") {\n groupedBy {\n value\n }\n meta {\n count\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-groupedBy.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}", "schemaPath": "musicalinstrument.json", "modelOutput": "{\n Aggregate {\n Instrument(groupBy: \"name\") {\n groupedBy {\n value\n }\n meta {\n count\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}\n\n COMMAND:\n ```text\nList all distinct locations in the WeatherStation class.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n WeatherStation(groupBy: \"location\") {\n groupedBy {\n value\n }\n meta {\n count\n }\n }\n }\n}\n```", "nlcommand": "```text\nList all distinct locations in the WeatherStation class.\n```", "apiRef": "Retrieve groupedBy properties\n\nYou can use the groupBy variable to group the results set into subsets. Then, you can retrieve the grouped aggregate data for each group through the groupedBy properties.\n\nFor example, to list all distinct values of a property, and the counts for each:\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion(groupBy: \"round\") {\n groupedBy {\n value\n }\n meta {\n count\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-groupedBy.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}", "schemaPath": "weatherstation.json", "modelOutput": "{\n Aggregate {\n WeatherStation(groupBy: \"location\") {\n groupedBy {\n value\n }\n meta {\n count\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}\n\n COMMAND:\n ```text\nList all distinct model names in the AIModel class.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n AIModel(groupBy: \"modelName\") {\n groupedBy {\n value\n }\n meta {\n count\n }\n }\n }\n}\n```", "nlcommand": "```text\nList all distinct model names in the AIModel class.\n```", "apiRef": "Retrieve groupedBy properties\n\nYou can use the groupBy variable to group the results set into subsets. Then, you can retrieve the grouped aggregate data for each group through the groupedBy properties.\n\nFor example, to list all distinct values of a property, and the counts for each:\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion(groupBy: \"round\") {\n groupedBy {\n value\n }\n meta {\n count\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-groupedBy.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}", "schemaPath": "AIModels.json", "modelOutput": "{\n Aggregate {\n AIModel(groupBy: \"modelName\") {\n groupedBy {\n value\n }\n meta {\n count\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}\n\n COMMAND:\n ```text\nList all distinct gear names in the OutdoorGear class.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n OutdoorGear(groupBy: \"gearName\") {\n groupedBy {\n value\n }\n meta {\n count\n }\n }\n }\n}\n```", "nlcommand": "```text\nList all distinct gear names in the OutdoorGear class.\n```", "apiRef": "Retrieve groupedBy properties\n\nYou can use the groupBy variable to group the results set into subsets. Then, you can retrieve the grouped aggregate data for each group through the groupedBy properties.\n\nFor example, to list all distinct values of a property, and the counts for each:\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion(groupBy: \"round\") {\n groupedBy {\n value\n }\n meta {\n count\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-groupedBy.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}", "schemaPath": "outdoorgear.json", "modelOutput": "{\n Aggregate {\n OutdoorGear(groupBy: \"gearName\") {\n groupedBy {\n value\n }\n meta {\n count\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}\n\n COMMAND:\n ```text\nList all distinct names in the Startup class.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n Startup(groupBy: \"name\") {\n groupedBy {\n value\n }\n meta {\n count\n }\n }\n }\n}\n```", "nlcommand": "```text\nList all distinct names in the Startup class.\n```", "apiRef": "Retrieve groupedBy properties\n\nYou can use the groupBy variable to group the results set into subsets. Then, you can retrieve the grouped aggregate data for each group through the groupedBy properties.\n\nFor example, to list all distinct values of a property, and the counts for each:\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion(groupBy: \"round\") {\n groupedBy {\n value\n }\n meta {\n count\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-groupedBy.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}", "schemaPath": "startups.json", "modelOutput": "{\n Aggregate {\n Startup(groupBy: \"name\") {\n groupedBy {\n value\n }\n meta {\n count\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nList all distinct genres in the Game class.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n Game(groupBy: \"genre\") {\n groupedBy {\n value\n }\n meta {\n count\n }\n }\n }\n}\n```", "nlcommand": "```text\nList all distinct genres in the Game class.\n```", "apiRef": "Retrieve groupedBy properties\n\nYou can use the groupBy variable to group the results set into subsets. Then, you can retrieve the grouped aggregate data for each group through the groupedBy properties.\n\nFor example, to list all distinct values of a property, and the counts for each:\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion(groupBy: \"round\") {\n groupedBy {\n value\n }\n meta {\n count\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-groupedBy.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}", "schemaPath": "videogame.json", "modelOutput": "{\n Aggregate {\n Game(groupBy: \"genre\") {\n groupedBy {\n value\n }\n meta {\n count\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}\n\n COMMAND:\n ```text\nList all distinct titles in the Book class.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n Book(groupBy: \"title\") {\n groupedBy {\n value\n }\n meta {\n count\n }\n }\n }\n}\n```", "nlcommand": "```text\nList all distinct titles in the Book class.\n```", "apiRef": "Retrieve groupedBy properties\n\nYou can use the groupBy variable to group the results set into subsets. Then, you can retrieve the grouped aggregate data for each group through the groupedBy properties.\n\nFor example, to list all distinct values of a property, and the counts for each:\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion(groupBy: \"round\") {\n groupedBy {\n value\n }\n meta {\n count\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-groupedBy.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}", "schemaPath": "books.json", "modelOutput": "{\n Aggregate {\n Book(groupBy: \"title\") {\n groupedBy {\n value\n }\n meta {\n count\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}\n\n COMMAND:\n ```text\nList all distinct beer names in the CraftBeer class.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n CraftBeer(groupBy: \"beerName\") {\n groupedBy {\n value\n }\n meta {\n count\n }\n }\n }\n}\n```", "nlcommand": "```text\nList all distinct beer names in the CraftBeer class.\n```", "apiRef": "Retrieve groupedBy properties\n\nYou can use the groupBy variable to group the results set into subsets. Then, you can retrieve the grouped aggregate data for each group through the groupedBy properties.\n\nFor example, to list all distinct values of a property, and the counts for each:\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion(groupBy: \"round\") {\n groupedBy {\n value\n }\n meta {\n count\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-groupedBy.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}", "schemaPath": "craftbeer.json", "modelOutput": "{\n Aggregate {\n CraftBeer(groupBy: \"beerName\") {\n groupedBy {\n value\n }\n meta {\n count\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}\n\n COMMAND:\n ```text\nGet me the historical events related to World War II that occurred after 1939. Show me the event name, description, year, whether it had a significant impact, and the involved countries' names and populations.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n HistoricalEvent(\n bm25: {\n query: \"World War II\"\n },\n where: {\n path: [\"year\"],\n operator: GreaterThan,\n valueInt: 1939\n }\n ) {\n eventName\n description\n year\n hadSignificantImpact\n involvedCountries {\n ... on Country {\n countryName\n population\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the historical events related to World War II that occurred after 1939. Show me the event name, description, year, whether it had a significant impact, and the involved countries' names and populations.\n```", "apiRef": "Query API: Combining BM25 and the Where Filter\n\nPlease note: This is a compositional API, combining the `where` filter with `bm25`.\nAdd a conditional `where` to BM25 search.\n\nYou can add a conditional filter to any BM25 search query using the `where` API, which will filter the outputs but not impact the ranking from keyword scoring.\n\nThe below example searches for objects containing the keyword\u00a0`food`\u00a0in any field and which have the\u00a0`round`\u00a0property of\u00a0`Double Jeopardy!`, ranks them using BM25, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\"\n },\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```\n\nIn this example, the query will filter the results where the `round` property equals \"Double Jeopardy!\" and then rank them based on the keyword scoring algorithm with the query \"food\".\n\nA Natural Language Command for this example could be: \"Show me Jeopardy Questions about food in the Double Jeopardy round, show me the question, answer and Bm25 score.\"", "apiRefPath": "get-bm25-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}", "schemaPath": "historicalevent.json", "modelOutput": "{\n Get {\n HistoricalEvent(\n where: {\n path: [\"year\"],\n operator: GreaterThan,\n valueInt: 1939\n }\n ) {\n eventName\n description\n year\n hadSignificantImpact\n involvedCountries {\n ... on Country {\n countryName\n population\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}\n\n COMMAND:\n ```text\nGet me the instruments with BM25 scoring of the query 'piano' where the yearIntroduced is greater than 1800, and show the name, description, whether it is a string instrument, and the name and genre of the musician who plays it.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Instrument(\n bm25: {\n query: \"piano\"\n },\n where: {\n path: [\"yearIntroduced\"],\n operator: GreaterThan,\n valueInt: 1800\n }\n ) {\n name\n description\n isString\n playedBy {\n ... on Musician {\n name\n genre\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the instruments with BM25 scoring of the query 'piano' where the yearIntroduced is greater than 1800, and show the name, description, whether it is a string instrument, and the name and genre of the musician who plays it.\n```", "apiRef": "Query API: Combining BM25 and the Where Filter\n\nPlease note: This is a compositional API, combining the `where` filter with `bm25`.\nAdd a conditional `where` to BM25 search.\n\nYou can add a conditional filter to any BM25 search query using the `where` API, which will filter the outputs but not impact the ranking from keyword scoring.\n\nThe below example searches for objects containing the keyword\u00a0`food`\u00a0in any field and which have the\u00a0`round`\u00a0property of\u00a0`Double Jeopardy!`, ranks them using BM25, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\"\n },\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```\n\nIn this example, the query will filter the results where the `round` property equals \"Double Jeopardy!\" and then rank them based on the keyword scoring algorithm with the query \"food\".\n\nA Natural Language Command for this example could be: \"Show me Jeopardy Questions about food in the Double Jeopardy round, show me the question, answer and Bm25 score.\"", "apiRefPath": "get-bm25-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}", "schemaPath": "musicalinstrument.json", "modelOutput": "{\n Get {\n Instrument(\n bm25: {\n query: \"piano\"\n },\n where: {\n path: [\"yearIntroduced\"],\n operator: GreaterThan,\n valueInt: 1800\n }\n ) {\n name\n description\n isString\n playedBy {\n ... on Musician {\n name\n genre\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}\n\n COMMAND:\n ```text\nGet me the weather stations with a BM25 score of the query 'rain' where the altitude is greater than 1000, and show the location, equipment, activity status, and the name and years of experience of the meteorologist managing it.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n WeatherStation(\n bm25: {\n query: \"rain\"\n },\n where: {\n path: [\"altitude\"],\n operator: GreaterThan,\n valueNumber: 1000\n }\n ) {\n location\n equipment\n isActive\n managedBy {\n ... on Meteorologist {\n name\n yearsExperience\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the weather stations with a BM25 score of the query 'rain' where the altitude is greater than 1000, and show the location, equipment, activity status, and the name and years of experience of the meteorologist managing it.\n```", "apiRef": "Query API: Combining BM25 and the Where Filter\n\nPlease note: This is a compositional API, combining the `where` filter with `bm25`.\nAdd a conditional `where` to BM25 search.\n\nYou can add a conditional filter to any BM25 search query using the `where` API, which will filter the outputs but not impact the ranking from keyword scoring.\n\nThe below example searches for objects containing the keyword\u00a0`food`\u00a0in any field and which have the\u00a0`round`\u00a0property of\u00a0`Double Jeopardy!`, ranks them using BM25, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\"\n },\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```\n\nIn this example, the query will filter the results where the `round` property equals \"Double Jeopardy!\" and then rank them based on the keyword scoring algorithm with the query \"food\".\n\nA Natural Language Command for this example could be: \"Show me Jeopardy Questions about food in the Double Jeopardy round, show me the question, answer and Bm25 score.\"", "apiRefPath": "get-bm25-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}", "schemaPath": "weatherstation.json", "modelOutput": "{\n Get {\n WeatherStation(\n bm25: {\n query: \"rain\"\n },\n where: {\n path: [\"altitude\"],\n operator: GreaterThan,\n valueNumber: 1000\n }\n ) {\n location\n equipment\n isActive\n managedBy {\n ... on Meteorologist {\n name\n yearsExperience\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}\n\n COMMAND:\n ```text\nGet me the AI models with BM25 scoring of the query 'image classification' where the accuracy is greater than 0.8, and show the model name, application, accuracy, whether it is supervised, and the name and description of the algorithm it is based on.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n AIModel(\n bm25: {\n query: \"image classification\"\n },\n where: {\n path: [\"accuracy\"],\n operator: GreaterThan,\n valueNumber: 0.8\n }\n ) {\n modelName\n application\n accuracy\n isSupervised\n basedOn {\n ... on Algorithm {\n name\n description\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the AI models with BM25 scoring of the query 'image classification' where the accuracy is greater than 0.8, and show the model name, application, accuracy, whether it is supervised, and the name and description of the algorithm it is based on.\n```", "apiRef": "Query API: Combining BM25 and the Where Filter\n\nPlease note: This is a compositional API, combining the `where` filter with `bm25`.\nAdd a conditional `where` to BM25 search.\n\nYou can add a conditional filter to any BM25 search query using the `where` API, which will filter the outputs but not impact the ranking from keyword scoring.\n\nThe below example searches for objects containing the keyword\u00a0`food`\u00a0in any field and which have the\u00a0`round`\u00a0property of\u00a0`Double Jeopardy!`, ranks them using BM25, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\"\n },\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```\n\nIn this example, the query will filter the results where the `round` property equals \"Double Jeopardy!\" and then rank them based on the keyword scoring algorithm with the query \"food\".\n\nA Natural Language Command for this example could be: \"Show me Jeopardy Questions about food in the Double Jeopardy round, show me the question, answer and Bm25 score.\"", "apiRefPath": "get-bm25-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}", "schemaPath": "AIModels.json", "modelOutput": "{\n Get {\n AIModel(\n bm25: {\n query: \"image classification\"\n },\n where: {\n path: [\"accuracy\"],\n operator: GreaterThan,\n valueNumber: 0.8\n }\n ) {\n modelName\n application\n accuracy\n isSupervised\n basedOn {\n ... on Algorithm {\n name\n description\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}\n\n COMMAND:\n ```text\nGet me the outdoor gear with a BM25 scoring of the query 'hiking' where the weight is less than 1000, and show the gear name, description, waterproof status, and supplier's name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n OutdoorGear(\n bm25: {\n query: \"hiking\"\n },\n where: {\n path: [\"weight\"],\n operator: LessThan,\n valueNumber: 1000\n }\n ) {\n gearName\n description\n isWaterproof\n supplier {\n ... on Supplier {\n supplierName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the outdoor gear with a BM25 scoring of the query 'hiking' where the weight is less than 1000, and show the gear name, description, waterproof status, and supplier's name.\n```", "apiRef": "Query API: Combining BM25 and the Where Filter\n\nPlease note: This is a compositional API, combining the `where` filter with `bm25`.\nAdd a conditional `where` to BM25 search.\n\nYou can add a conditional filter to any BM25 search query using the `where` API, which will filter the outputs but not impact the ranking from keyword scoring.\n\nThe below example searches for objects containing the keyword\u00a0`food`\u00a0in any field and which have the\u00a0`round`\u00a0property of\u00a0`Double Jeopardy!`, ranks them using BM25, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\"\n },\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```\n\nIn this example, the query will filter the results where the `round` property equals \"Double Jeopardy!\" and then rank them based on the keyword scoring algorithm with the query \"food\".\n\nA Natural Language Command for this example could be: \"Show me Jeopardy Questions about food in the Double Jeopardy round, show me the question, answer and Bm25 score.\"", "apiRefPath": "get-bm25-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}", "schemaPath": "outdoorgear.json", "modelOutput": "{\n Get {\n OutdoorGear(\n bm25: {\n query: \"hiking\"\n },\n where: {\n path: [\"weight\"],\n operator: LessThan,\n valueInt: 1000\n }\n ) {\n gearName\n description\n isWaterproof\n supplier {\n ... on Supplier {\n supplierName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the startups with a BM25 scoring of the query 'technology' where the funding is greater than 1,000,000, and show the name, product, bootstrapping status, and founder's name, biography, and successful startups.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Startup(\n bm25: {\n query: \"technology\"\n },\n where: {\n path: [\"funding\"],\n operator: GreaterThan,\n valueNumber: 1000000\n }\n ) {\n name\n product\n isBootstrapped\n founders {\n ... on Entrepreneur {\n name\n biography\n successfulStartups\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the startups with a BM25 scoring of the query 'technology' where the funding is greater than 1,000,000, and show the name, product, bootstrapping status, and founder's name, biography, and successful startups.\n```", "apiRef": "Query API: Combining BM25 and the Where Filter\n\nPlease note: This is a compositional API, combining the `where` filter with `bm25`.\nAdd a conditional `where` to BM25 search.\n\nYou can add a conditional filter to any BM25 search query using the `where` API, which will filter the outputs but not impact the ranking from keyword scoring.\n\nThe below example searches for objects containing the keyword\u00a0`food`\u00a0in any field and which have the\u00a0`round`\u00a0property of\u00a0`Double Jeopardy!`, ranks them using BM25, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\"\n },\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```\n\nIn this example, the query will filter the results where the `round` property equals \"Double Jeopardy!\" and then rank them based on the keyword scoring algorithm with the query \"food\".\n\nA Natural Language Command for this example could be: \"Show me Jeopardy Questions about food in the Double Jeopardy round, show me the question, answer and Bm25 score.\"", "apiRefPath": "get-bm25-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}", "schemaPath": "startups.json", "modelOutput": "{\n Get {\n Startup(\n bm25: {\n query: \"technology\"\n },\n where: {\n path: [\"funding\"],\n operator: GreaterThan,\n valueNumber: 1000000\n }\n ) {\n name\n product\n isBootstrapped\n founders {\n ... on Entrepreneur {\n name\n biography\n successfulStartups\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the games with a BM25 score of the query 'action' where the rating is greater than 8, and show the title, genre, multiplayer status, and developer's name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Game(\n bm25: {\n query: \"action\"\n },\n where: {\n path: [\"rating\"],\n operator: GreaterThan,\n valueInt: 8\n }\n ) {\n title\n genre\n isMultiplayer\n developedBy {\n ... on Developer {\n name\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the games with a BM25 score of the query 'action' where the rating is greater than 8, and show the title, genre, multiplayer status, and developer's name.\n```", "apiRef": "Query API: Combining BM25 and the Where Filter\n\nPlease note: This is a compositional API, combining the `where` filter with `bm25`.\nAdd a conditional `where` to BM25 search.\n\nYou can add a conditional filter to any BM25 search query using the `where` API, which will filter the outputs but not impact the ranking from keyword scoring.\n\nThe below example searches for objects containing the keyword\u00a0`food`\u00a0in any field and which have the\u00a0`round`\u00a0property of\u00a0`Double Jeopardy!`, ranks them using BM25, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\"\n },\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```\n\nIn this example, the query will filter the results where the `round` property equals \"Double Jeopardy!\" and then rank them based on the keyword scoring algorithm with the query \"food\".\n\nA Natural Language Command for this example could be: \"Show me Jeopardy Questions about food in the Double Jeopardy round, show me the question, answer and Bm25 score.\"", "apiRefPath": "get-bm25-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}", "schemaPath": "videogame.json", "modelOutput": "{\n Get {\n Game(\n bm25: {\n query: \"action\"\n },\n where: {\n path: [\"rating\"],\n operator: GreaterThan,\n valueInt: 8\n }\n ) {\n title\n genre\n isMultiplayer\n developedBy {\n ... on Developer {\n name\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}\n\n COMMAND:\n ```text\nGet me the books with BM25 scoring of the query 'science fiction' where the pageCount is less than 100, and show the title, summary, availability, and author's name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Book(\n bm25: {\n query: \"science fiction\"\n },\n where: {\n path: [\"pageCount\"],\n operator: LessThan,\n valueInt: 100\n }\n ) {\n title\n summary\n isAvailable\n author {\n ... on Author {\n name\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the books with BM25 scoring of the query 'science fiction' where the pageCount is less than 100, and show the title, summary, availability, and author's name.\n```", "apiRef": "Query API: Combining BM25 and the Where Filter\n\nPlease note: This is a compositional API, combining the `where` filter with `bm25`.\nAdd a conditional `where` to BM25 search.\n\nYou can add a conditional filter to any BM25 search query using the `where` API, which will filter the outputs but not impact the ranking from keyword scoring.\n\nThe below example searches for objects containing the keyword\u00a0`food`\u00a0in any field and which have the\u00a0`round`\u00a0property of\u00a0`Double Jeopardy!`, ranks them using BM25, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\"\n },\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```\n\nIn this example, the query will filter the results where the `round` property equals \"Double Jeopardy!\" and then rank them based on the keyword scoring algorithm with the query \"food\".\n\nA Natural Language Command for this example could be: \"Show me Jeopardy Questions about food in the Double Jeopardy round, show me the question, answer and Bm25 score.\"", "apiRefPath": "get-bm25-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}", "schemaPath": "books.json", "modelOutput": "{\n Get {\n Book(\n bm25: {\n query: \"science fiction\"\n },\n where: {\n path: [\"pageCount\"],\n operator: LessThan,\n valueInt: 100\n }\n ) {\n title\n summary\n isAvailable\n author {\n ... on Author {\n name\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the craft beers with a BM25 scoring of the query 'IPA' where the alcohol content is greater than 6.0, and show the beer name, tasting notes, seasonal availability, and brewery name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n CraftBeer(\n bm25: {\n query: \"IPA\"\n },\n where: {\n path: [\"alcoholContent\"],\n operator: GreaterThan,\n valueNumber: 6.0\n }\n ) {\n beerName\n tastingNotes\n isSeasonal\n brewery {\n ... on Brewery {\n breweryName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the craft beers with a BM25 scoring of the query 'IPA' where the alcohol content is greater than 6.0, and show the beer name, tasting notes, seasonal availability, and brewery name.\n```", "apiRef": "Query API: Combining BM25 and the Where Filter\n\nPlease note: This is a compositional API, combining the `where` filter with `bm25`.\nAdd a conditional `where` to BM25 search.\n\nYou can add a conditional filter to any BM25 search query using the `where` API, which will filter the outputs but not impact the ranking from keyword scoring.\n\nThe below example searches for objects containing the keyword\u00a0`food`\u00a0in any field and which have the\u00a0`round`\u00a0property of\u00a0`Double Jeopardy!`, ranks them using BM25, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\"\n },\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```\n\nIn this example, the query will filter the results where the `round` property equals \"Double Jeopardy!\" and then rank them based on the keyword scoring algorithm with the query \"food\".\n\nA Natural Language Command for this example could be: \"Show me Jeopardy Questions about food in the Double Jeopardy round, show me the question, answer and Bm25 score.\"", "apiRefPath": "get-bm25-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}", "schemaPath": "craftbeer.json", "modelOutput": "{\n Get {\n CraftBeer(\n bm25: {\n query: \"IPA\"\n },\n where: {\n path: [\"alcoholContent\"],\n operator: GreaterThan,\n valueNumber: 6.0\n }\n ) {\n beerName\n tastingNotes\n isSeasonal\n brewery {\n ... on Brewery {\n breweryName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 10 historical events related to 'World War II', and show the event name, description, year, significant impact, and the involved countries' names and populations.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n HistoricalEvent(\n hybrid: {\n query: \"World War II\"\n },\n limit: 10\n ) {\n eventName\n description\n year\n hadSignificantImpact\n involvedCountries {\n ... on Country {\n countryName\n population\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 10 historical events related to 'World War II', and show the event name, description, year, significant impact, and the involved countries' names and populations.\n```", "apiRef": "Limit the results of Hybrid Search\n\nYou can limit the number of results returned by a\u00a0`hybrid`\u00a0search,\n\n- to a fixed number, using the\u00a0`limit: `\u00a0operator\n- to the first N \"drops\" in\u00a0`score`, using the\u00a0`autocut`\u00a0operator\n\n`autocut`\u00a0can be combined with\u00a0`limit: N`, which would limit autocut's input to the first\u00a0`N`\u00a0objects.\n\nLimiting the number of results\n\nUse the\u00a0`limit`\u00a0argument to specify the maximum number of results that should be returned:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n hybrid: {\n query: \"safety\"\n },\n limit: 3\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-hybrid-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}", "schemaPath": "historicalevent.json", "modelOutput": "{\n Get {\n HistoricalEvent(\n bm25: {\n query: \"World War II\"\n },\n limit: 10\n ) {\n eventName\n description\n year\n hadSignificantImpact\n involvedCountries {\n ... on Country {\n countryName\n population\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 10 instruments with a hybrid search of 'guitar', and show the name, description, year introduced, whether it is a string instrument, and the name, genre, and years active of the musicians who play it.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Instrument(\n hybrid: {\n query: \"guitar\"\n },\n limit: 10\n ) {\n name\n description\n yearIntroduced\n isString\n playedBy {\n ... on Musician {\n name\n genre\n yearsActive\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 10 instruments with a hybrid search of 'guitar', and show the name, description, year introduced, whether it is a string instrument, and the name, genre, and years active of the musicians who play it.\n```", "apiRef": "Limit the results of Hybrid Search\n\nYou can limit the number of results returned by a\u00a0`hybrid`\u00a0search,\n\n- to a fixed number, using the\u00a0`limit: `\u00a0operator\n- to the first N \"drops\" in\u00a0`score`, using the\u00a0`autocut`\u00a0operator\n\n`autocut`\u00a0can be combined with\u00a0`limit: N`, which would limit autocut's input to the first\u00a0`N`\u00a0objects.\n\nLimiting the number of results\n\nUse the\u00a0`limit`\u00a0argument to specify the maximum number of results that should be returned:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n hybrid: {\n query: \"safety\"\n },\n limit: 3\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-hybrid-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}", "schemaPath": "musicalinstrument.json", "modelOutput": "{\n Get {\n Instrument(\n hybrid: {\n query: \"guitar\"\n },\n limit: 10\n ) {\n name\n description\n yearIntroduced\n isString\n playedBy {\n ... on Musician {\n name\n genre\n yearsActive\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 10 weather stations with a hybrid search of 'temperature', and show the location, equipment, altitude, activity status, and the name and years of experience of the meteorologist managing each station.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n WeatherStation(\n hybrid: {\n query: \"temperature\"\n },\n limit: 10\n ) {\n location\n equipment\n altitude\n isActive\n managedBy {\n ... on Meteorologist {\n name\n yearsExperience\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 10 weather stations with a hybrid search of 'temperature', and show the location, equipment, altitude, activity status, and the name and years of experience of the meteorologist managing each station.\n```", "apiRef": "Limit the results of Hybrid Search\n\nYou can limit the number of results returned by a\u00a0`hybrid`\u00a0search,\n\n- to a fixed number, using the\u00a0`limit: `\u00a0operator\n- to the first N \"drops\" in\u00a0`score`, using the\u00a0`autocut`\u00a0operator\n\n`autocut`\u00a0can be combined with\u00a0`limit: N`, which would limit autocut's input to the first\u00a0`N`\u00a0objects.\n\nLimiting the number of results\n\nUse the\u00a0`limit`\u00a0argument to specify the maximum number of results that should be returned:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n hybrid: {\n query: \"safety\"\n },\n limit: 3\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-hybrid-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}", "schemaPath": "weatherstation.json", "modelOutput": "{\n Get {\n WeatherStation(\n hybrid: {\n query: \"temperature\"\n },\n limit: 10\n ) {\n location\n equipment\n altitude\n isActive\n managedBy {\n ... on Meteorologist {\n name\n yearsExperience\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 10 AI models with a hybrid search of 'image classification', and show the model name, application, accuracy, whether it is supervised, and the algorithm's name, description, and year developed.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n AIModel(\n hybrid: {\n query: \"image classification\"\n },\n limit: 10\n ) {\n modelName\n application\n accuracy\n isSupervised\n basedOn {\n ... on Algorithm {\n name\n description\n yearDeveloped\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 10 AI models with a hybrid search of 'image classification', and show the model name, application, accuracy, whether it is supervised, and the algorithm's name, description, and year developed.\n```", "apiRef": "Limit the results of Hybrid Search\n\nYou can limit the number of results returned by a\u00a0`hybrid`\u00a0search,\n\n- to a fixed number, using the\u00a0`limit: `\u00a0operator\n- to the first N \"drops\" in\u00a0`score`, using the\u00a0`autocut`\u00a0operator\n\n`autocut`\u00a0can be combined with\u00a0`limit: N`, which would limit autocut's input to the first\u00a0`N`\u00a0objects.\n\nLimiting the number of results\n\nUse the\u00a0`limit`\u00a0argument to specify the maximum number of results that should be returned:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n hybrid: {\n query: \"safety\"\n },\n limit: 3\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-hybrid-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}", "schemaPath": "AIModels.json", "modelOutput": "{\n Get {\n AIModel(\n hybrid: {\n query: \"image classification\"\n },\n limit: 10\n ) {\n modelName\n application\n accuracy\n isSupervised\n basedOn {\n ... on Algorithm {\n name\n description\n yearDeveloped\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 10 outdoor gears with a hybrid search of 'backpack', and show the gear name, description, weight, waterproof status, and supplier's name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n OutdoorGear(\n hybrid: {\n query: \"backpack\"\n },\n limit: 10\n ) {\n gearName\n description\n weight\n isWaterproof\n supplier {\n ... on Supplier {\n supplierName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 10 outdoor gears with a hybrid search of 'backpack', and show the gear name, description, weight, waterproof status, and supplier's name.\n```", "apiRef": "Limit the results of Hybrid Search\n\nYou can limit the number of results returned by a\u00a0`hybrid`\u00a0search,\n\n- to a fixed number, using the\u00a0`limit: `\u00a0operator\n- to the first N \"drops\" in\u00a0`score`, using the\u00a0`autocut`\u00a0operator\n\n`autocut`\u00a0can be combined with\u00a0`limit: N`, which would limit autocut's input to the first\u00a0`N`\u00a0objects.\n\nLimiting the number of results\n\nUse the\u00a0`limit`\u00a0argument to specify the maximum number of results that should be returned:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n hybrid: {\n query: \"safety\"\n },\n limit: 3\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-hybrid-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}", "schemaPath": "outdoorgear.json", "modelOutput": "{\n Get {\n OutdoorGear(\n hybrid: {\n query: \"backpack\"\n },\n limit: 10\n ) {\n gearName\n description\n weight\n isWaterproof\n supplier {\n ... on Supplier {\n supplierName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 10 startups related to technology. Show me their name, product, funding, whether they are bootstrapped, and information about their founders including their name, biography, and successful startups.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Startup(\n hybrid: {\n query: \"technology\"\n },\n limit: 10\n ) {\n name\n product\n funding\n isBootstrapped\n founders {\n ... on Entrepreneur {\n name\n biography\n successfulStartups\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 10 startups related to technology. Show me their name, product, funding, whether they are bootstrapped, and information about their founders including their name, biography, and successful startups.\n```", "apiRef": "Limit the results of Hybrid Search\n\nYou can limit the number of results returned by a\u00a0`hybrid`\u00a0search,\n\n- to a fixed number, using the\u00a0`limit: `\u00a0operator\n- to the first N \"drops\" in\u00a0`score`, using the\u00a0`autocut`\u00a0operator\n\n`autocut`\u00a0can be combined with\u00a0`limit: N`, which would limit autocut's input to the first\u00a0`N`\u00a0objects.\n\nLimiting the number of results\n\nUse the\u00a0`limit`\u00a0argument to specify the maximum number of results that should be returned:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n hybrid: {\n query: \"safety\"\n },\n limit: 3\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-hybrid-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}", "schemaPath": "startups.json", "modelOutput": "{\n Get {\n Startup(\n hybrid: {\n query: \"technology\"\n },\n limit: 10\n ) {\n name\n product\n funding\n isBootstrapped\n founders {\n ... on Entrepreneur {\n name\n biography\n successfulStartups\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 10 games with a hybrid search of 'action adventure', and show the title, genre, rating, multiplayer availability, and developer's name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Game(\n hybrid: {\n query: \"action adventure\"\n },\n limit: 10\n ) {\n title\n genre\n rating\n isMultiplayer\n developedBy {\n ... on Developer {\n name\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 10 games with a hybrid search of 'action adventure', and show the title, genre, rating, multiplayer availability, and developer's name.\n```", "apiRef": "Limit the results of Hybrid Search\n\nYou can limit the number of results returned by a\u00a0`hybrid`\u00a0search,\n\n- to a fixed number, using the\u00a0`limit: `\u00a0operator\n- to the first N \"drops\" in\u00a0`score`, using the\u00a0`autocut`\u00a0operator\n\n`autocut`\u00a0can be combined with\u00a0`limit: N`, which would limit autocut's input to the first\u00a0`N`\u00a0objects.\n\nLimiting the number of results\n\nUse the\u00a0`limit`\u00a0argument to specify the maximum number of results that should be returned:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n hybrid: {\n query: \"safety\"\n },\n limit: 3\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-hybrid-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}", "schemaPath": "videogame.json", "modelOutput": "{\n Get {\n Game(\n hybrid: {\n query: \"action adventure\"\n },\n limit: 10\n ) {\n title\n genre\n rating\n isMultiplayer\n developedBy {\n ... on Developer {\n name\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 5 books with a hybrid search of 'science fiction', and show the title, summary, availability, and author's name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Book(\n hybrid: {\n query: \"science fiction\"\n },\n limit: 5\n ) {\n title\n summary\n isAvailable\n author {\n ... on Author {\n name\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 5 books with a hybrid search of 'science fiction', and show the title, summary, availability, and author's name.\n```", "apiRef": "Limit the results of Hybrid Search\n\nYou can limit the number of results returned by a\u00a0`hybrid`\u00a0search,\n\n- to a fixed number, using the\u00a0`limit: `\u00a0operator\n- to the first N \"drops\" in\u00a0`score`, using the\u00a0`autocut`\u00a0operator\n\n`autocut`\u00a0can be combined with\u00a0`limit: N`, which would limit autocut's input to the first\u00a0`N`\u00a0objects.\n\nLimiting the number of results\n\nUse the\u00a0`limit`\u00a0argument to specify the maximum number of results that should be returned:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n hybrid: {\n query: \"safety\"\n },\n limit: 3\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-hybrid-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}", "schemaPath": "books.json", "modelOutput": "{\n Get {\n Book(\n hybrid: {\n query: \"science fiction\"\n },\n limit: 5\n ) {\n title\n summary\n isAvailable\n author {\n ... on Author {\n name\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 10 craft beers with a hybrid search of 'IPA', and show the beer name, tasting notes, alcohol content, seasonal availability, brewery name, and founded year.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n CraftBeer(\n hybrid: {\n query: \"IPA\"\n },\n limit: 10\n ) {\n beerName\n tastingNotes\n alcoholContent\n isSeasonal\n brewery {\n ... on Brewery {\n breweryName\n foundedYear\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 10 craft beers with a hybrid search of 'IPA', and show the beer name, tasting notes, alcohol content, seasonal availability, brewery name, and founded year.\n```", "apiRef": "Limit the results of Hybrid Search\n\nYou can limit the number of results returned by a\u00a0`hybrid`\u00a0search,\n\n- to a fixed number, using the\u00a0`limit: `\u00a0operator\n- to the first N \"drops\" in\u00a0`score`, using the\u00a0`autocut`\u00a0operator\n\n`autocut`\u00a0can be combined with\u00a0`limit: N`, which would limit autocut's input to the first\u00a0`N`\u00a0objects.\n\nLimiting the number of results\n\nUse the\u00a0`limit`\u00a0argument to specify the maximum number of results that should be returned:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n hybrid: {\n query: \"safety\"\n },\n limit: 3\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-hybrid-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}", "schemaPath": "craftbeer.json", "modelOutput": "{\n Get {\n CraftBeer(\n hybrid: {\n query: \"IPA\"\n },\n limit: 10\n ) {\n beerName\n tastingNotes\n alcoholContent\n isSeasonal\n brewery {\n ... on Brewery {\n breweryName\n foundedYear\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}\n\n COMMAND:\n ```text\nShow me how many Historical Events have a year greater than 1800.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n HistoricalEvent(where: {\n path: [\"year\"],\n operator: GreaterThan,\n valueInt: 1800\n }) {\n meta {\n count\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me how many Historical Events have a year greater than 1800.\n```", "apiRef": "Add a conditional (where) filter\nYou can add a conditional filter to any aggregate search query, which will filter the results set.\n\nThe below example searches for objects where the round property equals Double Jeopardy! and returns the object count.\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion(where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Final Jeopardy!\"\n }) {\n meta {\n count\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}", "schemaPath": "historicalevent.json", "modelOutput": "{\n Aggregate {\n HistoricalEvent(\n where: {\n path: [\"year\"],\n operator: GreaterThan,\n valueInt: 1800\n }\n ){\n meta {\n count\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}\n\n COMMAND:\n ```text\nShow me how many AI models have an accuracy greater than 0.8.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n AIModel(where: {\n path: [\"accuracy\"],\n operator: GreaterThan,\n valueNumber: 0.8\n }) {\n meta {\n count\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me how many AI models have an accuracy greater than 0.8.\n```", "apiRef": "Add a conditional (where) filter\nYou can add a conditional filter to any aggregate search query, which will filter the results set.\n\nThe below example searches for objects where the round property equals Double Jeopardy! and returns the object count.\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion(where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Final Jeopardy!\"\n }) {\n meta {\n count\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}", "schemaPath": "AIModels.json", "modelOutput": "{\n Aggregate {\n AIModel(where: {\n path: [\"accuracy\"],\n operator: GreaterThan,\n valueNumber: 0.8\n }) {\n meta {\n count\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}\n\n COMMAND:\n ```text\nShow me how many OutdoorGear items have a weight greater than 500.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n OutdoorGear(where: {\n path: [\"weight\"],\n operator: GreaterThan,\n valueNumber: 500\n }) {\n meta {\n count\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me how many OutdoorGear items have a weight greater than 500.\n```", "apiRef": "Add a conditional (where) filter\nYou can add a conditional filter to any aggregate search query, which will filter the results set.\n\nThe below example searches for objects where the round property equals Double Jeopardy! and returns the object count.\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion(where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Final Jeopardy!\"\n }) {\n meta {\n count\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}", "schemaPath": "outdoorgear.json", "modelOutput": "{\n Aggregate {\n OutdoorGear(where: {\n path: [\"weight\"],\n operator: GreaterThan,\n valueNumber: 500\n }) {\n meta {\n count\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}\n\n COMMAND:\n ```text\nPlease retrieve 10 instruments and generate a description for each instrument. For each instrument, please provide some information about a musician who plays it, including their name, genre, and years active in music.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Instrument (\n limit: 10\n ) {\n name\n description\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Here is a description of the instrument {name}: {description}.\n Please provide some information about a musician who plays this instrument, including their name, genre, and years active in music.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease retrieve 10 instruments and generate a description for each instrument. For each instrument, please provide some information about a musician who plays it, including their name, genre, and years active in music.\n```", "apiRef": "Single prompt\n\nA single prompt generative search returns a Large Language Model generated response for each object in the query results. For single prompt generative searches, you must specify which object properties to use in the prompt.\n\nIn the below example, the query:\n\nRetrieves two JeopardyQuestion objects related to World history,\nPrepares a prompt for each object, based on the prompt \"Convert the following into a question for twitter. Include emojis for fun, but do not include the answer: {question}.\", where {question} is an object property, and\nRetrieves a generated text for each object (2 total), and\nReturns the generated text as a part of each object, along with the question property.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"World history\"]\n },\n limit: 2\n ) {\n question\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Convert the following into a question for twitter. Include emojis for fun, but do not include the answer: {question}.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n```\n\nIn the below example, the query:\n\nRetrieves two JeopardyQuestion objects related to World history,\nPrepares a prompt for each object, based on the prompt \"Convert this quiz question: {question} and answer: {answer} into a trivia tweet. where {question} and {answer} are object properties, and\nRetrieves a generated text for each object (2 total), and\nReturns the generated text as a part of each object.\nNote that the question and answer properties are not retrieved in the query, but are used in the prompt.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"World history\"]\n },\n limit: 2\n ) {\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Convert this quiz question: {question} and answer: {answer} into a trivia tweet.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-single-prompt.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}", "schemaPath": "musicalinstrument.json", "modelOutput": "{\n Get {\n Instrument (\n limit: 10\n ) {\n name\n description\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Here is an {name} {description}.\n Please describe the sound it produces.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n playedBy {\n ... on Musician {\n name\n genre\n yearsActive\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}\n\n COMMAND:\n ```text\nPlease retrieve 10 outdoor gear items and generate a description for each item. For each item, please explain why someone looking for outdoor gear would find it useful.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n OutdoorGear (\n limit: 10\n ) {\n gearName\n description\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Here is a description of the gear {gearName}: {description}.\n Please explain why someone looking for outdoor gear would find this gear useful.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease retrieve 10 outdoor gear items and generate a description for each item. For each item, please explain why someone looking for outdoor gear would find it useful.\n```", "apiRef": "Single prompt\n\nA single prompt generative search returns a Large Language Model generated response for each object in the query results. For single prompt generative searches, you must specify which object properties to use in the prompt.\n\nIn the below example, the query:\n\nRetrieves two JeopardyQuestion objects related to World history,\nPrepares a prompt for each object, based on the prompt \"Convert the following into a question for twitter. Include emojis for fun, but do not include the answer: {question}.\", where {question} is an object property, and\nRetrieves a generated text for each object (2 total), and\nReturns the generated text as a part of each object, along with the question property.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"World history\"]\n },\n limit: 2\n ) {\n question\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Convert the following into a question for twitter. Include emojis for fun, but do not include the answer: {question}.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n```\n\nIn the below example, the query:\n\nRetrieves two JeopardyQuestion objects related to World history,\nPrepares a prompt for each object, based on the prompt \"Convert this quiz question: {question} and answer: {answer} into a trivia tweet. where {question} and {answer} are object properties, and\nRetrieves a generated text for each object (2 total), and\nReturns the generated text as a part of each object.\nNote that the question and answer properties are not retrieved in the query, but are used in the prompt.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"World history\"]\n },\n limit: 2\n ) {\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Convert this quiz question: {question} and answer: {answer} into a trivia tweet.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-single-prompt.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}", "schemaPath": "outdoorgear.json", "modelOutput": "{\n Get {\n OutdoorGear (\n limit: 10\n ) {\n gearName\n description\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Here is an outdoor gear item called {gearName}.\n Please explain why someone looking for outdoor gear would find it useful.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}\n\n COMMAND:\n ```text\nPlease retrieve 10 books and generate a response for each book using a Large Language Model. For each book, the prompt should be \"Here is a summary of the book {title}: {summary}. Please explain why someone looking for a book about robot police would like this book.\"\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Book (\n limit: 10\n ) {\n title\n summary\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Here is a summary of the book {title}: {summary}.\n Please explain why someone looking for a book about robot police would like this book.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease retrieve 10 books and generate a response for each book using a Large Language Model. For each book, the prompt should be \"Here is a summary of the book {title}: {summary}. Please explain why someone looking for a book about robot police would like this book.\"\n```", "apiRef": "Single prompt\n\nA single prompt generative search returns a Large Language Model generated response for each object in the query results. For single prompt generative searches, you must specify which object properties to use in the prompt.\n\nIn the below example, the query:\n\nRetrieves two JeopardyQuestion objects related to World history,\nPrepares a prompt for each object, based on the prompt \"Convert the following into a question for twitter. Include emojis for fun, but do not include the answer: {question}.\", where {question} is an object property, and\nRetrieves a generated text for each object (2 total), and\nReturns the generated text as a part of each object, along with the question property.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"World history\"]\n },\n limit: 2\n ) {\n question\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Convert the following into a question for twitter. Include emojis for fun, but do not include the answer: {question}.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n```\n\nIn the below example, the query:\n\nRetrieves two JeopardyQuestion objects related to World history,\nPrepares a prompt for each object, based on the prompt \"Convert this quiz question: {question} and answer: {answer} into a trivia tweet. where {question} and {answer} are object properties, and\nRetrieves a generated text for each object (2 total), and\nReturns the generated text as a part of each object.\nNote that the question and answer properties are not retrieved in the query, but are used in the prompt.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"World history\"]\n },\n limit: 2\n ) {\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Convert this quiz question: {question} and answer: {answer} into a trivia tweet.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-single-prompt.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}", "schemaPath": "books.json", "modelOutput": "{\n Get {\n Book (\n limit: 10\n ) {\n title\n summary\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Here is a summary of the book {title}: {summary}.\n Please explain why someone looking for a book about robot police would like this book.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}\n\n COMMAND:\n ```text\nGet me the historical events related to 'World War II' using rankedFusion, and show the event name, description, year, significant impact, and the names of the involved countries along with their populations.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n HistoricalEvent(\n hybrid: {\n query: \"World War II\",\n fusionType: rankedFusion\n },\n limit: 10\n ) {\n eventName\n description\n year\n hadSignificantImpact\n involvedCountries {\n ... on Country {\n countryName\n population\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the historical events related to 'World War II' using rankedFusion, and show the event name, description, year, significant impact, and the names of the involved countries along with their populations.\n```", "apiRef": "Fusion (ranking) method in Hybrid Search\n\nYou can select how the BM25 and vector search results are combined to determine the ranking using the\u00a0`fusionType`\u00a0argument.\n\nThe default is\u00a0`rankedFusion`, which adds inverted ranks of the BM25 and vector search methods. Alternatively, you can use\u00a0`relativeScoreFusion`\u00a0which adds normalized (between 0-1) scores of the BM25 and vector search methods.\n\nThe following example specifies the fusion type of\u00a0`relativeScoreFusion`.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n fusionType: relativeScoreFusion\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-fusionType.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}", "schemaPath": "historicalevent.json", "modelOutput": "{\n Get {\n HistoricalEvent(\n hybrid: {\n query: \"World War II\",\n fusionType: rankedFusion\n },\n limit: 3\n ) {\n eventName\n description\n year\n hadSignificantImpact\n involvedCountries {\n ... on Country {\n countryName\n population\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}\n\n COMMAND:\n ```text\nGet me the instruments with a hybrid search of 'piano' using relativeScoreFusion, and show the name, description, year introduced, whether it is a string instrument, and the name, genre, and years active of the musicians who play it.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Instrument(\n hybrid: {\n query: \"piano\",\n fusionType: relativeScoreFusion\n },\n limit: 3\n ) {\n name\n description\n yearIntroduced\n isString\n playedBy {\n ... on Musician {\n name\n genre\n yearsActive\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the instruments with a hybrid search of 'piano' using relativeScoreFusion, and show the name, description, year introduced, whether it is a string instrument, and the name, genre, and years active of the musicians who play it.\n```", "apiRef": "Fusion (ranking) method in Hybrid Search\n\nYou can select how the BM25 and vector search results are combined to determine the ranking using the\u00a0`fusionType`\u00a0argument.\n\nThe default is\u00a0`rankedFusion`, which adds inverted ranks of the BM25 and vector search methods. Alternatively, you can use\u00a0`relativeScoreFusion`\u00a0which adds normalized (between 0-1) scores of the BM25 and vector search methods.\n\nThe following example specifies the fusion type of\u00a0`relativeScoreFusion`.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n fusionType: relativeScoreFusion\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-fusionType.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}", "schemaPath": "musicalinstrument.json", "modelOutput": "{\n Get {\n Instrument(\n hybrid: {\n query: \"piano\",\n fusionType: relativeScoreFusion\n },\n limit: 5\n ) {\n name\n description\n yearIntroduced\n isString\n playedBy {\n ... on Musician {\n name\n genre\n yearsActive\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}\n\n COMMAND:\n ```text\nGet me the weather stations in New York using rankedFusion, and show the location, equipment, altitude, activity status, and the name and years of experience of the meteorologist managing each station.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n WeatherStation(\n hybrid: {\n query: \"New York\",\n fusionType: rankedFusion\n },\n limit: 3\n ) {\n location\n equipment\n altitude\n isActive\n managedBy {\n ... on Meteorologist {\n name\n yearsExperience\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the weather stations in New York using rankedFusion, and show the location, equipment, altitude, activity status, and the name and years of experience of the meteorologist managing each station.\n```", "apiRef": "Fusion (ranking) method in Hybrid Search\n\nYou can select how the BM25 and vector search results are combined to determine the ranking using the\u00a0`fusionType`\u00a0argument.\n\nThe default is\u00a0`rankedFusion`, which adds inverted ranks of the BM25 and vector search methods. Alternatively, you can use\u00a0`relativeScoreFusion`\u00a0which adds normalized (between 0-1) scores of the BM25 and vector search methods.\n\nThe following example specifies the fusion type of\u00a0`relativeScoreFusion`.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n fusionType: relativeScoreFusion\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-fusionType.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}", "schemaPath": "weatherstation.json", "modelOutput": "{\n Get {\n WeatherStation(\n bm25: {\n query: \"New York\",\n properties: [\"location\"]\n },\n autocut: 1\n ) {\n location\n equipment\n altitude\n isActive\n managedBy {\n ... on Meteorologist {\n name\n yearsExperience\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}\n\n COMMAND:\n ```text\nGet me the AI models with a hybrid search of 'image classification' using rankedFusion, and show the model name, application, accuracy, whether it is supervised, and the algorithm's name, description, and year developed.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n AIModel(\n hybrid: {\n query: \"image classification\",\n fusionType: rankedFusion\n },\n limit: 10\n ) {\n modelName\n application\n accuracy\n isSupervised\n basedOn {\n ... on Algorithm {\n name\n description\n yearDeveloped\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the AI models with a hybrid search of 'image classification' using rankedFusion, and show the model name, application, accuracy, whether it is supervised, and the algorithm's name, description, and year developed.\n```", "apiRef": "Fusion (ranking) method in Hybrid Search\n\nYou can select how the BM25 and vector search results are combined to determine the ranking using the\u00a0`fusionType`\u00a0argument.\n\nThe default is\u00a0`rankedFusion`, which adds inverted ranks of the BM25 and vector search methods. Alternatively, you can use\u00a0`relativeScoreFusion`\u00a0which adds normalized (between 0-1) scores of the BM25 and vector search methods.\n\nThe following example specifies the fusion type of\u00a0`relativeScoreFusion`.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n fusionType: relativeScoreFusion\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-fusionType.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}", "schemaPath": "AIModels.json", "modelOutput": "{\n Get {\n AIModel(\n hybrid: {\n query: \"image classification\",\n fusionType: rankedFusion\n },\n limit: 5\n ) {\n modelName\n application\n accuracy\n isSupervised\n basedOn {\n ... on Algorithm {\n name\n description\n yearDeveloped\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}\n\n COMMAND:\n ```text\nGet me the outdoor gear with a hybrid search of 'hiking boots' using rankedFusion, and show the gear name, description, weight, waterproof status, and supplier's name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n OutdoorGear(\n hybrid: {\n query: \"hiking boots\",\n fusionType: rankedFusion\n },\n limit: 10\n ) {\n gearName\n description\n weight\n isWaterproof\n supplier {\n ... on Supplier {\n supplierName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the outdoor gear with a hybrid search of 'hiking boots' using rankedFusion, and show the gear name, description, weight, waterproof status, and supplier's name.\n```", "apiRef": "Fusion (ranking) method in Hybrid Search\n\nYou can select how the BM25 and vector search results are combined to determine the ranking using the\u00a0`fusionType`\u00a0argument.\n\nThe default is\u00a0`rankedFusion`, which adds inverted ranks of the BM25 and vector search methods. Alternatively, you can use\u00a0`relativeScoreFusion`\u00a0which adds normalized (between 0-1) scores of the BM25 and vector search methods.\n\nThe following example specifies the fusion type of\u00a0`relativeScoreFusion`.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n fusionType: relativeScoreFusion\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-fusionType.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}", "schemaPath": "outdoorgear.json", "modelOutput": "{\n Get {\n OutdoorGear(\n hybrid: {\n query: \"hiking boots\",\n fusionType: rankedFusion\n },\n limit: 5\n ) {\n gearName\n description\n weight\n isWaterproof\n supplier {\n ... on Supplier {\n supplierName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the startups with a hybrid search of 'technology' using rankedFusion, and show the name, product, funding, bootstrapping status, and founder's name, biography, and successful startups.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Startup(\n hybrid: {\n query: \"technology\",\n fusionType: rankedFusion\n },\n limit: 10\n ) {\n name\n product\n funding\n isBootstrapped\n founders {\n ... on Entrepreneur {\n name\n biography\n successfulStartups\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the startups with a hybrid search of 'technology' using rankedFusion, and show the name, product, funding, bootstrapping status, and founder's name, biography, and successful startups.\n```", "apiRef": "Fusion (ranking) method in Hybrid Search\n\nYou can select how the BM25 and vector search results are combined to determine the ranking using the\u00a0`fusionType`\u00a0argument.\n\nThe default is\u00a0`rankedFusion`, which adds inverted ranks of the BM25 and vector search methods. Alternatively, you can use\u00a0`relativeScoreFusion`\u00a0which adds normalized (between 0-1) scores of the BM25 and vector search methods.\n\nThe following example specifies the fusion type of\u00a0`relativeScoreFusion`.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n fusionType: relativeScoreFusion\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-fusionType.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}", "schemaPath": "startups.json", "modelOutput": "{\n Get {\n Startup(\n hybrid: {\n query: \"technology\",\n fusionType: rankedFusion\n },\n limit: 5\n ) {\n name\n product\n funding\n isBootstrapped\n founders {\n ... on Entrepreneur {\n name\n biography\n successfulStartups\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the games with a hybrid search of 'action' using rankedFusion, and show the title, genre, rating, multiplayer availability, and developer's name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Game(\n hybrid: {\n query: \"action\",\n fusionType: rankedFusion\n },\n limit: 10\n ) {\n title\n genre\n rating\n isMultiplayer\n developedBy {\n ... on Developer {\n name\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the games with a hybrid search of 'action' using rankedFusion, and show the title, genre, rating, multiplayer availability, and developer's name.\n```", "apiRef": "Fusion (ranking) method in Hybrid Search\n\nYou can select how the BM25 and vector search results are combined to determine the ranking using the\u00a0`fusionType`\u00a0argument.\n\nThe default is\u00a0`rankedFusion`, which adds inverted ranks of the BM25 and vector search methods. Alternatively, you can use\u00a0`relativeScoreFusion`\u00a0which adds normalized (between 0-1) scores of the BM25 and vector search methods.\n\nThe following example specifies the fusion type of\u00a0`relativeScoreFusion`.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n fusionType: relativeScoreFusion\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-fusionType.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}", "schemaPath": "videogame.json", "modelOutput": "{\n Get {\n Game(\n hybrid: {\n query: \"action\",\n fusionType: rankedFusion\n },\n limit: 5\n ) {\n title\n genre\n rating\n isMultiplayer\n developedBy {\n ... on Developer {\n name\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}\n\n COMMAND:\n ```text\nGet me the books with a hybrid search of 'science fiction' using relativeScoreFusion, and show the title, summary, availability, and author's name. \n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Book(\n hybrid: {\n query: \"science fiction\",\n fusionType: relativeScoreFusion\n },\n limit: 5\n ) {\n title\n summary\n isAvailable\n author {\n ... on Author {\n name\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the books with a hybrid search of 'science fiction' using relativeScoreFusion, and show the title, summary, availability, and author's name. \n```", "apiRef": "Fusion (ranking) method in Hybrid Search\n\nYou can select how the BM25 and vector search results are combined to determine the ranking using the\u00a0`fusionType`\u00a0argument.\n\nThe default is\u00a0`rankedFusion`, which adds inverted ranks of the BM25 and vector search methods. Alternatively, you can use\u00a0`relativeScoreFusion`\u00a0which adds normalized (between 0-1) scores of the BM25 and vector search methods.\n\nThe following example specifies the fusion type of\u00a0`relativeScoreFusion`.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n fusionType: relativeScoreFusion\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-fusionType.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}", "schemaPath": "books.json", "modelOutput": "{\n Get {\n Book(\n hybrid: {\n query: \"science fiction\",\n fusionType: relativeScoreFusion\n },\n limit: 5\n ) {\n title\n summary\n isAvailable\n author {\n ... on Author {\n name\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the craft beers with a hybrid search of 'IPA' using rankedFusion, and show the beer name, tasting notes, alcohol content, seasonal availability, brewery name, and founded year.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n CraftBeer(\n hybrid: {\n query: \"IPA\",\n fusionType: rankedFusion\n },\n limit: 10\n ) {\n beerName\n tastingNotes\n alcoholContent\n isSeasonal\n brewery {\n ... on Brewery {\n breweryName\n foundedYear\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the craft beers with a hybrid search of 'IPA' using rankedFusion, and show the beer name, tasting notes, alcohol content, seasonal availability, brewery name, and founded year.\n```", "apiRef": "Fusion (ranking) method in Hybrid Search\n\nYou can select how the BM25 and vector search results are combined to determine the ranking using the\u00a0`fusionType`\u00a0argument.\n\nThe default is\u00a0`rankedFusion`, which adds inverted ranks of the BM25 and vector search methods. Alternatively, you can use\u00a0`relativeScoreFusion`\u00a0which adds normalized (between 0-1) scores of the BM25 and vector search methods.\n\nThe following example specifies the fusion type of\u00a0`relativeScoreFusion`.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n fusionType: relativeScoreFusion\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-fusionType.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}", "schemaPath": "craftbeer.json", "modelOutput": "{\n Get {\n CraftBeer(\n hybrid: {\n query: \"IPA\",\n fusionType: rankedFusion\n },\n limit: 10\n ) {\n beerName\n tastingNotes\n alcoholContent\n isSeasonal\n brewery {\n ... on Brewery {\n breweryName\n foundedYear\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}\n\n COMMAND:\n ```text\nGet me the historical events semantically similar to the query 'World War II', cutting at the third steepest drop in vector distance results, and show the event name, description, year, significant impact, and the involved countries' names and populations for each event.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n HistoricalEvent(\n nearText: {\n concepts: [\"World War II\"]\n },\n autocut: 3\n ) {\n eventName\n description\n year\n hadSignificantImpact\n involvedCountries {\n ... on Country {\n countryName\n population\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the historical events semantically similar to the query 'World War II', cutting at the third steepest drop in vector distance results, and show the event name, description, year, significant impact, and the involved countries' names and populations for each event.\n```", "apiRef": "Autocut\n\nAnother way to limit the results returned by a similarity search is to use the\u00a0`autocut`\u00a0filter. Autocut takes a positive integer parameter\u00a0`N`, looks at the\u00a0distance\u00a0between each result and the query, and stops returning results after the\u00a0`N`th \"jump\" in distance. For example, if the distances for six objects returned by\u00a0`nearText`\u00a0were\u00a0`[0.1899, 0.1901, 0.191, 0.21, 0.215, 0.23]`\u00a0then\u00a0`autocut: 1`\u00a0would return the first three objects,\u00a0`autocut: 2`\u00a0would return all but the last object, and\u00a0`autocut: 3`\u00a0would return all objects.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in movies\"]\n },\n autocut: 1\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-autocut.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}", "schemaPath": "historicalevent.json", "modelOutput": "{\n Get {\n HistoricalEvent(\n nearText: {\n concepts: [\"World War II\"]\n },\n autocut: 3\n ) {\n eventName\n description\n year\n hadSignificantImpact\n involvedCountries {\n ... on Country {\n countryName\n population\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}\n\n COMMAND:\n ```text\nGet me the instruments that are semantically similar to the query 'piano', stopping at the third steepest drop in vector distance results. Show the name, description, year introduced, whether it is a string instrument, and the name, genre, and years active of the musicians who play each instrument.\n```\n\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Instrument(\n nearText: {\n concepts: [\"piano\"]\n },\n autocut: 3\n ) {\n name\n description\n yearIntroduced\n isString\n playedBy {\n ... on Musician {\n name\n genre\n yearsActive\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the instruments that are semantically similar to the query 'piano', stopping at the third steepest drop in vector distance results. Show the name, description, year introduced, whether it is a string instrument, and the name, genre, and years active of the musicians who play each instrument.\n```\n", "apiRef": "Autocut\n\nAnother way to limit the results returned by a similarity search is to use the\u00a0`autocut`\u00a0filter. Autocut takes a positive integer parameter\u00a0`N`, looks at the\u00a0distance\u00a0between each result and the query, and stops returning results after the\u00a0`N`th \"jump\" in distance. For example, if the distances for six objects returned by\u00a0`nearText`\u00a0were\u00a0`[0.1899, 0.1901, 0.191, 0.21, 0.215, 0.23]`\u00a0then\u00a0`autocut: 1`\u00a0would return the first three objects,\u00a0`autocut: 2`\u00a0would return all but the last object, and\u00a0`autocut: 3`\u00a0would return all objects.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in movies\"]\n },\n autocut: 1\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-autocut.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}", "schemaPath": "musicalinstrument.json", "modelOutput": "{\n Get {\n Instrument(\n nearText: {\n concepts: [\"piano\"]\n },\n autocut: 3\n ) {\n name\n description\n yearIntroduced\n isString\n playedBy {\n ... on Musician {\n name\n genre\n yearsActive\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}\n\n COMMAND:\n ```text\nGet me the weather stations that are semantically similar to the query 'temperature', stopping at the third steepest drop in vector distance results. Show the location, equipment, altitude, activity status, and the name and years of experience of the meteorologist managing each weather station.\n```\n\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n WeatherStation(\n nearText: {\n concepts: [\"temperature\"]\n },\n autocut: 3\n ) {\n location\n equipment\n altitude\n isActive\n managedBy {\n ... on Meteorologist {\n name\n yearsExperience\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the weather stations that are semantically similar to the query 'temperature', stopping at the third steepest drop in vector distance results. Show the location, equipment, altitude, activity status, and the name and years of experience of the meteorologist managing each weather station.\n```\n", "apiRef": "Autocut\n\nAnother way to limit the results returned by a similarity search is to use the\u00a0`autocut`\u00a0filter. Autocut takes a positive integer parameter\u00a0`N`, looks at the\u00a0distance\u00a0between each result and the query, and stops returning results after the\u00a0`N`th \"jump\" in distance. For example, if the distances for six objects returned by\u00a0`nearText`\u00a0were\u00a0`[0.1899, 0.1901, 0.191, 0.21, 0.215, 0.23]`\u00a0then\u00a0`autocut: 1`\u00a0would return the first three objects,\u00a0`autocut: 2`\u00a0would return all but the last object, and\u00a0`autocut: 3`\u00a0would return all objects.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in movies\"]\n },\n autocut: 1\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-autocut.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}", "schemaPath": "weatherstation.json", "modelOutput": "{\n Get {\n WeatherStation(\n nearText: {\n concepts: [\"temperature\"]\n },\n autocut: 3\n ) {\n location\n equipment\n altitude\n isActive\n managedBy {\n ... on Meteorologist {\n name\n yearsExperience\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}\n\n COMMAND:\n ```text\nGet me the AI models that are semantically similar to the query 'computer vision', stopping at the third steepest drop in vector distance results. Show me the model name, application, accuracy, whether it is supervised, and the name, description, and year developed of the algorithm it is based on.\n```\n\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n AIModel(\n nearText: {\n concepts: [\"computer vision\"]\n },\n autocut: 3\n ) {\n modelName\n application\n accuracy\n isSupervised\n basedOn {\n ... on Algorithm {\n name\n description\n yearDeveloped\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the AI models that are semantically similar to the query 'computer vision', stopping at the third steepest drop in vector distance results. Show me the model name, application, accuracy, whether it is supervised, and the name, description, and year developed of the algorithm it is based on.\n```\n", "apiRef": "Autocut\n\nAnother way to limit the results returned by a similarity search is to use the\u00a0`autocut`\u00a0filter. Autocut takes a positive integer parameter\u00a0`N`, looks at the\u00a0distance\u00a0between each result and the query, and stops returning results after the\u00a0`N`th \"jump\" in distance. For example, if the distances for six objects returned by\u00a0`nearText`\u00a0were\u00a0`[0.1899, 0.1901, 0.191, 0.21, 0.215, 0.23]`\u00a0then\u00a0`autocut: 1`\u00a0would return the first three objects,\u00a0`autocut: 2`\u00a0would return all but the last object, and\u00a0`autocut: 3`\u00a0would return all objects.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in movies\"]\n },\n autocut: 1\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-autocut.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}", "schemaPath": "AIModels.json", "modelOutput": "{\n Get {\n AIModel(\n nearText: {\n concepts: [\"computer vision\"]\n },\n autocut: 3\n ) {\n modelName\n application\n accuracy\n isSupervised\n basedOn {\n ... on Algorithm {\n name\n description\n yearDeveloped\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}\n\n COMMAND:\n ```text\nGet me the outdoor gear that is semantically similar to the query 'hiking', and show the gear name, description, weight, waterproof status, and supplier's name for each gear. Limit the results to the top 3 gear items based on their similarity to the query.\n```\n\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n OutdoorGear(\n nearText: {\n concepts: [\"hiking\"]\n },\n autocut: 3\n ) {\n gearName\n description\n weight\n isWaterproof\n supplier {\n ... on Supplier {\n supplierName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the outdoor gear that is semantically similar to the query 'hiking', and show the gear name, description, weight, waterproof status, and supplier's name for each gear. Limit the results to the top 3 gear items based on their similarity to the query.\n```\n", "apiRef": "Autocut\n\nAnother way to limit the results returned by a similarity search is to use the\u00a0`autocut`\u00a0filter. Autocut takes a positive integer parameter\u00a0`N`, looks at the\u00a0distance\u00a0between each result and the query, and stops returning results after the\u00a0`N`th \"jump\" in distance. For example, if the distances for six objects returned by\u00a0`nearText`\u00a0were\u00a0`[0.1899, 0.1901, 0.191, 0.21, 0.215, 0.23]`\u00a0then\u00a0`autocut: 1`\u00a0would return the first three objects,\u00a0`autocut: 2`\u00a0would return all but the last object, and\u00a0`autocut: 3`\u00a0would return all objects.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in movies\"]\n },\n autocut: 1\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-autocut.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}", "schemaPath": "outdoorgear.json", "modelOutput": "{\n Get {\n OutdoorGear(\n nearText: {\n concepts: [\"hiking\"]\n },\n autocut: 3\n ) {\n gearName\n description\n weight\n isWaterproof\n supplier {\n ... on Supplier {\n supplierName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the startups that are semantically similar to the query 'technology', stopping at the third steepest drop in vector distance results. Show me the name, product, funding, bootstrapping status, and founder's name, biography, and successful startups for each startup.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Startup(\n nearText: {\n concepts: [\"technology\"]\n },\n autocut: 3\n ) {\n name\n product\n funding\n isBootstrapped\n founders {\n ... on Entrepreneur {\n name\n biography\n successfulStartups\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the startups that are semantically similar to the query 'technology', stopping at the third steepest drop in vector distance results. Show me the name, product, funding, bootstrapping status, and founder's name, biography, and successful startups for each startup.\n```", "apiRef": "Autocut\n\nAnother way to limit the results returned by a similarity search is to use the\u00a0`autocut`\u00a0filter. Autocut takes a positive integer parameter\u00a0`N`, looks at the\u00a0distance\u00a0between each result and the query, and stops returning results after the\u00a0`N`th \"jump\" in distance. For example, if the distances for six objects returned by\u00a0`nearText`\u00a0were\u00a0`[0.1899, 0.1901, 0.191, 0.21, 0.215, 0.23]`\u00a0then\u00a0`autocut: 1`\u00a0would return the first three objects,\u00a0`autocut: 2`\u00a0would return all but the last object, and\u00a0`autocut: 3`\u00a0would return all objects.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in movies\"]\n },\n autocut: 1\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-autocut.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}", "schemaPath": "startups.json", "modelOutput": "{\n Get {\n Startup(\n nearText: {\n concepts: [\"technology\"]\n },\n autocut: 3\n ) {\n name\n product\n funding\n isBootstrapped\n founders {\n ... on Entrepreneur {\n name\n biography\n successfulStartups\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the games that are semantically similar to the query 'action', limiting the results to the top 3 jumps in distance. Show the title, genre, rating, multiplayer availability, and developer's name for each game.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Game(\n nearText: {\n concepts: [\"action\"]\n },\n autocut: 3\n ) {\n title\n genre\n rating\n isMultiplayer\n developedBy {\n ... on Developer {\n name\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the games that are semantically similar to the query 'action', limiting the results to the top 3 jumps in distance. Show the title, genre, rating, multiplayer availability, and developer's name for each game.\n```", "apiRef": "Autocut\n\nAnother way to limit the results returned by a similarity search is to use the\u00a0`autocut`\u00a0filter. Autocut takes a positive integer parameter\u00a0`N`, looks at the\u00a0distance\u00a0between each result and the query, and stops returning results after the\u00a0`N`th \"jump\" in distance. For example, if the distances for six objects returned by\u00a0`nearText`\u00a0were\u00a0`[0.1899, 0.1901, 0.191, 0.21, 0.215, 0.23]`\u00a0then\u00a0`autocut: 1`\u00a0would return the first three objects,\u00a0`autocut: 2`\u00a0would return all but the last object, and\u00a0`autocut: 3`\u00a0would return all objects.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in movies\"]\n },\n autocut: 1\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-autocut.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}", "schemaPath": "videogame.json", "modelOutput": "{\n Get {\n Game(\n nearText: {\n concepts: [\"action\"]\n },\n autocut: 3\n ) {\n title\n genre\n rating\n isMultiplayer\n developedBy {\n ... on Developer {\n name\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}\n\n COMMAND:\n ```text\nGet me the books semantically similar to the query 'science fiction', limiting the results to the second steepest drop in distance. Show the title, summary, availability, and author's name for each book.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Book(\n nearText: {\n concepts: [\"science fiction\"]\n },\n autocut: 2\n ) {\n title\n summary\n isAvailable\n author {\n ... on Author {\n name\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the books semantically similar to the query 'science fiction', limiting the results to the second steepest drop in distance. Show the title, summary, availability, and author's name for each book.\n```", "apiRef": "Autocut\n\nAnother way to limit the results returned by a similarity search is to use the\u00a0`autocut`\u00a0filter. Autocut takes a positive integer parameter\u00a0`N`, looks at the\u00a0distance\u00a0between each result and the query, and stops returning results after the\u00a0`N`th \"jump\" in distance. For example, if the distances for six objects returned by\u00a0`nearText`\u00a0were\u00a0`[0.1899, 0.1901, 0.191, 0.21, 0.215, 0.23]`\u00a0then\u00a0`autocut: 1`\u00a0would return the first three objects,\u00a0`autocut: 2`\u00a0would return all but the last object, and\u00a0`autocut: 3`\u00a0would return all objects.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in movies\"]\n },\n autocut: 1\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-autocut.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}", "schemaPath": "books.json", "modelOutput": "{\n Get {\n Book(\n nearText: {\n concepts: [\"science fiction\"]\n },\n autocut: 2\n ) {\n title\n summary\n isAvailable\n author {\n ... on Author {\n name\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the craft beers that are semantically similar to the query 'IPA', stopping after the third steepest drop in vector distance results. Show me the beer name, tasting notes, alcohol content, seasonal availability, brewery name, and the year it was founded for each beer.\n```\n\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n CraftBeer(\n nearText: {\n concepts: [\"IPA\"]\n },\n autocut: 3\n ) {\n beerName\n tastingNotes\n alcoholContent\n isSeasonal\n brewery {\n ... on Brewery {\n breweryName\n foundedYear\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the craft beers that are semantically similar to the query 'IPA', stopping after the third steepest drop in vector distance results. Show me the beer name, tasting notes, alcohol content, seasonal availability, brewery name, and the year it was founded for each beer.\n```\n", "apiRef": "Autocut\n\nAnother way to limit the results returned by a similarity search is to use the\u00a0`autocut`\u00a0filter. Autocut takes a positive integer parameter\u00a0`N`, looks at the\u00a0distance\u00a0between each result and the query, and stops returning results after the\u00a0`N`th \"jump\" in distance. For example, if the distances for six objects returned by\u00a0`nearText`\u00a0were\u00a0`[0.1899, 0.1901, 0.191, 0.21, 0.215, 0.23]`\u00a0then\u00a0`autocut: 1`\u00a0would return the first three objects,\u00a0`autocut: 2`\u00a0would return all but the last object, and\u00a0`autocut: 3`\u00a0would return all objects.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in movies\"]\n },\n autocut: 1\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-autocut.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}", "schemaPath": "craftbeer.json", "modelOutput": "{\n Get {\n CraftBeer(\n nearText: {\n concepts: [\"IPA\"]\n },\n autocut: 3\n ) {\n beerName\n tastingNotes\n alcoholContent\n isSeasonal\n brewery {\n ... on Brewery {\n breweryName\n foundedYear\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}\n\n COMMAND:\n ```text\nGet me the historical events semantically similar to the query 'World War II' where the year is greater than 1939, and show the event name, description, significant impact, and the involved countries' names and populations.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n HistoricalEvent(\n nearText: {\n concepts: [\"World War II\"]\n },\n where: {\n path: [\"year\"],\n operator: GreaterThan,\n valueInt: 1939\n }\n ) {\n eventName\n description\n hadSignificantImpact\n involvedCountries {\n ... on Country {\n countryName\n population\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the historical events semantically similar to the query 'World War II' where the year is greater than 1939, and show the event name, description, significant impact, and the involved countries' names and populations.\n```", "apiRef": "Add a conditional (`where`) filter\n\nYou can add a conditional filter to your search results using the\u00a0`where` argument.\n\nThe example below searches the\u00a0`JeopardyQuestion`\u00a0class for the top 2 objects best matching\u00a0`\"animals in movies\"`, as long as their\u00a0`round`\u00a0property is exactly\u00a0`\"Double Jeopardy!\"`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 2,\n nearText: {\n concepts: [\"animals in movies\"]\n },\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}", "schemaPath": "historicalevent.json", "modelOutput": "{\n Get {\n HistoricalEvent(\n nearText: {\n concepts: [\"World War II\"]\n },\n where: {\n path: [\"year\"],\n operator: GreaterThan,\n valueInt: 1939\n }\n ) {\n eventName\n description\n hadSignificantImpact\n involvedCountries {\n ... on Country {\n countryName\n population\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}\n\n COMMAND:\n ```text\nGet me the instruments semantically similar to the query 'piano' where the yearIntroduced is greater than 1800, and show the name, description, whether it is a string instrument, and the name and genre of the musician who plays it.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Instrument(\n nearText: {\n concepts: [\"piano\"]\n },\n where: {\n path: [\"yearIntroduced\"],\n operator: GreaterThan,\n valueInt: 1800\n }\n ) {\n name\n description\n isString\n playedBy {\n ... on Musician {\n name\n genre\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the instruments semantically similar to the query 'piano' where the yearIntroduced is greater than 1800, and show the name, description, whether it is a string instrument, and the name and genre of the musician who plays it.\n```", "apiRef": "Add a conditional (`where`) filter\n\nYou can add a conditional filter to your search results using the\u00a0`where` argument.\n\nThe example below searches the\u00a0`JeopardyQuestion`\u00a0class for the top 2 objects best matching\u00a0`\"animals in movies\"`, as long as their\u00a0`round`\u00a0property is exactly\u00a0`\"Double Jeopardy!\"`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 2,\n nearText: {\n concepts: [\"animals in movies\"]\n },\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}", "schemaPath": "musicalinstrument.json", "modelOutput": "{\n Get {\n Instrument(\n nearText: {\n concepts: [\"piano\"]\n },\n where: {\n path: [\"yearIntroduced\"],\n operator: GreaterThan,\n valueInt: 1800\n }\n ) {\n name\n description\n isString\n playedBy {\n ... on Musician {\n name\n genre\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}\n\n COMMAND:\n ```text\nGet me the weather stations that are semantically similar to the query 'temperature' where the altitude is greater than 1000, and show the location, equipment, activity status, and the name and years of experience of the meteorologist managing it.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n WeatherStation(\n nearText: {\n concepts: [\"temperature\"]\n },\n where: {\n path: [\"altitude\"],\n operator: GreaterThan,\n valueNumber: 1000\n }\n ) {\n location\n equipment\n isActive\n managedBy {\n ... on Meteorologist {\n name\n yearsExperience\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the weather stations that are semantically similar to the query 'temperature' where the altitude is greater than 1000, and show the location, equipment, activity status, and the name and years of experience of the meteorologist managing it.\n```", "apiRef": "Add a conditional (`where`) filter\n\nYou can add a conditional filter to your search results using the\u00a0`where` argument.\n\nThe example below searches the\u00a0`JeopardyQuestion`\u00a0class for the top 2 objects best matching\u00a0`\"animals in movies\"`, as long as their\u00a0`round`\u00a0property is exactly\u00a0`\"Double Jeopardy!\"`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 2,\n nearText: {\n concepts: [\"animals in movies\"]\n },\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}", "schemaPath": "weatherstation.json", "modelOutput": "{\n Get {\n WeatherStation(\n nearText: {\n concepts: [\"temperature\"]\n },\n where: {\n path: [\"altitude\"],\n operator: GreaterThan,\n valueNumber: 1000\n }\n ) {\n location\n equipment\n isActive\n managedBy {\n ... on Meteorologist {\n name\n yearsExperience\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}\n\n COMMAND:\n ```text\nGet me the AI models that are semantically similar to the query 'computer vision' and have an accuracy greater than 0.8. Show me the model name, application, accuracy, whether it is supervised, and the name and description of the algorithm it is based on.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n AIModel(\n nearText: {\n concepts: [\"computer vision\"]\n },\n where: {\n path: [\"accuracy\"],\n operator: GreaterThan,\n valueNumber: 0.8\n }\n ) {\n modelName\n application\n accuracy\n isSupervised\n basedOn {\n ... on Algorithm {\n name\n description\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the AI models that are semantically similar to the query 'computer vision' and have an accuracy greater than 0.8. Show me the model name, application, accuracy, whether it is supervised, and the name and description of the algorithm it is based on.\n```", "apiRef": "Add a conditional (`where`) filter\n\nYou can add a conditional filter to your search results using the\u00a0`where` argument.\n\nThe example below searches the\u00a0`JeopardyQuestion`\u00a0class for the top 2 objects best matching\u00a0`\"animals in movies\"`, as long as their\u00a0`round`\u00a0property is exactly\u00a0`\"Double Jeopardy!\"`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 2,\n nearText: {\n concepts: [\"animals in movies\"]\n },\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}", "schemaPath": "AIModels.json", "modelOutput": "{\n Get {\n AIModel(\n nearText: {\n concepts: [\"computer vision\"]\n },\n where: {\n path: [\"accuracy\"],\n operator: GreaterThan,\n valueNumber: 0.8\n }\n ) {\n modelName\n application\n accuracy\n isSupervised\n basedOn {\n ... on Algorithm {\n name\n description\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}\n\n COMMAND:\n ```text\nGet me the outdoor gear that is semantically similar to 'hiking' and has a weight less than 1000. Show me the gear name, description, waterproof status, and supplier's name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n OutdoorGear(\n nearText: {\n concepts: [\"hiking\"]\n },\n where: {\n path: [\"weight\"],\n operator: LessThan,\n valueNumber: 1000\n }\n ) {\n gearName\n description\n isWaterproof\n supplier {\n ... on Supplier {\n supplierName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the outdoor gear that is semantically similar to 'hiking' and has a weight less than 1000. Show me the gear name, description, waterproof status, and supplier's name.\n```", "apiRef": "Add a conditional (`where`) filter\n\nYou can add a conditional filter to your search results using the\u00a0`where` argument.\n\nThe example below searches the\u00a0`JeopardyQuestion`\u00a0class for the top 2 objects best matching\u00a0`\"animals in movies\"`, as long as their\u00a0`round`\u00a0property is exactly\u00a0`\"Double Jeopardy!\"`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 2,\n nearText: {\n concepts: [\"animals in movies\"]\n },\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}", "schemaPath": "outdoorgear.json", "modelOutput": "{\n Get {\n OutdoorGear(\n nearText: {\n concepts: [\"hiking\"]\n },\n where: {\n path: [\"weight\"],\n operator: LessThan,\n valueNumber: 1000\n }\n ) {\n gearName\n description\n isWaterproof\n supplier {\n ... on Supplier {\n supplierName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the startups that are semantically similar to the query 'technology' and have funding greater than $1,000,000. Show me the name, product, bootstrapping status, and information about the founders including their names, biographies, and successful startups.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Startup(\n nearText: {\n concepts: [\"technology\"]\n },\n where: {\n path: [\"funding\"],\n operator: GreaterThan,\n valueNumber: 1000000\n }\n ) {\n name\n product\n isBootstrapped\n founders {\n ... on Entrepreneur {\n name\n biography\n successfulStartups\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the startups that are semantically similar to the query 'technology' and have funding greater than $1,000,000. Show me the name, product, bootstrapping status, and information about the founders including their names, biographies, and successful startups.\n```", "apiRef": "Add a conditional (`where`) filter\n\nYou can add a conditional filter to your search results using the\u00a0`where` argument.\n\nThe example below searches the\u00a0`JeopardyQuestion`\u00a0class for the top 2 objects best matching\u00a0`\"animals in movies\"`, as long as their\u00a0`round`\u00a0property is exactly\u00a0`\"Double Jeopardy!\"`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 2,\n nearText: {\n concepts: [\"animals in movies\"]\n },\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}", "schemaPath": "startups.json", "modelOutput": "{\n Get {\n Startup(\n nearText: {\n concepts: [\"technology\"]\n },\n where: {\n path: [\"funding\"],\n operator: GreaterThan,\n valueNumber: 1000000\n }\n ) {\n name\n product\n isBootstrapped\n founders {\n ... on Entrepreneur {\n name\n biography\n successfulStartups\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the games semantically similar to the query 'action' where the rating is greater than 80, and show the title, genre, multiplayer availability, and developer's name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Game(\n nearText: {\n concepts: [\"action\"]\n },\n where: {\n path: [\"rating\"],\n operator: GreaterThan,\n valueInt: 80\n }\n ) {\n title\n genre\n isMultiplayer\n developedBy {\n ... on Developer {\n name\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the games semantically similar to the query 'action' where the rating is greater than 80, and show the title, genre, multiplayer availability, and developer's name.\n```", "apiRef": "Add a conditional (`where`) filter\n\nYou can add a conditional filter to your search results using the\u00a0`where` argument.\n\nThe example below searches the\u00a0`JeopardyQuestion`\u00a0class for the top 2 objects best matching\u00a0`\"animals in movies\"`, as long as their\u00a0`round`\u00a0property is exactly\u00a0`\"Double Jeopardy!\"`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 2,\n nearText: {\n concepts: [\"animals in movies\"]\n },\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}", "schemaPath": "videogame.json", "modelOutput": "{\n Get {\n Game(\n nearText: {\n concepts: [\"action\"]\n },\n where: {\n path: [\"rating\"],\n operator: GreaterThan,\n valueInt: 80\n }\n ) {\n title\n genre\n isMultiplayer\n developedBy {\n ... on Developer {\n name\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}\n\n COMMAND:\n ```text\nGet me the books semantically similar to the query 'science fiction' where the pageCount is greater than 200, and show the title, summary, availability, and author's name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Book(\n nearText: {\n concepts: [\"science fiction\"]\n },\n where: {\n path: [\"pageCount\"],\n operator: GreaterThan,\n valueInt: 200\n }\n ) {\n title\n summary\n isAvailable\n author {\n ... on Author {\n name\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the books semantically similar to the query 'science fiction' where the pageCount is greater than 200, and show the title, summary, availability, and author's name.\n```", "apiRef": "Add a conditional (`where`) filter\n\nYou can add a conditional filter to your search results using the\u00a0`where` argument.\n\nThe example below searches the\u00a0`JeopardyQuestion`\u00a0class for the top 2 objects best matching\u00a0`\"animals in movies\"`, as long as their\u00a0`round`\u00a0property is exactly\u00a0`\"Double Jeopardy!\"`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 2,\n nearText: {\n concepts: [\"animals in movies\"]\n },\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}", "schemaPath": "books.json", "modelOutput": "{\n Get {\n Book(\n nearText: {\n concepts: [\"science fiction\"]\n },\n where: {\n path: [\"pageCount\"],\n operator: GreaterThan,\n valueInt: 200\n }\n ) {\n title\n summary\n isAvailable\n author {\n ... on Author {\n name\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the craft beers that are semantically similar to the query 'IPA' and have an alcohol content greater than 6.0. Show me the beer name, tasting notes, seasonal availability, and brewery name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n CraftBeer(\n nearText: {\n concepts: [\"IPA\"]\n },\n where: {\n path: [\"alcoholContent\"],\n operator: GreaterThan,\n valueNumber: 6.0\n }\n ) {\n beerName\n tastingNotes\n isSeasonal\n brewery {\n ... on Brewery {\n breweryName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the craft beers that are semantically similar to the query 'IPA' and have an alcohol content greater than 6.0. Show me the beer name, tasting notes, seasonal availability, and brewery name.\n```", "apiRef": "Add a conditional (`where`) filter\n\nYou can add a conditional filter to your search results using the\u00a0`where` argument.\n\nThe example below searches the\u00a0`JeopardyQuestion`\u00a0class for the top 2 objects best matching\u00a0`\"animals in movies\"`, as long as their\u00a0`round`\u00a0property is exactly\u00a0`\"Double Jeopardy!\"`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 2,\n nearText: {\n concepts: [\"animals in movies\"]\n },\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}", "schemaPath": "craftbeer.json", "modelOutput": "{\n Get {\n CraftBeer(\n nearText: {\n concepts: [\"IPA\"]\n },\n where: {\n path: [\"alcoholContent\"],\n operator: GreaterThan,\n valueNumber: 6.0\n }\n ) {\n beerName\n tastingNotes\n isSeasonal\n brewery {\n ... on Brewery {\n breweryName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}\n\n COMMAND:\n ```text\nShow me the event names of historical events.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n HistoricalEvent {\n eventName\n }\n }\n}\n```", "nlcommand": "```text\nShow me the event names of historical events.\n```", "apiRef": "Simple Get to return a single property\n\n`Get`\u00a0function requirements\nTo retrieve objects from Weaviate, you must use the\u00a0`Get`\u00a0function and specify at least:\n\n- The target\u00a0`class`\u00a0to search, and\n- One or more\u00a0`properties`\u00a0to retrieve.\n\n```graphql\n{\n Get {\n JeopardyQuestion {\n question\n }\n }\n}\n```", "apiRefPath": "get-single-property.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}", "schemaPath": "historicalevent.json", "modelOutput": "{\n Get {\n HistoricalEvent {\n eventName\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}\n\n COMMAND:\n ```text\nShow me the names of instruments.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Instrument {\n name\n }\n }\n}\n```", "nlcommand": "```text\nShow me the names of instruments.\n```", "apiRef": "Simple Get to return a single property\n\n`Get`\u00a0function requirements\nTo retrieve objects from Weaviate, you must use the\u00a0`Get`\u00a0function and specify at least:\n\n- The target\u00a0`class`\u00a0to search, and\n- One or more\u00a0`properties`\u00a0to retrieve.\n\n```graphql\n{\n Get {\n JeopardyQuestion {\n question\n }\n }\n}\n```", "apiRefPath": "get-single-property.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}", "schemaPath": "musicalinstrument.json", "modelOutput": "{\n Get {\n Instrument {\n name\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}\n\n COMMAND:\n ```text\nShow me the location of weather stations.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n WeatherStation {\n location\n }\n }\n}\n```", "nlcommand": "```text\nShow me the location of weather stations.\n```", "apiRef": "Simple Get to return a single property\n\n`Get`\u00a0function requirements\nTo retrieve objects from Weaviate, you must use the\u00a0`Get`\u00a0function and specify at least:\n\n- The target\u00a0`class`\u00a0to search, and\n- One or more\u00a0`properties`\u00a0to retrieve.\n\n```graphql\n{\n Get {\n JeopardyQuestion {\n question\n }\n }\n}\n```", "apiRefPath": "get-single-property.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}", "schemaPath": "weatherstation.json", "modelOutput": "{\n Get {\n WeatherStation {\n location\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}\n\n COMMAND:\n ```text\nShow me the names of AI models.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n AIModel {\n modelName\n }\n }\n}\n```", "nlcommand": "```text\nShow me the names of AI models.\n```", "apiRef": "Simple Get to return a single property\n\n`Get`\u00a0function requirements\nTo retrieve objects from Weaviate, you must use the\u00a0`Get`\u00a0function and specify at least:\n\n- The target\u00a0`class`\u00a0to search, and\n- One or more\u00a0`properties`\u00a0to retrieve.\n\n```graphql\n{\n Get {\n JeopardyQuestion {\n question\n }\n }\n}\n```", "apiRefPath": "get-single-property.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}", "schemaPath": "AIModels.json", "modelOutput": "{\n Get {\n AIModel {\n modelName\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}\n\n COMMAND:\n ```text\nShow me the gear names of outdoor gear.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n OutdoorGear {\n gearName\n }\n }\n}\n```", "nlcommand": "```text\nShow me the gear names of outdoor gear.\n```", "apiRef": "Simple Get to return a single property\n\n`Get`\u00a0function requirements\nTo retrieve objects from Weaviate, you must use the\u00a0`Get`\u00a0function and specify at least:\n\n- The target\u00a0`class`\u00a0to search, and\n- One or more\u00a0`properties`\u00a0to retrieve.\n\n```graphql\n{\n Get {\n JeopardyQuestion {\n question\n }\n }\n}\n```", "apiRefPath": "get-single-property.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}", "schemaPath": "outdoorgear.json", "modelOutput": "{\n Get {\n OutdoorGear {\n gearName\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}\n\n COMMAND:\n ```text\nShow me the names of startups.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Startup {\n name\n }\n }\n}\n```", "nlcommand": "```text\nShow me the names of startups.\n```", "apiRef": "Simple Get to return a single property\n\n`Get`\u00a0function requirements\nTo retrieve objects from Weaviate, you must use the\u00a0`Get`\u00a0function and specify at least:\n\n- The target\u00a0`class`\u00a0to search, and\n- One or more\u00a0`properties`\u00a0to retrieve.\n\n```graphql\n{\n Get {\n JeopardyQuestion {\n question\n }\n }\n}\n```", "apiRefPath": "get-single-property.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}", "schemaPath": "startups.json", "modelOutput": "{\n Get {\n Startup {\n name\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nShow me the title of games.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Game {\n title\n }\n }\n}\n```", "nlcommand": "```text\nShow me the title of games.\n```", "apiRef": "Simple Get to return a single property\n\n`Get`\u00a0function requirements\nTo retrieve objects from Weaviate, you must use the\u00a0`Get`\u00a0function and specify at least:\n\n- The target\u00a0`class`\u00a0to search, and\n- One or more\u00a0`properties`\u00a0to retrieve.\n\n```graphql\n{\n Get {\n JeopardyQuestion {\n question\n }\n }\n}\n```", "apiRefPath": "get-single-property.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}", "schemaPath": "videogame.json", "modelOutput": "{\n Get {\n Game {\n title\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}\n\n COMMAND:\n ```text\nShow me the title of books.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Book {\n title\n }\n }\n}\n```", "nlcommand": "```text\nShow me the title of books.\n```", "apiRef": "Simple Get to return a single property\n\n`Get`\u00a0function requirements\nTo retrieve objects from Weaviate, you must use the\u00a0`Get`\u00a0function and specify at least:\n\n- The target\u00a0`class`\u00a0to search, and\n- One or more\u00a0`properties`\u00a0to retrieve.\n\n```graphql\n{\n Get {\n JeopardyQuestion {\n question\n }\n }\n}\n```", "apiRefPath": "get-single-property.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}", "schemaPath": "books.json", "modelOutput": "{\n Get {\n Book {\n title\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}\n\n COMMAND:\n ```text\nShow me the names of craft beers.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n CraftBeer {\n beerName\n }\n }\n}\n```", "nlcommand": "```text\nShow me the names of craft beers.\n```", "apiRef": "Simple Get to return a single property\n\n`Get`\u00a0function requirements\nTo retrieve objects from Weaviate, you must use the\u00a0`Get`\u00a0function and specify at least:\n\n- The target\u00a0`class`\u00a0to search, and\n- One or more\u00a0`properties`\u00a0to retrieve.\n\n```graphql\n{\n Get {\n JeopardyQuestion {\n question\n }\n }\n}\n```", "apiRefPath": "get-single-property.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}", "schemaPath": "craftbeer.json", "modelOutput": "{\n Get {\n CraftBeer {\n beerName\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}\n\n COMMAND:\n ```text\nGet me the ids of the historical event objects.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n HistoricalEvent {\n _additional {\n id\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the ids of the historical event objects.\n```", "apiRef": "Retrieve the object\u00a0`id`\n\nTo retrieve the object ID, request the\u00a0`_additional`\u00a0property and\u00a0`id`\u00a0sub-property. You can do so as shown below.\n\n```graphql\n{\n Get {\n JeopardyQuestion (limit: 1) {\n _additional {\n id\n }\n }\n }\n}\n```", "apiRefPath": "get-retrieve-object-id.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}", "schemaPath": "historicalevent.json", "modelOutput": "{\n Get {\n HistoricalEvent {\n _additional {\n id\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}\n\n COMMAND:\n ```text\nGet me the ids of the instrument objects.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Instrument {\n _additional {\n id\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the ids of the instrument objects.\n```", "apiRef": "Retrieve the object\u00a0`id`\n\nTo retrieve the object ID, request the\u00a0`_additional`\u00a0property and\u00a0`id`\u00a0sub-property. You can do so as shown below.\n\n```graphql\n{\n Get {\n JeopardyQuestion (limit: 1) {\n _additional {\n id\n }\n }\n }\n}\n```", "apiRefPath": "get-retrieve-object-id.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}", "schemaPath": "musicalinstrument.json", "modelOutput": "{\n Get {\n Instrument {\n _additional {\n id\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}\n\n COMMAND:\n ```text\nGet me the ids of the weather station objects.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n WeatherStation {\n _additional {\n id\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the ids of the weather station objects.\n```", "apiRef": "Retrieve the object\u00a0`id`\n\nTo retrieve the object ID, request the\u00a0`_additional`\u00a0property and\u00a0`id`\u00a0sub-property. You can do so as shown below.\n\n```graphql\n{\n Get {\n JeopardyQuestion (limit: 1) {\n _additional {\n id\n }\n }\n }\n}\n```", "apiRefPath": "get-retrieve-object-id.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}", "schemaPath": "weatherstation.json", "modelOutput": "{\n Get {\n WeatherStation {\n _additional {\n id\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}\n\n COMMAND:\n ```text\nGet me the ids of the AIModel objects.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n AIModel {\n _additional {\n id\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the ids of the AIModel objects.\n```", "apiRef": "Retrieve the object\u00a0`id`\n\nTo retrieve the object ID, request the\u00a0`_additional`\u00a0property and\u00a0`id`\u00a0sub-property. You can do so as shown below.\n\n```graphql\n{\n Get {\n JeopardyQuestion (limit: 1) {\n _additional {\n id\n }\n }\n }\n}\n```", "apiRefPath": "get-retrieve-object-id.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}", "schemaPath": "AIModels.json", "modelOutput": "{\n Get {\n AIModel {\n _additional {\n id\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}\n\n COMMAND:\n ```text\nGet me the ids of the outdoor gear objects.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n OutdoorGear {\n _additional {\n id\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the ids of the outdoor gear objects.\n```", "apiRef": "Retrieve the object\u00a0`id`\n\nTo retrieve the object ID, request the\u00a0`_additional`\u00a0property and\u00a0`id`\u00a0sub-property. You can do so as shown below.\n\n```graphql\n{\n Get {\n JeopardyQuestion (limit: 1) {\n _additional {\n id\n }\n }\n }\n}\n```", "apiRefPath": "get-retrieve-object-id.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}", "schemaPath": "outdoorgear.json", "modelOutput": "{\n Get {\n OutdoorGear {\n _additional {\n id\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the ids of the startup objects.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Startup {\n _additional {\n id\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the ids of the startup objects.\n```", "apiRef": "Retrieve the object\u00a0`id`\n\nTo retrieve the object ID, request the\u00a0`_additional`\u00a0property and\u00a0`id`\u00a0sub-property. You can do so as shown below.\n\n```graphql\n{\n Get {\n JeopardyQuestion (limit: 1) {\n _additional {\n id\n }\n }\n }\n}\n```", "apiRefPath": "get-retrieve-object-id.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}", "schemaPath": "startups.json", "modelOutput": "{\n Get {\n Startup {\n _additional {\n id\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the ids of the game objects.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Game {\n _additional {\n id\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the ids of the game objects.\n```", "apiRef": "Retrieve the object\u00a0`id`\n\nTo retrieve the object ID, request the\u00a0`_additional`\u00a0property and\u00a0`id`\u00a0sub-property. You can do so as shown below.\n\n```graphql\n{\n Get {\n JeopardyQuestion (limit: 1) {\n _additional {\n id\n }\n }\n }\n}\n```", "apiRefPath": "get-retrieve-object-id.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}", "schemaPath": "videogame.json", "modelOutput": "{\n Get {\n Game {\n _additional {\n id\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}\n\n COMMAND:\n ```text\nGet me the ids of the book objects.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Book {\n _additional {\n id\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the ids of the book objects.\n```", "apiRef": "Retrieve the object\u00a0`id`\n\nTo retrieve the object ID, request the\u00a0`_additional`\u00a0property and\u00a0`id`\u00a0sub-property. You can do so as shown below.\n\n```graphql\n{\n Get {\n JeopardyQuestion (limit: 1) {\n _additional {\n id\n }\n }\n }\n}\n```", "apiRefPath": "get-retrieve-object-id.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}", "schemaPath": "books.json", "modelOutput": "{\n Get {\n Book {\n _additional {\n id\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the ids of the CraftBeer objects.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n CraftBeer {\n _additional {\n id\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the ids of the CraftBeer objects.\n```", "apiRef": "Retrieve the object\u00a0`id`\n\nTo retrieve the object ID, request the\u00a0`_additional`\u00a0property and\u00a0`id`\u00a0sub-property. You can do so as shown below.\n\n```graphql\n{\n Get {\n JeopardyQuestion (limit: 1) {\n _additional {\n id\n }\n }\n }\n}\n```", "apiRefPath": "get-retrieve-object-id.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}", "schemaPath": "craftbeer.json", "modelOutput": "{\n Get {\n CraftBeer {\n _additional {\n id\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}\n\n COMMAND:\n ```text\nShow me the names of historical events and the names of the countries involved.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n HistoricalEvent {\n eventName\n involvedCountries {\n ... on Country {\n countryName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the names of historical events and the names of the countries involved.\n```", "apiRef": "Retrieve cross-referenced properties\n\nYou can retrieve any properties of cross-referenced objects by specifying:\n\n- The cross-reference property,\n- The target cross-referenced object class, and\n- The desired properties to retrieve (of the cross-referenced objects).\n\nThe following example, retrieves for each\u00a0`JeopardyQuestion`\u00a0object the cross-referenced\u00a0`JeopardyCategory`\u00a0object, and the\u00a0`JeopardyCategory`\u00a0object's\u00a0`title`\u00a0property is returned. The property is accessed using the GraphQL syntax.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n limit: 2\n )\n {\n question\n hasCategory {\n ... on JeopardyCategory {\n title\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-retrieve-crefs.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}", "schemaPath": "historicalevent.json", "modelOutput": "{\n Get {\n HistoricalEvent {\n eventName\n involvedCountries {\n ... on Country {\n countryName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}\n\n COMMAND:\n ```text\nShow me the names of instruments and the names and genres of musicians who play them.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Instrument {\n name\n playedBy {\n ... on Musician {\n name\n genre\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the names of instruments and the names and genres of musicians who play them.\n```", "apiRef": "Retrieve cross-referenced properties\n\nYou can retrieve any properties of cross-referenced objects by specifying:\n\n- The cross-reference property,\n- The target cross-referenced object class, and\n- The desired properties to retrieve (of the cross-referenced objects).\n\nThe following example, retrieves for each\u00a0`JeopardyQuestion`\u00a0object the cross-referenced\u00a0`JeopardyCategory`\u00a0object, and the\u00a0`JeopardyCategory`\u00a0object's\u00a0`title`\u00a0property is returned. The property is accessed using the GraphQL syntax.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n limit: 2\n )\n {\n question\n hasCategory {\n ... on JeopardyCategory {\n title\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-retrieve-crefs.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}", "schemaPath": "musicalinstrument.json", "modelOutput": "{\n Get {\n Instrument {\n name\n playedBy {\n ... on Musician {\n name\n genre\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}\n\n COMMAND:\n ```text\nShow me the locations of weather stations and the names of the meteorologists who manage them.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n WeatherStation {\n location\n managedBy {\n ... on Meteorologist {\n name\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the locations of weather stations and the names of the meteorologists who manage them.\n```", "apiRef": "Retrieve cross-referenced properties\n\nYou can retrieve any properties of cross-referenced objects by specifying:\n\n- The cross-reference property,\n- The target cross-referenced object class, and\n- The desired properties to retrieve (of the cross-referenced objects).\n\nThe following example, retrieves for each\u00a0`JeopardyQuestion`\u00a0object the cross-referenced\u00a0`JeopardyCategory`\u00a0object, and the\u00a0`JeopardyCategory`\u00a0object's\u00a0`title`\u00a0property is returned. The property is accessed using the GraphQL syntax.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n limit: 2\n )\n {\n question\n hasCategory {\n ... on JeopardyCategory {\n title\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-retrieve-crefs.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}", "schemaPath": "weatherstation.json", "modelOutput": "{\n Get {\n WeatherStation {\n location\n managedBy {\n ... on Meteorologist {\n name\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}\n\n COMMAND:\n ```text\nShow me the names of AI models and the names of the algorithms they are based on.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n AIModel {\n modelName\n basedOn {\n ... on Algorithm {\n name\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the names of AI models and the names of the algorithms they are based on.\n```", "apiRef": "Retrieve cross-referenced properties\n\nYou can retrieve any properties of cross-referenced objects by specifying:\n\n- The cross-reference property,\n- The target cross-referenced object class, and\n- The desired properties to retrieve (of the cross-referenced objects).\n\nThe following example, retrieves for each\u00a0`JeopardyQuestion`\u00a0object the cross-referenced\u00a0`JeopardyCategory`\u00a0object, and the\u00a0`JeopardyCategory`\u00a0object's\u00a0`title`\u00a0property is returned. The property is accessed using the GraphQL syntax.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n limit: 2\n )\n {\n question\n hasCategory {\n ... on JeopardyCategory {\n title\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-retrieve-crefs.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}", "schemaPath": "AIModels.json", "modelOutput": "{\n Get {\n AIModel {\n modelName\n basedOn {\n ... on Algorithm {\n name\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}\n\n COMMAND:\n ```text\nShow me the gear names of outdoor gear and the names of their linked suppliers.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n OutdoorGear {\n gearName\n supplier {\n ... on Supplier {\n supplierName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the gear names of outdoor gear and the names of their linked suppliers.\n```", "apiRef": "Retrieve cross-referenced properties\n\nYou can retrieve any properties of cross-referenced objects by specifying:\n\n- The cross-reference property,\n- The target cross-referenced object class, and\n- The desired properties to retrieve (of the cross-referenced objects).\n\nThe following example, retrieves for each\u00a0`JeopardyQuestion`\u00a0object the cross-referenced\u00a0`JeopardyCategory`\u00a0object, and the\u00a0`JeopardyCategory`\u00a0object's\u00a0`title`\u00a0property is returned. The property is accessed using the GraphQL syntax.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n limit: 2\n )\n {\n question\n hasCategory {\n ... on JeopardyCategory {\n title\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-retrieve-crefs.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}", "schemaPath": "outdoorgear.json", "modelOutput": "{\n Get {\n OutdoorGear {\n gearName\n supplier {\n ... on Supplier {\n supplierName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}\n\n COMMAND:\n ```text\nShow me the names of startups and the names of their linked founders.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Startup {\n name\n founders {\n ... on Entrepreneur {\n name\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the names of startups and the names of their linked founders.\n```", "apiRef": "Retrieve cross-referenced properties\n\nYou can retrieve any properties of cross-referenced objects by specifying:\n\n- The cross-reference property,\n- The target cross-referenced object class, and\n- The desired properties to retrieve (of the cross-referenced objects).\n\nThe following example, retrieves for each\u00a0`JeopardyQuestion`\u00a0object the cross-referenced\u00a0`JeopardyCategory`\u00a0object, and the\u00a0`JeopardyCategory`\u00a0object's\u00a0`title`\u00a0property is returned. The property is accessed using the GraphQL syntax.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n limit: 2\n )\n {\n question\n hasCategory {\n ... on JeopardyCategory {\n title\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-retrieve-crefs.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}", "schemaPath": "startups.json", "modelOutput": "{\n Get {\n Startup {\n name\n founders {\n ... on Entrepreneur {\n name\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nShow me the titles of games and the names of their linked developers.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Game {\n title\n developedBy {\n ... on Developer {\n name\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the titles of games and the names of their linked developers.\n```", "apiRef": "Retrieve cross-referenced properties\n\nYou can retrieve any properties of cross-referenced objects by specifying:\n\n- The cross-reference property,\n- The target cross-referenced object class, and\n- The desired properties to retrieve (of the cross-referenced objects).\n\nThe following example, retrieves for each\u00a0`JeopardyQuestion`\u00a0object the cross-referenced\u00a0`JeopardyCategory`\u00a0object, and the\u00a0`JeopardyCategory`\u00a0object's\u00a0`title`\u00a0property is returned. The property is accessed using the GraphQL syntax.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n limit: 2\n )\n {\n question\n hasCategory {\n ... on JeopardyCategory {\n title\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-retrieve-crefs.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}", "schemaPath": "videogame.json", "modelOutput": "{\n Get {\n Game {\n title\n developedBy {\n ... on Developer {\n name\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}\n\n COMMAND:\n ```text\nShow me the titles of books and the names of their linked authors.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Book {\n title\n author {\n ... on Author {\n name\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the titles of books and the names of their linked authors.\n```", "apiRef": "Retrieve cross-referenced properties\n\nYou can retrieve any properties of cross-referenced objects by specifying:\n\n- The cross-reference property,\n- The target cross-referenced object class, and\n- The desired properties to retrieve (of the cross-referenced objects).\n\nThe following example, retrieves for each\u00a0`JeopardyQuestion`\u00a0object the cross-referenced\u00a0`JeopardyCategory`\u00a0object, and the\u00a0`JeopardyCategory`\u00a0object's\u00a0`title`\u00a0property is returned. The property is accessed using the GraphQL syntax.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n limit: 2\n )\n {\n question\n hasCategory {\n ... on JeopardyCategory {\n title\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-retrieve-crefs.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}", "schemaPath": "books.json", "modelOutput": "{\n Get {\n Book {\n title\n author {\n ... on Author {\n name\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}\n\n COMMAND:\n ```text\nShow me the names of craft beers and the names of their linked breweries.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n CraftBeer {\n beerName\n brewery {\n ... on Brewery {\n breweryName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the names of craft beers and the names of their linked breweries.\n```", "apiRef": "Retrieve cross-referenced properties\n\nYou can retrieve any properties of cross-referenced objects by specifying:\n\n- The cross-reference property,\n- The target cross-referenced object class, and\n- The desired properties to retrieve (of the cross-referenced objects).\n\nThe following example, retrieves for each\u00a0`JeopardyQuestion`\u00a0object the cross-referenced\u00a0`JeopardyCategory`\u00a0object, and the\u00a0`JeopardyCategory`\u00a0object's\u00a0`title`\u00a0property is returned. The property is accessed using the GraphQL syntax.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n limit: 2\n )\n {\n question\n hasCategory {\n ... on JeopardyCategory {\n title\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-retrieve-crefs.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}", "schemaPath": "craftbeer.json", "modelOutput": "{\n Get {\n CraftBeer {\n beerName\n brewery {\n ... on Brewery {\n breweryName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 3 historical events semantically related to the query 'World War II', and show the event name, description, year, significant impact, and the names and populations of the involved countries.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n HistoricalEvent(\n nearText: {\n concepts: [\"World War II\"]\n },\n limit: 3\n ) {\n eventName\n description\n year\n hadSignificantImpact\n involvedCountries {\n ... on Country {\n countryName\n population\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 3 historical events semantically related to the query 'World War II', and show the event name, description, year, significant impact, and the names and populations of the involved countries.\n```", "apiRef": "nearText with limit\n\nNumber of results\n\nYou can set the maximum number of results returned with\u00a0`limit`\u00a0in the same way as shown in the\u00a0search basics how-to guide.\n\nSimilarly, you can retrieve a maximum\u00a0`n`\u00a0objects after the first\u00a0`m`\u00a0results by using\u00a0`limit`\u00a0with\u00a0`offset`\u00a0as shown in the\u00a0search basics how-to guide.\n\nTo limit the number of results returned by a\u00a0`near...`\u00a0query, add the\u00a0`limit`\u00a0operator. To start at a given offset, add the\u00a0`offset`\u00a0operator. For example if we want to obtain the animals in movies #2 and #3 from the\u00a0`nearText`\u00a0example above, we'll need to use\u00a0`offset: 1, limit: 2`. The example below searches the\u00a0`JeopardyQuestion`\u00a0class for objects best matching\u00a0`\"animals in movies\"`, skips 1 object (`offset`) and returns the next 2 objects:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in movies\"]\n },\n limit: 2,\n offset: 1 \n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}", "schemaPath": "historicalevent.json", "modelOutput": "{\n Get {\n HistoricalEvent(\n nearText: {\n concepts: [\"World War II\"]\n },\n limit: 3\n ) {\n eventName\n description\n year\n hadSignificantImpact\n involvedCountries {\n ... on Country {\n countryName\n population\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 3 instruments that are semantically similar to the query 'piano'. Show me the name, description, year introduced, whether it is a string instrument, and the name, genre, and years active of the musicians who play it.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Instrument(\n nearText: {\n concepts: [\"piano\"]\n },\n limit: 3\n ) {\n name\n description\n yearIntroduced\n isString\n playedBy {\n ... on Musician {\n name\n genre\n yearsActive\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 3 instruments that are semantically similar to the query 'piano'. Show me the name, description, year introduced, whether it is a string instrument, and the name, genre, and years active of the musicians who play it.\n```", "apiRef": "nearText with limit\n\nNumber of results\n\nYou can set the maximum number of results returned with\u00a0`limit`\u00a0in the same way as shown in the\u00a0search basics how-to guide.\n\nSimilarly, you can retrieve a maximum\u00a0`n`\u00a0objects after the first\u00a0`m`\u00a0results by using\u00a0`limit`\u00a0with\u00a0`offset`\u00a0as shown in the\u00a0search basics how-to guide.\n\nTo limit the number of results returned by a\u00a0`near...`\u00a0query, add the\u00a0`limit`\u00a0operator. To start at a given offset, add the\u00a0`offset`\u00a0operator. For example if we want to obtain the animals in movies #2 and #3 from the\u00a0`nearText`\u00a0example above, we'll need to use\u00a0`offset: 1, limit: 2`. The example below searches the\u00a0`JeopardyQuestion`\u00a0class for objects best matching\u00a0`\"animals in movies\"`, skips 1 object (`offset`) and returns the next 2 objects:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in movies\"]\n },\n limit: 2,\n offset: 1 \n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}", "schemaPath": "musicalinstrument.json", "modelOutput": "{\n Get {\n Instrument(\n nearText: {\n concepts: [\"piano\"]\n },\n limit: 3\n ) {\n name\n description\n yearIntroduced\n isString\n playedBy {\n ... on Musician {\n name\n genre\n yearsActive\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 3 weather stations that are semantically related to the concept of 'temperature'. Show me the location, equipment, altitude, activity status, and the name and years of experience of the meteorologist managing each station.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n WeatherStation(\n nearText: {\n concepts: [\"temperature\"]\n },\n limit: 3\n ) {\n location\n equipment\n altitude\n isActive\n managedBy {\n ... on Meteorologist {\n name\n yearsExperience\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 3 weather stations that are semantically related to the concept of 'temperature'. Show me the location, equipment, altitude, activity status, and the name and years of experience of the meteorologist managing each station.\n```", "apiRef": "nearText with limit\n\nNumber of results\n\nYou can set the maximum number of results returned with\u00a0`limit`\u00a0in the same way as shown in the\u00a0search basics how-to guide.\n\nSimilarly, you can retrieve a maximum\u00a0`n`\u00a0objects after the first\u00a0`m`\u00a0results by using\u00a0`limit`\u00a0with\u00a0`offset`\u00a0as shown in the\u00a0search basics how-to guide.\n\nTo limit the number of results returned by a\u00a0`near...`\u00a0query, add the\u00a0`limit`\u00a0operator. To start at a given offset, add the\u00a0`offset`\u00a0operator. For example if we want to obtain the animals in movies #2 and #3 from the\u00a0`nearText`\u00a0example above, we'll need to use\u00a0`offset: 1, limit: 2`. The example below searches the\u00a0`JeopardyQuestion`\u00a0class for objects best matching\u00a0`\"animals in movies\"`, skips 1 object (`offset`) and returns the next 2 objects:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in movies\"]\n },\n limit: 2,\n offset: 1 \n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}", "schemaPath": "weatherstation.json", "modelOutput": "{\n Get {\n WeatherStation(\n nearText: {\n concepts: [\"temperature\"]\n },\n limit: 3\n ) {\n location\n equipment\n altitude\n isActive\n managedBy {\n ... on Meteorologist {\n name\n yearsExperience\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 3 AI models that are semantically similar to the query 'machine learning'. Show me the model name, application, accuracy, whether it is supervised, and the algorithm it is based on including its name, description, and year of development.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n AIModel(\n nearText: {\n concepts: [\"machine learning\"]\n },\n limit: 3\n ) {\n modelName\n application\n accuracy\n isSupervised\n basedOn {\n ... on Algorithm {\n name\n description\n yearDeveloped\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 3 AI models that are semantically similar to the query 'machine learning'. Show me the model name, application, accuracy, whether it is supervised, and the algorithm it is based on including its name, description, and year of development.\n```", "apiRef": "nearText with limit\n\nNumber of results\n\nYou can set the maximum number of results returned with\u00a0`limit`\u00a0in the same way as shown in the\u00a0search basics how-to guide.\n\nSimilarly, you can retrieve a maximum\u00a0`n`\u00a0objects after the first\u00a0`m`\u00a0results by using\u00a0`limit`\u00a0with\u00a0`offset`\u00a0as shown in the\u00a0search basics how-to guide.\n\nTo limit the number of results returned by a\u00a0`near...`\u00a0query, add the\u00a0`limit`\u00a0operator. To start at a given offset, add the\u00a0`offset`\u00a0operator. For example if we want to obtain the animals in movies #2 and #3 from the\u00a0`nearText`\u00a0example above, we'll need to use\u00a0`offset: 1, limit: 2`. The example below searches the\u00a0`JeopardyQuestion`\u00a0class for objects best matching\u00a0`\"animals in movies\"`, skips 1 object (`offset`) and returns the next 2 objects:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in movies\"]\n },\n limit: 2,\n offset: 1 \n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}", "schemaPath": "AIModels.json", "modelOutput": "{\n Get {\n AIModel(\n nearText: {\n concepts: [\"machine learning\"]\n },\n limit: 3\n ) {\n modelName\n application\n accuracy\n isSupervised\n basedOn {\n ... on Algorithm {\n name\n description\n yearDeveloped\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 10 outdoor gears that are semantically similar to the query 'hiking'. Show me the gear name, description, weight, waterproof status, and the supplier's name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n OutdoorGear(\n nearText: {\n concepts: [\"hiking\"]\n },\n limit: 10\n ) {\n gearName\n description\n weight\n isWaterproof\n supplier {\n ... on Supplier {\n supplierName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 10 outdoor gears that are semantically similar to the query 'hiking'. Show me the gear name, description, weight, waterproof status, and the supplier's name.\n```", "apiRef": "nearText with limit\n\nNumber of results\n\nYou can set the maximum number of results returned with\u00a0`limit`\u00a0in the same way as shown in the\u00a0search basics how-to guide.\n\nSimilarly, you can retrieve a maximum\u00a0`n`\u00a0objects after the first\u00a0`m`\u00a0results by using\u00a0`limit`\u00a0with\u00a0`offset`\u00a0as shown in the\u00a0search basics how-to guide.\n\nTo limit the number of results returned by a\u00a0`near...`\u00a0query, add the\u00a0`limit`\u00a0operator. To start at a given offset, add the\u00a0`offset`\u00a0operator. For example if we want to obtain the animals in movies #2 and #3 from the\u00a0`nearText`\u00a0example above, we'll need to use\u00a0`offset: 1, limit: 2`. The example below searches the\u00a0`JeopardyQuestion`\u00a0class for objects best matching\u00a0`\"animals in movies\"`, skips 1 object (`offset`) and returns the next 2 objects:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in movies\"]\n },\n limit: 2,\n offset: 1 \n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"OutdoorGear\",\n\"description\": \"An outdoor gear item.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"gearName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gear.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the gear.\"\n},\n{\n\"name\": \"weight\",\n\"dataType\": [\"number\"],\n\"description\": \"Weight of the gear in grams.\"\n},\n{\n\"name\": \"isWaterproof\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the gear is waterproof.\"\n},\n{\n\"name\": \"supplier\",\n\"dataType\": [\"Supplier\"],\n\"description\": \"The supplier of the gear.\"\n}{\n\"class\": \"Supplier\",\n\"description\": \"A supplier of outdoor gear.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"supplierName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the supplier.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the supplier was established.\"\n}}}", "schemaPath": "outdoorgear.json", "modelOutput": "{\n Get {\n OutdoorGear(\n nearText: {\n concepts: [\"hiking\"]\n },\n limit: 10\n ) {\n gearName\n description\n weight\n isWaterproof\n supplier {\n ... on Supplier {\n supplierName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 3 startups that are semantically similar to the query 'technology'. Show me the name, product, funding, whether they are bootstrapped, and the name, biography, and successful startups of the founders.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Startup(\n nearText: {\n concepts: [\"technology\"]\n },\n limit: 3\n ) {\n name\n product\n funding\n isBootstrapped\n founders {\n ... on Entrepreneur {\n name\n biography\n successfulStartups\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 3 startups that are semantically similar to the query 'technology'. Show me the name, product, funding, whether they are bootstrapped, and the name, biography, and successful startups of the founders.\n```", "apiRef": "nearText with limit\n\nNumber of results\n\nYou can set the maximum number of results returned with\u00a0`limit`\u00a0in the same way as shown in the\u00a0search basics how-to guide.\n\nSimilarly, you can retrieve a maximum\u00a0`n`\u00a0objects after the first\u00a0`m`\u00a0results by using\u00a0`limit`\u00a0with\u00a0`offset`\u00a0as shown in the\u00a0search basics how-to guide.\n\nTo limit the number of results returned by a\u00a0`near...`\u00a0query, add the\u00a0`limit`\u00a0operator. To start at a given offset, add the\u00a0`offset`\u00a0operator. For example if we want to obtain the animals in movies #2 and #3 from the\u00a0`nearText`\u00a0example above, we'll need to use\u00a0`offset: 1, limit: 2`. The example below searches the\u00a0`JeopardyQuestion`\u00a0class for objects best matching\u00a0`\"animals in movies\"`, skips 1 object (`offset`) and returns the next 2 objects:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in movies\"]\n },\n limit: 2,\n offset: 1 \n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}", "schemaPath": "startups.json", "modelOutput": "{\n Get {\n Startup(\n nearText: {\n concepts: [\"technology\"]\n },\n limit: 3\n ) {\n name\n product\n funding\n isBootstrapped\n founders {\n ... on Entrepreneur {\n name\n biography\n successfulStartups\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 10 games that are semantically similar to the query 'action'. Show the title, genre, rating, whether it is multiplayer, and the name of the developer.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Game(\n nearText: {\n concepts: [\"action\"]\n },\n limit: 10\n ) {\n title\n genre\n rating\n isMultiplayer\n developedBy {\n ... on Developer {\n name\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 10 games that are semantically similar to the query 'action'. Show the title, genre, rating, whether it is multiplayer, and the name of the developer.\n```", "apiRef": "nearText with limit\n\nNumber of results\n\nYou can set the maximum number of results returned with\u00a0`limit`\u00a0in the same way as shown in the\u00a0search basics how-to guide.\n\nSimilarly, you can retrieve a maximum\u00a0`n`\u00a0objects after the first\u00a0`m`\u00a0results by using\u00a0`limit`\u00a0with\u00a0`offset`\u00a0as shown in the\u00a0search basics how-to guide.\n\nTo limit the number of results returned by a\u00a0`near...`\u00a0query, add the\u00a0`limit`\u00a0operator. To start at a given offset, add the\u00a0`offset`\u00a0operator. For example if we want to obtain the animals in movies #2 and #3 from the\u00a0`nearText`\u00a0example above, we'll need to use\u00a0`offset: 1, limit: 2`. The example below searches the\u00a0`JeopardyQuestion`\u00a0class for objects best matching\u00a0`\"animals in movies\"`, skips 1 object (`offset`) and returns the next 2 objects:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in movies\"]\n },\n limit: 2,\n offset: 1 \n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}", "schemaPath": "videogame.json", "modelOutput": "{\n Get {\n Game(\n nearText: {\n concepts: [\"action\"]\n },\n limit: 10\n ) {\n title\n genre\n rating\n isMultiplayer\n developedBy {\n ... on Developer {\n name\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 5 books that are semantically similar to the query 'science fiction'. Show the title, summary, availability, and author's name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Book(\n nearText: {\n concepts: [\"science fiction\"]\n },\n limit: 5\n ) {\n title\n summary\n isAvailable\n author {\n ... on Author {\n name\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 5 books that are semantically similar to the query 'science fiction'. Show the title, summary, availability, and author's name.\n```", "apiRef": "nearText with limit\n\nNumber of results\n\nYou can set the maximum number of results returned with\u00a0`limit`\u00a0in the same way as shown in the\u00a0search basics how-to guide.\n\nSimilarly, you can retrieve a maximum\u00a0`n`\u00a0objects after the first\u00a0`m`\u00a0results by using\u00a0`limit`\u00a0with\u00a0`offset`\u00a0as shown in the\u00a0search basics how-to guide.\n\nTo limit the number of results returned by a\u00a0`near...`\u00a0query, add the\u00a0`limit`\u00a0operator. To start at a given offset, add the\u00a0`offset`\u00a0operator. For example if we want to obtain the animals in movies #2 and #3 from the\u00a0`nearText`\u00a0example above, we'll need to use\u00a0`offset: 1, limit: 2`. The example below searches the\u00a0`JeopardyQuestion`\u00a0class for objects best matching\u00a0`\"animals in movies\"`, skips 1 object (`offset`) and returns the next 2 objects:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in movies\"]\n },\n limit: 2,\n offset: 1 \n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}", "schemaPath": "books.json", "modelOutput": "{\n Get {\n Book(\n nearText: {\n concepts: [\"science fiction\"]\n },\n limit: 5\n ) {\n title\n summary\n isAvailable\n author {\n ... on Author {\n name\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 3 craft beers that are semantically similar to the query 'IPA'. Show me the beer name, tasting notes, alcohol content, seasonal availability, and the brewery's name and founded year.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n CraftBeer(\n nearText: {\n concepts: [\"IPA\"]\n },\n limit: 3\n ) {\n beerName\n tastingNotes\n alcoholContent\n isSeasonal\n brewery {\n ... on Brewery {\n breweryName\n foundedYear\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 3 craft beers that are semantically similar to the query 'IPA'. Show me the beer name, tasting notes, alcohol content, seasonal availability, and the brewery's name and founded year.\n```", "apiRef": "nearText with limit\n\nNumber of results\n\nYou can set the maximum number of results returned with\u00a0`limit`\u00a0in the same way as shown in the\u00a0search basics how-to guide.\n\nSimilarly, you can retrieve a maximum\u00a0`n`\u00a0objects after the first\u00a0`m`\u00a0results by using\u00a0`limit`\u00a0with\u00a0`offset`\u00a0as shown in the\u00a0search basics how-to guide.\n\nTo limit the number of results returned by a\u00a0`near...`\u00a0query, add the\u00a0`limit`\u00a0operator. To start at a given offset, add the\u00a0`offset`\u00a0operator. For example if we want to obtain the animals in movies #2 and #3 from the\u00a0`nearText`\u00a0example above, we'll need to use\u00a0`offset: 1, limit: 2`. The example below searches the\u00a0`JeopardyQuestion`\u00a0class for objects best matching\u00a0`\"animals in movies\"`, skips 1 object (`offset`) and returns the next 2 objects:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in movies\"]\n },\n limit: 2,\n offset: 1 \n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}", "schemaPath": "craftbeer.json", "modelOutput": "{\n Get {\n CraftBeer(\n nearText: {\n concepts: [\"IPA\"]\n },\n limit: 3\n ) {\n beerName\n tastingNotes\n alcoholContent\n isSeasonal\n brewery {\n ... on Brewery {\n breweryName\n foundedYear\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}\n\n COMMAND:\n ```text\nShow me the element name and symbol of 10 chemical elements.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ChemicalElement (\n limit: 10\n ) {\n elementName\n symbol\n }\n }\n}\n```", "nlcommand": "```text\nShow me the element name and symbol of 10 chemical elements.\n```", "apiRef": "`limit`\u00a0returned objects\n\nOften, you will only want the top\u00a0`n`\u00a0results from the query. This can be achieved by setting a\u00a0`limit`\u00a0as shown below.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n limit: 1\n ) {\n question\n }\n }\n}\n```", "apiRefPath": "get-limit-results.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}", "schemaPath": "chemicals.json", "modelOutput": "{\n Get {\n ChemicalElement (\n limit: 10\n ) {\n elementName\n symbol\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}\n\n COMMAND:\n ```text\nShow me the drug name, active ingredient, approval year, OTC status, and manufacturer details of 10 drugs.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Drug (\n limit: 10\n ) {\n drugName\n activeIngredient\n approvalYear\n isOTC\n manufacturer {\n ... on Manufacturer {\n companyName\n foundedYear\n headquarters\n isGlobal\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the drug name, active ingredient, approval year, OTC status, and manufacturer details of 10 drugs.\n```", "apiRef": "`limit`\u00a0returned objects\n\nOften, you will only want the top\u00a0`n`\u00a0results from the query. This can be achieved by setting a\u00a0`limit`\u00a0as shown below.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n limit: 1\n ) {\n question\n }\n }\n}\n```", "apiRefPath": "get-limit-results.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}", "schemaPath": "pharmaceuticals.json", "modelOutput": "{\n Get {\n Drug (\n limit: 10\n ) {\n drugName\n activeIngredient\n approvalYear\n isOTC\n manufacturer {\n ... on Manufacturer {\n companyName\n foundedYear\n headquarters\n isGlobal\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}\n\n COMMAND:\n ```text\nShow me the festival name, location, description, and featured films' titles and directors of the top 10 film festivals.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n FilmFestival (\n limit: 10\n ) {\n festivalName\n location\n description\n featuredFilm {\n ... on Film {\n filmTitle\n director\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the festival name, location, description, and featured films' titles and directors of the top 10 film festivals.\n```", "apiRef": "`limit`\u00a0returned objects\n\nOften, you will only want the top\u00a0`n`\u00a0results from the query. This can be achieved by setting a\u00a0`limit`\u00a0as shown below.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n limit: 1\n ) {\n question\n }\n }\n}\n```", "apiRefPath": "get-limit-results.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}", "schemaPath": "filmfestivals.json", "modelOutput": "{\n Get {\n FilmFestival(\n limit: 10\n ) {\n festivalName\n location\n description\n featuredFilm {\n ... on Film {\n title\n director\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}\n\n COMMAND:\n ```text\nShow me the boat name, type, capacity, whether it is motorized, and the manufacturer's company name and founded year for 10 boats.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Boat (\n limit: 10\n ) {\n boatName\n type\n capacity\n isMotorized\n manufacturer {\n ... on BoatManufacturer {\n companyName\n foundedYear\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the boat name, type, capacity, whether it is motorized, and the manufacturer's company name and founded year for 10 boats.\n```", "apiRef": "`limit`\u00a0returned objects\n\nOften, you will only want the top\u00a0`n`\u00a0results from the query. This can be achieved by setting a\u00a0`limit`\u00a0as shown below.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n limit: 1\n ) {\n question\n }\n }\n}\n```", "apiRefPath": "get-limit-results.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}", "schemaPath": "boats.json", "modelOutput": "{\n Get {\n Boat (\n limit: 10\n ) {\n boatName\n type\n capacity\n isMotorized\n manufacturer {\n ... on BoatManufacturer {\n companyName\n foundedYear\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}\n\n COMMAND:\n ```text\nShow me the pet name, species, breed, age, owner's full name, address, and contact number of 10 pets.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Pet (\n limit: 10\n ) {\n petName\n species\n breed\n age\n owner {\n ... on Person {\n fullName\n address\n contactNumber\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the pet name, species, breed, age, owner's full name, address, and contact number of 10 pets.\n```", "apiRef": "`limit`\u00a0returned objects\n\nOften, you will only want the top\u00a0`n`\u00a0results from the query. This can be achieved by setting a\u00a0`limit`\u00a0as shown below.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n limit: 1\n ) {\n question\n }\n }\n}\n```", "apiRefPath": "get-limit-results.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}", "schemaPath": "pets.json", "modelOutput": "{\n Get {\n Pet (\n limit: 10\n ) {\n petName\n species\n breed\n age\n owner {\n ... on Person {\n fullName\n address\n contactNumber\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}\n\n COMMAND:\n ```text\nShow me the name, material, gemstone name, gemstone hardness, price, and isHandmade of 10 jewelry items.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n JewelryItem (\n limit: 10\n ) {\n name\n material\n gemstone {\n ... on Gemstone {\n name\n hardness\n }\n }\n price\n isHandmade\n }\n }\n}\n```", "nlcommand": "```text\nShow me the name, material, gemstone name, gemstone hardness, price, and isHandmade of 10 jewelry items.\n```", "apiRef": "`limit`\u00a0returned objects\n\nOften, you will only want the top\u00a0`n`\u00a0results from the query. This can be achieved by setting a\u00a0`limit`\u00a0as shown below.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n limit: 1\n ) {\n question\n }\n }\n}\n```", "apiRefPath": "get-limit-results.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}", "schemaPath": "jewelry.json", "modelOutput": "{\n Get {\n JewelryItem (\n limit: 10\n ) {\n name\n material\n gemstone {\n ... on Gemstone {\n name\n hardness\n }\n }\n price\n isHandmade\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}\n\n COMMAND:\n ```text\nShow me the mission name, objective, launch year, mission status, space agency name, founded year, and headquarters of the top 10 space missions.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n SpaceMission (\n limit: 10\n ) {\n missionName\n objective\n launchYear\n missionStatus\n spaceAgency {\n ... on SpaceAgency {\n agencyName\n foundedYear\n headquarters\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the mission name, objective, launch year, mission status, space agency name, founded year, and headquarters of the top 10 space missions.\n```", "apiRef": "`limit`\u00a0returned objects\n\nOften, you will only want the top\u00a0`n`\u00a0results from the query. This can be achieved by setting a\u00a0`limit`\u00a0as shown below.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n limit: 1\n ) {\n question\n }\n }\n}\n```", "apiRefPath": "get-limit-results.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}", "schemaPath": "spaceexploration.json", "modelOutput": "{\n Get {\n SpaceMission (\n limit: 10\n ) {\n missionName\n objective\n launchYear\n missionStatus\n spaceAgency {\n ... on SpaceAgency {\n agencyName\n foundedYear\n headquarters\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}\n\n COMMAND:\n ```text\nShow me the name, mission, and focus area of 10 non-profit organizations.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NonProfit (\n limit: 10\n ) {\n name\n mission\n focusArea\n }\n }\n}\n```", "nlcommand": "```text\nShow me the name, mission, and focus area of 10 non-profit organizations.\n```", "apiRef": "`limit`\u00a0returned objects\n\nOften, you will only want the top\u00a0`n`\u00a0results from the query. This can be achieved by setting a\u00a0`limit`\u00a0as shown below.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n limit: 1\n ) {\n question\n }\n }\n}\n```", "apiRefPath": "get-limit-results.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}", "schemaPath": "nonprofits.json", "modelOutput": "{\n Get {\n NonProfit (\n limit: 10\n ) {\n name\n mission\n focusArea\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}\n\n COMMAND:\n ```text\nShow me the app name, description, platform, and developer information of 10 AR applications.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ARApplication (\n limit: 10\n ) {\n appName\n description\n platform\n developer {\n ... on SoftwareCompany {\n companyName\n foundedYear\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the app name, description, platform, and developer information of 10 AR applications.\n```", "apiRef": "`limit`\u00a0returned objects\n\nOften, you will only want the top\u00a0`n`\u00a0results from the query. This can be achieved by setting a\u00a0`limit`\u00a0as shown below.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n limit: 1\n ) {\n question\n }\n }\n}\n```", "apiRefPath": "get-limit-results.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}", "schemaPath": "augmentedreality.json", "modelOutput": "{\n Get {\n ARApplication (\n limit: 10\n ) {\n appName\n description\n platform\n developer {\n ... on SoftwareCompany {\n companyName\n foundedYear\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 5 chemical compounds with BM25 keyword scoring to the query 'organic' in the compound name or formula, weighting the compound name matches twice as high as the formula matches, and show the compound name, formula, molar mass, and the elements it contains with their names, symbols, atomic numbers, and whether they are metals.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ChemicalCompound(\n bm25: {\n query: \"organic\",\n properties: [\"compoundName^2\", \"formula\"]\n },\n limit: 5\n ) {\n compoundName\n formula\n molarMass\n containsElements {\n ... on ChemicalElement {\n elementName\n symbol\n atomicNumber\n isMetal\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 5 chemical compounds with BM25 keyword scoring to the query 'organic' in the compound name or formula, weighting the compound name matches twice as high as the formula matches, and show the compound name, formula, molar mass, and the elements it contains with their names, symbols, atomic numbers, and whether they are metals.\n```", "apiRef": "Weight (boost) searched properties\n\nYou can specify weighting of object\u00a0`properties`\u00a0in how they affect the BM25F score.\n\nThe below example searches for objects containing the keyword\u00a0`food`\u00a0in the\u00a0`question`\u00a0property and the\u00a0`answer`\u00a0property. Weaviate then scores the results with\u00a0`question`\u00a0property's weighting boosted by 2, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\",\n properties: [\"question^2\", \"answer\"]\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-weight-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}", "schemaPath": "chemicals.json", "modelOutput": "{\n Get {\n ChemicalCompound(\n bm25: {\n query: \"organic\",\n properties: [\"compoundName^2\", \"formula\"]\n },\n limit: 5\n ) {\n compoundName\n formula\n molarMass\n containsElements {\n ... on ChemicalElement {\n elementName\n symbol\n isMetal\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 5 VR experiences with BM25 keyword scoring to the query 'action' in the title or genre, weighting the title matches twice as high as the genre matches, and show the title, developer's name, genre, release year, and whether it is multiplayer.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n VRExperience(\n bm25: {\n query: \"action\",\n properties: [\"title^2\", \"genre\"]\n },\n limit: 5\n ) {\n title\n developer {\n ... on Developer {\n name\n }\n }\n genre\n releaseYear\n isMultiplayer\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 5 VR experiences with BM25 keyword scoring to the query 'action' in the title or genre, weighting the title matches twice as high as the genre matches, and show the title, developer's name, genre, release year, and whether it is multiplayer.\n```", "apiRef": "Weight (boost) searched properties\n\nYou can specify weighting of object\u00a0`properties`\u00a0in how they affect the BM25F score.\n\nThe below example searches for objects containing the keyword\u00a0`food`\u00a0in the\u00a0`question`\u00a0property and the\u00a0`answer`\u00a0property. Weaviate then scores the results with\u00a0`question`\u00a0property's weighting boosted by 2, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\",\n properties: [\"question^2\", \"answer\"]\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-weight-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}", "schemaPath": "virtualreality.json", "modelOutput": "{\n Get {\n VRExperience(\n bm25: {\n query: \"action\",\n properties: [\"title^2\", \"genre\"]\n },\n limit: 5\n ) {\n title\n developer {\n ... on Developer {\n name\n }\n }\n genre\n releaseYear\n isMultiplayer\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 10 drugs with BM25 keyword scoring to the query 'pain relief' in the drug name or active ingredient, weighting the drug name matches twice as high as the active ingredient matches, and show the drug name, active ingredient, approval year, over-the-counter availability, manufacturer's company name, founding year, headquarters, and global presence.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Drug(\n bm25: {\n query: \"pain relief\",\n properties: [\"drugName^2\", \"activeIngredient\"]\n },\n limit: 10\n ) {\n drugName\n activeIngredient\n approvalYear\n isOTC\n manufacturer {\n ... on Manufacturer {\n companyName\n foundedYear\n headquarters\n isGlobal\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 10 drugs with BM25 keyword scoring to the query 'pain relief' in the drug name or active ingredient, weighting the drug name matches twice as high as the active ingredient matches, and show the drug name, active ingredient, approval year, over-the-counter availability, manufacturer's company name, founding year, headquarters, and global presence.\n```", "apiRef": "Weight (boost) searched properties\n\nYou can specify weighting of object\u00a0`properties`\u00a0in how they affect the BM25F score.\n\nThe below example searches for objects containing the keyword\u00a0`food`\u00a0in the\u00a0`question`\u00a0property and the\u00a0`answer`\u00a0property. Weaviate then scores the results with\u00a0`question`\u00a0property's weighting boosted by 2, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\",\n properties: [\"question^2\", \"answer\"]\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-weight-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}", "schemaPath": "pharmaceuticals.json", "modelOutput": "{\n Get {\n Drug(\n bm25: {\n query: \"pain relief\",\n properties: [\"drugName^2\", \"activeIngredient\"]\n },\n limit: 10\n ) {\n drugName\n activeIngredient\n approvalYear\n isOTC\n manufacturer {\n ... on Manufacturer {\n companyName\n foundedYear\n headquarters\n isGlobal\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 5 film festivals with BM25 keyword scoring to the query 'Cannes' in the festival name or description, weighting the festival name matches twice as high as the description matches, and show the festival name, location, description, and featured film's title and director.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n FilmFestival(\n bm25: {\n query: \"Cannes\",\n properties: [\"festivalName^2\", \"description\"]\n },\n limit: 5\n ) {\n festivalName\n location\n description\n featuredFilm {\n ... on Film {\n filmTitle\n director\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 5 film festivals with BM25 keyword scoring to the query 'Cannes' in the festival name or description, weighting the festival name matches twice as high as the description matches, and show the festival name, location, description, and featured film's title and director.\n```", "apiRef": "Weight (boost) searched properties\n\nYou can specify weighting of object\u00a0`properties`\u00a0in how they affect the BM25F score.\n\nThe below example searches for objects containing the keyword\u00a0`food`\u00a0in the\u00a0`question`\u00a0property and the\u00a0`answer`\u00a0property. Weaviate then scores the results with\u00a0`question`\u00a0property's weighting boosted by 2, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\",\n properties: [\"question^2\", \"answer\"]\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-weight-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}", "schemaPath": "filmfestivals.json", "modelOutput": "{\n Get {\n FilmFestival(\n bm25: {\n query: \"Cannes\",\n properties: [\"festivalName^2\", \"description\"]\n },\n limit: 5\n ) {\n festivalName\n location\n description\n featuredFilm {\n ... on Film {\n title\n director\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 5 boats with BM25 keyword scoring to the query 'sailboat' in the boat name or type, weighting the boat name matches twice as high as the type matches, and show the boat name, type, capacity, motorization status, and manufacturer's company name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Boat(\n bm25: {\n query: \"sailboat\",\n properties: [\"boatName^2\", \"type\"]\n },\n limit: 5\n ) {\n boatName\n type\n capacity\n isMotorized\n manufacturer {\n ... on BoatManufacturer {\n companyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 5 boats with BM25 keyword scoring to the query 'sailboat' in the boat name or type, weighting the boat name matches twice as high as the type matches, and show the boat name, type, capacity, motorization status, and manufacturer's company name.\n```", "apiRef": "Weight (boost) searched properties\n\nYou can specify weighting of object\u00a0`properties`\u00a0in how they affect the BM25F score.\n\nThe below example searches for objects containing the keyword\u00a0`food`\u00a0in the\u00a0`question`\u00a0property and the\u00a0`answer`\u00a0property. Weaviate then scores the results with\u00a0`question`\u00a0property's weighting boosted by 2, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\",\n properties: [\"question^2\", \"answer\"]\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-weight-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}", "schemaPath": "boats.json", "modelOutput": "{\n Get {\n Boat(\n bm25: {\n query: \"sailboat\",\n properties: [\"boatName^2\", \"type\"]\n },\n limit: 5\n ) {\n boatName\n type\n capacity\n isMotorized\n manufacturer {\n ... on BoatManufacturer {\n companyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 3 national parks with BM25 keyword scoring to the query 'mountain' in the park name or description, weighting the park name matches twice as high as the description matches, and show the park name, description, location, established year, entry fee status, wildlife, and facilities' names and descriptions.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NationalPark(\n bm25: {\n query: \"mountain\",\n properties: [\"parkName^2\", \"description\"]\n },\n limit: 3\n ) {\n parkName\n description\n location\n establishedYear\n isEntryFree\n wildlife\n facilities {\n ... on Facility {\n facilityName\n description\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 3 national parks with BM25 keyword scoring to the query 'mountain' in the park name or description, weighting the park name matches twice as high as the description matches, and show the park name, description, location, established year, entry fee status, wildlife, and facilities' names and descriptions.\n```", "apiRef": "Weight (boost) searched properties\n\nYou can specify weighting of object\u00a0`properties`\u00a0in how they affect the BM25F score.\n\nThe below example searches for objects containing the keyword\u00a0`food`\u00a0in the\u00a0`question`\u00a0property and the\u00a0`answer`\u00a0property. Weaviate then scores the results with\u00a0`question`\u00a0property's weighting boosted by 2, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\",\n properties: [\"question^2\", \"answer\"]\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-weight-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}", "schemaPath": "nationalparks.json", "modelOutput": "{\n Get {\n NationalPark(\n bm25: {\n query: \"mountain\",\n properties: [\"parkName^2\", \"description\"]\n },\n limit: 3\n ) {\n parkName\n description\n location\n establishedYear\n isEntryFree\n wildlife\n facilities {\n ... on Facility {\n facilityName\n description\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 5 pets with BM25 keyword scoring to the query 'dog' in the pet name or breed, weighting the pet name matches twice as high as the breed matches, and show the pet name, species, breed, age, owner's full name, address, and contact number.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Pet(\n bm25: {\n query: \"dog\",\n properties: [\"petName^2\", \"breed\"]\n },\n limit: 5\n ) {\n petName\n species\n breed\n age\n owner {\n ... on Person {\n fullName\n address\n contactNumber\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 5 pets with BM25 keyword scoring to the query 'dog' in the pet name or breed, weighting the pet name matches twice as high as the breed matches, and show the pet name, species, breed, age, owner's full name, address, and contact number.\n```", "apiRef": "Weight (boost) searched properties\n\nYou can specify weighting of object\u00a0`properties`\u00a0in how they affect the BM25F score.\n\nThe below example searches for objects containing the keyword\u00a0`food`\u00a0in the\u00a0`question`\u00a0property and the\u00a0`answer`\u00a0property. Weaviate then scores the results with\u00a0`question`\u00a0property's weighting boosted by 2, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\",\n properties: [\"question^2\", \"answer\"]\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-weight-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}", "schemaPath": "pets.json", "modelOutput": "{\n Get {\n Pet(\n bm25: {\n query: \"dog\",\n properties: [\"petName^2\", \"breed\"]\n },\n limit: 5\n ) {\n petName\n species\n breed\n age\n owner {\n ... on Person {\n fullName\n address\n contactNumber\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 5 jewelry items with BM25 keyword scoring to the query 'diamond' in the name or material, weighting the name matches twice as high as the material matches, and show the name, material, gemstone's name and hardness, price, and whether it is handmade.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n JewelryItem(\n bm25: {\n query: \"diamond\",\n properties: [\"name^2\", \"material\"]\n },\n limit: 5\n ) {\n name\n material\n gemstone {\n ... on Gemstone {\n name\n hardness\n }\n }\n price\n isHandmade\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 5 jewelry items with BM25 keyword scoring to the query 'diamond' in the name or material, weighting the name matches twice as high as the material matches, and show the name, material, gemstone's name and hardness, price, and whether it is handmade.\n```", "apiRef": "Weight (boost) searched properties\n\nYou can specify weighting of object\u00a0`properties`\u00a0in how they affect the BM25F score.\n\nThe below example searches for objects containing the keyword\u00a0`food`\u00a0in the\u00a0`question`\u00a0property and the\u00a0`answer`\u00a0property. Weaviate then scores the results with\u00a0`question`\u00a0property's weighting boosted by 2, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\",\n properties: [\"question^2\", \"answer\"]\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-weight-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}", "schemaPath": "jewelry.json", "modelOutput": "{\n Get {\n JewelryItem(\n bm25: {\n query: \"diamond\",\n properties: [\"name^2\", \"material\"]\n },\n limit: 5\n ) {\n name\n material\n gemstone {\n ... on Gemstone {\n name\n hardness\n }\n }\n price\n isHandmade\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 5 space missions with BM25 keyword scoring to the query 'moon landing' in the mission name or objective, weighting the mission name matches twice as high as the objective matches, and show the mission name, objective, launch year, mission status, space agency's name, founding year, and headquarters.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n SpaceMission(\n bm25: {\n query: \"moon landing\",\n properties: [\"missionName^2\", \"objective\"]\n },\n limit: 5\n ) {\n missionName\n objective\n launchYear\n missionStatus\n spaceAgency {\n ... on SpaceAgency {\n agencyName\n foundedYear\n headquarters\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 5 space missions with BM25 keyword scoring to the query 'moon landing' in the mission name or objective, weighting the mission name matches twice as high as the objective matches, and show the mission name, objective, launch year, mission status, space agency's name, founding year, and headquarters.\n```", "apiRef": "Weight (boost) searched properties\n\nYou can specify weighting of object\u00a0`properties`\u00a0in how they affect the BM25F score.\n\nThe below example searches for objects containing the keyword\u00a0`food`\u00a0in the\u00a0`question`\u00a0property and the\u00a0`answer`\u00a0property. Weaviate then scores the results with\u00a0`question`\u00a0property's weighting boosted by 2, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\",\n properties: [\"question^2\", \"answer\"]\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-weight-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}", "schemaPath": "spaceexploration.json", "modelOutput": "{\n Get {\n SpaceMission(\n bm25: {\n query: \"moon landing\",\n properties: [\"missionName^2\", \"objective\"]\n },\n limit: 5\n ) {\n missionName\n objective\n launchYear\n missionStatus\n spaceAgency {\n ... on SpaceAgency {\n agencyName\n foundedYear\n headquarters\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 5 non-profit organizations with BM25 keyword scoring to the query 'education' in the name or mission, weighting the name matches twice as high as the mission matches, and show the name, mission, founded year, focus area, and founder's full name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NonProfit(\n bm25: {\n query: \"education\",\n properties: [\"name^2\", \"mission\"]\n },\n limit: 5\n ) {\n name\n mission\n foundedYear\n focusArea\n founder {\n ... on Person {\n fullName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 5 non-profit organizations with BM25 keyword scoring to the query 'education' in the name or mission, weighting the name matches twice as high as the mission matches, and show the name, mission, founded year, focus area, and founder's full name.\n```", "apiRef": "Weight (boost) searched properties\n\nYou can specify weighting of object\u00a0`properties`\u00a0in how they affect the BM25F score.\n\nThe below example searches for objects containing the keyword\u00a0`food`\u00a0in the\u00a0`question`\u00a0property and the\u00a0`answer`\u00a0property. Weaviate then scores the results with\u00a0`question`\u00a0property's weighting boosted by 2, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\",\n properties: [\"question^2\", \"answer\"]\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-weight-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}", "schemaPath": "nonprofits.json", "modelOutput": "{\n Get {\n NonProfit(\n bm25: {\n query: \"education\",\n properties: [\"name^2\", \"mission\"]\n },\n limit: 5\n ) {\n name\n mission\n foundedYear\n focusArea\n founder {\n ... on Person {\n fullName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 5 AR applications with BM25 keyword scoring to the query 'augmented reality' in the app name or description, weighting the app name matches twice as high as the description matches, and show the app name, description, platform, and developer's company name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ARApplication(\n bm25: {\n query: \"augmented reality\",\n properties: [\"appName^2\", \"description\"]\n },\n limit: 5\n ) {\n appName\n description\n platform\n developer {\n ... on SoftwareCompany {\n companyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 5 AR applications with BM25 keyword scoring to the query 'augmented reality' in the app name or description, weighting the app name matches twice as high as the description matches, and show the app name, description, platform, and developer's company name.\n```", "apiRef": "Weight (boost) searched properties\n\nYou can specify weighting of object\u00a0`properties`\u00a0in how they affect the BM25F score.\n\nThe below example searches for objects containing the keyword\u00a0`food`\u00a0in the\u00a0`question`\u00a0property and the\u00a0`answer`\u00a0property. Weaviate then scores the results with\u00a0`question`\u00a0property's weighting boosted by 2, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\",\n properties: [\"question^2\", \"answer\"]\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-weight-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}", "schemaPath": "augmentedreality.json", "modelOutput": "{\n Get {\n ARApplication(\n bm25: {\n query: \"augmented reality\",\n properties: [\"appName^2\", \"description\"]\n },\n limit: 5\n ) {\n appName\n description\n platform\n developer {\n ... on SoftwareCompany {\n companyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}\n\n COMMAND:\n ```text\nGet me the chemical compounds with a hybrid search of 'water', please explain how the Hybrid score is calculated and show the compound name, formula, molar mass, and the elements it contains with their names, symbols, atomic numbers, and whether they are metals.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ChemicalCompound(\n hybrid: {\n query: \"water\"\n },\n limit: 5\n ) {\n compoundName\n formula\n molarMass\n containsElements {\n ... on ChemicalElement {\n elementName\n symbol\n atomicNumber\n isMetal\n }\n }\n _additional {\n score\n explainScore\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the chemical compounds with a hybrid search of 'water', please explain how the Hybrid score is calculated and show the compound name, formula, molar mass, and the elements it contains with their names, symbols, atomic numbers, and whether they are metals.\n```", "apiRef": "Score and ExplainScore in Hybrid Search\n\nScore / explainScore[]\n\nThe\u00a0`score`\u00a0and\u00a0`explainScore`\u00a0sub-properties aim to explain the outputs. They can be retrieved under the\u00a0`_additional`\u00a0property.\n\nThe below example adds the two properties to the list of retrieved properties.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\"\n }\n ) {\n question\n answer\n _additional {\n score\n explainScore\n }\n }\n }\n}\n```", "apiRefPath": "get-hybrid-explainScore.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}", "schemaPath": "chemicals.json", "modelOutput": "{\n Get {\n ChemicalCompound(\n hybrid: {\n query: \"water\"\n },\n limit: 5\n ) {\n compoundName\n formula\n molarMass\n containsElements {\n ... on ChemicalElement {\n elementName\n symbol\n isMetal\n }\n }\n _additional {\n score\n explainScore\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}\n\n COMMAND:\n ```text\nGet me the drugs with a hybrid search of 'headache'. Show me the drug name, active ingredient, approval year, over-the-counter status, manufacturer's company name, year founded, headquarters location, and global presence. Please also explain how the Hybrid score is calculated and show the score and explainScore.\n```\n\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Drug(\n hybrid: {\n query: \"headache\"\n },\n limit: 10\n ) {\n drugName\n activeIngredient\n approvalYear\n isOTC\n manufacturer {\n ... on Manufacturer {\n companyName\n foundedYear\n headquarters\n isGlobal\n }\n }\n _additional {\n score\n explainScore\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the drugs with a hybrid search of 'headache'. Show me the drug name, active ingredient, approval year, over-the-counter status, manufacturer's company name, year founded, headquarters location, and global presence. Please also explain how the Hybrid score is calculated and show the score and explainScore.\n```\n", "apiRef": "Score and ExplainScore in Hybrid Search\n\nScore / explainScore[]\n\nThe\u00a0`score`\u00a0and\u00a0`explainScore`\u00a0sub-properties aim to explain the outputs. They can be retrieved under the\u00a0`_additional`\u00a0property.\n\nThe below example adds the two properties to the list of retrieved properties.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\"\n }\n ) {\n question\n answer\n _additional {\n score\n explainScore\n }\n }\n }\n}\n```", "apiRefPath": "get-hybrid-explainScore.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}", "schemaPath": "pharmaceuticals.json", "modelOutput": "{\n Get {\n Drug(\n hybrid: {\n query: \"headache\"\n },\n limit: 5\n ) {\n drugName\n activeIngredient\n approvalYear\n isOTC\n manufacturer {\n ... on Manufacturer {\n companyName\n foundedYear\n headquarters\n isGlobal\n }\n }\n _additional {\n score\n explainScore\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}\n\n COMMAND:\n ```text\nGet me the film festivals with a hybrid search of 'Cannes'. Show me the festival name, location, description, and the featured films with their titles and directors. Also, please explain how the Hybrid score is calculated and show the score and explainScore for each result. Limit the results to 3.\n```\n\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n FilmFestival(\n hybrid: {\n query: \"Cannes\"\n },\n limit: 3\n ) {\n festivalName\n location\n description\n featuredFilm {\n ... on Film {\n filmTitle\n director\n }\n }\n _additional {\n score\n explainScore\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the film festivals with a hybrid search of 'Cannes'. Show me the festival name, location, description, and the featured films with their titles and directors. Also, please explain how the Hybrid score is calculated and show the score and explainScore for each result. Limit the results to 3.\n```\n", "apiRef": "Score and ExplainScore in Hybrid Search\n\nScore / explainScore[]\n\nThe\u00a0`score`\u00a0and\u00a0`explainScore`\u00a0sub-properties aim to explain the outputs. They can be retrieved under the\u00a0`_additional`\u00a0property.\n\nThe below example adds the two properties to the list of retrieved properties.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\"\n }\n ) {\n question\n answer\n _additional {\n score\n explainScore\n }\n }\n }\n}\n```", "apiRefPath": "get-hybrid-explainScore.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}", "schemaPath": "filmfestivals.json", "modelOutput": "{\n Get {\n FilmFestival(\n hybrid: {\n query: \"Cannes\"\n },\n limit: 3\n ) {\n festivalName\n location\n description\n featuredFilm {\n ... on Film {\n title\n director\n }\n }\n _additional {\n score\n explainScore\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the boats with a hybrid search of 'sailboat', please explain how the Hybrid score is calculated and show the boat name, type, capacity, motorization status, manufacturer's company name, and the year it was founded.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Boat(\n hybrid: {\n query: \"sailboat\"\n },\n limit: 5\n ) {\n boatName\n type\n capacity\n isMotorized\n _additional {\n score\n explainScore\n }\n manufacturer {\n ... on BoatManufacturer {\n companyName\n foundedYear\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the boats with a hybrid search of 'sailboat', please explain how the Hybrid score is calculated and show the boat name, type, capacity, motorization status, manufacturer's company name, and the year it was founded.\n```", "apiRef": "Score and ExplainScore in Hybrid Search\n\nScore / explainScore[]\n\nThe\u00a0`score`\u00a0and\u00a0`explainScore`\u00a0sub-properties aim to explain the outputs. They can be retrieved under the\u00a0`_additional`\u00a0property.\n\nThe below example adds the two properties to the list of retrieved properties.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\"\n }\n ) {\n question\n answer\n _additional {\n score\n explainScore\n }\n }\n }\n}\n```", "apiRefPath": "get-hybrid-explainScore.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}", "schemaPath": "boats.json", "modelOutput": "{\n Get {\n Boat(\n hybrid: {\n query: \"sailboat\"\n },\n limit: 5\n ) {\n boatName\n type\n capacity\n isMotorized\n manufacturer {\n ... on BoatManufacturer {\n companyName\n foundedYear\n }\n }\n _additional {\n score\n explainScore\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}\n\n COMMAND:\n ```text\nGet me the pets with a hybrid search of 'dog', please explain how the Hybrid score is calculated and show the pet's name, species, breed, age, owner's full name, address, and contact number.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Pet(\n hybrid: {\n query: \"dog\"\n },\n limit: 5\n ) {\n petName\n species\n breed\n age\n owner {\n ... on Person {\n fullName\n address\n contactNumber\n }\n }\n _additional {\n score\n explainScore\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the pets with a hybrid search of 'dog', please explain how the Hybrid score is calculated and show the pet's name, species, breed, age, owner's full name, address, and contact number.\n```", "apiRef": "Score and ExplainScore in Hybrid Search\n\nScore / explainScore[]\n\nThe\u00a0`score`\u00a0and\u00a0`explainScore`\u00a0sub-properties aim to explain the outputs. They can be retrieved under the\u00a0`_additional`\u00a0property.\n\nThe below example adds the two properties to the list of retrieved properties.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\"\n }\n ) {\n question\n answer\n _additional {\n score\n explainScore\n }\n }\n }\n}\n```", "apiRefPath": "get-hybrid-explainScore.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}", "schemaPath": "pets.json", "modelOutput": "{\n Get {\n Pet(\n hybrid: {\n query: \"dog\"\n },\n limit: 5\n ) {\n petName\n species\n breed\n age\n owner {\n ... on Person {\n fullName\n address\n contactNumber\n }\n }\n _additional {\n score\n explainScore\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}\n\n COMMAND:\n ```text\nGet me the space missions with a hybrid search of 'moon landing'. Show me the mission name, objective, launch year, mission status, space agency's name, founding year, and headquarters. Also, please explain how the Hybrid score is calculated and show the score and explainScore.\n```\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n SpaceMission(\n hybrid: {\n query: \"moon landing\"\n },\n limit: 3\n ) {\n missionName\n objective\n launchYear\n missionStatus\n spaceAgency {\n ... on SpaceAgency {\n agencyName\n foundedYear\n headquarters\n }\n }\n _additional {\n score\n explainScore\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the space missions with a hybrid search of 'moon landing'. Show me the mission name, objective, launch year, mission status, space agency's name, founding year, and headquarters. Also, please explain how the Hybrid score is calculated and show the score and explainScore.\n```\n```", "apiRef": "Score and ExplainScore in Hybrid Search\n\nScore / explainScore[]\n\nThe\u00a0`score`\u00a0and\u00a0`explainScore`\u00a0sub-properties aim to explain the outputs. They can be retrieved under the\u00a0`_additional`\u00a0property.\n\nThe below example adds the two properties to the list of retrieved properties.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\"\n }\n ) {\n question\n answer\n _additional {\n score\n explainScore\n }\n }\n }\n}\n```", "apiRefPath": "get-hybrid-explainScore.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}", "schemaPath": "spaceexploration.json", "modelOutput": "{\n Get {\n SpaceMission(\n hybrid: {\n query: \"moon landing\"\n },\n limit: 5\n ) {\n missionName\n objective\n launchYear\n missionStatus\n spaceAgency {\n ... on SpaceAgency {\n agencyName\n foundedYear\n headquarters\n }\n }\n _additional {\n score\n explainScore\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}\n\n COMMAND:\n ```text\nGet me the non-profit organizations with a hybrid search of 'education'. Show me the name, mission, year founded, focus area, founder's full name, and founder's bio. Please also explain how the Hybrid score is calculated and provide the score and explainScore for each result. Limit the results to 10.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NonProfit(\n hybrid: {\n query: \"education\"\n },\n limit: 10\n ) {\n name\n mission\n foundedYear\n focusArea\n founder {\n ... on Person {\n fullName\n bio\n }\n }\n _additional {\n score\n explainScore\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the non-profit organizations with a hybrid search of 'education'. Show me the name, mission, year founded, focus area, founder's full name, and founder's bio. Please also explain how the Hybrid score is calculated and provide the score and explainScore for each result. Limit the results to 10.\n```", "apiRef": "Score and ExplainScore in Hybrid Search\n\nScore / explainScore[]\n\nThe\u00a0`score`\u00a0and\u00a0`explainScore`\u00a0sub-properties aim to explain the outputs. They can be retrieved under the\u00a0`_additional`\u00a0property.\n\nThe below example adds the two properties to the list of retrieved properties.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\"\n }\n ) {\n question\n answer\n _additional {\n score\n explainScore\n }\n }\n }\n}\n```", "apiRefPath": "get-hybrid-explainScore.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}", "schemaPath": "nonprofits.json", "modelOutput": "{\n Get {\n NonProfit(\n hybrid: {\n query: \"education\"\n },\n limit: 10\n ) {\n name\n mission\n foundedYear\n focusArea\n _additional {\n score\n explainScore\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}\n\n COMMAND:\n ```text\nGet me the AR applications with a hybrid search of 'augmented reality'. Show me the application name, description, platform, developer's company name, and the year the company was founded. Please also explain how the Hybrid score is calculated.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ARApplication(\n hybrid: {\n query: \"augmented reality\"\n },\n limit: 5\n ) {\n appName\n description\n platform\n developer {\n ... on SoftwareCompany {\n companyName\n foundedYear\n }\n }\n _additional {\n score\n explainScore\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the AR applications with a hybrid search of 'augmented reality'. Show me the application name, description, platform, developer's company name, and the year the company was founded. Please also explain how the Hybrid score is calculated.\n```", "apiRef": "Score and ExplainScore in Hybrid Search\n\nScore / explainScore[]\n\nThe\u00a0`score`\u00a0and\u00a0`explainScore`\u00a0sub-properties aim to explain the outputs. They can be retrieved under the\u00a0`_additional`\u00a0property.\n\nThe below example adds the two properties to the list of retrieved properties.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\"\n }\n ) {\n question\n answer\n _additional {\n score\n explainScore\n }\n }\n }\n}\n```", "apiRefPath": "get-hybrid-explainScore.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}", "schemaPath": "augmentedreality.json", "modelOutput": "{\n Get {\n ARApplication(\n hybrid: {\n query: \"augmented reality\"\n },\n limit: 5\n ) {\n appName\n description\n platform\n developer {\n ... on SoftwareCompany {\n companyName\n foundedYear\n }\n }\n _additional {\n score\n explainScore\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}\n\n COMMAND:\n ```text\nGet me chemical compounds with a hybrid search of 'organic', cutting results off with the first steep drop in the Hybrid search score, and show the compound name, formula, molar mass, and information about the elements it contains including the element name, symbol, atomic number, and whether it is a metal.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ChemicalCompound(\n hybrid: {\n query: \"organic\"\n },\n autocut: 1\n ) {\n compoundName\n formula\n molarMass\n containsElements {\n ... on ChemicalElement {\n elementName\n symbol\n atomicNumber\n isMetal\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me chemical compounds with a hybrid search of 'organic', cutting results off with the first steep drop in the Hybrid search score, and show the compound name, formula, molar mass, and information about the elements it contains including the element name, symbol, atomic number, and whether it is a metal.\n```", "apiRef": "Autocut in Hybrid Search\n\nAnother way to limit the results returned by a hybrid search is to use the\u00a0`autocut`\u00a0filter. Autocut takes a positive integer parameter\u00a0`N`, looks at the\u00a0score\u00a0of each result, and stops returning results after the\u00a0`N`th \"drop\" in score. Because\u00a0`hybrid`\u00a0combines a vector search with a keyword (BM25F) search, their scores/distances cannot be directly compared, so the cut points may not be intuitive.\n\nAutocut can be used as follows:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n hybrid: {\n query: \"safety\"\n },\n autocut: 1\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-hybrid-with-autocut.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}", "schemaPath": "chemicals.json", "modelOutput": "{\n Get {\n ChemicalCompound(\n hybrid: {\n query: \"organic\"\n },\n autocut: 1\n ) {\n compoundName\n formula\n molarMass\n containsElements {\n ... on ChemicalElement {\n elementName\n symbol\n isMetal\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me VR experiences with a hybrid search of 'action', cutting results off with the first steep drop in the Hybrid search score, and show the title, developer's name, genre, release year, and whether it is multiplayer.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n VRExperience(\n hybrid: {\n query: \"action\"\n },\n autocut: 1\n ) {\n title\n developer {\n ... on Developer {\n name\n }\n }\n genre\n releaseYear\n isMultiplayer\n }\n }\n}\n```", "nlcommand": "```text\nGet me VR experiences with a hybrid search of 'action', cutting results off with the first steep drop in the Hybrid search score, and show the title, developer's name, genre, release year, and whether it is multiplayer.\n```", "apiRef": "Autocut in Hybrid Search\n\nAnother way to limit the results returned by a hybrid search is to use the\u00a0`autocut`\u00a0filter. Autocut takes a positive integer parameter\u00a0`N`, looks at the\u00a0score\u00a0of each result, and stops returning results after the\u00a0`N`th \"drop\" in score. Because\u00a0`hybrid`\u00a0combines a vector search with a keyword (BM25F) search, their scores/distances cannot be directly compared, so the cut points may not be intuitive.\n\nAutocut can be used as follows:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n hybrid: {\n query: \"safety\"\n },\n autocut: 1\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-hybrid-with-autocut.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}", "schemaPath": "virtualreality.json", "modelOutput": "{\n Get {\n VRExperience(\n hybrid: {\n query: \"action\"\n },\n autocut: 1\n ) {\n title\n developer {\n ... on Developer {\n name\n }\n }\n genre\n releaseYear\n isMultiplayer\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}\n\n COMMAND:\n ```text\nGet me drugs with a hybrid search of 'headache', cutting results off with the first steep drop in the Hybrid search score, and show the drug name, active ingredient, approval year, over-the-counter status, and manufacturer's company name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Drug(\n hybrid: {\n query: \"headache\"\n },\n autocut: 1\n ) {\n drugName\n activeIngredient\n approvalYear\n isOTC\n manufacturer {\n ... on Manufacturer {\n companyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me drugs with a hybrid search of 'headache', cutting results off with the first steep drop in the Hybrid search score, and show the drug name, active ingredient, approval year, over-the-counter status, and manufacturer's company name.\n```", "apiRef": "Autocut in Hybrid Search\n\nAnother way to limit the results returned by a hybrid search is to use the\u00a0`autocut`\u00a0filter. Autocut takes a positive integer parameter\u00a0`N`, looks at the\u00a0score\u00a0of each result, and stops returning results after the\u00a0`N`th \"drop\" in score. Because\u00a0`hybrid`\u00a0combines a vector search with a keyword (BM25F) search, their scores/distances cannot be directly compared, so the cut points may not be intuitive.\n\nAutocut can be used as follows:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n hybrid: {\n query: \"safety\"\n },\n autocut: 1\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-hybrid-with-autocut.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}", "schemaPath": "pharmaceuticals.json", "modelOutput": "{\n Get {\n Drug(\n hybrid: {\n query: \"headache\"\n },\n autocut: 1\n ) {\n drugName\n activeIngredient\n approvalYear\n isOTC\n manufacturer {\n ... on Manufacturer {\n companyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}\n\n COMMAND:\n ```text\nGet me film festivals with a hybrid search of 'Cannes', cutting results off with the first steep drop in the Hybrid search score, and show the festival name, location, description, and featured film's title and director.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n FilmFestival(\n hybrid: {\n query: \"Cannes\"\n },\n autocut: 1\n ) {\n festivalName\n location\n description\n featuredFilm {\n ... on Film {\n filmTitle\n director\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me film festivals with a hybrid search of 'Cannes', cutting results off with the first steep drop in the Hybrid search score, and show the festival name, location, description, and featured film's title and director.\n```", "apiRef": "Autocut in Hybrid Search\n\nAnother way to limit the results returned by a hybrid search is to use the\u00a0`autocut`\u00a0filter. Autocut takes a positive integer parameter\u00a0`N`, looks at the\u00a0score\u00a0of each result, and stops returning results after the\u00a0`N`th \"drop\" in score. Because\u00a0`hybrid`\u00a0combines a vector search with a keyword (BM25F) search, their scores/distances cannot be directly compared, so the cut points may not be intuitive.\n\nAutocut can be used as follows:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n hybrid: {\n query: \"safety\"\n },\n autocut: 1\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-hybrid-with-autocut.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}", "schemaPath": "filmfestivals.json", "modelOutput": "{\n Get {\n FilmFestival(\n hybrid: {\n query: \"Cannes\"\n },\n autocut: 1\n ) {\n festivalName\n location\n description\n featuredFilm {\n ... on Film {\n title\n director\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me boats with a hybrid search of 'sailboat', cutting results off with the first steep drop in the Hybrid search score, and show the boat name, type, capacity, motorization status, and manufacturer's company name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Boat(\n hybrid: {\n query: \"sailboat\"\n },\n autocut: 1\n ) {\n boatName\n type\n capacity\n isMotorized\n manufacturer {\n ... on BoatManufacturer {\n companyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me boats with a hybrid search of 'sailboat', cutting results off with the first steep drop in the Hybrid search score, and show the boat name, type, capacity, motorization status, and manufacturer's company name.\n```", "apiRef": "Autocut in Hybrid Search\n\nAnother way to limit the results returned by a hybrid search is to use the\u00a0`autocut`\u00a0filter. Autocut takes a positive integer parameter\u00a0`N`, looks at the\u00a0score\u00a0of each result, and stops returning results after the\u00a0`N`th \"drop\" in score. Because\u00a0`hybrid`\u00a0combines a vector search with a keyword (BM25F) search, their scores/distances cannot be directly compared, so the cut points may not be intuitive.\n\nAutocut can be used as follows:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n hybrid: {\n query: \"safety\"\n },\n autocut: 1\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-hybrid-with-autocut.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}", "schemaPath": "boats.json", "modelOutput": "{\n Get {\n Boat(\n hybrid: {\n query: \"sailboat\"\n },\n autocut: 1\n ) {\n boatName\n type\n capacity\n isMotorized\n manufacturer {\n ... on BoatManufacturer {\n companyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}\n\n COMMAND:\n ```text\nGet me national parks with a hybrid search of 'mountain', cutting results off with the first steep drop in the Hybrid search score, and show the park name, description, location, established year, entry fee status, wildlife, and facilities with their names and descriptions.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NationalPark(\n hybrid: {\n query: \"mountain\"\n },\n autocut: 1\n ) {\n parkName\n description\n location\n establishedYear\n isEntryFree\n wildlife\n facilities {\n ... on Facility {\n facilityName\n description\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me national parks with a hybrid search of 'mountain', cutting results off with the first steep drop in the Hybrid search score, and show the park name, description, location, established year, entry fee status, wildlife, and facilities with their names and descriptions.\n```", "apiRef": "Autocut in Hybrid Search\n\nAnother way to limit the results returned by a hybrid search is to use the\u00a0`autocut`\u00a0filter. Autocut takes a positive integer parameter\u00a0`N`, looks at the\u00a0score\u00a0of each result, and stops returning results after the\u00a0`N`th \"drop\" in score. Because\u00a0`hybrid`\u00a0combines a vector search with a keyword (BM25F) search, their scores/distances cannot be directly compared, so the cut points may not be intuitive.\n\nAutocut can be used as follows:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n hybrid: {\n query: \"safety\"\n },\n autocut: 1\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-hybrid-with-autocut.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}", "schemaPath": "nationalparks.json", "modelOutput": "{\n Get {\n NationalPark(\n hybrid: {\n query: \"mountain\"\n },\n autocut: 1\n ) {\n parkName\n description\n location\n establishedYear\n isEntryFree\n wildlife\n facilities {\n ... on Facility {\n facilityName\n description\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}\n\n COMMAND:\n ```text\nGet me pets with a hybrid search of 'dog', cutting results off with the first steep drop in the Hybrid search score, and show the pet's name, species, breed, age, and owner's full name, address, and contact number.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Pet(\n hybrid: {\n query: \"dog\"\n },\n autocut: 1\n ) {\n petName\n species\n breed\n age\n owner {\n ... on Person {\n fullName\n address\n contactNumber\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me pets with a hybrid search of 'dog', cutting results off with the first steep drop in the Hybrid search score, and show the pet's name, species, breed, age, and owner's full name, address, and contact number.\n```", "apiRef": "Autocut in Hybrid Search\n\nAnother way to limit the results returned by a hybrid search is to use the\u00a0`autocut`\u00a0filter. Autocut takes a positive integer parameter\u00a0`N`, looks at the\u00a0score\u00a0of each result, and stops returning results after the\u00a0`N`th \"drop\" in score. Because\u00a0`hybrid`\u00a0combines a vector search with a keyword (BM25F) search, their scores/distances cannot be directly compared, so the cut points may not be intuitive.\n\nAutocut can be used as follows:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n hybrid: {\n query: \"safety\"\n },\n autocut: 1\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-hybrid-with-autocut.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}", "schemaPath": "pets.json", "modelOutput": "{\n Get {\n Pet(\n hybrid: {\n query: \"dog\"\n },\n autocut: 1\n ) {\n petName\n species\n breed\n age\n owner {\n ... on Person {\n fullName\n address\n contactNumber\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}\n\n COMMAND:\n ```text\nGet me jewelry items with a hybrid search of 'necklace', cutting results off with the first steep drop in the Hybrid search score, and show the name, material, gemstone name, price, and whether it is handmade.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n JewelryItem(\n hybrid: {\n query: \"necklace\"\n },\n autocut: 1\n ) {\n name\n material\n gemstone {\n ... on Gemstone {\n name\n }\n }\n price\n isHandmade\n }\n }\n}\n```", "nlcommand": "```text\nGet me jewelry items with a hybrid search of 'necklace', cutting results off with the first steep drop in the Hybrid search score, and show the name, material, gemstone name, price, and whether it is handmade.\n```", "apiRef": "Autocut in Hybrid Search\n\nAnother way to limit the results returned by a hybrid search is to use the\u00a0`autocut`\u00a0filter. Autocut takes a positive integer parameter\u00a0`N`, looks at the\u00a0score\u00a0of each result, and stops returning results after the\u00a0`N`th \"drop\" in score. Because\u00a0`hybrid`\u00a0combines a vector search with a keyword (BM25F) search, their scores/distances cannot be directly compared, so the cut points may not be intuitive.\n\nAutocut can be used as follows:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n hybrid: {\n query: \"safety\"\n },\n autocut: 1\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-hybrid-with-autocut.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}", "schemaPath": "jewelry.json", "modelOutput": "{\n Get {\n JewelryItem(\n hybrid: {\n query: \"necklace\"\n },\n autocut: 1\n ) {\n name\n material\n gemstone {\n ... on Gemstone {\n name\n }\n }\n price\n isHandmade\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}\n\n COMMAND:\n ```text\nGet me space missions with a hybrid search of 'moon landing', cutting results off with the first steep drop in the Hybrid search score, and show the mission name, objective, launch year, mission status, and space agency's name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n SpaceMission(\n hybrid: {\n query: \"moon landing\"\n },\n autocut: 1\n ) {\n missionName\n objective\n launchYear\n missionStatus\n spaceAgency {\n ... on SpaceAgency {\n agencyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me space missions with a hybrid search of 'moon landing', cutting results off with the first steep drop in the Hybrid search score, and show the mission name, objective, launch year, mission status, and space agency's name.\n```", "apiRef": "Autocut in Hybrid Search\n\nAnother way to limit the results returned by a hybrid search is to use the\u00a0`autocut`\u00a0filter. Autocut takes a positive integer parameter\u00a0`N`, looks at the\u00a0score\u00a0of each result, and stops returning results after the\u00a0`N`th \"drop\" in score. Because\u00a0`hybrid`\u00a0combines a vector search with a keyword (BM25F) search, their scores/distances cannot be directly compared, so the cut points may not be intuitive.\n\nAutocut can be used as follows:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n hybrid: {\n query: \"safety\"\n },\n autocut: 1\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-hybrid-with-autocut.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}", "schemaPath": "spaceexploration.json", "modelOutput": "{\n Get {\n SpaceMission(\n hybrid: {\n query: \"moon landing\"\n },\n autocut: 1\n ) {\n missionName\n objective\n launchYear\n missionStatus\n spaceAgency {\n ... on SpaceAgency {\n agencyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}\n\n COMMAND:\n ```text\nGet me non-profit organizations with a hybrid search of 'education', cutting results off with the first steep drop in the Hybrid search score, and show the name, mission, founded year, focus area, and founder's full name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NonProfit(\n hybrid: {\n query: \"education\"\n },\n autocut: 1\n ) {\n name\n mission\n foundedYear\n focusArea\n founder {\n ... on Person {\n fullName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me non-profit organizations with a hybrid search of 'education', cutting results off with the first steep drop in the Hybrid search score, and show the name, mission, founded year, focus area, and founder's full name.\n```", "apiRef": "Autocut in Hybrid Search\n\nAnother way to limit the results returned by a hybrid search is to use the\u00a0`autocut`\u00a0filter. Autocut takes a positive integer parameter\u00a0`N`, looks at the\u00a0score\u00a0of each result, and stops returning results after the\u00a0`N`th \"drop\" in score. Because\u00a0`hybrid`\u00a0combines a vector search with a keyword (BM25F) search, their scores/distances cannot be directly compared, so the cut points may not be intuitive.\n\nAutocut can be used as follows:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n hybrid: {\n query: \"safety\"\n },\n autocut: 1\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-hybrid-with-autocut.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}", "schemaPath": "nonprofits.json", "modelOutput": "{\n Get {\n NonProfit(\n hybrid: {\n query: \"education\"\n },\n autocut: 1\n ) {\n name\n mission\n foundedYear\n focusArea\n founder {\n ... on Person {\n fullName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}\n\n COMMAND:\n ```text\nGet me AR applications with a hybrid search of 'augmented reality', cutting results off with the first steep drop in the Hybrid search score, and show the application name, description, platform, and developer's company name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ARApplication(\n hybrid: {\n query: \"augmented reality\"\n },\n autocut: 1\n ) {\n appName\n description\n platform\n developer {\n ... on SoftwareCompany {\n companyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me AR applications with a hybrid search of 'augmented reality', cutting results off with the first steep drop in the Hybrid search score, and show the application name, description, platform, and developer's company name.\n```", "apiRef": "Autocut in Hybrid Search\n\nAnother way to limit the results returned by a hybrid search is to use the\u00a0`autocut`\u00a0filter. Autocut takes a positive integer parameter\u00a0`N`, looks at the\u00a0score\u00a0of each result, and stops returning results after the\u00a0`N`th \"drop\" in score. Because\u00a0`hybrid`\u00a0combines a vector search with a keyword (BM25F) search, their scores/distances cannot be directly compared, so the cut points may not be intuitive.\n\nAutocut can be used as follows:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n hybrid: {\n query: \"safety\"\n },\n autocut: 1\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-hybrid-with-autocut.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}", "schemaPath": "augmentedreality.json", "modelOutput": "{\n Get {\n ARApplication(\n hybrid: {\n query: \"augmented reality\"\n },\n autocut: 1\n ) {\n appName\n description\n platform\n developer {\n ... on SoftwareCompany {\n companyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}\n\n COMMAND:\n ```text\nGet me the chemical compounds with a hybrid search of 'water', please use an alpha value of 0.25 in the hybrid search, and show the compound name, formula, molar mass, and information about the elements it contains including the element name, symbol, atomic number, and whether it is a metal.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ChemicalCompound(\n hybrid: {\n query: \"water\",\n alpha: 0.25\n },\n limit: 5\n ) {\n compoundName\n formula\n molarMass\n containsElements {\n ... on ChemicalElement {\n elementName\n symbol\n atomicNumber\n isMetal\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the chemical compounds with a hybrid search of 'water', please use an alpha value of 0.25 in the hybrid search, and show the compound name, formula, molar mass, and information about the elements it contains including the element name, symbol, atomic number, and whether it is a metal.\n```", "apiRef": "Weight keyword vs vector results in Hybrid Search\n\nYou can use the\u00a0`alpha`\u00a0argument to weight the keyword (`bm25`) or vector search results. An\u00a0`alpha`\u00a0of\u00a0`1`\u00a0is for a pure vector search and\u00a0`0`\u00a0is for a pure keyword search. The default is\u00a0`0.75`.\n\nThe following example uses an alpha of\u00a0`0.25`, favoring keyword search results.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n alpha: 0.25\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-alpha.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}", "schemaPath": "chemicals.json", "modelOutput": "{\n Get {\n ChemicalCompound(\n hybrid: {\n query: \"water\",\n alpha: 0.25\n },\n limit: 5\n ) {\n compoundName\n formula\n molarMass\n containsElements {\n ... on ChemicalElement {\n elementName\n symbol\n isMetal\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the VR experiences with a hybrid search of 'action', please use an alpha value of 0.25 in the hybrid search, and show the title, developer's name, genre, release year, and whether it is multiplayer.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n VRExperience(\n hybrid: {\n query: \"action\",\n alpha: 0.25\n },\n limit: 5\n ) {\n title\n developer {\n ... on Developer {\n name\n }\n }\n genre\n releaseYear\n isMultiplayer\n }\n }\n}\n```", "nlcommand": "```text\nGet me the VR experiences with a hybrid search of 'action', please use an alpha value of 0.25 in the hybrid search, and show the title, developer's name, genre, release year, and whether it is multiplayer.\n```", "apiRef": "Weight keyword vs vector results in Hybrid Search\n\nYou can use the\u00a0`alpha`\u00a0argument to weight the keyword (`bm25`) or vector search results. An\u00a0`alpha`\u00a0of\u00a0`1`\u00a0is for a pure vector search and\u00a0`0`\u00a0is for a pure keyword search. The default is\u00a0`0.75`.\n\nThe following example uses an alpha of\u00a0`0.25`, favoring keyword search results.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n alpha: 0.25\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-alpha.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}", "schemaPath": "virtualreality.json", "modelOutput": "{\n Get {\n VRExperience(\n hybrid: {\n query: \"action\",\n alpha: 0.25\n },\n limit: 5\n ) {\n title\n developer {\n ... on Developer {\n name\n }\n }\n genre\n releaseYear\n isMultiplayer\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}\n\n COMMAND:\n ```text\nGet me the drugs with a hybrid search of 'pain relief', please use an alpha value of 0.25 in the hybrid search, and show the drug name, active ingredient, approval year, over-the-counter status, and manufacturer's company name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Drug(\n hybrid: {\n query: \"pain relief\",\n alpha: 0.25\n },\n limit: 5\n ) {\n drugName\n activeIngredient\n approvalYear\n isOTC\n manufacturer {\n ... on Manufacturer {\n companyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the drugs with a hybrid search of 'pain relief', please use an alpha value of 0.25 in the hybrid search, and show the drug name, active ingredient, approval year, over-the-counter status, and manufacturer's company name.\n```", "apiRef": "Weight keyword vs vector results in Hybrid Search\n\nYou can use the\u00a0`alpha`\u00a0argument to weight the keyword (`bm25`) or vector search results. An\u00a0`alpha`\u00a0of\u00a0`1`\u00a0is for a pure vector search and\u00a0`0`\u00a0is for a pure keyword search. The default is\u00a0`0.75`.\n\nThe following example uses an alpha of\u00a0`0.25`, favoring keyword search results.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n alpha: 0.25\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-alpha.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}", "schemaPath": "pharmaceuticals.json", "modelOutput": "{\n Get {\n Drug(\n hybrid: {\n query: \"pain relief\",\n alpha: 0.25\n },\n limit: 5\n ) {\n drugName\n activeIngredient\n approvalYear\n isOTC\n manufacturer {\n ... on Manufacturer {\n companyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}\n\n COMMAND:\n ```text\nGet me the film festivals with a hybrid search of 'Cannes', please use an alpha value of 0.25 in the hybrid search, and show the festival name, location, description, and featured film's title and director.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n FilmFestival(\n hybrid: {\n query: \"Cannes\",\n alpha: 0.25\n },\n limit: 3\n ) {\n festivalName\n location\n description\n featuredFilm {\n ... on Film {\n filmTitle\n director\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the film festivals with a hybrid search of 'Cannes', please use an alpha value of 0.25 in the hybrid search, and show the festival name, location, description, and featured film's title and director.\n```", "apiRef": "Weight keyword vs vector results in Hybrid Search\n\nYou can use the\u00a0`alpha`\u00a0argument to weight the keyword (`bm25`) or vector search results. An\u00a0`alpha`\u00a0of\u00a0`1`\u00a0is for a pure vector search and\u00a0`0`\u00a0is for a pure keyword search. The default is\u00a0`0.75`.\n\nThe following example uses an alpha of\u00a0`0.25`, favoring keyword search results.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n alpha: 0.25\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-alpha.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}", "schemaPath": "filmfestivals.json", "modelOutput": "{\n Get {\n FilmFestival(\n hybrid: {\n query: \"Cannes\",\n alpha: 0.25\n },\n limit: 5\n ) {\n festivalName\n location\n description\n featuredFilm {\n ... on Film {\n title\n director\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the boats with a hybrid search of 'sailboat', please use an alpha value of 0.25 in the hybrid search, and show the boat name, type, capacity, motorization status, and manufacturer's company name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Boat(\n hybrid: {\n query: \"sailboat\",\n alpha: 0.25\n },\n limit: 5\n ) {\n boatName\n type\n capacity\n isMotorized\n manufacturer {\n ... on BoatManufacturer {\n companyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the boats with a hybrid search of 'sailboat', please use an alpha value of 0.25 in the hybrid search, and show the boat name, type, capacity, motorization status, and manufacturer's company name.\n```", "apiRef": "Weight keyword vs vector results in Hybrid Search\n\nYou can use the\u00a0`alpha`\u00a0argument to weight the keyword (`bm25`) or vector search results. An\u00a0`alpha`\u00a0of\u00a0`1`\u00a0is for a pure vector search and\u00a0`0`\u00a0is for a pure keyword search. The default is\u00a0`0.75`.\n\nThe following example uses an alpha of\u00a0`0.25`, favoring keyword search results.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n alpha: 0.25\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-alpha.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}", "schemaPath": "boats.json", "modelOutput": "{\n Get {\n Boat(\n hybrid: {\n query: \"sailboat\",\n alpha: 0.25\n },\n limit: 5\n ) {\n boatName\n type\n capacity\n isMotorized\n manufacturer {\n ... on BoatManufacturer {\n companyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}\n\n COMMAND:\n ```text\nGet me the national parks with a hybrid search of 'mountain', please use an alpha value of 0.25 in the hybrid search, and show the park name, description, location, established year, entry fee status, wildlife, and facility name with description.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NationalPark(\n hybrid: {\n query: \"mountain\",\n alpha: 0.25\n },\n limit: 3\n ) {\n parkName\n description\n location\n establishedYear\n isEntryFree\n wildlife\n facilities {\n ... on Facility {\n facilityName\n description\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the national parks with a hybrid search of 'mountain', please use an alpha value of 0.25 in the hybrid search, and show the park name, description, location, established year, entry fee status, wildlife, and facility name with description.\n```", "apiRef": "Weight keyword vs vector results in Hybrid Search\n\nYou can use the\u00a0`alpha`\u00a0argument to weight the keyword (`bm25`) or vector search results. An\u00a0`alpha`\u00a0of\u00a0`1`\u00a0is for a pure vector search and\u00a0`0`\u00a0is for a pure keyword search. The default is\u00a0`0.75`.\n\nThe following example uses an alpha of\u00a0`0.25`, favoring keyword search results.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n alpha: 0.25\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-alpha.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}", "schemaPath": "nationalparks.json", "modelOutput": "{\n Get {\n NationalPark(\n hybrid: {\n query: \"mountain\",\n alpha: 0.25\n },\n limit: 5\n ) {\n parkName\n description\n location\n establishedYear\n isEntryFree\n wildlife\n facilities {\n ... on Facility {\n facilityName\n description\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}\n\n COMMAND:\n ```text\nGet me the pets with a hybrid search of 'dog', please use an alpha value of 0.25 in the hybrid search, and show the pet name, species, breed, age, owner's full name, address, and contact number.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Pet(\n hybrid: {\n query: \"dog\",\n alpha: 0.25\n },\n limit: 5\n ) {\n petName\n species\n breed\n age\n owner {\n ... on Person {\n fullName\n address\n contactNumber\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the pets with a hybrid search of 'dog', please use an alpha value of 0.25 in the hybrid search, and show the pet name, species, breed, age, owner's full name, address, and contact number.\n```", "apiRef": "Weight keyword vs vector results in Hybrid Search\n\nYou can use the\u00a0`alpha`\u00a0argument to weight the keyword (`bm25`) or vector search results. An\u00a0`alpha`\u00a0of\u00a0`1`\u00a0is for a pure vector search and\u00a0`0`\u00a0is for a pure keyword search. The default is\u00a0`0.75`.\n\nThe following example uses an alpha of\u00a0`0.25`, favoring keyword search results.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n alpha: 0.25\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-alpha.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}", "schemaPath": "pets.json", "modelOutput": "{\n Get {\n Pet(\n hybrid: {\n query: \"dog\",\n alpha: 0.25\n },\n limit: 5\n ) {\n petName\n species\n breed\n age\n owner {\n ... on Person {\n fullName\n address\n contactNumber\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}\n\n COMMAND:\n ```text\nGet me the jewelry items with a hybrid search of 'necklace', please use an alpha value of 0.25 in the hybrid search, and show the name, material, gemstone's name and hardness, price, and whether it is handmade.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n JewelryItem(\n hybrid: {\n query: \"necklace\",\n alpha: 0.25\n },\n limit: 5\n ) {\n name\n material\n gemstone {\n ... on Gemstone {\n name\n hardness\n }\n }\n price\n isHandmade\n }\n }\n}\n```", "nlcommand": "```text\nGet me the jewelry items with a hybrid search of 'necklace', please use an alpha value of 0.25 in the hybrid search, and show the name, material, gemstone's name and hardness, price, and whether it is handmade.\n```", "apiRef": "Weight keyword vs vector results in Hybrid Search\n\nYou can use the\u00a0`alpha`\u00a0argument to weight the keyword (`bm25`) or vector search results. An\u00a0`alpha`\u00a0of\u00a0`1`\u00a0is for a pure vector search and\u00a0`0`\u00a0is for a pure keyword search. The default is\u00a0`0.75`.\n\nThe following example uses an alpha of\u00a0`0.25`, favoring keyword search results.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n alpha: 0.25\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-alpha.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}", "schemaPath": "jewelry.json", "modelOutput": "{\n Get {\n JewelryItem(\n hybrid: {\n query: \"necklace\",\n alpha: 0.25\n },\n limit: 5\n ) {\n name\n material\n gemstone {\n ... on Gemstone {\n name\n hardness\n }\n }\n price\n isHandmade\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}\n\n COMMAND:\n ```text\nGet me the space missions with a hybrid search of 'moon landing', please use an alpha value of 0.25 in the hybrid search, and show the mission name, objective, launch year, mission status, and space agency's name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n SpaceMission(\n hybrid: {\n query: \"moon landing\",\n alpha: 0.25\n },\n limit: 5\n ) {\n missionName\n objective\n launchYear\n missionStatus\n spaceAgency {\n ... on SpaceAgency {\n agencyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the space missions with a hybrid search of 'moon landing', please use an alpha value of 0.25 in the hybrid search, and show the mission name, objective, launch year, mission status, and space agency's name.\n```", "apiRef": "Weight keyword vs vector results in Hybrid Search\n\nYou can use the\u00a0`alpha`\u00a0argument to weight the keyword (`bm25`) or vector search results. An\u00a0`alpha`\u00a0of\u00a0`1`\u00a0is for a pure vector search and\u00a0`0`\u00a0is for a pure keyword search. The default is\u00a0`0.75`.\n\nThe following example uses an alpha of\u00a0`0.25`, favoring keyword search results.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n alpha: 0.25\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-alpha.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}", "schemaPath": "spaceexploration.json", "modelOutput": "{\n Get {\n SpaceMission(\n hybrid: {\n query: \"moon landing\",\n alpha: 0.25\n },\n limit: 5\n ) {\n missionName\n objective\n launchYear\n missionStatus\n spaceAgency {\n ... on SpaceAgency {\n agencyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}\n\n COMMAND:\n ```text\nGet me the non-profit organizations with a hybrid search of 'education', please use an alpha value of 0.25 in the hybrid search, and show the name, mission, founded year, focus area, and founder's full name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NonProfit(\n hybrid: {\n query: \"education\",\n alpha: 0.25\n },\n limit: 5\n ) {\n name\n mission\n foundedYear\n focusArea\n founder {\n ... on Person {\n fullName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the non-profit organizations with a hybrid search of 'education', please use an alpha value of 0.25 in the hybrid search, and show the name, mission, founded year, focus area, and founder's full name.\n```", "apiRef": "Weight keyword vs vector results in Hybrid Search\n\nYou can use the\u00a0`alpha`\u00a0argument to weight the keyword (`bm25`) or vector search results. An\u00a0`alpha`\u00a0of\u00a0`1`\u00a0is for a pure vector search and\u00a0`0`\u00a0is for a pure keyword search. The default is\u00a0`0.75`.\n\nThe following example uses an alpha of\u00a0`0.25`, favoring keyword search results.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n alpha: 0.25\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-alpha.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}", "schemaPath": "nonprofits.json", "modelOutput": "{\n Get {\n NonProfit(\n hybrid: {\n query: \"education\",\n alpha: 0.25\n },\n limit: 5\n ) {\n name\n mission\n foundedYear\n focusArea\n founder {\n ... on Person {\n fullName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}\n\n COMMAND:\n ```text\nGet me the AR applications with a hybrid search of 'augmented reality', please use an alpha value of 0.25 in the hybrid search, and show the application name, description, platform, and developer's company name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ARApplication(\n hybrid: {\n query: \"augmented reality\",\n alpha: 0.25\n },\n limit: 5\n ) {\n appName\n description\n platform\n developer {\n ... on SoftwareCompany {\n companyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the AR applications with a hybrid search of 'augmented reality', please use an alpha value of 0.25 in the hybrid search, and show the application name, description, platform, and developer's company name.\n```", "apiRef": "Weight keyword vs vector results in Hybrid Search\n\nYou can use the\u00a0`alpha`\u00a0argument to weight the keyword (`bm25`) or vector search results. An\u00a0`alpha`\u00a0of\u00a0`1`\u00a0is for a pure vector search and\u00a0`0`\u00a0is for a pure keyword search. The default is\u00a0`0.75`.\n\nThe following example uses an alpha of\u00a0`0.25`, favoring keyword search results.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n alpha: 0.25\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-alpha.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}", "schemaPath": "augmentedreality.json", "modelOutput": "{\n Get {\n ARApplication(\n hybrid: {\n query: \"augmented reality\",\n alpha: 0.25\n },\n limit: 5\n ) {\n appName\n description\n platform\n developer {\n ... on SoftwareCompany {\n companyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 5 chemical compounds with BM25 keyword scoring to 'water' in the compound name, and show the compound name, formula, molar mass, and the elements it contains with their names, symbols, atomic numbers, and whether they are metals.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ChemicalCompound(\n bm25: {\n query: \"water\",\n properties: [\"compoundName\"]\n },\n limit: 5\n ) {\n compoundName\n formula\n molarMass\n containsElements {\n ... on ChemicalElement {\n elementName\n symbol\n atomicNumber\n isMetal\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 5 chemical compounds with BM25 keyword scoring to 'water' in the compound name, and show the compound name, formula, molar mass, and the elements it contains with their names, symbols, atomic numbers, and whether they are metals.\n```", "apiRef": "BM25 with Selected properties\n\nYou can specify the object\u00a0`properties`\u00a0to search in.\n\nThe below example searches for objects containing the keyword\u00a0`food`\u00a0in the\u00a0`question`\u00a0property only, ranks them using BM25F scores of the searched property, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\",\n properties: [\"question\"]\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-select-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}", "schemaPath": "chemicals.json", "modelOutput": "{\n Get {\n ChemicalCompound(\n bm25: {\n query: \"water\",\n properties: [\"compoundName\"]\n },\n limit: 5\n ) {\n compoundName\n formula\n molarMass\n containsElements {\n ... on ChemicalElement {\n elementName\n symbol\n isMetal\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 5 VR experiences with BM25 keyword scoring to 'action' in the title, and show the title, developer's name, genre, release year, and multiplayer availability.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n VRExperience(\n bm25: {\n query: \"action\",\n properties: [\"title\"]\n },\n limit: 5\n ) {\n title\n developer {\n ... on Developer {\n name\n }\n }\n genre\n releaseYear\n isMultiplayer\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 5 VR experiences with BM25 keyword scoring to 'action' in the title, and show the title, developer's name, genre, release year, and multiplayer availability.\n```", "apiRef": "BM25 with Selected properties\n\nYou can specify the object\u00a0`properties`\u00a0to search in.\n\nThe below example searches for objects containing the keyword\u00a0`food`\u00a0in the\u00a0`question`\u00a0property only, ranks them using BM25F scores of the searched property, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\",\n properties: [\"question\"]\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-select-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}", "schemaPath": "virtualreality.json", "modelOutput": "{\n Get {\n VRExperience(\n bm25: {\n query: \"action\",\n properties: [\"title\"]\n },\n limit: 5\n ) {\n title\n developer {\n ... on Developer {\n name\n }\n }\n genre\n releaseYear\n isMultiplayer\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 5 drugs with BM25 keyword scoring to 'headache' in the drug name, and show the drug name, active ingredient, approval year, over-the-counter availability, and manufacturer's company name, founded year, headquarters, and global presence.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Drug(\n bm25: {\n query: \"headache\",\n properties: [\"drugName\"]\n },\n limit: 5\n ) {\n drugName\n activeIngredient\n approvalYear\n isOTC\n manufacturer {\n ... on Manufacturer {\n companyName\n foundedYear\n headquarters\n isGlobal\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 5 drugs with BM25 keyword scoring to 'headache' in the drug name, and show the drug name, active ingredient, approval year, over-the-counter availability, and manufacturer's company name, founded year, headquarters, and global presence.\n```", "apiRef": "BM25 with Selected properties\n\nYou can specify the object\u00a0`properties`\u00a0to search in.\n\nThe below example searches for objects containing the keyword\u00a0`food`\u00a0in the\u00a0`question`\u00a0property only, ranks them using BM25F scores of the searched property, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\",\n properties: [\"question\"]\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-select-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}", "schemaPath": "pharmaceuticals.json", "modelOutput": "{\n Get {\n Drug(\n bm25: {\n query: \"headache\",\n properties: [\"drugName\"]\n },\n limit: 5\n ) {\n drugName\n activeIngredient\n approvalYear\n isOTC\n manufacturer {\n ... on Manufacturer {\n companyName\n foundedYear\n headquarters\n isGlobal\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 3 film festivals with BM25 keyword scoring to 'Cannes' in the festival name, and show the festival name, location, description, and featured film's title and director.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n FilmFestival(\n bm25: {\n query: \"Cannes\",\n properties: [\"festivalName\"]\n },\n limit: 3\n ) {\n festivalName\n location\n description\n featuredFilm {\n ... on Film {\n filmTitle\n director\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 3 film festivals with BM25 keyword scoring to 'Cannes' in the festival name, and show the festival name, location, description, and featured film's title and director.\n```", "apiRef": "BM25 with Selected properties\n\nYou can specify the object\u00a0`properties`\u00a0to search in.\n\nThe below example searches for objects containing the keyword\u00a0`food`\u00a0in the\u00a0`question`\u00a0property only, ranks them using BM25F scores of the searched property, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\",\n properties: [\"question\"]\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-select-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}", "schemaPath": "filmfestivals.json", "modelOutput": "{\n Get {\n FilmFestival(\n bm25: {\n query: \"Cannes\",\n properties: [\"festivalName\"]\n },\n limit: 3\n ) {\n festivalName\n location\n description\n featuredFilm {\n ... on Film {\n title\n director\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 5 boats with BM25 keyword scoring to 'sailboat' in the type, and show the boat name, type, capacity, motorization status, and manufacturer's company name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Boat(\n bm25: {\n query: \"sailboat\",\n properties: [\"type\"]\n },\n limit: 5\n ) {\n boatName\n type\n capacity\n isMotorized\n manufacturer {\n ... on BoatManufacturer {\n companyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 5 boats with BM25 keyword scoring to 'sailboat' in the type, and show the boat name, type, capacity, motorization status, and manufacturer's company name.\n```", "apiRef": "BM25 with Selected properties\n\nYou can specify the object\u00a0`properties`\u00a0to search in.\n\nThe below example searches for objects containing the keyword\u00a0`food`\u00a0in the\u00a0`question`\u00a0property only, ranks them using BM25F scores of the searched property, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\",\n properties: [\"question\"]\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-select-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}", "schemaPath": "boats.json", "modelOutput": "{\n Get {\n Boat(\n bm25: {\n query: \"sailboat\",\n properties: [\"type\"]\n },\n limit: 5\n ) {\n boatName\n type\n capacity\n isMotorized\n manufacturer {\n ... on BoatManufacturer {\n companyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 3 national parks with BM25 keyword scoring to 'mountain' in the description, and show the park name, description, location, established year, entry fee status, wildlife, and facilities with their names and descriptions.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NationalPark(\n bm25: {\n query: \"mountain\",\n properties: [\"description\"]\n },\n limit: 3\n ) {\n parkName\n description\n location\n establishedYear\n isEntryFree\n wildlife\n facilities {\n ... on Facility {\n facilityName\n description\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 3 national parks with BM25 keyword scoring to 'mountain' in the description, and show the park name, description, location, established year, entry fee status, wildlife, and facilities with their names and descriptions.\n```", "apiRef": "BM25 with Selected properties\n\nYou can specify the object\u00a0`properties`\u00a0to search in.\n\nThe below example searches for objects containing the keyword\u00a0`food`\u00a0in the\u00a0`question`\u00a0property only, ranks them using BM25F scores of the searched property, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\",\n properties: [\"question\"]\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-select-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}", "schemaPath": "nationalparks.json", "modelOutput": "{\n Get {\n NationalPark(\n bm25: {\n query: \"mountain\",\n properties: [\"description\"]\n },\n limit: 3\n ) {\n parkName\n description\n location\n establishedYear\n isEntryFree\n wildlife\n facilities {\n ... on Facility {\n facilityName\n description\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 5 pets with BM25 keyword scoring to 'dog' in the pet name, and show the pet name, species, breed, age, owner's full name, address, and contact number.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Pet(\n bm25: {\n query: \"dog\",\n properties: [\"petName\"]\n },\n limit: 5\n ) {\n petName\n species\n breed\n age\n owner {\n ... on Person {\n fullName\n address\n contactNumber\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 5 pets with BM25 keyword scoring to 'dog' in the pet name, and show the pet name, species, breed, age, owner's full name, address, and contact number.\n```", "apiRef": "BM25 with Selected properties\n\nYou can specify the object\u00a0`properties`\u00a0to search in.\n\nThe below example searches for objects containing the keyword\u00a0`food`\u00a0in the\u00a0`question`\u00a0property only, ranks them using BM25F scores of the searched property, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\",\n properties: [\"question\"]\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-select-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}", "schemaPath": "pets.json", "modelOutput": "{\n Get {\n Pet(\n bm25: {\n query: \"dog\",\n properties: [\"petName\"]\n },\n limit: 5\n ) {\n petName\n species\n breed\n age\n owner {\n ... on Person {\n fullName\n address\n contactNumber\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 5 jewelry items with BM25 keyword scoring to 'diamond' in the name, and show the name, material, gemstone's name and hardness, price, and whether it is handmade.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n JewelryItem(\n bm25: {\n query: \"diamond\",\n properties: [\"name\"]\n },\n limit: 5\n ) {\n name\n material\n gemstone {\n ... on Gemstone {\n name\n hardness\n }\n }\n price\n isHandmade\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 5 jewelry items with BM25 keyword scoring to 'diamond' in the name, and show the name, material, gemstone's name and hardness, price, and whether it is handmade.\n```", "apiRef": "BM25 with Selected properties\n\nYou can specify the object\u00a0`properties`\u00a0to search in.\n\nThe below example searches for objects containing the keyword\u00a0`food`\u00a0in the\u00a0`question`\u00a0property only, ranks them using BM25F scores of the searched property, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\",\n properties: [\"question\"]\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-select-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}", "schemaPath": "jewelry.json", "modelOutput": "{\n Get {\n JewelryItem(\n bm25: {\n query: \"diamond\",\n properties: [\"name\"]\n },\n limit: 5\n ) {\n name\n material\n gemstone {\n ... on Gemstone {\n name\n hardness\n }\n }\n price\n isHandmade\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 5 space missions with BM25 keyword scoring to 'moon landing' in the mission name, and show the mission name, objective, launch year, mission status, space agency's name, founded year, and headquarters.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n SpaceMission(\n bm25: {\n query: \"moon landing\",\n properties: [\"missionName\"]\n },\n limit: 5\n ) {\n missionName\n objective\n launchYear\n missionStatus\n spaceAgency {\n ... on SpaceAgency {\n agencyName\n foundedYear\n headquarters\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 5 space missions with BM25 keyword scoring to 'moon landing' in the mission name, and show the mission name, objective, launch year, mission status, space agency's name, founded year, and headquarters.\n```", "apiRef": "BM25 with Selected properties\n\nYou can specify the object\u00a0`properties`\u00a0to search in.\n\nThe below example searches for objects containing the keyword\u00a0`food`\u00a0in the\u00a0`question`\u00a0property only, ranks them using BM25F scores of the searched property, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\",\n properties: [\"question\"]\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-select-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}", "schemaPath": "spaceexploration.json", "modelOutput": "{\n Get {\n SpaceMission(\n bm25: {\n query: \"moon landing\",\n properties: [\"missionName\"]\n },\n limit: 5\n ) {\n missionName\n objective\n launchYear\n missionStatus\n spaceAgency {\n ... on SpaceAgency {\n agencyName\n foundedYear\n headquarters\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 5 non-profit organizations with BM25 keyword scoring to 'education' in the focus area, and show the name, mission, founded year, focus area, and founder's full name and bio.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NonProfit(\n bm25: {\n query: \"education\",\n properties: [\"focusArea\"]\n },\n limit: 5\n ) {\n name\n mission\n foundedYear\n focusArea\n founder {\n ... on Person {\n fullName\n bio\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 5 non-profit organizations with BM25 keyword scoring to 'education' in the focus area, and show the name, mission, founded year, focus area, and founder's full name and bio.\n```", "apiRef": "BM25 with Selected properties\n\nYou can specify the object\u00a0`properties`\u00a0to search in.\n\nThe below example searches for objects containing the keyword\u00a0`food`\u00a0in the\u00a0`question`\u00a0property only, ranks them using BM25F scores of the searched property, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\",\n properties: [\"question\"]\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-select-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}", "schemaPath": "nonprofits.json", "modelOutput": "{\n Get {\n NonProfit(\n bm25: {\n query: \"education\",\n properties: [\"focusedYear\"]\n },\n limit: 5\n ) {\n name\n foundedYear\n focusArea\n _additional {\n score\n }\n founder {\n ... on Person {\n fullName\n bio\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 5 AR applications with BM25 keyword scoring to 'augmented reality' in the description, and show the application name, description, platform, and developer's company name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ARApplication(\n bm25: {\n query: \"augmented reality\",\n properties: [\"description\"]\n },\n limit: 5\n ) {\n appName\n description\n platform\n developer {\n ... on SoftwareCompany {\n companyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 5 AR applications with BM25 keyword scoring to 'augmented reality' in the description, and show the application name, description, platform, and developer's company name.\n```", "apiRef": "BM25 with Selected properties\n\nYou can specify the object\u00a0`properties`\u00a0to search in.\n\nThe below example searches for objects containing the keyword\u00a0`food`\u00a0in the\u00a0`question`\u00a0property only, ranks them using BM25F scores of the searched property, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\",\n properties: [\"question\"]\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-select-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}", "schemaPath": "augmentedreality.json", "modelOutput": "{\n Get {\n ARApplication(\n bm25: {\n query: \"augmented reality\",\n properties: [\"description\"]\n },\n limit: 5\n ) {\n appName\n description\n platform\n developer {\n ... on SoftwareCompany {\n companyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}\n\n COMMAND:\n ```text\nShow me the element name and vector representation of chemical elements.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ChemicalElement {\n elementName\n _additional {\n vector\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the element name and vector representation of chemical elements.\n```", "apiRef": "Retrieve the object\u00a0`vector`\n\nTo retrieve the object vector, request the\u00a0`_additional`\u00a0property and\u00a0`vector`\u00a0sub-property. You can do so as shown below.\n\n```graphql\n{\n Get {\n JeopardyQuestion (limit: 1) {\n _additional {\n vector\n }\n }\n }\n}\n```", "apiRefPath": "get-retrieve-object-vector.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}", "schemaPath": "chemicals.json", "modelOutput": "{\n Get {\n ChemicalElement {\n elementName\n _additional {\n vector\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nShow me the title and vector representation of VR experiences.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n VRExperience {\n title\n _additional {\n vector\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the title and vector representation of VR experiences.\n```", "apiRef": "Retrieve the object\u00a0`vector`\n\nTo retrieve the object vector, request the\u00a0`_additional`\u00a0property and\u00a0`vector`\u00a0sub-property. You can do so as shown below.\n\n```graphql\n{\n Get {\n JeopardyQuestion (limit: 1) {\n _additional {\n vector\n }\n }\n }\n}\n```", "apiRefPath": "get-retrieve-object-vector.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}", "schemaPath": "virtualreality.json", "modelOutput": "{\n Get {\n VRExperience {\n title\n _additional {\n vector\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}\n\n COMMAND:\n ```text\nShow me the drug name and vector representation of drugs.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Drug {\n drugName\n _additional {\n vector\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the drug name and vector representation of drugs.\n```", "apiRef": "Retrieve the object\u00a0`vector`\n\nTo retrieve the object vector, request the\u00a0`_additional`\u00a0property and\u00a0`vector`\u00a0sub-property. You can do so as shown below.\n\n```graphql\n{\n Get {\n JeopardyQuestion (limit: 1) {\n _additional {\n vector\n }\n }\n }\n}\n```", "apiRefPath": "get-retrieve-object-vector.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}", "schemaPath": "pharmaceuticals.json", "modelOutput": "{\n Get {\n Drug {\n drugName\n _additional {\n vector\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}\n\n COMMAND:\n ```text\nShow me the festival name and vector representation of film festivals.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n FilmFestival {\n festivalName\n _additional {\n vector\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the festival name and vector representation of film festivals.\n```", "apiRef": "Retrieve the object\u00a0`vector`\n\nTo retrieve the object vector, request the\u00a0`_additional`\u00a0property and\u00a0`vector`\u00a0sub-property. You can do so as shown below.\n\n```graphql\n{\n Get {\n JeopardyQuestion (limit: 1) {\n _additional {\n vector\n }\n }\n }\n}\n```", "apiRefPath": "get-retrieve-object-vector.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}", "schemaPath": "filmfestivals.json", "modelOutput": "{\n Get {\n FilmFestival {\n festivalName\n _additional {\n vector\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}\n\n COMMAND:\n ```text\nShow me the boat name and vector representation of boats.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Boat {\n boatName\n _additional {\n vector\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the boat name and vector representation of boats.\n```", "apiRef": "Retrieve the object\u00a0`vector`\n\nTo retrieve the object vector, request the\u00a0`_additional`\u00a0property and\u00a0`vector`\u00a0sub-property. You can do so as shown below.\n\n```graphql\n{\n Get {\n JeopardyQuestion (limit: 1) {\n _additional {\n vector\n }\n }\n }\n}\n```", "apiRefPath": "get-retrieve-object-vector.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}", "schemaPath": "boats.json", "modelOutput": "{\n Get {\n Boat {\n boatName\n _additional {\n vector\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}\n\n COMMAND:\n ```text\nShow me the park name and vector representation of national parks.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NationalPark {\n parkName\n _additional {\n vector\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the park name and vector representation of national parks.\n```", "apiRef": "Retrieve the object\u00a0`vector`\n\nTo retrieve the object vector, request the\u00a0`_additional`\u00a0property and\u00a0`vector`\u00a0sub-property. You can do so as shown below.\n\n```graphql\n{\n Get {\n JeopardyQuestion (limit: 1) {\n _additional {\n vector\n }\n }\n }\n}\n```", "apiRefPath": "get-retrieve-object-vector.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}", "schemaPath": "nationalparks.json", "modelOutput": "{\n Get {\n NationalPark {\n parkName\n _additional {\n vector\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}\n\n COMMAND:\n ```text\nShow me the pet name and vector representation of pets.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Pet {\n petName\n _additional {\n vector\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the pet name and vector representation of pets.\n```", "apiRef": "Retrieve the object\u00a0`vector`\n\nTo retrieve the object vector, request the\u00a0`_additional`\u00a0property and\u00a0`vector`\u00a0sub-property. You can do so as shown below.\n\n```graphql\n{\n Get {\n JeopardyQuestion (limit: 1) {\n _additional {\n vector\n }\n }\n }\n}\n```", "apiRefPath": "get-retrieve-object-vector.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}", "schemaPath": "pets.json", "modelOutput": "{\n Get {\n Pet {\n petName\n _additional {\n vector\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}\n\n COMMAND:\n ```text\nShow me the name and vector representation of jewelry items.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n JewelryItem {\n name\n _additional {\n vector\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the name and vector representation of jewelry items.\n```", "apiRef": "Retrieve the object\u00a0`vector`\n\nTo retrieve the object vector, request the\u00a0`_additional`\u00a0property and\u00a0`vector`\u00a0sub-property. You can do so as shown below.\n\n```graphql\n{\n Get {\n JeopardyQuestion (limit: 1) {\n _additional {\n vector\n }\n }\n }\n}\n```", "apiRefPath": "get-retrieve-object-vector.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}", "schemaPath": "jewelry.json", "modelOutput": "{\n Get {\n JewelryItem {\n name\n _additional {\n vector\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}\n\n COMMAND:\n ```text\nShow me the mission name and vector representation of space missions.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n SpaceMission {\n missionName\n _additional {\n vector\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the mission name and vector representation of space missions.\n```", "apiRef": "Retrieve the object\u00a0`vector`\n\nTo retrieve the object vector, request the\u00a0`_additional`\u00a0property and\u00a0`vector`\u00a0sub-property. You can do so as shown below.\n\n```graphql\n{\n Get {\n JeopardyQuestion (limit: 1) {\n _additional {\n vector\n }\n }\n }\n}\n```", "apiRefPath": "get-retrieve-object-vector.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}", "schemaPath": "spaceexploration.json", "modelOutput": "{\n Get {\n SpaceMission {\n missionName\n _additional {\n vector\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}\n\n COMMAND:\n ```text\nShow me the name and vector representation of non-profit organizations.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NonProfit {\n name\n _additional {\n vector\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the name and vector representation of non-profit organizations.\n```", "apiRef": "Retrieve the object\u00a0`vector`\n\nTo retrieve the object vector, request the\u00a0`_additional`\u00a0property and\u00a0`vector`\u00a0sub-property. You can do so as shown below.\n\n```graphql\n{\n Get {\n JeopardyQuestion (limit: 1) {\n _additional {\n vector\n }\n }\n }\n}\n```", "apiRefPath": "get-retrieve-object-vector.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}", "schemaPath": "nonprofits.json", "modelOutput": "{\n Get {\n NonProfit {\n name\n _additional {\n vector\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}\n\n COMMAND:\n ```text\nShow me the application name and vector representation of AR applications.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ARApplication {\n appName\n _additional {\n vector\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the application name and vector representation of AR applications.\n```", "apiRef": "Retrieve the object\u00a0`vector`\n\nTo retrieve the object vector, request the\u00a0`_additional`\u00a0property and\u00a0`vector`\u00a0sub-property. You can do so as shown below.\n\n```graphql\n{\n Get {\n JeopardyQuestion (limit: 1) {\n _additional {\n vector\n }\n }\n }\n}\n```", "apiRefPath": "get-retrieve-object-vector.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}", "schemaPath": "augmentedreality.json", "modelOutput": "{\n Get {\n ARApplication {\n appName\n _additional {\n vector\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}\n\n COMMAND:\n ```text\nGet me the chemical compounds that are semantically similar to the query 'organic chemistry'. Show me the compound name, formula, molar mass, and the elements it contains including their names, symbols, atomic numbers, and whether they are metals. Limit the results to 3 compounds.\n```\n\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ChemicalCompound(\n nearText: {\n concepts: [\"organic chemistry\"]\n },\n limit: 3\n ) {\n compoundName\n formula\n molarMass\n containsElements {\n ... on ChemicalElement {\n elementName\n symbol\n atomicNumber\n isMetal\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the chemical compounds that are semantically similar to the query 'organic chemistry'. Show me the compound name, formula, molar mass, and the elements it contains including their names, symbols, atomic numbers, and whether they are metals. Limit the results to 3 compounds.\n```\n", "apiRef": "1. nearText\n- `near`\u00a0- Finds objects closest to an input medium:\n - E.g.: Use it to find text objects most similar to\u00a0`cute animals`, or images most similar to a particular image.\n\nYou can use these operators to find objects most similar to a raw (un-vectorized) input, such as text or image. For text objects, you can provide an input text to\u00a0`nearText`, and for image objects, you can provide an input image to\u00a0`nearImage`. Or either if you are using\u00a0CLIP.\n\nThe example below searches the\u00a0`JeopardyQuestion`\u00a0class for the top 2 objects best matching\u00a0`\"animals in movies\"`, using\u00a0`nearText`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 2,\n nearText: {\n concepts: [\"animals in movies\"]\n }\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}", "schemaPath": "chemicals.json", "modelOutput": "{\n Get {\n ChemicalCompound(\n nearText: {\n concepts: [\"organic chemistry\"]\n },\n limit: 3\n ) {\n compoundName\n formula\n molarMass\n containsElements {\n ... on ChemicalElement {\n elementName\n symbol\n isMetal\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the VR experiences that are semantically similar to the query 'action'. Show me the title, developer's name, genre, release year, and whether it is multiplayer. Limit the results to 3.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n VRExperience(\n nearText: {\n concepts: [\"action\"]\n },\n limit: 3\n ) {\n title\n developer {\n ... on Developer {\n name\n }\n }\n genre\n releaseYear\n isMultiplayer\n }\n }\n}\n```", "nlcommand": "```text\nGet me the VR experiences that are semantically similar to the query 'action'. Show me the title, developer's name, genre, release year, and whether it is multiplayer. Limit the results to 3.\n```", "apiRef": "1. nearText\n- `near`\u00a0- Finds objects closest to an input medium:\n - E.g.: Use it to find text objects most similar to\u00a0`cute animals`, or images most similar to a particular image.\n\nYou can use these operators to find objects most similar to a raw (un-vectorized) input, such as text or image. For text objects, you can provide an input text to\u00a0`nearText`, and for image objects, you can provide an input image to\u00a0`nearImage`. Or either if you are using\u00a0CLIP.\n\nThe example below searches the\u00a0`JeopardyQuestion`\u00a0class for the top 2 objects best matching\u00a0`\"animals in movies\"`, using\u00a0`nearText`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 2,\n nearText: {\n concepts: [\"animals in movies\"]\n }\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}", "schemaPath": "virtualreality.json", "modelOutput": "{\n Get {\n VRExperience(\n nearText: {\n concepts: [\"action\"]\n },\n limit: 3\n ) {\n title\n developer {\n ... on Developer {\n name\n }\n }\n genre\n releaseYear\n isMultiplayer\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}\n\n COMMAND:\n ```text\nGet me the drugs that are semantically similar to the query 'pain relief', and show the drug name, active ingredient, approval year, over-the-counter availability, manufacturer's company name, year of foundation, headquarters location, and global presence. Limit the results to 3.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Drug(\n nearText: {\n concepts: [\"pain relief\"]\n },\n limit: 3\n ) {\n drugName\n activeIngredient\n approvalYear\n isOTC\n manufacturer {\n ... on Manufacturer {\n companyName\n foundedYear\n headquarters\n isGlobal\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the drugs that are semantically similar to the query 'pain relief', and show the drug name, active ingredient, approval year, over-the-counter availability, manufacturer's company name, year of foundation, headquarters location, and global presence. Limit the results to 3.\n```", "apiRef": "1. nearText\n- `near`\u00a0- Finds objects closest to an input medium:\n - E.g.: Use it to find text objects most similar to\u00a0`cute animals`, or images most similar to a particular image.\n\nYou can use these operators to find objects most similar to a raw (un-vectorized) input, such as text or image. For text objects, you can provide an input text to\u00a0`nearText`, and for image objects, you can provide an input image to\u00a0`nearImage`. Or either if you are using\u00a0CLIP.\n\nThe example below searches the\u00a0`JeopardyQuestion`\u00a0class for the top 2 objects best matching\u00a0`\"animals in movies\"`, using\u00a0`nearText`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 2,\n nearText: {\n concepts: [\"animals in movies\"]\n }\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}", "schemaPath": "pharmaceuticals.json", "modelOutput": "{\n Get {\n Drug(\n nearText: {\n concepts: [\"pain relief\"]\n },\n limit: 3\n ) {\n drugName\n activeIngredient\n approvalYear\n isOTC\n manufacturer {\n ... on Manufacturer {\n companyName\n foundedYear\n headquarters\n isGlobal\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}\n\n COMMAND:\n ```text\nGet me the film festivals that are semantically similar to the query 'international'. Show me the festival name, location, description, and the featured film's title and director. Limit the results to 3.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n FilmFestival(\n nearText: {\n concepts: [\"international\"]\n },\n limit: 3\n ) {\n festivalName\n location\n description\n featuredFilm {\n ... on Film {\n filmTitle\n director\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the film festivals that are semantically similar to the query 'international'. Show me the festival name, location, description, and the featured film's title and director. Limit the results to 3.\n```", "apiRef": "1. nearText\n- `near`\u00a0- Finds objects closest to an input medium:\n - E.g.: Use it to find text objects most similar to\u00a0`cute animals`, or images most similar to a particular image.\n\nYou can use these operators to find objects most similar to a raw (un-vectorized) input, such as text or image. For text objects, you can provide an input text to\u00a0`nearText`, and for image objects, you can provide an input image to\u00a0`nearImage`. Or either if you are using\u00a0CLIP.\n\nThe example below searches the\u00a0`JeopardyQuestion`\u00a0class for the top 2 objects best matching\u00a0`\"animals in movies\"`, using\u00a0`nearText`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 2,\n nearText: {\n concepts: [\"animals in movies\"]\n }\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}", "schemaPath": "filmfestivals.json", "modelOutput": "{\n Get {\n FilmFestival(\n nearText: {\n concepts: [\"international\"]\n },\n limit: 3\n ) {\n festivalName\n location\n description\n featuredFilm {\n ... on Film {\n title\n director\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the boats that are semantically similar to the query 'sailboat', and show the boat name, type, capacity, whether it is motorized, and the manufacturer's company name. Limit the results to 3 boats.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Boat(\n nearText: {\n concepts: [\"sailboat\"]\n },\n limit: 3\n ) {\n boatName\n type\n capacity\n isMotorized\n manufacturer {\n ... on BoatManufacturer {\n companyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the boats that are semantically similar to the query 'sailboat', and show the boat name, type, capacity, whether it is motorized, and the manufacturer's company name. Limit the results to 3 boats.\n```", "apiRef": "1. nearText\n- `near`\u00a0- Finds objects closest to an input medium:\n - E.g.: Use it to find text objects most similar to\u00a0`cute animals`, or images most similar to a particular image.\n\nYou can use these operators to find objects most similar to a raw (un-vectorized) input, such as text or image. For text objects, you can provide an input text to\u00a0`nearText`, and for image objects, you can provide an input image to\u00a0`nearImage`. Or either if you are using\u00a0CLIP.\n\nThe example below searches the\u00a0`JeopardyQuestion`\u00a0class for the top 2 objects best matching\u00a0`\"animals in movies\"`, using\u00a0`nearText`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 2,\n nearText: {\n concepts: [\"animals in movies\"]\n }\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}", "schemaPath": "boats.json", "modelOutput": "{\n Get {\n Boat(\n nearText: {\n concepts: [\"sailboat\"]\n },\n limit: 3\n ) {\n boatName\n type\n capacity\n isMotorized\n manufacturer {\n ... on BoatManufacturer {\n companyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 3 national parks that are semantically similar to the query 'mountain'. Show me their park name, description, location, established year, entry fee status, wildlife, and facilities with their names and descriptions.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NationalPark(\n nearText: {\n concepts: [\"mountain\"]\n },\n limit: 3\n ) {\n parkName\n description\n location\n establishedYear\n isEntryFree\n wildlife\n facilities {\n ... on Facility {\n facilityName\n description\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 3 national parks that are semantically similar to the query 'mountain'. Show me their park name, description, location, established year, entry fee status, wildlife, and facilities with their names and descriptions.\n```", "apiRef": "1. nearText\n- `near`\u00a0- Finds objects closest to an input medium:\n - E.g.: Use it to find text objects most similar to\u00a0`cute animals`, or images most similar to a particular image.\n\nYou can use these operators to find objects most similar to a raw (un-vectorized) input, such as text or image. For text objects, you can provide an input text to\u00a0`nearText`, and for image objects, you can provide an input image to\u00a0`nearImage`. Or either if you are using\u00a0CLIP.\n\nThe example below searches the\u00a0`JeopardyQuestion`\u00a0class for the top 2 objects best matching\u00a0`\"animals in movies\"`, using\u00a0`nearText`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 2,\n nearText: {\n concepts: [\"animals in movies\"]\n }\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}", "schemaPath": "nationalparks.json", "modelOutput": "{\n Get {\n NationalPark(\n nearText: {\n concepts: [\"mountain\"]\n },\n limit: 3\n ) {\n parkName\n description\n location\n establishedYear\n isEntryFree\n wildlife\n facilities {\n ... on Facility {\n facilityName\n description\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}\n\n COMMAND:\n ```text\nGet me the pets that are semantically similar to the query 'cute animals', and show the pet name, species, breed, age, owner's full name, address, and contact number. Limit the results to 3.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Pet(\n nearText: {\n concepts: [\"cute animals\"]\n },\n limit: 3\n ) {\n petName\n species\n breed\n age\n owner {\n ... on Person {\n fullName\n address\n contactNumber\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the pets that are semantically similar to the query 'cute animals', and show the pet name, species, breed, age, owner's full name, address, and contact number. Limit the results to 3.\n```", "apiRef": "1. nearText\n- `near`\u00a0- Finds objects closest to an input medium:\n - E.g.: Use it to find text objects most similar to\u00a0`cute animals`, or images most similar to a particular image.\n\nYou can use these operators to find objects most similar to a raw (un-vectorized) input, such as text or image. For text objects, you can provide an input text to\u00a0`nearText`, and for image objects, you can provide an input image to\u00a0`nearImage`. Or either if you are using\u00a0CLIP.\n\nThe example below searches the\u00a0`JeopardyQuestion`\u00a0class for the top 2 objects best matching\u00a0`\"animals in movies\"`, using\u00a0`nearText`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 2,\n nearText: {\n concepts: [\"animals in movies\"]\n }\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}", "schemaPath": "pets.json", "modelOutput": "{\n Get {\n Pet(\n nearText: {\n concepts: [\"cute animals\"]\n },\n limit: 3\n ) {\n petName\n species\n breed\n age\n owner {\n ... on Person {\n fullName\n address\n contactNumber\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 3 jewelry items that are semantically similar to the query 'gold necklace'. Show me the name, material, gemstone name, price, and whether it is handmade.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n JewelryItem(\n nearText: {\n concepts: [\"gold necklace\"]\n },\n limit: 3\n ) {\n name\n material\n gemstone {\n ... on Gemstone {\n name\n }\n }\n price\n isHandmade\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 3 jewelry items that are semantically similar to the query 'gold necklace'. Show me the name, material, gemstone name, price, and whether it is handmade.\n```", "apiRef": "1. nearText\n- `near`\u00a0- Finds objects closest to an input medium:\n - E.g.: Use it to find text objects most similar to\u00a0`cute animals`, or images most similar to a particular image.\n\nYou can use these operators to find objects most similar to a raw (un-vectorized) input, such as text or image. For text objects, you can provide an input text to\u00a0`nearText`, and for image objects, you can provide an input image to\u00a0`nearImage`. Or either if you are using\u00a0CLIP.\n\nThe example below searches the\u00a0`JeopardyQuestion`\u00a0class for the top 2 objects best matching\u00a0`\"animals in movies\"`, using\u00a0`nearText`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 2,\n nearText: {\n concepts: [\"animals in movies\"]\n }\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}", "schemaPath": "jewelry.json", "modelOutput": "{\n Get {\n JewelryItem(\n nearText: {\n concepts: [\"gold necklace\"]\n },\n limit: 3\n ) {\n name\n material\n gemstone {\n ... on Gemstone {\n name\n }\n }\n price\n isHandmade\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}\n\n COMMAND:\n ```text\nGet me the space missions that are semantically similar to the query 'moon landing'. Show me the mission name, objective, launch year, mission status, and space agency name. Limit the results to 3.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n SpaceMission(\n nearText: {\n concepts: [\"moon landing\"]\n },\n limit: 3\n ) {\n missionName\n objective\n launchYear\n missionStatus\n spaceAgency {\n ... on SpaceAgency {\n agencyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the space missions that are semantically similar to the query 'moon landing'. Show me the mission name, objective, launch year, mission status, and space agency name. Limit the results to 3.\n```", "apiRef": "1. nearText\n- `near`\u00a0- Finds objects closest to an input medium:\n - E.g.: Use it to find text objects most similar to\u00a0`cute animals`, or images most similar to a particular image.\n\nYou can use these operators to find objects most similar to a raw (un-vectorized) input, such as text or image. For text objects, you can provide an input text to\u00a0`nearText`, and for image objects, you can provide an input image to\u00a0`nearImage`. Or either if you are using\u00a0CLIP.\n\nThe example below searches the\u00a0`JeopardyQuestion`\u00a0class for the top 2 objects best matching\u00a0`\"animals in movies\"`, using\u00a0`nearText`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 2,\n nearText: {\n concepts: [\"animals in movies\"]\n }\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}", "schemaPath": "spaceexploration.json", "modelOutput": "{\n Get {\n SpaceMission(\n nearText: {\n concepts: [\"moon landing\"]\n },\n limit: 3\n ) {\n missionName\n objective\n launchYear\n missionStatus\n spaceAgency {\n ... on SpaceAgency {\n agencyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}\n\n COMMAND:\n ```text\nGet me the non-profit organizations that are semantically similar to the query 'charitable cause'. Show me the name, mission, year founded, focus area, and founder's full name. Limit the results to 3.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NonProfit(\n nearText: {\n concepts: [\"charitable cause\"]\n },\n limit: 3\n ) {\n name\n mission\n foundedYear\n focusArea\n founder {\n ... on Person {\n fullName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the non-profit organizations that are semantically similar to the query 'charitable cause'. Show me the name, mission, year founded, focus area, and founder's full name. Limit the results to 3.\n```", "apiRef": "1. nearText\n- `near`\u00a0- Finds objects closest to an input medium:\n - E.g.: Use it to find text objects most similar to\u00a0`cute animals`, or images most similar to a particular image.\n\nYou can use these operators to find objects most similar to a raw (un-vectorized) input, such as text or image. For text objects, you can provide an input text to\u00a0`nearText`, and for image objects, you can provide an input image to\u00a0`nearImage`. Or either if you are using\u00a0CLIP.\n\nThe example below searches the\u00a0`JeopardyQuestion`\u00a0class for the top 2 objects best matching\u00a0`\"animals in movies\"`, using\u00a0`nearText`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 2,\n nearText: {\n concepts: [\"animals in movies\"]\n }\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}", "schemaPath": "nonprofits.json", "modelOutput": "{\n Get {\n NonProfit(\n nearText: {\n concepts: [\"charitable cause\"]\n },\n limit: 3\n ) {\n name\n mission\n foundedYear\n focusArea\n founder {\n ... on Person {\n fullName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}\n\n COMMAND:\n ```text\nGet me the augmented reality applications that are semantically similar to the query 'augmented reality'. Show me the application name, description, platform, and developer's company name. Limit the results to 3.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ARApplication(\n nearText: {\n concepts: [\"augmented reality\"]\n },\n limit: 3\n ) {\n appName\n description\n platform\n developer {\n ... on SoftwareCompany {\n companyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the augmented reality applications that are semantically similar to the query 'augmented reality'. Show me the application name, description, platform, and developer's company name. Limit the results to 3.\n```", "apiRef": "1. nearText\n- `near`\u00a0- Finds objects closest to an input medium:\n - E.g.: Use it to find text objects most similar to\u00a0`cute animals`, or images most similar to a particular image.\n\nYou can use these operators to find objects most similar to a raw (un-vectorized) input, such as text or image. For text objects, you can provide an input text to\u00a0`nearText`, and for image objects, you can provide an input image to\u00a0`nearImage`. Or either if you are using\u00a0CLIP.\n\nThe example below searches the\u00a0`JeopardyQuestion`\u00a0class for the top 2 objects best matching\u00a0`\"animals in movies\"`, using\u00a0`nearText`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 2,\n nearText: {\n concepts: [\"animals in movies\"]\n }\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}", "schemaPath": "augmentedreality.json", "modelOutput": "{\n Get {\n ARApplication(\n nearText: {\n concepts: [\"augmented reality\"]\n },\n limit: 3\n ) {\n appName\n description\n platform\n developer {\n ... on SoftwareCompany {\n companyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nShow me the title and developer name of VR experiences released after 2010 that are either in the action genre or adventure genre.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n VRExperience(\n where: {\n operator: And,\n operands: [\n {\n path: [\"releaseYear\"],\n operator: GreaterThan,\n valueInt: 2010\n },\n {\n operator: Or,\n operands: [\n {\n path: [\"genre\"],\n operator: Like,\n valueText: \"*action*\"\n },\n {\n path: [\"genre\"],\n operator: Like,\n valueText: \"*adventure*\"\n }\n ]\n }\n ]\n }\n ) {\n title\n developer {\n ... on Developer {\n name\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the title and developer name of VR experiences released after 2010 that are either in the action genre or adventure genre.\n```", "apiRef": "Nested multiple conditions\n\nConditional filters can be nested in Weaviate. To do so, set the operator of an outer operands value to And or Or. Then, you can provide two or more conditions to the inner operands.\n\nThe following example specifies that:\n\nthe answer property must contain a substring \"nest\", And\nthe points property must be greater than 700, Or, the points property must be less than 300.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n operator: And,\n operands: [\n {\n path: [\"answer\"],\n operator: Like,\n valueText: \"*nest*\"\n },\n {\n operator: Or,\n operands: [\n {\n path: [\"points\"],\n operator: GreaterThan,\n valueInt: 700\n },\n {\n path: [\"points\"],\n operator: LessThan,\n valueInt: 300\n },\n ]\n }\n ]\n\n }\n ) {\n question\n answer\n round\n points\n }\n }\n}\n```", "apiRefPath": "get-where-nested-multiple-conditions.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}", "schemaPath": "virtualreality.json", "modelOutput": "{\n Get {\n VRExperience(\n where: {\n operator: And,\n operands: [\n {\n path: [\"releaseYear\"],\n operator: GreaterThan,\n valueInt: 2010\n },\n {\n operator: Or,\n operands: [\n {\n path: [\"genre\"],\n operator: Like,\n valueText: \"*action*\"\n },\n {\n path: [\"genre\"],\n operator: Like,\n valueText: \"*adventure*\"\n }\n ]\n }\n ]\n }\n ) {\n title\n developer {\n ... on Developer {\n name\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}\n\n COMMAND:\n ```text\nShow me the drug name and active ingredient of drugs approved after 2010 that either contain \"pain\" in the drug name or \"fever\" in the active ingredient.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Drug(\n where: {\n operator: And,\n operands: [\n {\n path: [\"approvalYear\"],\n operator: GreaterThan,\n valueInt: 2010\n },\n {\n operator: Or,\n operands: [\n {\n path: [\"drugName\"],\n operator: Like,\n valueText: \"*pain*\"\n },\n {\n path: [\"activeIngredient\"],\n operator: Like,\n valueText: \"*fever*\"\n }\n ]\n }\n ]\n }\n ) {\n drugName\n activeIngredient\n }\n }\n}\n```", "nlcommand": "```text\nShow me the drug name and active ingredient of drugs approved after 2010 that either contain \"pain\" in the drug name or \"fever\" in the active ingredient.\n```", "apiRef": "Nested multiple conditions\n\nConditional filters can be nested in Weaviate. To do so, set the operator of an outer operands value to And or Or. Then, you can provide two or more conditions to the inner operands.\n\nThe following example specifies that:\n\nthe answer property must contain a substring \"nest\", And\nthe points property must be greater than 700, Or, the points property must be less than 300.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n operator: And,\n operands: [\n {\n path: [\"answer\"],\n operator: Like,\n valueText: \"*nest*\"\n },\n {\n operator: Or,\n operands: [\n {\n path: [\"points\"],\n operator: GreaterThan,\n valueInt: 700\n },\n {\n path: [\"points\"],\n operator: LessThan,\n valueInt: 300\n },\n ]\n }\n ]\n\n }\n ) {\n question\n answer\n round\n points\n }\n }\n}\n```", "apiRefPath": "get-where-nested-multiple-conditions.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}", "schemaPath": "pharmaceuticals.json", "modelOutput": "{\n Get {\n Drug(\n where: {\n operator: And,\n operands: [\n {\n path: [\"activeIngredient\"],\n operator: Like,\n valueText: \"*fever*\"\n },\n {\n path: [\"approvalYear\"],\n operator: GreaterThan,\n valueInt: 2010\n }\n ]\n }\n ) {\n drugName\n activeIngredient\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}\n\n COMMAND:\n ```text\nShow me the park name and description of national parks established after the year 2000 that are either located in a mountainous area or have wildlife that includes bears.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NationalPark(\n where: {\n operator: And,\n operands: [\n {\n path: [\"establishedYear\"],\n operator: GreaterThan,\n valueInt: 2000\n },\n {\n operator: Or,\n operands: [\n {\n path: [\"location\"],\n operator: Like,\n valueText: \"*mountain*\"\n },\n {\n path: [\"wildlife\"],\n operator: Like,\n valueText: \"*bear*\"\n }\n ]\n }\n ]\n }\n ) {\n parkName\n description\n }\n }\n}\n```", "nlcommand": "```text\nShow me the park name and description of national parks established after the year 2000 that are either located in a mountainous area or have wildlife that includes bears.\n```", "apiRef": "Nested multiple conditions\n\nConditional filters can be nested in Weaviate. To do so, set the operator of an outer operands value to And or Or. Then, you can provide two or more conditions to the inner operands.\n\nThe following example specifies that:\n\nthe answer property must contain a substring \"nest\", And\nthe points property must be greater than 700, Or, the points property must be less than 300.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n operator: And,\n operands: [\n {\n path: [\"answer\"],\n operator: Like,\n valueText: \"*nest*\"\n },\n {\n operator: Or,\n operands: [\n {\n path: [\"points\"],\n operator: GreaterThan,\n valueInt: 700\n },\n {\n path: [\"points\"],\n operator: LessThan,\n valueInt: 300\n },\n ]\n }\n ]\n\n }\n ) {\n question\n answer\n round\n points\n }\n }\n}\n```", "apiRefPath": "get-where-nested-multiple-conditions.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}", "schemaPath": "nationalparks.json", "modelOutput": "{\n Get {\n NationalPark(\n where: {\n operator: And,\n operands: [\n {\n path: [\"establishedYear\"],\n operator: GreaterThan,\n valueInt: 2000\n },\n {\n operator: Or,\n operands: [\n {\n path: [\"location\"],\n operator: Like,\n valueText: \"*mountainous*\"\n },\n {\n path: [\"wildlife\"],\n operator: Like,\n valueText: \"*bear*\"\n }\n ]\n }\n ]\n }\n ) {\n parkName\n description\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}\n\n COMMAND:\n ```text\nShow me the pet name and breed of pets that are less than 5 years old and either belong to the species \"dog\" or \"cat\".\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Pet(\n where: {\n operator: And,\n operands: [\n {\n path: [\"age\"],\n operator: LessThan,\n valueInt: 5\n },\n {\n operator: Or,\n operands: [\n {\n path: [\"species\"],\n operator: Like,\n valueText: \"*dog*\"\n },\n {\n path: [\"species\"],\n operator: Like,\n valueText: \"*cat*\"\n }\n ]\n }\n ]\n }\n ) {\n petName\n breed\n }\n }\n}\n```", "nlcommand": "```text\nShow me the pet name and breed of pets that are less than 5 years old and either belong to the species \"dog\" or \"cat\".\n```", "apiRef": "Nested multiple conditions\n\nConditional filters can be nested in Weaviate. To do so, set the operator of an outer operands value to And or Or. Then, you can provide two or more conditions to the inner operands.\n\nThe following example specifies that:\n\nthe answer property must contain a substring \"nest\", And\nthe points property must be greater than 700, Or, the points property must be less than 300.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n operator: And,\n operands: [\n {\n path: [\"answer\"],\n operator: Like,\n valueText: \"*nest*\"\n },\n {\n operator: Or,\n operands: [\n {\n path: [\"points\"],\n operator: GreaterThan,\n valueInt: 700\n },\n {\n path: [\"points\"],\n operator: LessThan,\n valueInt: 300\n },\n ]\n }\n ]\n\n }\n ) {\n question\n answer\n round\n points\n }\n }\n}\n```", "apiRefPath": "get-where-nested-multiple-conditions.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}", "schemaPath": "pets.json", "modelOutput": "{\n Get {\n Pet(\n where: {\n operator: And,\n operands: [\n {\n path: [\"age\"],\n operator: LessThan,\n valueInt: 5\n },\n {\n operator: Or,\n operands: [\n {\n path: [\"species\"],\n operator: Like,\n valueText: \"*dog*\"\n },\n {\n path: [\"species\"],\n operator: Like,\n valueText: \"*cat*\"\n }\n ]\n }\n ]\n }\n ) {\n petName\n species\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}\n\n COMMAND:\n ```text\nShow me the name and material of jewelry items with a price less than 1000 that either contain \"necklace\" or \"ring\" in the name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n JewelryItem(\n where: {\n operator: And,\n operands: [\n {\n path: [\"price\"],\n operator: LessThan,\n valueNumber: 1000\n },\n {\n operator: Or,\n operands: [\n {\n path: [\"name\"],\n operator: Like,\n valueText: \"*necklace*\"\n },\n {\n path: [\"name\"],\n operator: Like,\n valueText: \"*ring*\"\n }\n ]\n }\n ]\n }\n ) {\n name\n material\n }\n }\n}\n```", "nlcommand": "```text\nShow me the name and material of jewelry items with a price less than 1000 that either contain \"necklace\" or \"ring\" in the name.\n```", "apiRef": "Nested multiple conditions\n\nConditional filters can be nested in Weaviate. To do so, set the operator of an outer operands value to And or Or. Then, you can provide two or more conditions to the inner operands.\n\nThe following example specifies that:\n\nthe answer property must contain a substring \"nest\", And\nthe points property must be greater than 700, Or, the points property must be less than 300.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n operator: And,\n operands: [\n {\n path: [\"answer\"],\n operator: Like,\n valueText: \"*nest*\"\n },\n {\n operator: Or,\n operands: [\n {\n path: [\"points\"],\n operator: GreaterThan,\n valueInt: 700\n },\n {\n path: [\"points\"],\n operator: LessThan,\n valueInt: 300\n },\n ]\n }\n ]\n\n }\n ) {\n question\n answer\n round\n points\n }\n }\n}\n```", "apiRefPath": "get-where-nested-multiple-conditions.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}", "schemaPath": "jewelry.json", "modelOutput": "{\n Get {\n JewelryItem(\n where: {\n operator: And,\n operands: [\n {\n path: [\"price\"],\n operator: LessThan,\n valueNumber: 1000\n },\n {\n operator: Or,\n operands: [\n {\n path: [\"name\"],\n operator: Like,\n valueText: \"*necklace*\"\n },\n {\n path: [\"name\"],\n operator: Like,\n valueText: \"*ring*\"\n }\n ]\n }\n ]\n }\n ) {\n name\n material\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}\n\n COMMAND:\n ```text\nShow me the mission name and objective of space missions launched after the year 2000 that either contain \"Mars\" or \"Moon\" in the mission name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n SpaceMission(\n where: {\n operator: And,\n operands: [\n {\n path: [\"launchYear\"],\n operator: GreaterThan,\n valueInt: 2000\n },\n {\n operator: Or,\n operands: [\n {\n path: [\"missionName\"],\n operator: Like,\n valueText: \"*Mars*\"\n },\n {\n path: [\"missionName\"],\n operator: Like,\n valueText: \"*Moon*\"\n }\n ]\n }\n ]\n }\n ) {\n missionName\n objective\n }\n }\n}\n```", "nlcommand": "```text\nShow me the mission name and objective of space missions launched after the year 2000 that either contain \"Mars\" or \"Moon\" in the mission name.\n```", "apiRef": "Nested multiple conditions\n\nConditional filters can be nested in Weaviate. To do so, set the operator of an outer operands value to And or Or. Then, you can provide two or more conditions to the inner operands.\n\nThe following example specifies that:\n\nthe answer property must contain a substring \"nest\", And\nthe points property must be greater than 700, Or, the points property must be less than 300.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n operator: And,\n operands: [\n {\n path: [\"answer\"],\n operator: Like,\n valueText: \"*nest*\"\n },\n {\n operator: Or,\n operands: [\n {\n path: [\"points\"],\n operator: GreaterThan,\n valueInt: 700\n },\n {\n path: [\"points\"],\n operator: LessThan,\n valueInt: 300\n },\n ]\n }\n ]\n\n }\n ) {\n question\n answer\n round\n points\n }\n }\n}\n```", "apiRefPath": "get-where-nested-multiple-conditions.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}", "schemaPath": "spaceexploration.json", "modelOutput": "{\n Get {\n SpaceMission(\n where: {\n operator: And,\n operands: [\n {\n path: [\"launchYear\"],\n operator: GreaterThan,\n valueInt: 2000\n },\n {\n operator: Or,\n operands: [\n {\n path: [\"missionName\"],\n operator: Like,\n valueText: \"*Mars*\"\n },\n {\n path: [\"missionName\"],\n operator: Like,\n valueText: \"*Moon*\"\n }\n ]\n }\n ]\n }\n ) {\n missionName\n objective\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}\n\n COMMAND:\n ```text\nShow me the name and mission of non-profit organizations founded after the year 2000 that focus on either \"health\" or \"education\".\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NonProfit(\n where: {\n operator: And,\n operands: [\n {\n path: [\"foundedYear\"],\n operator: GreaterThan,\n valueInt: 2000\n },\n {\n operator: Or,\n operands: [\n {\n path: [\"focusArea\"],\n operator: Like,\n valueText: \"*health*\"\n },\n {\n path: [\"focusArea\"],\n operator: Like,\n valueText: \"*education*\"\n }\n ]\n }\n ]\n }\n ) {\n name\n mission\n }\n }\n}\n```", "nlcommand": "```text\nShow me the name and mission of non-profit organizations founded after the year 2000 that focus on either \"health\" or \"education\".\n```", "apiRef": "Nested multiple conditions\n\nConditional filters can be nested in Weaviate. To do so, set the operator of an outer operands value to And or Or. Then, you can provide two or more conditions to the inner operands.\n\nThe following example specifies that:\n\nthe answer property must contain a substring \"nest\", And\nthe points property must be greater than 700, Or, the points property must be less than 300.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n operator: And,\n operands: [\n {\n path: [\"answer\"],\n operator: Like,\n valueText: \"*nest*\"\n },\n {\n operator: Or,\n operands: [\n {\n path: [\"points\"],\n operator: GreaterThan,\n valueInt: 700\n },\n {\n path: [\"points\"],\n operator: LessThan,\n valueInt: 300\n },\n ]\n }\n ]\n\n }\n ) {\n question\n answer\n round\n points\n }\n }\n}\n```", "apiRefPath": "get-where-nested-multiple-conditions.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}", "schemaPath": "nonprofits.json", "modelOutput": "{\n Get {\n NonProfit(\n where: {\n operator: And,\n operands: [\n {\n path: [\"foundedYear\"],\n operator: GreaterThan,\n valueInt: 2000\n },\n {\n operator: Or,\n operands: [\n {\n path: [\"focusArea\"],\n operator: Like,\n valueText: \"*health*\"\n },\n {\n path: [\"focusArea\"],\n operator: Like,\n valueText: \"*education*\"\n }\n ]\n }\n ]\n }\n ) {\n name\n mission\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}\n\n COMMAND:\n ```text\nShow me the count and most commonly occurring names of Chemical Elements in the database, as well as the sum of atomic numbers.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n ChemicalElement {\n elementName {\n count\n type\n topOccurrences {\n occurs\n value\n }\n }\n atomicNumber {\n count\n sum\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the count and most commonly occurring names of Chemical Elements in the database, as well as the sum of atomic numbers.\n```", "apiRef": "Retrieve aggregated object properties\n\nYou can retrieve aggregations of text, number, int, or boolean data types.\n\nThe available sub-types vary for each data type, except for type which is available to all, and count which is available to all but cross-references.\n\nExample with text\nThe following example retrieves information about the most commonly occurring examples in the question property:\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion {\n answer {\n count\n type\n topOccurrences {\n occurs\n value\n }\n }\n }\n }\n}\n```\n\nExample with int\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion {\n points {\n count\n sum\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}", "schemaPath": "chemicals.json", "modelOutput": "{\n Aggregate {\n ChemicalElement {\n elementName {\n count\n type\n topOccurrences {\n occurs\n value\n }\n }\n isMetal {\n count\n type\n topOccurrences {\n occurs\n value\n }\n }\n atomicNumber {\n count\n sum\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nShow me the count and the most commonly occurring titles of the VRExperience objects in the database. Also, show me the count and the sum of the release years of the VRExperience objects in the database.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n VRExperience {\n title {\n count\n type\n topOccurrences {\n occurs\n value\n }\n }\n releaseYear {\n count\n sum\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the count and the most commonly occurring titles of the VRExperience objects in the database. Also, show me the count and the sum of the release years of the VRExperience objects in the database.\n```", "apiRef": "Retrieve aggregated object properties\n\nYou can retrieve aggregations of text, number, int, or boolean data types.\n\nThe available sub-types vary for each data type, except for type which is available to all, and count which is available to all but cross-references.\n\nExample with text\nThe following example retrieves information about the most commonly occurring examples in the question property:\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion {\n answer {\n count\n type\n topOccurrences {\n occurs\n value\n }\n }\n }\n }\n}\n```\n\nExample with int\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion {\n points {\n count\n sum\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}", "schemaPath": "virtualreality.json", "modelOutput": "{\n Aggregate {\n VRExperience {\n title {\n count\n type\n topOccurrences {\n occurs\n value\n }\n }\n releaseYear {\n count\n sum\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}\n\n COMMAND:\n ```text\nShow me the number of unique drug names and the sum of approval years for the Drugs in the database.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n Drug {\n drugName {\n count\n type\n topOccurrences {\n occurs\n value\n }\n }\n approvalYear {\n count\n sum\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the number of unique drug names and the sum of approval years for the Drugs in the database.\n```", "apiRef": "Retrieve aggregated object properties\n\nYou can retrieve aggregations of text, number, int, or boolean data types.\n\nThe available sub-types vary for each data type, except for type which is available to all, and count which is available to all but cross-references.\n\nExample with text\nThe following example retrieves information about the most commonly occurring examples in the question property:\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion {\n answer {\n count\n type\n topOccurrences {\n occurs\n value\n }\n }\n }\n }\n}\n```\n\nExample with int\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion {\n points {\n count\n sum\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}", "schemaPath": "pharmaceuticals.json", "modelOutput": "{\n Aggregate {\n Drug {\n drugName {\n count\n type\n topOccurrences {\n occurs\n value\n }\n }\n approvalYear {\n count\n sum\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}\n\n COMMAND:\n ```text\nShow me the count and type of unique boat names, as well as the total capacity of all boats in the database.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n Boat {\n boatName {\n count\n type\n topOccurrences {\n occurs\n value\n }\n }\n capacity {\n count\n sum\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the count and type of unique boat names, as well as the total capacity of all boats in the database.\n```", "apiRef": "Retrieve aggregated object properties\n\nYou can retrieve aggregations of text, number, int, or boolean data types.\n\nThe available sub-types vary for each data type, except for type which is available to all, and count which is available to all but cross-references.\n\nExample with text\nThe following example retrieves information about the most commonly occurring examples in the question property:\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion {\n answer {\n count\n type\n topOccurrences {\n occurs\n value\n }\n }\n }\n }\n}\n```\n\nExample with int\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion {\n points {\n count\n sum\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}", "schemaPath": "boats.json", "modelOutput": "{\n Aggregate {\n Boat {\n type\n count\n capacity\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}\n\n COMMAND:\n ```text\nShow me the count and the sum of established years of the National Parks in the database. Also, show me the most commonly occurring park names.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n NationalPark {\n parkName {\n count\n type\n topOccurrences {\n occurs\n value\n }\n }\n establishedYear {\n count\n sum\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the count and the sum of established years of the National Parks in the database. Also, show me the most commonly occurring park names.\n```", "apiRef": "Retrieve aggregated object properties\n\nYou can retrieve aggregations of text, number, int, or boolean data types.\n\nThe available sub-types vary for each data type, except for type which is available to all, and count which is available to all but cross-references.\n\nExample with text\nThe following example retrieves information about the most commonly occurring examples in the question property:\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion {\n answer {\n count\n type\n topOccurrences {\n occurs\n value\n }\n }\n }\n }\n}\n```\n\nExample with int\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion {\n points {\n count\n sum\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}", "schemaPath": "nationalparks.json", "modelOutput": "{\n Aggregate {\n NationalPark {\n establishedYear {\n count\n sum\n }\n parkName {\n count\n type\n topOccurrences {\n occurs\n value\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}\n\n COMMAND:\n ```text\nShow me the number of unique pet names and the sum of ages of the Pets in the database.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n Pet {\n petName {\n count\n type\n topOccurrences {\n occurs\n value\n }\n }\n age {\n count\n sum\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the number of unique pet names and the sum of ages of the Pets in the database.\n```", "apiRef": "Retrieve aggregated object properties\n\nYou can retrieve aggregations of text, number, int, or boolean data types.\n\nThe available sub-types vary for each data type, except for type which is available to all, and count which is available to all but cross-references.\n\nExample with text\nThe following example retrieves information about the most commonly occurring examples in the question property:\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion {\n answer {\n count\n type\n topOccurrences {\n occurs\n value\n }\n }\n }\n }\n}\n```\n\nExample with int\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion {\n points {\n count\n sum\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}", "schemaPath": "pets.json", "modelOutput": "{\n Aggregate {\n Pet {\n petName {\n count\n type\n topOccurrences {\n occurs\n value\n }\n }\n age {\n count\n sum\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}\n\n COMMAND:\n ```text\nShow me the count and sum of prices for each unique name of JewelryItem in the database.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n JewelryItem {\n name {\n count\n type\n topOccurrences {\n occurs\n value\n }\n }\n price {\n count\n sum\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the count and sum of prices for each unique name of JewelryItem in the database.\n```", "apiRef": "Retrieve aggregated object properties\n\nYou can retrieve aggregations of text, number, int, or boolean data types.\n\nThe available sub-types vary for each data type, except for type which is available to all, and count which is available to all but cross-references.\n\nExample with text\nThe following example retrieves information about the most commonly occurring examples in the question property:\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion {\n answer {\n count\n type\n topOccurrences {\n occurs\n value\n }\n }\n }\n }\n}\n```\n\nExample with int\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion {\n points {\n count\n sum\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}", "schemaPath": "jewelry.json", "modelOutput": "{\n Aggregate {\n JewelryItem {\n name {\n count\n type\n topOccurrences {\n occurs\n value\n }\n }\n price {\n count\n sum\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}\n\n COMMAND:\n ```text\nShow me the number of unique mission names and the sum of launch years of the Space Missions in the database.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n SpaceMission {\n missionName {\n count\n type\n topOccurrences {\n occurs\n value\n }\n }\n launchYear {\n count\n sum\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the number of unique mission names and the sum of launch years of the Space Missions in the database.\n```", "apiRef": "Retrieve aggregated object properties\n\nYou can retrieve aggregations of text, number, int, or boolean data types.\n\nThe available sub-types vary for each data type, except for type which is available to all, and count which is available to all but cross-references.\n\nExample with text\nThe following example retrieves information about the most commonly occurring examples in the question property:\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion {\n answer {\n count\n type\n topOccurrences {\n occurs\n value\n }\n }\n }\n }\n}\n```\n\nExample with int\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion {\n points {\n count\n sum\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}", "schemaPath": "spaceexploration.json", "modelOutput": "{\n Aggregate {\n SpaceMission {\n missionName {\n count\n type\n topOccurrences {\n occurs\n value\n }\n }\n launchYear {\n count\n sum\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}\n\n COMMAND:\n ```text\nShow me the number of unique names and the sum of founded years of the NonProfit organizations in the database.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n NonProfit {\n name {\n count\n type\n topOccurrences {\n occurs\n value\n }\n }\n foundedYear {\n count\n sum\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the number of unique names and the sum of founded years of the NonProfit organizations in the database.\n```", "apiRef": "Retrieve aggregated object properties\n\nYou can retrieve aggregations of text, number, int, or boolean data types.\n\nThe available sub-types vary for each data type, except for type which is available to all, and count which is available to all but cross-references.\n\nExample with text\nThe following example retrieves information about the most commonly occurring examples in the question property:\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion {\n answer {\n count\n type\n topOccurrences {\n occurs\n value\n }\n }\n }\n }\n}\n```\n\nExample with int\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion {\n points {\n count\n sum\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}", "schemaPath": "nonprofits.json", "modelOutput": "{\n Aggregate {\n NonProfit {\n name {\n count\n type\n topOccurrences {\n occurs\n value\n }\n }\n foundedYear {\n count\n sum\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}\n\n COMMAND:\n ```text\nShow me the count and the most commonly occurring values of the appName and platform properties for the ARApplications in the database.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n ARApplication {\n appName {\n count\n type\n topOccurrences {\n occurs\n value\n }\n }\n platform {\n count\n type\n topOccurrences {\n occurs\n value\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the count and the most commonly occurring values of the appName and platform properties for the ARApplications in the database.\n```", "apiRef": "Retrieve aggregated object properties\n\nYou can retrieve aggregations of text, number, int, or boolean data types.\n\nThe available sub-types vary for each data type, except for type which is available to all, and count which is available to all but cross-references.\n\nExample with text\nThe following example retrieves information about the most commonly occurring examples in the question property:\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion {\n answer {\n count\n type\n topOccurrences {\n occurs\n value\n }\n }\n }\n }\n}\n```\n\nExample with int\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion {\n points {\n count\n sum\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}", "schemaPath": "augmentedreality.json", "modelOutput": "{\n Aggregate {\n ARApplication {\n appName {\n count\n type\n topOccurrences {\n occurs\n value\n }\n }\n platform {\n count\n type\n topOccurrences {\n occurs\n value\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}\n\n COMMAND:\n ```text\nShow me the count of ChemicalElement objects\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n ChemicalElement {\n meta {\n count\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the count of ChemicalElement objects\n```", "apiRef": "Aggregate, retrieve a meta property\n\nThe meta property has only one sub-property (count) available. This returns the count of objects matched by the query.\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion {\n meta {\n count\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-meta.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}", "schemaPath": "chemicals.json", "modelOutput": "{\n Aggregate {\n ChemicalElement {\n meta {\n count\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nShow me the count of objects in the VRExperience class\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n VRExperience {\n meta {\n count\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the count of objects in the VRExperience class\n```", "apiRef": "Aggregate, retrieve a meta property\n\nThe meta property has only one sub-property (count) available. This returns the count of objects matched by the query.\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion {\n meta {\n count\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-meta.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}", "schemaPath": "virtualreality.json", "modelOutput": "{\n Aggregate {\n VRExperience {\n meta {\n count\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}\n\n COMMAND:\n ```text\nShow me the count of objects in the Drug class.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n Drug {\n meta {\n count\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the count of objects in the Drug class.\n```", "apiRef": "Aggregate, retrieve a meta property\n\nThe meta property has only one sub-property (count) available. This returns the count of objects matched by the query.\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion {\n meta {\n count\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-meta.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}", "schemaPath": "pharmaceuticals.json", "modelOutput": "{\n Aggregate {\n Drug {\n meta {\n count\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}\n\n COMMAND:\n ```text\nShow me the count of objects in the FilmFestival class\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n FilmFestival {\n meta {\n count\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the count of objects in the FilmFestival class\n```", "apiRef": "Aggregate, retrieve a meta property\n\nThe meta property has only one sub-property (count) available. This returns the count of objects matched by the query.\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion {\n meta {\n count\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-meta.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}", "schemaPath": "filmfestivals.json", "modelOutput": "{\n Aggregate {\n FilmFestival {\n meta {\n count\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}\n\n COMMAND:\n ```text\nShow me the count of objects in the Boat class.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n Boat {\n meta {\n count\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the count of objects in the Boat class.\n```", "apiRef": "Aggregate, retrieve a meta property\n\nThe meta property has only one sub-property (count) available. This returns the count of objects matched by the query.\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion {\n meta {\n count\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-meta.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}", "schemaPath": "boats.json", "modelOutput": "{\n Aggregate {\n Boat {\n meta {\n count\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}\n\n COMMAND:\n ```text\nShow me the count of objects in the NationalPark class.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n NationalPark {\n meta {\n count\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the count of objects in the NationalPark class.\n```", "apiRef": "Aggregate, retrieve a meta property\n\nThe meta property has only one sub-property (count) available. This returns the count of objects matched by the query.\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion {\n meta {\n count\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-meta.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}", "schemaPath": "nationalparks.json", "modelOutput": "{\n Aggregate {\n NationalPark {\n meta {\n count\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}\n\n COMMAND:\n ```text\nShow me the total count of objects in the Pet class.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n Pet {\n meta {\n count\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the total count of objects in the Pet class.\n```", "apiRef": "Aggregate, retrieve a meta property\n\nThe meta property has only one sub-property (count) available. This returns the count of objects matched by the query.\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion {\n meta {\n count\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-meta.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}", "schemaPath": "pets.json", "modelOutput": "{\n Aggregate {\n Pet {\n meta {\n count\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}\n\n COMMAND:\n ```text\nShow me the total count of JewelryItem objects.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n JewelryItem {\n meta {\n count\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the total count of JewelryItem objects.\n```", "apiRef": "Aggregate, retrieve a meta property\n\nThe meta property has only one sub-property (count) available. This returns the count of objects matched by the query.\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion {\n meta {\n count\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-meta.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}", "schemaPath": "jewelry.json", "modelOutput": "{\n Aggregate {\n JewelryItem {\n meta {\n count\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}\n\n COMMAND:\n ```text\nShow me the count of objects in the SpaceMission class\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n SpaceMission {\n meta {\n count\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the count of objects in the SpaceMission class\n```", "apiRef": "Aggregate, retrieve a meta property\n\nThe meta property has only one sub-property (count) available. This returns the count of objects matched by the query.\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion {\n meta {\n count\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-meta.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}", "schemaPath": "spaceexploration.json", "modelOutput": "{\n Aggregate {\n SpaceMission {\n meta {\n count\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}\n\n COMMAND:\n ```text\nShow me the count of objects in the NonProfit class\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n NonProfit {\n meta {\n count\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the count of objects in the NonProfit class\n```", "apiRef": "Aggregate, retrieve a meta property\n\nThe meta property has only one sub-property (count) available. This returns the count of objects matched by the query.\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion {\n meta {\n count\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-meta.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}", "schemaPath": "nonprofits.json", "modelOutput": "{\n Aggregate {\n NonProfit {\n meta {\n count\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}\n\n COMMAND:\n ```text\nShow me the count of objects in the ARApplication class.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n ARApplication {\n meta {\n count\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the count of objects in the ARApplication class.\n```", "apiRef": "Aggregate, retrieve a meta property\n\nThe meta property has only one sub-property (count) available. This returns the count of objects matched by the query.\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion {\n meta {\n count\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-meta.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}", "schemaPath": "augmentedreality.json", "modelOutput": "{\n Aggregate {\n ARApplication {\n meta {\n count\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}\n\n COMMAND:\n ```text\nGet me the chemical compounds that are semantically similar to the query 'organic chemistry' with a vector distance greater than 0.25. Show me the compound name, formula, molar mass, and the elements it contains including their name, symbol, atomic number, and whether they are metals.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ChemicalCompound(\n nearText: {\n concepts: [\"organic chemistry\"],\n distance: 0.25\n }\n ) {\n compoundName\n formula\n molarMass\n containsElements {\n ... on ChemicalElement {\n elementName\n symbol\n atomicNumber\n isMetal\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the chemical compounds that are semantically similar to the query 'organic chemistry' with a vector distance greater than 0.25. Show me the compound name, formula, molar mass, and the elements it contains including their name, symbol, atomic number, and whether they are metals.\n```", "apiRef": "nearText with distance threshold\n\nDistance threshold\n\nYou can set a threshold for similarity search by setting a maximum\u00a0`distance`. The distance indicates how dissimilar two objects are.\n\nMultiple\u00a0distance metrics are available in Weaviate. You can set it in the schema.\n\nThe example below searches the\u00a0`JeopardyQuestion`\u00a0class for objects best matching\u00a0`\"animals in movies\"`, returning those with a\u00a0`distance`\u00a0less than\u00a0`0.18`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in movies\"],\n distance: 0.18\n }\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-distance.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}", "schemaPath": "chemicals.json", "modelOutput": "{\n Get {\n ChemicalCompound(\n nearText: {\n concepts: [\"organic chemistry\"],\n distance: 0.25\n }\n ) {\n compoundName\n formula\n molarMass\n containsElements {\n ... on ChemicalElement {\n elementName\n symbol\n isMetal\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the VR experiences that are semantically similar to the query 'action' with a vector distance greater than 0.2. Show me the title, developer's name, genre, release year, and whether it is multiplayer.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n VRExperience(\n nearText: {\n concepts: [\"action\"],\n distance: 0.2\n }\n ) {\n title\n developer {\n ... on Developer {\n name\n }\n }\n genre\n releaseYear\n isMultiplayer\n }\n }\n}\n```", "nlcommand": "```text\nGet me the VR experiences that are semantically similar to the query 'action' with a vector distance greater than 0.2. Show me the title, developer's name, genre, release year, and whether it is multiplayer.\n```", "apiRef": "nearText with distance threshold\n\nDistance threshold\n\nYou can set a threshold for similarity search by setting a maximum\u00a0`distance`. The distance indicates how dissimilar two objects are.\n\nMultiple\u00a0distance metrics are available in Weaviate. You can set it in the schema.\n\nThe example below searches the\u00a0`JeopardyQuestion`\u00a0class for objects best matching\u00a0`\"animals in movies\"`, returning those with a\u00a0`distance`\u00a0less than\u00a0`0.18`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in movies\"],\n distance: 0.18\n }\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-distance.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}", "schemaPath": "virtualreality.json", "modelOutput": "{\n Get {\n VRExperience(\n nearText: {\n concepts: [\"action\"],\n distance: 0.2\n }\n ) {\n title\n developer {\n ... on Developer {\n name\n }\n }\n genre\n releaseYear\n isMultiplayer\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}\n\n COMMAND:\n ```text\nGet me the drugs that are semantically similar to the query 'pain relief' with a vector distance greater than 0.25. Show me the drug name, active ingredient, approval year, OTC status, and manufacturer's company name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Drug(\n nearText: {\n concepts: [\"pain relief\"],\n distance: 0.25\n }\n ) {\n drugName\n activeIngredient\n approvalYear\n isOTC\n manufacturer {\n ... on Manufacturer {\n companyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the drugs that are semantically similar to the query 'pain relief' with a vector distance greater than 0.25. Show me the drug name, active ingredient, approval year, OTC status, and manufacturer's company name.\n```", "apiRef": "nearText with distance threshold\n\nDistance threshold\n\nYou can set a threshold for similarity search by setting a maximum\u00a0`distance`. The distance indicates how dissimilar two objects are.\n\nMultiple\u00a0distance metrics are available in Weaviate. You can set it in the schema.\n\nThe example below searches the\u00a0`JeopardyQuestion`\u00a0class for objects best matching\u00a0`\"animals in movies\"`, returning those with a\u00a0`distance`\u00a0less than\u00a0`0.18`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in movies\"],\n distance: 0.18\n }\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-distance.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}", "schemaPath": "pharmaceuticals.json", "modelOutput": "{\n Get {\n Drug(\n nearText: {\n concepts: [\"pain relief\"],\n distance: 0.25\n }\n ) {\n drugName\n activeIngredient\n approvalYear\n isOTC\n manufacturer {\n ... on Manufacturer {\n companyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}\n\n COMMAND:\n ```text\nGet me the film festivals that are semantically similar to the query 'Cannes Film Festival' with a vector distance greater than 0.2. Show me the festival name, location, description, and the featured film's title and director.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n FilmFestival(\n nearText: {\n concepts: [\"Cannes Film Festival\"],\n distance: 0.2\n }\n ) {\n festivalName\n location\n description\n featuredFilm {\n ... on Film {\n filmTitle\n director\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the film festivals that are semantically similar to the query 'Cannes Film Festival' with a vector distance greater than 0.2. Show me the festival name, location, description, and the featured film's title and director.\n```", "apiRef": "nearText with distance threshold\n\nDistance threshold\n\nYou can set a threshold for similarity search by setting a maximum\u00a0`distance`. The distance indicates how dissimilar two objects are.\n\nMultiple\u00a0distance metrics are available in Weaviate. You can set it in the schema.\n\nThe example below searches the\u00a0`JeopardyQuestion`\u00a0class for objects best matching\u00a0`\"animals in movies\"`, returning those with a\u00a0`distance`\u00a0less than\u00a0`0.18`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in movies\"],\n distance: 0.18\n }\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-distance.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}", "schemaPath": "filmfestivals.json", "modelOutput": "{\n Get {\n FilmFestival(\n nearText: {\n concepts: [\"Cannes Film Festival\"],\n distance: 0.2\n }\n ) {\n festivalName\n location\n description\n featuredFilm {\n ... on Film {\n title\n director\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the boats that are semantically similar to the query 'sailboat' with a vector distance greater than 0.25. Show me the boat name, type, capacity, motorization status, and the manufacturer's company name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Boat(\n nearText: {\n concepts: [\"sailboat\"],\n distance: 0.25\n }\n ) {\n boatName\n type\n capacity\n isMotorized\n manufacturer {\n ... on BoatManufacturer {\n companyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the boats that are semantically similar to the query 'sailboat' with a vector distance greater than 0.25. Show me the boat name, type, capacity, motorization status, and the manufacturer's company name.\n```", "apiRef": "nearText with distance threshold\n\nDistance threshold\n\nYou can set a threshold for similarity search by setting a maximum\u00a0`distance`. The distance indicates how dissimilar two objects are.\n\nMultiple\u00a0distance metrics are available in Weaviate. You can set it in the schema.\n\nThe example below searches the\u00a0`JeopardyQuestion`\u00a0class for objects best matching\u00a0`\"animals in movies\"`, returning those with a\u00a0`distance`\u00a0less than\u00a0`0.18`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in movies\"],\n distance: 0.18\n }\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-distance.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}", "schemaPath": "boats.json", "modelOutput": "{\n Get {\n Boat(\n nearText: {\n concepts: [\"sailboat\"],\n distance: 0.25\n }\n ) {\n boatName\n type\n capacity\n isMotorized\n manufacturer {\n ... on BoatManufacturer {\n companyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}\n\n COMMAND:\n ```text\nGet me the national parks that are semantically similar to the query 'mountain' with a vector distance greater than 0.25. Show me the park name, description, location, established year, entry fee status, wildlife, and facilities with their names and descriptions.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NationalPark(\n nearText: {\n concepts: [\"mountain\"],\n distance: 0.25\n }\n ) {\n parkName\n description\n location\n establishedYear\n isEntryFree\n wildlife\n facilities {\n ... on Facility {\n facilityName\n description\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the national parks that are semantically similar to the query 'mountain' with a vector distance greater than 0.25. Show me the park name, description, location, established year, entry fee status, wildlife, and facilities with their names and descriptions.\n```", "apiRef": "nearText with distance threshold\n\nDistance threshold\n\nYou can set a threshold for similarity search by setting a maximum\u00a0`distance`. The distance indicates how dissimilar two objects are.\n\nMultiple\u00a0distance metrics are available in Weaviate. You can set it in the schema.\n\nThe example below searches the\u00a0`JeopardyQuestion`\u00a0class for objects best matching\u00a0`\"animals in movies\"`, returning those with a\u00a0`distance`\u00a0less than\u00a0`0.18`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in movies\"],\n distance: 0.18\n }\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-distance.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}", "schemaPath": "nationalparks.json", "modelOutput": "{\n Get {\n NationalPark(\n nearText: {\n concepts: [\"mountain\"],\n distance: 0.25\n }\n ) {\n parkName\n description\n location\n establishedYear\n isEntryFree\n wildlife\n facilities {\n ... on Facility {\n facilityName\n description\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}\n\n COMMAND:\n ```text\nGet me the pets that are semantically similar to the query 'dog' with a vector distance greater than 0.2. Show me their pet name, species, breed, age, and the owner's full name, address, and contact number.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Pet(\n nearText: {\n concepts: [\"dog\"],\n distance: 0.2\n }\n ) {\n petName\n species\n breed\n age\n owner {\n ... on Person {\n fullName\n address\n contactNumber\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the pets that are semantically similar to the query 'dog' with a vector distance greater than 0.2. Show me their pet name, species, breed, age, and the owner's full name, address, and contact number.\n```", "apiRef": "nearText with distance threshold\n\nDistance threshold\n\nYou can set a threshold for similarity search by setting a maximum\u00a0`distance`. The distance indicates how dissimilar two objects are.\n\nMultiple\u00a0distance metrics are available in Weaviate. You can set it in the schema.\n\nThe example below searches the\u00a0`JeopardyQuestion`\u00a0class for objects best matching\u00a0`\"animals in movies\"`, returning those with a\u00a0`distance`\u00a0less than\u00a0`0.18`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in movies\"],\n distance: 0.18\n }\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-distance.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}", "schemaPath": "pets.json", "modelOutput": "{\n Get {\n Pet(\n nearText: {\n concepts: [\"dog\"],\n distance: 0.2\n }\n ) {\n petName\n species\n breed\n age\n owner {\n ... on Person {\n fullName\n address\n contactNumber\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}\n\n COMMAND:\n ```text\nGet me the jewelry items that are semantically similar to the query 'necklace' with a vector distance greater than 0.2. Show me the name, material, gemstone name, price, and whether it is handmade.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n JewelryItem(\n nearText: {\n concepts: [\"necklace\"],\n distance: 0.2\n }\n ) {\n name\n material\n gemstone {\n ... on Gemstone {\n name\n }\n }\n price\n isHandmade\n }\n }\n}\n```", "nlcommand": "```text\nGet me the jewelry items that are semantically similar to the query 'necklace' with a vector distance greater than 0.2. Show me the name, material, gemstone name, price, and whether it is handmade.\n```", "apiRef": "nearText with distance threshold\n\nDistance threshold\n\nYou can set a threshold for similarity search by setting a maximum\u00a0`distance`. The distance indicates how dissimilar two objects are.\n\nMultiple\u00a0distance metrics are available in Weaviate. You can set it in the schema.\n\nThe example below searches the\u00a0`JeopardyQuestion`\u00a0class for objects best matching\u00a0`\"animals in movies\"`, returning those with a\u00a0`distance`\u00a0less than\u00a0`0.18`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in movies\"],\n distance: 0.18\n }\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-distance.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}", "schemaPath": "jewelry.json", "modelOutput": "{\n Get {\n JewelryItem(\n nearText: {\n concepts: [\"necklace\"],\n distance: 0.2\n }\n ) {\n name\n material\n gemstone {\n ... on Gemstone {\n name\n }\n }\n price\n isHandmade\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}\n\n COMMAND:\n ```text\nGet me the space missions that are semantically similar to the query 'moon landing' with a vector distance greater than 0.2. Show me the mission name, objective, launch year, mission status, and space agency's name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n SpaceMission(\n nearText: {\n concepts: [\"moon landing\"],\n distance: 0.2\n }\n ) {\n missionName\n objective\n launchYear\n missionStatus\n spaceAgency {\n ... on SpaceAgency {\n agencyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the space missions that are semantically similar to the query 'moon landing' with a vector distance greater than 0.2. Show me the mission name, objective, launch year, mission status, and space agency's name.\n```", "apiRef": "nearText with distance threshold\n\nDistance threshold\n\nYou can set a threshold for similarity search by setting a maximum\u00a0`distance`. The distance indicates how dissimilar two objects are.\n\nMultiple\u00a0distance metrics are available in Weaviate. You can set it in the schema.\n\nThe example below searches the\u00a0`JeopardyQuestion`\u00a0class for objects best matching\u00a0`\"animals in movies\"`, returning those with a\u00a0`distance`\u00a0less than\u00a0`0.18`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in movies\"],\n distance: 0.18\n }\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-distance.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}", "schemaPath": "spaceexploration.json", "modelOutput": "{\n Get {\n SpaceMission(\n nearText: {\n concepts: [\"moon landing\"],\n distance: 0.2\n }\n ) {\n missionName\n objective\n launchYear\n missionStatus\n spaceAgency {\n ... on SpaceAgency {\n agencyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}\n\n COMMAND:\n ```text\nGet me the non-profit organizations that are semantically similar to the query 'education' with a vector distance greater than 0.25. Show me their name, mission, founded year, focus area, and founder's full name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NonProfit(\n nearText: {\n concepts: [\"education\"],\n distance: 0.25\n }\n ) {\n name\n mission\n foundedYear\n focusArea\n founder {\n ... on Person {\n fullName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the non-profit organizations that are semantically similar to the query 'education' with a vector distance greater than 0.25. Show me their name, mission, founded year, focus area, and founder's full name.\n```", "apiRef": "nearText with distance threshold\n\nDistance threshold\n\nYou can set a threshold for similarity search by setting a maximum\u00a0`distance`. The distance indicates how dissimilar two objects are.\n\nMultiple\u00a0distance metrics are available in Weaviate. You can set it in the schema.\n\nThe example below searches the\u00a0`JeopardyQuestion`\u00a0class for objects best matching\u00a0`\"animals in movies\"`, returning those with a\u00a0`distance`\u00a0less than\u00a0`0.18`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in movies\"],\n distance: 0.18\n }\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-distance.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}", "schemaPath": "nonprofits.json", "modelOutput": "{\n Get {\n NonProfit(\n nearText: {\n concepts: [\"education\"],\n distance: 0.25\n }\n ) {\n name\n mission\n foundedYear\n focusArea\n founder {\n ... on Person {\n fullName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}\n\n COMMAND:\n ```text\nGet me the AR applications that are semantically similar to the query 'augmented reality' with a vector distance greater than 0.2. Show me the application name, description, platform, and developer's company name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ARApplication(\n nearText: {\n concepts: [\"augmented reality\"],\n distance: 0.2\n }\n ) {\n appName\n description\n platform\n developer {\n ... on SoftwareCompany {\n companyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the AR applications that are semantically similar to the query 'augmented reality' with a vector distance greater than 0.2. Show me the application name, description, platform, and developer's company name.\n```", "apiRef": "nearText with distance threshold\n\nDistance threshold\n\nYou can set a threshold for similarity search by setting a maximum\u00a0`distance`. The distance indicates how dissimilar two objects are.\n\nMultiple\u00a0distance metrics are available in Weaviate. You can set it in the schema.\n\nThe example below searches the\u00a0`JeopardyQuestion`\u00a0class for objects best matching\u00a0`\"animals in movies\"`, returning those with a\u00a0`distance`\u00a0less than\u00a0`0.18`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in movies\"],\n distance: 0.18\n }\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-distance.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}", "schemaPath": "augmentedreality.json", "modelOutput": "{\n Get {\n ARApplication(\n nearText: {\n concepts: [\"augmented reality\"],\n distance: 0.2\n }\n ) {\n appName\n description\n platform\n developer {\n ... on SoftwareCompany {\n companyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}\n\n COMMAND:\n ```text\nShow me the compound name, formula, molar mass, and linked chemical elements' name, symbol, atomic number, and metal status of chemical compounds with a molar mass greater than 100.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ChemicalCompound(\n where: {\n path: [\"molarMass\"],\n operator: GreaterThan,\n valueNumber: 100\n }\n ) {\n compoundName\n formula\n molarMass\n containsElements {\n ... on ChemicalElement {\n elementName\n symbol\n atomicNumber\n isMetal\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the compound name, formula, molar mass, and linked chemical elements' name, symbol, atomic number, and metal status of chemical compounds with a molar mass greater than 100.\n```", "apiRef": "A single-condition filter\n\nTo add a filter, you must provide at least one where condition to your query.\n\nThe following example specifies that the round property must equal \"Double Jeopardy!\". Note that the valueText parameter is used since the property datatype is text.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n round\n }\n }\n}\n```", "apiRefPath": "get-single-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}", "schemaPath": "chemicals.json", "modelOutput": "{\n Get {\n ChemicalCompound(\n where: {\n path: [\"molarMass\"],\n operator: GreaterThan,\n valueNumber: 100\n }\n ) {\n compoundName\n formula\n molarMass\n containsElements {\n ... on ChemicalElement {\n elementName\n symbol\n isMetal\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nShow me the title, developer's name, genre, and multiplayer status of VR experiences released after 2010.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n VRExperience(\n where: {\n path: [\"releaseYear\"],\n operator: GreaterThan,\n valueInt: 2010\n }\n ) {\n title\n developer {\n ... on Developer {\n name\n }\n }\n genre\n isMultiplayer\n }\n }\n}\n```", "nlcommand": "```text\nShow me the title, developer's name, genre, and multiplayer status of VR experiences released after 2010.\n```", "apiRef": "A single-condition filter\n\nTo add a filter, you must provide at least one where condition to your query.\n\nThe following example specifies that the round property must equal \"Double Jeopardy!\". Note that the valueText parameter is used since the property datatype is text.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n round\n }\n }\n}\n```", "apiRefPath": "get-single-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}", "schemaPath": "virtualreality.json", "modelOutput": "{\n Get {\n VRExperience(\n where: {\n path: [\"releaseYear\"],\n operator: GreaterThan,\n valueInt: 2010\n }\n ) {\n title\n developer {\n ... on Developer {\n name\n }\n }\n genre\n isMultiplayer\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}\n\n COMMAND:\n ```text\nShow me the drug name, active ingredient, over-the-counter status, and linked manufacturer's company name of drugs approved after 2010.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Drug(\n where: {\n path: [\"approvalYear\"],\n operator: GreaterThan,\n valueInt: 2010\n }\n ) {\n drugName\n activeIngredient\n isOTC\n manufacturer {\n ... on Manufacturer {\n companyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the drug name, active ingredient, over-the-counter status, and linked manufacturer's company name of drugs approved after 2010.\n```", "apiRef": "A single-condition filter\n\nTo add a filter, you must provide at least one where condition to your query.\n\nThe following example specifies that the round property must equal \"Double Jeopardy!\". Note that the valueText parameter is used since the property datatype is text.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n round\n }\n }\n}\n```", "apiRefPath": "get-single-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}", "schemaPath": "pharmaceuticals.json", "modelOutput": "{\n Get {\n Drug(\n where: {\n path: [\"approvalYear\"],\n operator: GreaterThan,\n valueInt: 2010\n }\n ) {\n drugName\n activeIngredient\n isOTC\n manufacturer {\n ... on Manufacturer {\n companyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}\n\n COMMAND:\n ```text\nShow me the festival name, description, and featured film's title and director of film festivals in Los Angeles.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n FilmFestival(\n where: {\n path: [\"location\"],\n operator: Equal,\n valueText: \"Los Angeles\"\n }\n ) {\n festivalName\n description\n featuredFilm {\n ... on Film {\n filmTitle\n director\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the festival name, description, and featured film's title and director of film festivals in Los Angeles.\n```", "apiRef": "A single-condition filter\n\nTo add a filter, you must provide at least one where condition to your query.\n\nThe following example specifies that the round property must equal \"Double Jeopardy!\". Note that the valueText parameter is used since the property datatype is text.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n round\n }\n }\n}\n```", "apiRefPath": "get-single-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}", "schemaPath": "filmfestivals.json", "modelOutput": "{\n Get {\n FilmFestival(\n where: {\n path: [\"location\"],\n operator: Equal,\n valueText: \"Los Angeles\"\n }\n ) {\n festivalName\n description\n featuredFilm {\n ... on Film {\n title\n director\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}\n\n COMMAND:\n ```text\nShow me the boat name, type, motorization status, and linked manufacturer's company name of boats with a capacity greater than 10.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Boat(\n where: {\n path: [\"capacity\"],\n operator: GreaterThan,\n valueInt: 10\n }\n ) {\n boatName\n type\n isMotorized\n manufacturer {\n ... on BoatManufacturer {\n companyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the boat name, type, motorization status, and linked manufacturer's company name of boats with a capacity greater than 10.\n```", "apiRef": "A single-condition filter\n\nTo add a filter, you must provide at least one where condition to your query.\n\nThe following example specifies that the round property must equal \"Double Jeopardy!\". Note that the valueText parameter is used since the property datatype is text.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n round\n }\n }\n}\n```", "apiRefPath": "get-single-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}", "schemaPath": "boats.json", "modelOutput": "{\n Get {\n Boat(\n where: {\n path: [\"capacity\"],\n operator: GreaterThan,\n valueInt: 10\n }\n ) {\n boatName\n type\n isMotorized\n manufacturer {\n ... on BoatManufacturer {\n companyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}\n\n COMMAND:\n ```text\nShow me the park name, description, location, entry fee status, wildlife, and facility name with description of national parks established after the year 2000.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NationalPark(\n where: {\n path: [\"establishedYear\"],\n operator: GreaterThan,\n valueInt: 2000\n }\n ) {\n parkName\n description\n location\n isEntryFree\n wildlife\n facilities {\n ... on Facility {\n facilityName\n description\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the park name, description, location, entry fee status, wildlife, and facility name with description of national parks established after the year 2000.\n```", "apiRef": "A single-condition filter\n\nTo add a filter, you must provide at least one where condition to your query.\n\nThe following example specifies that the round property must equal \"Double Jeopardy!\". Note that the valueText parameter is used since the property datatype is text.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n round\n }\n }\n}\n```", "apiRefPath": "get-single-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}", "schemaPath": "nationalparks.json", "modelOutput": "{\n Get {\n NationalPark(\n where: {\n path: [\"establishedYear\"],\n operator: GreaterThan,\n valueInt: 2000\n }\n ) {\n parkName\n description\n location\n isEntryFree\n wildlife\n facilities {\n ... on Facility {\n facilityName\n description\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}\n\n COMMAND:\n ```text\nShow me the pet name, species, breed, age, owner's full name, address, and contact number of pets older than 5 years.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Pet(\n where: {\n path: [\"age\"],\n operator: GreaterThan,\n valueInt: 5\n }\n ) {\n petName\n species\n breed\n age\n owner {\n ... on Person {\n fullName\n address\n contactNumber\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the pet name, species, breed, age, owner's full name, address, and contact number of pets older than 5 years.\n```", "apiRef": "A single-condition filter\n\nTo add a filter, you must provide at least one where condition to your query.\n\nThe following example specifies that the round property must equal \"Double Jeopardy!\". Note that the valueText parameter is used since the property datatype is text.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n round\n }\n }\n}\n```", "apiRefPath": "get-single-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}", "schemaPath": "pets.json", "modelOutput": "{\n Get {\n Pet(\n where: {\n path: [\"age\"],\n operator: GreaterThan,\n valueInt: 5\n }\n ) {\n petName\n species\n breed\n age\n owner {\n ... on Person {\n fullName\n address\n contactNumber\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}\n\n COMMAND:\n ```text\nShow me the name, material, and linked gemstone's name and hardness of jewelry items with a price less than 1000.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n JewelryItem(\n where: {\n path: [\"price\"],\n operator: LessThan,\n valueNumber: 1000\n }\n ) {\n name\n material\n gemstone {\n ... on Gemstone {\n name\n hardness\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the name, material, and linked gemstone's name and hardness of jewelry items with a price less than 1000.\n```", "apiRef": "A single-condition filter\n\nTo add a filter, you must provide at least one where condition to your query.\n\nThe following example specifies that the round property must equal \"Double Jeopardy!\". Note that the valueText parameter is used since the property datatype is text.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n round\n }\n }\n}\n```", "apiRefPath": "get-single-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}", "schemaPath": "jewelry.json", "modelOutput": "{\n Get {\n JewelryItem(\n where: {\n path: [\"price\"],\n operator: LessThan,\n valueNumber: 1000\n }\n ) {\n name\n material\n gemstone {\n ... on Gemstone {\n name\n hardness\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}\n\n COMMAND:\n ```text\nShow me the mission name, objective, mission status, and linked space agency's name and headquarters of space missions launched after the year 2000.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n SpaceMission(\n where: {\n path: [\"launchYear\"],\n operator: GreaterThan,\n valueInt: 2000\n }\n ) {\n missionName\n objective\n missionStatus\n spaceAgency {\n ... on SpaceAgency {\n agencyName\n headquarters\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the mission name, objective, mission status, and linked space agency's name and headquarters of space missions launched after the year 2000.\n```", "apiRef": "A single-condition filter\n\nTo add a filter, you must provide at least one where condition to your query.\n\nThe following example specifies that the round property must equal \"Double Jeopardy!\". Note that the valueText parameter is used since the property datatype is text.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n round\n }\n }\n}\n```", "apiRefPath": "get-single-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}", "schemaPath": "spaceexploration.json", "modelOutput": "{\n Get {\n SpaceMission(\n where: {\n path: [\"launchYear\"],\n operator: GreaterThan,\n valueInt: 2000\n }\n ) {\n missionName\n objective\n missionStatus\n spaceAgency {\n ... on SpaceAgency {\n agencyName\n foundedYear\n headquarters\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}\n\n COMMAND:\n ```text\nShow me the name, mission, focus area, and linked founder's full name of non-profit organizations founded after the year 2000.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NonProfit(\n where: {\n path: [\"foundedYear\"],\n operator: GreaterThan,\n valueInt: 2000\n }\n ) {\n name\n mission\n focusArea\n founder {\n ... on Person {\n fullName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the name, mission, focus area, and linked founder's full name of non-profit organizations founded after the year 2000.\n```", "apiRef": "A single-condition filter\n\nTo add a filter, you must provide at least one where condition to your query.\n\nThe following example specifies that the round property must equal \"Double Jeopardy!\". Note that the valueText parameter is used since the property datatype is text.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n round\n }\n }\n}\n```", "apiRefPath": "get-single-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}", "schemaPath": "nonprofits.json", "modelOutput": "{\n Get {\n NonProfit(\n where: {\n path: [\"foundedYear\"],\n operator: GreaterThan,\n valueInt: 2000\n }\n ) {\n name\n mission\n focusArea\n founder {\n ... on Person {\n fullName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}\n\n COMMAND:\n ```text\nShow me the application name, description, and linked developer's company name of iOS applications.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ARApplication(\n where: {\n path: [\"platform\"],\n operator: Equal,\n valueText: \"iOS\"\n }\n ) {\n appName\n description\n developer {\n ... on SoftwareCompany {\n companyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the application name, description, and linked developer's company name of iOS applications.\n```", "apiRef": "A single-condition filter\n\nTo add a filter, you must provide at least one where condition to your query.\n\nThe following example specifies that the round property must equal \"Double Jeopardy!\". Note that the valueText parameter is used since the property datatype is text.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n round\n }\n }\n}\n```", "apiRefPath": "get-single-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}", "schemaPath": "augmentedreality.json", "modelOutput": "{\n Get {\n ARApplication(\n where: {\n path: [\"platform\"],\n operator: Equal,\n valueText: \"iOS\"\n }\n ) {\n appName\n description\n developer {\n ... on SoftwareCompany {\n companyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}\n\n COMMAND:\n ```text\nShow me the elementName, symbol, and atomicNumber of the ChemicalElement objects.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ChemicalElement {\n elementName\n symbol\n atomicNumber\n }\n }\n}\n```", "nlcommand": "```text\nShow me the elementName, symbol, and atomicNumber of the ChemicalElement objects.\n```", "apiRef": "Simple Get to return a multiple properties\n\n`Get`\u00a0function requirements\nTo retrieve objects from Weaviate, you must use the\u00a0`Get`\u00a0function and specify at least:\n\n- The target\u00a0`class`\u00a0to search, and\n- One or more\u00a0`properties`\u00a0to retrieve.\n\n```graphql\n{\n Get {\n JeopardyQuestion {\n question\n answer\n points\n }\n }\n}\n```", "apiRefPath": "get-multiple-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}", "schemaPath": "chemicals.json", "modelOutput": "{\n Get {\n ChemicalElement {\n elementName\n symbol\n atomicNumber\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}\n\n COMMAND:\n ```text\nShow me the drugName, activeIngredient, and approvalYear of the Drug objects.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Drug {\n drugName\n activeIngredient\n approvalYear\n }\n }\n}\n```", "nlcommand": "```text\nShow me the drugName, activeIngredient, and approvalYear of the Drug objects.\n```", "apiRef": "Simple Get to return a multiple properties\n\n`Get`\u00a0function requirements\nTo retrieve objects from Weaviate, you must use the\u00a0`Get`\u00a0function and specify at least:\n\n- The target\u00a0`class`\u00a0to search, and\n- One or more\u00a0`properties`\u00a0to retrieve.\n\n```graphql\n{\n Get {\n JeopardyQuestion {\n question\n answer\n points\n }\n }\n}\n```", "apiRefPath": "get-multiple-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}", "schemaPath": "pharmaceuticals.json", "modelOutput": "{\n Get {\n Drug {\n drugName\n activeIngredient\n approvalYear\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}\n\n COMMAND:\n ```text\nShow me the festivalName, location, and description of the FilmFestival objects.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n FilmFestival {\n festivalName\n location\n description\n }\n }\n}\n```", "nlcommand": "```text\nShow me the festivalName, location, and description of the FilmFestival objects.\n```", "apiRef": "Simple Get to return a multiple properties\n\n`Get`\u00a0function requirements\nTo retrieve objects from Weaviate, you must use the\u00a0`Get`\u00a0function and specify at least:\n\n- The target\u00a0`class`\u00a0to search, and\n- One or more\u00a0`properties`\u00a0to retrieve.\n\n```graphql\n{\n Get {\n JeopardyQuestion {\n question\n answer\n points\n }\n }\n}\n```", "apiRefPath": "get-multiple-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}", "schemaPath": "filmfestivals.json", "modelOutput": "{\n Get {\n FilmFestival {\n festivalName\n location\n description\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}\n\n COMMAND:\n ```text\nShow me the boatName, type, and capacity of the Boat objects.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Boat {\n boatName\n type\n capacity\n }\n }\n}\n```", "nlcommand": "```text\nShow me the boatName, type, and capacity of the Boat objects.\n```", "apiRef": "Simple Get to return a multiple properties\n\n`Get`\u00a0function requirements\nTo retrieve objects from Weaviate, you must use the\u00a0`Get`\u00a0function and specify at least:\n\n- The target\u00a0`class`\u00a0to search, and\n- One or more\u00a0`properties`\u00a0to retrieve.\n\n```graphql\n{\n Get {\n JeopardyQuestion {\n question\n answer\n points\n }\n }\n}\n```", "apiRefPath": "get-multiple-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}", "schemaPath": "boats.json", "modelOutput": "{\n Get {\n Boat {\n boatName\n type\n capacity\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}\n\n COMMAND:\n ```text\nShow me the petName, species, breed, and age of the Pet objects.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Pet {\n petName\n species\n breed\n age\n }\n }\n}\n```", "nlcommand": "```text\nShow me the petName, species, breed, and age of the Pet objects.\n```", "apiRef": "Simple Get to return a multiple properties\n\n`Get`\u00a0function requirements\nTo retrieve objects from Weaviate, you must use the\u00a0`Get`\u00a0function and specify at least:\n\n- The target\u00a0`class`\u00a0to search, and\n- One or more\u00a0`properties`\u00a0to retrieve.\n\n```graphql\n{\n Get {\n JeopardyQuestion {\n question\n answer\n points\n }\n }\n}\n```", "apiRefPath": "get-multiple-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}", "schemaPath": "pets.json", "modelOutput": "{\n Get {\n Pet {\n petName\n species\n breed\n age\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}\n\n COMMAND:\n ```text\nShow me the missionName, objective, and launchYear of the SpaceMission objects.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n SpaceMission {\n missionName\n objective\n launchYear\n }\n }\n}\n```", "nlcommand": "```text\nShow me the missionName, objective, and launchYear of the SpaceMission objects.\n```", "apiRef": "Simple Get to return a multiple properties\n\n`Get`\u00a0function requirements\nTo retrieve objects from Weaviate, you must use the\u00a0`Get`\u00a0function and specify at least:\n\n- The target\u00a0`class`\u00a0to search, and\n- One or more\u00a0`properties`\u00a0to retrieve.\n\n```graphql\n{\n Get {\n JeopardyQuestion {\n question\n answer\n points\n }\n }\n}\n```", "apiRefPath": "get-multiple-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}", "schemaPath": "spaceexploration.json", "modelOutput": "{\n Get {\n SpaceMission {\n missionName\n objective\n launchYear\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}\n\n COMMAND:\n ```text\nShow me the name, mission, and foundedYear of the NonProfit objects.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NonProfit {\n name\n mission\n foundedYear\n }\n }\n}\n```", "nlcommand": "```text\nShow me the name, mission, and foundedYear of the NonProfit objects.\n```", "apiRef": "Simple Get to return a multiple properties\n\n`Get`\u00a0function requirements\nTo retrieve objects from Weaviate, you must use the\u00a0`Get`\u00a0function and specify at least:\n\n- The target\u00a0`class`\u00a0to search, and\n- One or more\u00a0`properties`\u00a0to retrieve.\n\n```graphql\n{\n Get {\n JeopardyQuestion {\n question\n answer\n points\n }\n }\n}\n```", "apiRefPath": "get-multiple-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}", "schemaPath": "nonprofits.json", "modelOutput": "{\n Get {\n NonProfit {\n name\n mission\n foundedYear\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}\n\n COMMAND:\n ```text\nShow me the appName, description, and platform of the ARApplication objects.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ARApplication {\n appName\n description\n platform\n }\n }\n}\n```", "nlcommand": "```text\nShow me the appName, description, and platform of the ARApplication objects.\n```", "apiRef": "Simple Get to return a multiple properties\n\n`Get`\u00a0function requirements\nTo retrieve objects from Weaviate, you must use the\u00a0`Get`\u00a0function and specify at least:\n\n- The target\u00a0`class`\u00a0to search, and\n- One or more\u00a0`properties`\u00a0to retrieve.\n\n```graphql\n{\n Get {\n JeopardyQuestion {\n question\n answer\n points\n }\n }\n}\n```", "apiRefPath": "get-multiple-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}", "schemaPath": "augmentedreality.json", "modelOutput": "{\n Get {\n ARApplication {\n appName\n description\n platform\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}\n\n COMMAND:\n ```text\nShow me the compound name, formula, molar mass, and linked element information of chemical compounds that contain metal elements.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ChemicalCompound(\n where: {\n path: [\"containsElements\", \"ChemicalElement\", \"isMetal\"],\n operator: Equal,\n valueBoolean: true\n }\n ) {\n compoundName\n formula\n molarMass\n containsElements {\n ... on ChemicalElement {\n elementName\n symbol\n atomicNumber\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the compound name, formula, molar mass, and linked element information of chemical compounds that contain metal elements.\n```", "apiRef": "Filter using cross-references\n\nYou can filter objects using properties from a cross-referenced object.\n\nThe following example filters JeopardyQuestion objects using properties of JeopardyCategory that they are cross-referencing.\n\nMore speficially, the example filters for the title property of JeopardyCategory objects that are cross-referenced from the JeopardyQuestion object. The title property must include the substring Sport.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"hasCategory\", \"JeopardyCategory\", \"title\"],\n operator: Like,\n valueText: \"*Sport*\"\n }\n ) {\n question\n answer\n round\n hasCategory {... on JeopardyCategory { title } }\n }\n }\n}\n```", "apiRefPath": "get-where-filter-with-crefs.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}", "schemaPath": "chemicals.json", "modelOutput": "{\n Get {\n ChemicalCompound(\n where: {\n path: [\"containsElements\", \"ChemicalElement\", \"isMetal\"],\n operator: Equal,\n valueBoolean: true\n }\n ) {\n compoundName\n formula\n molarMass\n containsElements {\n ... on ChemicalElement {\n elementName\n symbol\n atomicNumber\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nShow me the title, genre, release year, multiplayer status, and linked developer name of VR experiences whose linked developer was founded before the year 2000.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n VRExperience(\n where: {\n path: [\"developer\", \"Developer\", \"foundedYear\"],\n operator: LessThan,\n valueInt: 2000\n }\n ) {\n title\n genre\n releaseYear\n isMultiplayer\n developer {\n ... on Developer {\n name\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the title, genre, release year, multiplayer status, and linked developer name of VR experiences whose linked developer was founded before the year 2000.\n```", "apiRef": "Filter using cross-references\n\nYou can filter objects using properties from a cross-referenced object.\n\nThe following example filters JeopardyQuestion objects using properties of JeopardyCategory that they are cross-referencing.\n\nMore speficially, the example filters for the title property of JeopardyCategory objects that are cross-referenced from the JeopardyQuestion object. The title property must include the substring Sport.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"hasCategory\", \"JeopardyCategory\", \"title\"],\n operator: Like,\n valueText: \"*Sport*\"\n }\n ) {\n question\n answer\n round\n hasCategory {... on JeopardyCategory { title } }\n }\n }\n}\n```", "apiRefPath": "get-where-filter-with-crefs.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}", "schemaPath": "virtualreality.json", "modelOutput": "{\n Get {\n VRExperience(\n where: {\n path: [\"developer\", \"Developer\", \"foundedYear\"],\n operator: LessThan,\n valueInt: 2000\n }\n ) {\n title\n genre\n releaseYear\n isMultiplayer\n developer {\n ... on Developer {\n name\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}\n\n COMMAND:\n ```text\nShow me the drug name, active ingredient, approval year, over-the-counter status, company name, founded year, and headquarters of drugs whose linked manufacturer is a global company.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Drug(\n where: {\n path: [\"manufacturer\", \"Manufacturer\", \"isGlobal\"],\n operator: Equal,\n valueBoolean: true\n }\n ) {\n drugName\n activeIngredient\n approvalYear\n isOTC\n manufacturer {\n ... on Manufacturer {\n companyName\n foundedYear\n headquarters\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the drug name, active ingredient, approval year, over-the-counter status, company name, founded year, and headquarters of drugs whose linked manufacturer is a global company.\n```", "apiRef": "Filter using cross-references\n\nYou can filter objects using properties from a cross-referenced object.\n\nThe following example filters JeopardyQuestion objects using properties of JeopardyCategory that they are cross-referencing.\n\nMore speficially, the example filters for the title property of JeopardyCategory objects that are cross-referenced from the JeopardyQuestion object. The title property must include the substring Sport.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"hasCategory\", \"JeopardyCategory\", \"title\"],\n operator: Like,\n valueText: \"*Sport*\"\n }\n ) {\n question\n answer\n round\n hasCategory {... on JeopardyCategory { title } }\n }\n }\n}\n```", "apiRefPath": "get-where-filter-with-crefs.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}", "schemaPath": "pharmaceuticals.json", "modelOutput": "{\n Get {\n Drug(\n where: {\n path: [\"manufacturer\", \"Manufacturer\", \"foundedYear\"],\n operator: Equal,\n valueInt: 2000\n }\n ) {\n drugName\n activeIngredient\n approvalYear\n isOTC\n manufacturer {\n ... on Manufacturer {\n companyName\n foundedYear\n headquarters\n isGlobal\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}\n\n COMMAND:\n ```text\nShow me the festival name, location, description, and featured film title of film festivals where the featured film is directed by Christopher Nolan.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n FilmFestival(\n where: {\n path: [\"featuredFilm\", \"Film\", \"director\"],\n operator: Equal,\n valueText: \"Christopher Nolan\"\n }\n ) {\n festivalName\n location\n description\n featuredFilm {\n ... on Film {\n filmTitle\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the festival name, location, description, and featured film title of film festivals where the featured film is directed by Christopher Nolan.\n```", "apiRef": "Filter using cross-references\n\nYou can filter objects using properties from a cross-referenced object.\n\nThe following example filters JeopardyQuestion objects using properties of JeopardyCategory that they are cross-referencing.\n\nMore speficially, the example filters for the title property of JeopardyCategory objects that are cross-referenced from the JeopardyQuestion object. The title property must include the substring Sport.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"hasCategory\", \"JeopardyCategory\", \"title\"],\n operator: Like,\n valueText: \"*Sport*\"\n }\n ) {\n question\n answer\n round\n hasCategory {... on JeopardyCategory { title } }\n }\n }\n}\n```", "apiRefPath": "get-where-filter-with-crefs.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}", "schemaPath": "filmfestivals.json", "modelOutput": "{\n Get {\n FilmFestival(\n where: {\n path: [\"featuredFilm\", \"Film\", \"director\"],\n operator: Equal,\n valueText: \"Christopher Nolan\"\n }\n ) {\n festivalName\n location\n description\n featuredFilm {\n ... on Film {\n filmTitle\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}\n\n COMMAND:\n ```text\nShow me the boat name, type, capacity, motorization status, and linked manufacturer company name of boats whose linked manufacturer was founded before 1990.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Boat(\n where: {\n path: [\"manufacturer\", \"BoatManufacturer\", \"foundedYear\"],\n operator: LessThan,\n valueInt: 1990\n }\n ) {\n boatName\n type\n capacity\n isMotorized\n manufacturer {\n ... on BoatManufacturer {\n companyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the boat name, type, capacity, motorization status, and linked manufacturer company name of boats whose linked manufacturer was founded before 1990.\n```", "apiRef": "Filter using cross-references\n\nYou can filter objects using properties from a cross-referenced object.\n\nThe following example filters JeopardyQuestion objects using properties of JeopardyCategory that they are cross-referencing.\n\nMore speficially, the example filters for the title property of JeopardyCategory objects that are cross-referenced from the JeopardyQuestion object. The title property must include the substring Sport.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"hasCategory\", \"JeopardyCategory\", \"title\"],\n operator: Like,\n valueText: \"*Sport*\"\n }\n ) {\n question\n answer\n round\n hasCategory {... on JeopardyCategory { title } }\n }\n }\n}\n```", "apiRefPath": "get-where-filter-with-crefs.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}", "schemaPath": "boats.json", "modelOutput": "{\n Get {\n Boat(\n where: {\n path: [\"manufacturer\", \"BoatManufacturer\", \"foundedYear\"],\n operator: LessThan,\n valueInt: 1990\n }\n ) {\n boatName\n type\n capacity\n isMotorized\n manufacturer {\n ... on BoatManufacturer {\n companyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}\n\n COMMAND:\n ```text\nShow me the park name, description, location, established year, entry fee status, wildlife, and details of facilities whose facility name includes the substring \"Visitor Center\" for national parks.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NationalPark(\n where: {\n path: [\"facilities\", \"Facility\", \"facilityName\"],\n operator: Like,\n valueText: \"*Visitor Center*\"\n }\n ) {\n parkName\n description\n location\n establishedYear\n isEntryFree\n wildlife\n facilities {\n ... on Facility {\n facilityName\n description\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the park name, description, location, established year, entry fee status, wildlife, and details of facilities whose facility name includes the substring \"Visitor Center\" for national parks.\n```", "apiRef": "Filter using cross-references\n\nYou can filter objects using properties from a cross-referenced object.\n\nThe following example filters JeopardyQuestion objects using properties of JeopardyCategory that they are cross-referencing.\n\nMore speficially, the example filters for the title property of JeopardyCategory objects that are cross-referenced from the JeopardyQuestion object. The title property must include the substring Sport.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"hasCategory\", \"JeopardyCategory\", \"title\"],\n operator: Like,\n valueText: \"*Sport*\"\n }\n ) {\n question\n answer\n round\n hasCategory {... on JeopardyCategory { title } }\n }\n }\n}\n```", "apiRefPath": "get-where-filter-with-crefs.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}", "schemaPath": "nationalparks.json", "modelOutput": "{\n Get {\n NationalPark(\n where: {\n path: [\"facilities\", \"Facility\", \"Facility\", \"isEntryFree\"],\n operator: Equal,\n valueBoolean: true\n },\n nearText: {\n concepts: [\"Visitor Center\"]\n }\n ) {\n parkName\n description\n location\n establishedYear\n isEntryFree\n wildlife\n facilities {\n ... on Facility {\n facilityName\n description\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}\n\n COMMAND:\n ```text\nShow me the pet name, species, breed, age, owner's full name, address, and contact number of pets whose owner's full name includes the substring \"John\".\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Pet(\n where: {\n path: [\"owner\", \"Person\", \"fullName\"],\n operator: Like,\n valueText: \"*John*\"\n }\n ) {\n petName\n species\n breed\n age\n owner {\n ... on Person {\n fullName\n address\n contactNumber\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the pet name, species, breed, age, owner's full name, address, and contact number of pets whose owner's full name includes the substring \"John\".\n```", "apiRef": "Filter using cross-references\n\nYou can filter objects using properties from a cross-referenced object.\n\nThe following example filters JeopardyQuestion objects using properties of JeopardyCategory that they are cross-referencing.\n\nMore speficially, the example filters for the title property of JeopardyCategory objects that are cross-referenced from the JeopardyQuestion object. The title property must include the substring Sport.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"hasCategory\", \"JeopardyCategory\", \"title\"],\n operator: Like,\n valueText: \"*Sport*\"\n }\n ) {\n question\n answer\n round\n hasCategory {... on JeopardyCategory { title } }\n }\n }\n}\n```", "apiRefPath": "get-where-filter-with-crefs.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}", "schemaPath": "pets.json", "modelOutput": "{\n Get {\n Pet(\n where: {\n path: [\"owner\", \"Person\", \"fullName\"],\n operator: Like,\n valueText: \"*John*\"\n }\n ) {\n petName\n species\n breed\n age\n owner {\n ... on Person {\n fullName\n address\n contactNumber\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}\n\n COMMAND:\n ```text\nShow me the name, material, price, and whether it is handmade of jewelry items whose linked gemstone has a hardness greater than 8.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n JewelryItem(\n where: {\n path: [\"gemstone\", \"Gemstone\", \"hardness\"],\n operator: GreaterThan,\n valueNumber: 8\n }\n ) {\n name\n material\n price\n isHandmade\n gemstone {\n ... on Gemstone {\n name\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the name, material, price, and whether it is handmade of jewelry items whose linked gemstone has a hardness greater than 8.\n```", "apiRef": "Filter using cross-references\n\nYou can filter objects using properties from a cross-referenced object.\n\nThe following example filters JeopardyQuestion objects using properties of JeopardyCategory that they are cross-referencing.\n\nMore speficially, the example filters for the title property of JeopardyCategory objects that are cross-referenced from the JeopardyQuestion object. The title property must include the substring Sport.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"hasCategory\", \"JeopardyCategory\", \"title\"],\n operator: Like,\n valueText: \"*Sport*\"\n }\n ) {\n question\n answer\n round\n hasCategory {... on JeopardyCategory { title } }\n }\n }\n}\n```", "apiRefPath": "get-where-filter-with-crefs.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}", "schemaPath": "jewelry.json", "modelOutput": "{\n Get {\n JewelryItem(\n where: {\n path: [\"gemstone\", \"Gemstone\", \"hardness\"],\n operator: GreaterThan,\n valueNumber: 8\n }\n ) {\n name\n material\n price\n isHandmade\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}\n\n COMMAND:\n ```text\nShow me the mission name, objective, launch year, mission status, and linked space agency name of space missions whose linked space agency was founded before 1960.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n SpaceMission(\n where: {\n path: [\"spaceAgency\", \"SpaceAgency\", \"foundedYear\"],\n operator: LessThan,\n valueInt: 1960\n }\n ) {\n missionName\n objective\n launchYear\n missionStatus\n spaceAgency {\n ... on SpaceAgency {\n agencyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the mission name, objective, launch year, mission status, and linked space agency name of space missions whose linked space agency was founded before 1960.\n```", "apiRef": "Filter using cross-references\n\nYou can filter objects using properties from a cross-referenced object.\n\nThe following example filters JeopardyQuestion objects using properties of JeopardyCategory that they are cross-referencing.\n\nMore speficially, the example filters for the title property of JeopardyCategory objects that are cross-referenced from the JeopardyQuestion object. The title property must include the substring Sport.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"hasCategory\", \"JeopardyCategory\", \"title\"],\n operator: Like,\n valueText: \"*Sport*\"\n }\n ) {\n question\n answer\n round\n hasCategory {... on JeopardyCategory { title } }\n }\n }\n}\n```", "apiRefPath": "get-where-filter-with-crefs.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}", "schemaPath": "spaceexploration.json", "modelOutput": "{\n Get {\n SpaceMission(\n where: {\n path: [\"spaceAgency\", \"SpaceAgency\", \"foundedYear\"],\n operator: LessThan,\n valueInt: 1960\n }\n ) {\n missionName\n objective\n launchYear\n missionStatus\n spaceAgency {\n ... on SpaceAgency {\n agencyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}\n\n COMMAND:\n ```text\nShow me the name, mission, founded year, focus area, and linked founder's full name of non-profit organizations whose linked founder's full name includes the substring \"John\".\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NonProfit(\n where: {\n path: [\"founder\", \"Person\", \"fullName\"],\n operator: Like,\n valueText: \"*John*\"\n }\n ) {\n name\n mission\n foundedYear\n focusArea\n founder {\n ... on Person {\n fullName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the name, mission, founded year, focus area, and linked founder's full name of non-profit organizations whose linked founder's full name includes the substring \"John\".\n```", "apiRef": "Filter using cross-references\n\nYou can filter objects using properties from a cross-referenced object.\n\nThe following example filters JeopardyQuestion objects using properties of JeopardyCategory that they are cross-referencing.\n\nMore speficially, the example filters for the title property of JeopardyCategory objects that are cross-referenced from the JeopardyQuestion object. The title property must include the substring Sport.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"hasCategory\", \"JeopardyCategory\", \"title\"],\n operator: Like,\n valueText: \"*Sport*\"\n }\n ) {\n question\n answer\n round\n hasCategory {... on JeopardyCategory { title } }\n }\n }\n}\n```", "apiRefPath": "get-where-filter-with-crefs.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}", "schemaPath": "nonprofits.json", "modelOutput": "{\n Get {\n NonProfit(\n where: {\n path: [\"founder\", \"Person\", \"fullName\"],\n operator: Like,\n valueText: \"*John*\"\n }\n ) {\n name\n mission\n foundedYear\n focusArea\n founder {\n ... on Person {\n fullName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}\n\n COMMAND:\n ```text\nShow me the application name, description, platform, and linked developer company name of AR applications whose linked developer company was founded before the year 2000.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ARApplication(\n where: {\n path: [\"developer\", \"SoftwareCompany\", \"foundedYear\"],\n operator: LessThan,\n valueInt: 2000\n }\n ) {\n appName\n description\n platform\n developer {\n ... on SoftwareCompany {\n companyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the application name, description, platform, and linked developer company name of AR applications whose linked developer company was founded before the year 2000.\n```", "apiRef": "Filter using cross-references\n\nYou can filter objects using properties from a cross-referenced object.\n\nThe following example filters JeopardyQuestion objects using properties of JeopardyCategory that they are cross-referencing.\n\nMore speficially, the example filters for the title property of JeopardyCategory objects that are cross-referenced from the JeopardyQuestion object. The title property must include the substring Sport.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"hasCategory\", \"JeopardyCategory\", \"title\"],\n operator: Like,\n valueText: \"*Sport*\"\n }\n ) {\n question\n answer\n round\n hasCategory {... on JeopardyCategory { title } }\n }\n }\n}\n```", "apiRefPath": "get-where-filter-with-crefs.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}", "schemaPath": "augmentedreality.json", "modelOutput": "{\n Get {\n ARApplication(\n where: {\n path: [\"developer\", \"SoftwareCompany\", \"foundedYear\"],\n operator: LessThan,\n valueInt: 2000\n }\n ) {\n appName\n description\n platform\n developer {\n ... on SoftwareCompany {\n companyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}\n\n COMMAND:\n ```text\nWhat is the average molar mass of ChemicalCompounds related to \"organic chemistry\" with a maximum distance of 0.15.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n ChemicalCompound(\n nearText: {\n concepts: [\"organic chemistry\"],\n distance: 0.15\n }\n ) {\n molarMass {\n mean\n }\n }\n }\n}\n```", "nlcommand": "```text\nWhat is the average molar mass of ChemicalCompounds related to \"organic chemistry\" with a maximum distance of 0.15.\n```", "apiRef": "With nearXXX\nWhen using a similarity search operator (i.e. nearXXX) with Aggregate, you should include a way to limit the search results. This is because a vector search in itself does not exclude any objects from the results set - all objects have some degree of similarity to the query.\n\nThus, for the vector search to affect the Aggregate output, you must set a limit on:\n\nThe number of results returned (with limit), or\nHow similar the results are to the query (with distance).\n\nSet a maximum distance\nYou can set the distance operator to specify the maximum dissimilarity (i.e. minimum similarity) of results to be aggregated.\n\nThe below query retrieves the 10 question objects with vectors that are within a distance of 0.19 to \"animals in space\", and returns the sum total of the point property.\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in space\"],\n distance: 0.19\n }\n ) {\n points {\n sum\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-nearText-with-distance.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}", "schemaPath": "chemicals.json", "modelOutput": "{\n Aggregate {\n ChemicalCompound(\n nearText: {\n concepts: [\"organic chemistry\"],\n distance: 0.15\n }\n ) {\n molarMass {\n mean\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}\n\n COMMAND:\n ```text\nShow me the compound name and formula of chemical compounds that contain \"aspirin\" in the compound name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ChemicalCompound(\n where: {\n path: [\"compoundName\"],\n operator: Like,\n valueText: \"*aspirin*\"\n }\n ) {\n compoundName\n formula\n }\n }\n}\n```", "nlcommand": "```text\nShow me the compound name and formula of chemical compounds that contain \"aspirin\" in the compound name.\n```", "apiRef": "By partial matches (text)\n\nWith text data type properties, you can use the Like operator to filter by partial matches.\n\nThe following example filters for objects including the text \"inter\" in any part of a token in the answer property.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"answer\"],\n operator: Like,\n valueText: \"*inter*\"\n }\n ) {\n question\n answer\n round\n }\n }\n}\n```", "apiRefPath": "get-where-like-operator.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}", "schemaPath": "chemicals.json", "modelOutput": "{\n Get {\n ChemicalCompound(\n where: {\n path: [\"compoundName\"],\n operator: Like,\n valueText: \"*aspirin*\"\n }\n ) {\n compoundName\n formula\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nShow me the title, developer name, genre, release year, and multiplayer status of VR experiences that contain \"horror\" in the title.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n VRExperience(\n where: {\n path: [\"title\"],\n operator: Like,\n valueText: \"*horror*\"\n }\n ) {\n title\n developer {\n ... on Developer {\n name\n }\n }\n genre\n releaseYear\n isMultiplayer\n }\n }\n}\n```", "nlcommand": "```text\nShow me the title, developer name, genre, release year, and multiplayer status of VR experiences that contain \"horror\" in the title.\n```", "apiRef": "By partial matches (text)\n\nWith text data type properties, you can use the Like operator to filter by partial matches.\n\nThe following example filters for objects including the text \"inter\" in any part of a token in the answer property.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"answer\"],\n operator: Like,\n valueText: \"*inter*\"\n }\n ) {\n question\n answer\n round\n }\n }\n}\n```", "apiRefPath": "get-where-like-operator.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}", "schemaPath": "virtualreality.json", "modelOutput": "{\n Get {\n VRExperience(\n where: {\n path: [\"title\"],\n operator: Like,\n valueText: \"*horror*\"\n }\n ) {\n title\n developer {\n ... on Developer {\n name\n }\n }\n genre\n releaseYear\n isMultiplayer\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}\n\n COMMAND:\n ```text\nShow me the drug name and active ingredient of drugs that contain \"aspirin\" in the drug name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Drug(\n where: {\n path: [\"drugName\"],\n operator: Like,\n valueText: \"*aspirin*\"\n }\n ) {\n drugName\n activeIngredient\n }\n }\n}\n```", "nlcommand": "```text\nShow me the drug name and active ingredient of drugs that contain \"aspirin\" in the drug name.\n```", "apiRef": "By partial matches (text)\n\nWith text data type properties, you can use the Like operator to filter by partial matches.\n\nThe following example filters for objects including the text \"inter\" in any part of a token in the answer property.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"answer\"],\n operator: Like,\n valueText: \"*inter*\"\n }\n ) {\n question\n answer\n round\n }\n }\n}\n```", "apiRefPath": "get-where-like-operator.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}", "schemaPath": "pharmaceuticals.json", "modelOutput": "{\n Get {\n Drug(\n where: {\n path: [\"drugName\"],\n operator: Like,\n valueText: \"*aspirin*\"\n }\n ) {\n drugName\n activeIngredient\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}\n\n COMMAND:\n ```text\nShow me the festival name, location, description, and featured films of the Film Festivals that contain \"Cannes\" in the festival name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n FilmFestival(\n where: {\n path: [\"festivalName\"],\n operator: Like,\n valueText: \"*Cannes*\"\n }\n ) {\n festivalName\n location\n description\n featuredFilm {\n ... on Film {\n filmTitle\n director\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the festival name, location, description, and featured films of the Film Festivals that contain \"Cannes\" in the festival name.\n```", "apiRef": "By partial matches (text)\n\nWith text data type properties, you can use the Like operator to filter by partial matches.\n\nThe following example filters for objects including the text \"inter\" in any part of a token in the answer property.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"answer\"],\n operator: Like,\n valueText: \"*inter*\"\n }\n ) {\n question\n answer\n round\n }\n }\n}\n```", "apiRefPath": "get-where-like-operator.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}", "schemaPath": "filmfestivals.json", "modelOutput": "{\n Get {\n FilmFestival(\n where: {\n path: [\"festivalName\"],\n operator: Like,\n valueText: \"*Cannes*\"\n }\n ) {\n festivalName\n location\n description\n featuredFilm {\n ... on Film {\n title\n releaseYear\n genre\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}\n\n COMMAND:\n ```text\nShow me the boat name, type, and capacity of boats that contain \"sail\" in the boat name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Boat(\n where: {\n path: [\"boatName\"],\n operator: Like,\n valueText: \"*sail*\"\n }\n ) {\n boatName\n type\n capacity\n }\n }\n}\n```", "nlcommand": "```text\nShow me the boat name, type, and capacity of boats that contain \"sail\" in the boat name.\n```", "apiRef": "By partial matches (text)\n\nWith text data type properties, you can use the Like operator to filter by partial matches.\n\nThe following example filters for objects including the text \"inter\" in any part of a token in the answer property.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"answer\"],\n operator: Like,\n valueText: \"*inter*\"\n }\n ) {\n question\n answer\n round\n }\n }\n}\n```", "apiRefPath": "get-where-like-operator.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}", "schemaPath": "boats.json", "modelOutput": "{\n Get {\n Boat(\n where: {\n path: [\"boatName\"],\n operator: Like,\n valueText: \"*sail*\"\n }\n ) {\n boatName\n type\n capacity\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}\n\n COMMAND:\n ```text\nShow me the park name, description, and location of national parks that contain \"Yellowstone\" in the park name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NationalPark(\n where: {\n path: [\"parkName\"],\n operator: Like,\n valueText: \"*Yellowstone*\"\n }\n ) {\n parkName\n description\n location\n }\n }\n}\n```", "nlcommand": "```text\nShow me the park name, description, and location of national parks that contain \"Yellowstone\" in the park name.\n```", "apiRef": "By partial matches (text)\n\nWith text data type properties, you can use the Like operator to filter by partial matches.\n\nThe following example filters for objects including the text \"inter\" in any part of a token in the answer property.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"answer\"],\n operator: Like,\n valueText: \"*inter*\"\n }\n ) {\n question\n answer\n round\n }\n }\n}\n```", "apiRefPath": "get-where-like-operator.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}", "schemaPath": "nationalparks.json", "modelOutput": "{\n Get {\n NationalPark(\n where: {\n path: [\"parkName\"],\n operator: Like,\n valueText: \"*Yellowstone*\"\n }\n ) {\n parkName\n description\n location\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}\n\n COMMAND:\n ```text\nShow me the pet name, species, breed, age, owner's full name, address, and contact number of pets with names containing \"fluffy\".\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Pet(\n where: {\n path: [\"petName\"],\n operator: Like,\n valueText: \"*fluffy*\"\n }\n ) {\n petName\n species\n breed\n age\n owner {\n ... on Person {\n fullName\n address\n contactNumber\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the pet name, species, breed, age, owner's full name, address, and contact number of pets with names containing \"fluffy\".\n```", "apiRef": "By partial matches (text)\n\nWith text data type properties, you can use the Like operator to filter by partial matches.\n\nThe following example filters for objects including the text \"inter\" in any part of a token in the answer property.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"answer\"],\n operator: Like,\n valueText: \"*inter*\"\n }\n ) {\n question\n answer\n round\n }\n }\n}\n```", "apiRefPath": "get-where-like-operator.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}", "schemaPath": "pets.json", "modelOutput": "{\n Get {\n Pet(\n where: {\n path: [\"petName\"],\n operator: Like,\n valueText: \"*fluffy*\"\n }\n ) {\n petName\n species\n breed\n age\n owner {\n ... on Person {\n fullName\n address\n contactNumber\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}\n\n COMMAND:\n ```text\nShow me the name, material, gemstone name, gemstone hardness, price, and whether it is handmade of jewelry items that contain \"necklace\" in the name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n JewelryItem(\n where: {\n path: [\"name\"],\n operator: Like,\n valueText: \"*necklace*\"\n }\n ) {\n name\n material\n gemstone {\n ... on Gemstone {\n name\n hardness\n }\n }\n price\n isHandmade\n }\n }\n}\n```", "nlcommand": "```text\nShow me the name, material, gemstone name, gemstone hardness, price, and whether it is handmade of jewelry items that contain \"necklace\" in the name.\n```", "apiRef": "By partial matches (text)\n\nWith text data type properties, you can use the Like operator to filter by partial matches.\n\nThe following example filters for objects including the text \"inter\" in any part of a token in the answer property.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"answer\"],\n operator: Like,\n valueText: \"*inter*\"\n }\n ) {\n question\n answer\n round\n }\n }\n}\n```", "apiRefPath": "get-where-like-operator.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}", "schemaPath": "jewelry.json", "modelOutput": "{\n Get {\n JewelryItem(\n where: {\n path: [\"name\"],\n operator: Like,\n valueText: \"*necklace*\"\n }\n ) {\n name\n material\n gemstone {\n ... on Gemstone {\n name\n hardness\n }\n }\n price\n isHandmade\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}\n\n COMMAND:\n ```text\nShow me the mission name and objective of space missions that contain \"exploration\" in the mission name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n SpaceMission(\n where: {\n path: [\"missionName\"],\n operator: Like,\n valueText: \"*exploration*\"\n }\n ) {\n missionName\n objective\n }\n }\n}\n```", "nlcommand": "```text\nShow me the mission name and objective of space missions that contain \"exploration\" in the mission name.\n```", "apiRef": "By partial matches (text)\n\nWith text data type properties, you can use the Like operator to filter by partial matches.\n\nThe following example filters for objects including the text \"inter\" in any part of a token in the answer property.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"answer\"],\n operator: Like,\n valueText: \"*inter*\"\n }\n ) {\n question\n answer\n round\n }\n }\n}\n```", "apiRefPath": "get-where-like-operator.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}", "schemaPath": "spaceexploration.json", "modelOutput": "{\n Get {\n SpaceMission(\n where: {\n path: [\"missionName\"],\n operator: Like,\n valueText: \"*exploration*\"\n }\n ) {\n missionName\n objective\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}\n\n COMMAND:\n ```text\nShow me the name and mission of non-profit organizations that contain \"charity\" in their name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NonProfit(\n where: {\n path: [\"name\"],\n operator: Like,\n valueText: \"*charity*\"\n }\n ) {\n name\n mission\n }\n }\n}\n```", "nlcommand": "```text\nShow me the name and mission of non-profit organizations that contain \"charity\" in their name.\n```", "apiRef": "By partial matches (text)\n\nWith text data type properties, you can use the Like operator to filter by partial matches.\n\nThe following example filters for objects including the text \"inter\" in any part of a token in the answer property.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"answer\"],\n operator: Like,\n valueText: \"*inter*\"\n }\n ) {\n question\n answer\n round\n }\n }\n}\n```", "apiRefPath": "get-where-like-operator.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}", "schemaPath": "nonprofits.json", "modelOutput": "{\n Get {\n NonProfit(\n where: {\n path: [\"name\"],\n operator: Like,\n valueText: \"*charity*\"\n }\n ) {\n name\n mission\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}\n\n COMMAND:\n ```text\nShow me the name, description, and platform of AR applications that contain \"game\" in the name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ARApplication(\n where: {\n path: [\"appName\"],\n operator: Like,\n valueText: \"*game*\"\n }\n ) {\n appName\n description\n platform\n }\n }\n}\n```", "nlcommand": "```text\nShow me the name, description, and platform of AR applications that contain \"game\" in the name.\n```", "apiRef": "By partial matches (text)\n\nWith text data type properties, you can use the Like operator to filter by partial matches.\n\nThe following example filters for objects including the text \"inter\" in any part of a token in the answer property.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"answer\"],\n operator: Like,\n valueText: \"*inter*\"\n }\n ) {\n question\n answer\n round\n }\n }\n}\n```", "apiRefPath": "get-where-like-operator.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}", "schemaPath": "augmentedreality.json", "modelOutput": "{\n Get {\n ARApplication(\n where: {\n path: [\"appName\"],\n operator: Like,\n valueText: \"*game*\"\n }\n ) {\n appName\n description\n platform\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}\n\n COMMAND:\n ```text\nGet me the Chemical Compounds with the top 2 BM25 scores to the query 'organic', and show the compound name, formula, molar mass, and information about the elements it contains including the element name, symbol, atomic number, and whether it is a metal.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ChemicalCompound(\n bm25: {\n query: \"organic\"\n },\n autocut: 2\n ) {\n compoundName\n formula\n molarMass\n containsElements {\n ... on ChemicalElement {\n elementName\n symbol\n atomicNumber\n isMetal\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the Chemical Compounds with the top 2 BM25 scores to the query 'organic', and show the compound name, formula, molar mass, and information about the elements it contains including the element name, symbol, atomic number, and whether it is a metal.\n```", "apiRef": "### Autocut\n\nAnother way to limit the results returned by a similarity search is to use the `autocut` filter. Autocut takes a positive integer parameter\u00a0`N`, looks at the\u00a0score\u00a0of each result, and stops returning results after the\u00a0`N`th \"drop\" in score. For example, if the distances for six objects returned by a\u00a0`bm25`\u00a0query were\u00a0`[2.676, 2.021, 2.022, 1.854, 1.856, 1.713]`\u00a0then `autocut: 1` would return the first object,\u00a0`autocut: 2`\u00a0would return the first 3 objects, and\u00a0`autocut: 3`\u00a0would return all objects.\n\nAutocut can be used as follows:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"safety\"\n },\n autocut: 1\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-with-autocut.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}", "schemaPath": "chemicals.json", "modelOutput": "{\n Get {\n ChemicalCompound(\n bm25: {\n query: \"organic\"\n },\n limit: 2\n ) {\n compoundName\n formula\n molarMass\n containsElements {\n ... on ChemicalElement {\n elementName\n symbol\n atomicNumber\n isMetal\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 2 VR experiences with BM25 scoring to the query 'action', cutting search results at the second steep drop in the BM25 score, and show the title, developer's name, genre, release year, and multiplayer status.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n VRExperience(\n bm25: {\n query: \"action\"\n },\n autocut: 2\n ) {\n title\n developer {\n ... on Developer {\n name\n }\n }\n genre\n releaseYear\n isMultiplayer\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 2 VR experiences with BM25 scoring to the query 'action', cutting search results at the second steep drop in the BM25 score, and show the title, developer's name, genre, release year, and multiplayer status.\n```", "apiRef": "### Autocut\n\nAnother way to limit the results returned by a similarity search is to use the `autocut` filter. Autocut takes a positive integer parameter\u00a0`N`, looks at the\u00a0score\u00a0of each result, and stops returning results after the\u00a0`N`th \"drop\" in score. For example, if the distances for six objects returned by a\u00a0`bm25`\u00a0query were\u00a0`[2.676, 2.021, 2.022, 1.854, 1.856, 1.713]`\u00a0then `autocut: 1` would return the first object,\u00a0`autocut: 2`\u00a0would return the first 3 objects, and\u00a0`autocut: 3`\u00a0would return all objects.\n\nAutocut can be used as follows:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"safety\"\n },\n autocut: 1\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-with-autocut.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}", "schemaPath": "virtualreality.json", "modelOutput": "{\n Get {\n VRExperience(\n bm25: {\n query: \"action\"\n },\n autocut: 2\n ) {\n title\n developer {\n ... on Developer {\n name\n }\n }\n genre\n releaseYear\n isMultiplayer\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 1 drug with BM25 scoring to the query 'headache', cutting search results at the first steep drop in the BM25 score, and show the drug name, active ingredient, approval year, over-the-counter status, manufacturer's company name, founding year, headquarters, and global presence.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Drug(\n bm25: {\n query: \"headache\"\n },\n autocut: 1\n ) {\n drugName\n activeIngredient\n approvalYear\n isOTC\n manufacturer {\n ... on Manufacturer {\n companyName\n foundedYear\n headquarters\n isGlobal\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 1 drug with BM25 scoring to the query 'headache', cutting search results at the first steep drop in the BM25 score, and show the drug name, active ingredient, approval year, over-the-counter status, manufacturer's company name, founding year, headquarters, and global presence.\n```", "apiRef": "### Autocut\n\nAnother way to limit the results returned by a similarity search is to use the `autocut` filter. Autocut takes a positive integer parameter\u00a0`N`, looks at the\u00a0score\u00a0of each result, and stops returning results after the\u00a0`N`th \"drop\" in score. For example, if the distances for six objects returned by a\u00a0`bm25`\u00a0query were\u00a0`[2.676, 2.021, 2.022, 1.854, 1.856, 1.713]`\u00a0then `autocut: 1` would return the first object,\u00a0`autocut: 2`\u00a0would return the first 3 objects, and\u00a0`autocut: 3`\u00a0would return all objects.\n\nAutocut can be used as follows:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"safety\"\n },\n autocut: 1\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-with-autocut.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}", "schemaPath": "pharmaceuticals.json", "modelOutput": "{\n Get {\n Drug(\n bm25: {\n query: \"headache\"\n },\n autocut: 1\n ) {\n drugName\n activeIngredient\n approvalYear\n isOTC\n manufacturer {\n ... on Manufacturer {\n companyName\n foundedYear\n headquarters\n isGlobal\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}\n\n COMMAND:\n ```text\nGet me the film festival with the highest BM25 score to the query 'Cannes', and show the festival name, location, description, and the featured film's title and director.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n FilmFestival(\n bm25: {\n query: \"Cannes\"\n },\n autocut: 1\n ) {\n festivalName\n location\n description\n featuredFilm {\n ... on Film {\n filmTitle\n director\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the film festival with the highest BM25 score to the query 'Cannes', and show the festival name, location, description, and the featured film's title and director.\n```", "apiRef": "### Autocut\n\nAnother way to limit the results returned by a similarity search is to use the `autocut` filter. Autocut takes a positive integer parameter\u00a0`N`, looks at the\u00a0score\u00a0of each result, and stops returning results after the\u00a0`N`th \"drop\" in score. For example, if the distances for six objects returned by a\u00a0`bm25`\u00a0query were\u00a0`[2.676, 2.021, 2.022, 1.854, 1.856, 1.713]`\u00a0then `autocut: 1` would return the first object,\u00a0`autocut: 2`\u00a0would return the first 3 objects, and\u00a0`autocut: 3`\u00a0would return all objects.\n\nAutocut can be used as follows:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"safety\"\n },\n autocut: 1\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-with-autocut.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}", "schemaPath": "filmfestivals.json", "modelOutput": "{\n Get {\n FilmFestival(\n bm25: {\n query: \"Cannes\"\n },\n autocut: 1\n ) {\n festivalName\n location\n description\n featuredFilm {\n ... on Film {\n title\n director\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 1 boat with BM25 scoring to the query 'sailboat', cutting search results at the first steep drop in the BM25 score, and show the boat name, type, capacity, motorization status, and manufacturer's company name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Boat(\n bm25: {\n query: \"sailboat\"\n },\n autocut: 1\n ) {\n boatName\n type\n capacity\n isMotorized\n manufacturer {\n ... on BoatManufacturer {\n companyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 1 boat with BM25 scoring to the query 'sailboat', cutting search results at the first steep drop in the BM25 score, and show the boat name, type, capacity, motorization status, and manufacturer's company name.\n```", "apiRef": "### Autocut\n\nAnother way to limit the results returned by a similarity search is to use the `autocut` filter. Autocut takes a positive integer parameter\u00a0`N`, looks at the\u00a0score\u00a0of each result, and stops returning results after the\u00a0`N`th \"drop\" in score. For example, if the distances for six objects returned by a\u00a0`bm25`\u00a0query were\u00a0`[2.676, 2.021, 2.022, 1.854, 1.856, 1.713]`\u00a0then `autocut: 1` would return the first object,\u00a0`autocut: 2`\u00a0would return the first 3 objects, and\u00a0`autocut: 3`\u00a0would return all objects.\n\nAutocut can be used as follows:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"safety\"\n },\n autocut: 1\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-with-autocut.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}", "schemaPath": "boats.json", "modelOutput": "{\n Get {\n Boat(\n bm25: {\n query: \"sailboat\"\n },\n autocut: 1\n ) {\n boatName\n type\n capacity\n isMotorized\n manufacturer {\n ... on BoatManufacturer {\n companyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 2 national parks with BM25 scoring to the query 'mountain', cutting search results at the second steep drop in the BM25 score, and show the park name, description, location, established year, entry fee status, wildlife, and facilities with their names and descriptions.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NationalPark(\n bm25: {\n query: \"mountain\"\n },\n autocut: 2\n ) {\n parkName\n description\n location\n establishedYear\n isEntryFree\n wildlife\n facilities {\n ... on Facility {\n facilityName\n description\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 2 national parks with BM25 scoring to the query 'mountain', cutting search results at the second steep drop in the BM25 score, and show the park name, description, location, established year, entry fee status, wildlife, and facilities with their names and descriptions.\n```", "apiRef": "### Autocut\n\nAnother way to limit the results returned by a similarity search is to use the `autocut` filter. Autocut takes a positive integer parameter\u00a0`N`, looks at the\u00a0score\u00a0of each result, and stops returning results after the\u00a0`N`th \"drop\" in score. For example, if the distances for six objects returned by a\u00a0`bm25`\u00a0query were\u00a0`[2.676, 2.021, 2.022, 1.854, 1.856, 1.713]`\u00a0then `autocut: 1` would return the first object,\u00a0`autocut: 2`\u00a0would return the first 3 objects, and\u00a0`autocut: 3`\u00a0would return all objects.\n\nAutocut can be used as follows:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"safety\"\n },\n autocut: 1\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-with-autocut.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}", "schemaPath": "nationalparks.json", "modelOutput": "{\n Get {\n NationalPark(\n bm25: {\n query: \"mountain\"\n },\n autocut: 2\n ) {\n parkName\n description\n location\n establishedYear\n isEntryFree\n wildlife\n facilities {\n ... on Facility {\n facilityName\n description\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 1 pet with BM25 scoring to the query 'dog', cutting search results at the first steep drop in the BM25 score, and show the pet's name, species, breed, age, and owner's full name, address, and contact number.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Pet(\n bm25: {\n query: \"dog\"\n },\n autocut: 1\n ) {\n petName\n species\n breed\n age\n owner {\n ... on Person {\n fullName\n address\n contactNumber\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 1 pet with BM25 scoring to the query 'dog', cutting search results at the first steep drop in the BM25 score, and show the pet's name, species, breed, age, and owner's full name, address, and contact number.\n```", "apiRef": "### Autocut\n\nAnother way to limit the results returned by a similarity search is to use the `autocut` filter. Autocut takes a positive integer parameter\u00a0`N`, looks at the\u00a0score\u00a0of each result, and stops returning results after the\u00a0`N`th \"drop\" in score. For example, if the distances for six objects returned by a\u00a0`bm25`\u00a0query were\u00a0`[2.676, 2.021, 2.022, 1.854, 1.856, 1.713]`\u00a0then `autocut: 1` would return the first object,\u00a0`autocut: 2`\u00a0would return the first 3 objects, and\u00a0`autocut: 3`\u00a0would return all objects.\n\nAutocut can be used as follows:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"safety\"\n },\n autocut: 1\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-with-autocut.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}", "schemaPath": "pets.json", "modelOutput": "{\n Get {\n Pet(\n bm25: {\n query: \"dog\"\n },\n autocut: 1\n ) {\n petName\n species\n breed\n age\n owner {\n ... on Person {\n fullName\n address\n contactNumber\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 1 jewelry item with BM25 scoring to the query 'diamond necklace', cutting search results at the first steep drop in the BM25 score, and show the name, material, gemstone name and hardness, price, and whether it is handmade.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n JewelryItem(\n bm25: {\n query: \"diamond necklace\"\n },\n autocut: 1\n ) {\n name\n material\n gemstone {\n ... on Gemstone {\n name\n hardness\n }\n }\n price\n isHandmade\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 1 jewelry item with BM25 scoring to the query 'diamond necklace', cutting search results at the first steep drop in the BM25 score, and show the name, material, gemstone name and hardness, price, and whether it is handmade.\n```", "apiRef": "### Autocut\n\nAnother way to limit the results returned by a similarity search is to use the `autocut` filter. Autocut takes a positive integer parameter\u00a0`N`, looks at the\u00a0score\u00a0of each result, and stops returning results after the\u00a0`N`th \"drop\" in score. For example, if the distances for six objects returned by a\u00a0`bm25`\u00a0query were\u00a0`[2.676, 2.021, 2.022, 1.854, 1.856, 1.713]`\u00a0then `autocut: 1` would return the first object,\u00a0`autocut: 2`\u00a0would return the first 3 objects, and\u00a0`autocut: 3`\u00a0would return all objects.\n\nAutocut can be used as follows:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"safety\"\n },\n autocut: 1\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-with-autocut.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}", "schemaPath": "jewelry.json", "modelOutput": "{\n Get {\n JewelryItem(\n bm25: {\n query: \"diamond necklace\"\n },\n autocut: 1\n ) {\n name\n material\n gemstone {\n ... on Gemstone {\n name\n hardness\n }\n }\n price\n isHandmade\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 1 space mission with BM25 scoring to the query 'exploration', cutting search results at the first steep drop in the BM25 score, and show the mission name, objective, launch year, mission status, space agency's name, founded year, and headquarters.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n SpaceMission(\n bm25: {\n query: \"exploration\"\n },\n autocut: 1\n ) {\n missionName\n objective\n launchYear\n missionStatus\n spaceAgency {\n ... on SpaceAgency {\n agencyName\n foundedYear\n headquarters\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 1 space mission with BM25 scoring to the query 'exploration', cutting search results at the first steep drop in the BM25 score, and show the mission name, objective, launch year, mission status, space agency's name, founded year, and headquarters.\n```", "apiRef": "### Autocut\n\nAnother way to limit the results returned by a similarity search is to use the `autocut` filter. Autocut takes a positive integer parameter\u00a0`N`, looks at the\u00a0score\u00a0of each result, and stops returning results after the\u00a0`N`th \"drop\" in score. For example, if the distances for six objects returned by a\u00a0`bm25`\u00a0query were\u00a0`[2.676, 2.021, 2.022, 1.854, 1.856, 1.713]`\u00a0then `autocut: 1` would return the first object,\u00a0`autocut: 2`\u00a0would return the first 3 objects, and\u00a0`autocut: 3`\u00a0would return all objects.\n\nAutocut can be used as follows:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"safety\"\n },\n autocut: 1\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-with-autocut.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}", "schemaPath": "spaceexploration.json", "modelOutput": "{\n Get {\n SpaceMission(\n bm25: {\n query: \"exploration\"\n },\n autocut: 1\n ) {\n missionName\n objective\n launchYear\n missionStatus\n spaceAgency {\n ... on SpaceAgency {\n agencyName\n foundedYear\n headquarters\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 1 non-profit organization related to education, and show me its name, mission, year of foundation, focus area, and the name of its founder.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NonProfit(\n bm25: {\n query: \"education\"\n },\n autocut: 1\n ) {\n name\n mission\n foundedYear\n focusArea\n founder {\n ... on Person {\n fullName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 1 non-profit organization related to education, and show me its name, mission, year of foundation, focus area, and the name of its founder.\n```", "apiRef": "### Autocut\n\nAnother way to limit the results returned by a similarity search is to use the `autocut` filter. Autocut takes a positive integer parameter\u00a0`N`, looks at the\u00a0score\u00a0of each result, and stops returning results after the\u00a0`N`th \"drop\" in score. For example, if the distances for six objects returned by a\u00a0`bm25`\u00a0query were\u00a0`[2.676, 2.021, 2.022, 1.854, 1.856, 1.713]`\u00a0then `autocut: 1` would return the first object,\u00a0`autocut: 2`\u00a0would return the first 3 objects, and\u00a0`autocut: 3`\u00a0would return all objects.\n\nAutocut can be used as follows:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"safety\"\n },\n autocut: 1\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-with-autocut.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}", "schemaPath": "nonprofits.json", "modelOutput": "{\n Get {\n NonProfit(\n bm25: {\n query: \"education\"\n },\n autocut: 1\n ) {\n name\n mission\n foundedYear\n focusArea\n founder {\n ... on Person {\n fullName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 1 AR application with BM25 scoring to the query 'augmented reality', cutting search results at the first steep drop in the BM25 score, and show the application name, description, platform, and developer's company name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ARApplication(\n bm25: {\n query: \"augmented reality\"\n },\n autocut: 1\n ) {\n appName\n description\n platform\n developer {\n ... on SoftwareCompany {\n companyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 1 AR application with BM25 scoring to the query 'augmented reality', cutting search results at the first steep drop in the BM25 score, and show the application name, description, platform, and developer's company name.\n```", "apiRef": "### Autocut\n\nAnother way to limit the results returned by a similarity search is to use the `autocut` filter. Autocut takes a positive integer parameter\u00a0`N`, looks at the\u00a0score\u00a0of each result, and stops returning results after the\u00a0`N`th \"drop\" in score. For example, if the distances for six objects returned by a\u00a0`bm25`\u00a0query were\u00a0`[2.676, 2.021, 2.022, 1.854, 1.856, 1.713]`\u00a0then `autocut: 1` would return the first object,\u00a0`autocut: 2`\u00a0would return the first 3 objects, and\u00a0`autocut: 3`\u00a0would return all objects.\n\nAutocut can be used as follows:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"safety\"\n },\n autocut: 1\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-with-autocut.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}", "schemaPath": "augmentedreality.json", "modelOutput": "{\n Get {\n ARApplication(\n bm25: {\n query: \"augmented reality\"\n },\n autocut: 1\n ) {\n appName\n description\n platform\n developer {\n ... on SoftwareCompany {\n companyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 3 ChemicalCompounds that contain the keyword 'water', and show the compound name, formula, molar mass, and the elements it contains with their names, symbols, atomic numbers, and whether they are metals.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ChemicalCompound(\n bm25: {\n query: \"water\"\n },\n limit: 3\n ) {\n compoundName\n formula\n molarMass\n containsElements {\n ... on ChemicalElement {\n elementName\n symbol\n atomicNumber\n isMetal\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 3 ChemicalCompounds that contain the keyword 'water', and show the compound name, formula, molar mass, and the elements it contains with their names, symbols, atomic numbers, and whether they are metals.\n```", "apiRef": "Query API: Basic BM25 search\n\nBM25 Search is a keyword scoring algorithm that looks ranks data objects based on the shared keywords between the data objects and the query.\n\nTo use BM25 search, you must provide a search string as a minimum.\n\nThe below example uses default settings, looking for objects containing the keyword\u00a0`food`\u00a0anywhere in the object.\n\nIt ranks the results using BM25, and returns the top 3.\n\nFollowing is an example for a database schema with the Class name `JeopardyQuestion` with properties `question` and `answer`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"food\"\n },\n limit: 3\n ) {\n question\n answer\n }\n }\n}\n```\n\nIn this example, the query will rank the `JeopardyQuestion` data objects based on the BM25 keyword scoring algorithm with the query \"food\".\n\nA Natural Language Command for this example could be: \"Get me the top 3 JeopardyQuestions that mention food, show the question and answer.\"", "apiRefPath": "get-bm25.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}", "schemaPath": "chemicals.json", "modelOutput": "{\n Get {\n ChemicalCompound(\n bm25: {\n query: \"water\"\n },\n limit: 3\n ) {\n compoundName\n formula\n molarMass\n containsElements {\n ... on ChemicalElement {\n elementName\n symbol\n isMetal\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 10 VRExperiences that involve action, and show the title, developer's name, genre, release year, and whether it is multiplayer.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n VRExperience(\n bm25: {\n query: \"action\"\n },\n limit: 10\n ) {\n title\n developer {\n ... on Developer {\n name\n }\n }\n genre\n releaseYear\n isMultiplayer\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 10 VRExperiences that involve action, and show the title, developer's name, genre, release year, and whether it is multiplayer.\n```", "apiRef": "Query API: Basic BM25 search\n\nBM25 Search is a keyword scoring algorithm that looks ranks data objects based on the shared keywords between the data objects and the query.\n\nTo use BM25 search, you must provide a search string as a minimum.\n\nThe below example uses default settings, looking for objects containing the keyword\u00a0`food`\u00a0anywhere in the object.\n\nIt ranks the results using BM25, and returns the top 3.\n\nFollowing is an example for a database schema with the Class name `JeopardyQuestion` with properties `question` and `answer`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"food\"\n },\n limit: 3\n ) {\n question\n answer\n }\n }\n}\n```\n\nIn this example, the query will rank the `JeopardyQuestion` data objects based on the BM25 keyword scoring algorithm with the query \"food\".\n\nA Natural Language Command for this example could be: \"Get me the top 3 JeopardyQuestions that mention food, show the question and answer.\"", "apiRefPath": "get-bm25.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}", "schemaPath": "virtualreality.json", "modelOutput": "{\n Get {\n VRExperience(\n bm25: {\n query: \"action\"\n },\n limit: 10\n ) {\n title\n developer {\n ... on Developer {\n name\n }\n }\n genre\n releaseYear\n isMultiplayer\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 10 drugs that mention 'headache', and show the drug name, active ingredient, approval year, over-the-counter status, manufacturer's company name, year founded, headquarters, and global presence.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Drug(\n bm25: {\n query: \"headache\"\n },\n limit: 10\n ) {\n drugName\n activeIngredient\n approvalYear\n isOTC\n manufacturer {\n ... on Manufacturer {\n companyName\n foundedYear\n headquarters\n isGlobal\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 10 drugs that mention 'headache', and show the drug name, active ingredient, approval year, over-the-counter status, manufacturer's company name, year founded, headquarters, and global presence.\n```", "apiRef": "Query API: Basic BM25 search\n\nBM25 Search is a keyword scoring algorithm that looks ranks data objects based on the shared keywords between the data objects and the query.\n\nTo use BM25 search, you must provide a search string as a minimum.\n\nThe below example uses default settings, looking for objects containing the keyword\u00a0`food`\u00a0anywhere in the object.\n\nIt ranks the results using BM25, and returns the top 3.\n\nFollowing is an example for a database schema with the Class name `JeopardyQuestion` with properties `question` and `answer`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"food\"\n },\n limit: 3\n ) {\n question\n answer\n }\n }\n}\n```\n\nIn this example, the query will rank the `JeopardyQuestion` data objects based on the BM25 keyword scoring algorithm with the query \"food\".\n\nA Natural Language Command for this example could be: \"Get me the top 3 JeopardyQuestions that mention food, show the question and answer.\"", "apiRefPath": "get-bm25.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}", "schemaPath": "pharmaceuticals.json", "modelOutput": "{\n Get {\n Drug(\n bm25: {\n query: \"headache\"\n },\n limit: 10\n ) {\n drugName\n activeIngredient\n approvalYear\n isOTC\n manufacturer {\n ... on Manufacturer {\n companyName\n foundedYear\n headquarters\n isGlobal\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 3 Film Festivals related to Cannes, and show the festival name, location, description, and the featured film's title and director.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n FilmFestival(\n bm25: {\n query: \"Cannes\"\n },\n limit: 3\n ) {\n festivalName\n location\n description\n featuredFilm {\n ... on Film {\n filmTitle\n director\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 3 Film Festivals related to Cannes, and show the festival name, location, description, and the featured film's title and director.\n```", "apiRef": "Query API: Basic BM25 search\n\nBM25 Search is a keyword scoring algorithm that looks ranks data objects based on the shared keywords between the data objects and the query.\n\nTo use BM25 search, you must provide a search string as a minimum.\n\nThe below example uses default settings, looking for objects containing the keyword\u00a0`food`\u00a0anywhere in the object.\n\nIt ranks the results using BM25, and returns the top 3.\n\nFollowing is an example for a database schema with the Class name `JeopardyQuestion` with properties `question` and `answer`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"food\"\n },\n limit: 3\n ) {\n question\n answer\n }\n }\n}\n```\n\nIn this example, the query will rank the `JeopardyQuestion` data objects based on the BM25 keyword scoring algorithm with the query \"food\".\n\nA Natural Language Command for this example could be: \"Get me the top 3 JeopardyQuestions that mention food, show the question and answer.\"", "apiRefPath": "get-bm25.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}", "schemaPath": "filmfestivals.json", "modelOutput": "{\n Get {\n FilmFestival(\n bm25: {\n query: \"Cannes\"\n },\n limit: 3\n ) {\n festivalName\n location\n description\n featuredFilm {\n ... on Film {\n title\n director\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 5 boats that mention 'sailboat', and show the boat name, type, capacity, whether it is motorized, and the manufacturer's company name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Boat(\n bm25: {\n query: \"sailboat\"\n },\n limit: 5\n ) {\n boatName\n type\n capacity\n isMotorized\n manufacturer {\n ... on BoatManufacturer {\n companyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 5 boats that mention 'sailboat', and show the boat name, type, capacity, whether it is motorized, and the manufacturer's company name.\n```", "apiRef": "Query API: Basic BM25 search\n\nBM25 Search is a keyword scoring algorithm that looks ranks data objects based on the shared keywords between the data objects and the query.\n\nTo use BM25 search, you must provide a search string as a minimum.\n\nThe below example uses default settings, looking for objects containing the keyword\u00a0`food`\u00a0anywhere in the object.\n\nIt ranks the results using BM25, and returns the top 3.\n\nFollowing is an example for a database schema with the Class name `JeopardyQuestion` with properties `question` and `answer`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"food\"\n },\n limit: 3\n ) {\n question\n answer\n }\n }\n}\n```\n\nIn this example, the query will rank the `JeopardyQuestion` data objects based on the BM25 keyword scoring algorithm with the query \"food\".\n\nA Natural Language Command for this example could be: \"Get me the top 3 JeopardyQuestions that mention food, show the question and answer.\"", "apiRefPath": "get-bm25.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}", "schemaPath": "boats.json", "modelOutput": "{\n Get {\n Boat(\n bm25: {\n query: \"sailboat\"\n },\n limit: 5\n ) {\n boatName\n type\n capacity\n isMotorized\n manufacturer {\n ... on BoatManufacturer {\n companyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 3 National Parks that mention mountain, show the park name, description, location, established year, entry fee status, wildlife, and facilities with their names and descriptions.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NationalPark(\n bm25: {\n query: \"mountain\"\n },\n limit: 3\n ) {\n parkName\n description\n location\n establishedYear\n isEntryFree\n wildlife\n facilities {\n ... on Facility {\n facilityName\n description\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 3 National Parks that mention mountain, show the park name, description, location, established year, entry fee status, wildlife, and facilities with their names and descriptions.\n```", "apiRef": "Query API: Basic BM25 search\n\nBM25 Search is a keyword scoring algorithm that looks ranks data objects based on the shared keywords between the data objects and the query.\n\nTo use BM25 search, you must provide a search string as a minimum.\n\nThe below example uses default settings, looking for objects containing the keyword\u00a0`food`\u00a0anywhere in the object.\n\nIt ranks the results using BM25, and returns the top 3.\n\nFollowing is an example for a database schema with the Class name `JeopardyQuestion` with properties `question` and `answer`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"food\"\n },\n limit: 3\n ) {\n question\n answer\n }\n }\n}\n```\n\nIn this example, the query will rank the `JeopardyQuestion` data objects based on the BM25 keyword scoring algorithm with the query \"food\".\n\nA Natural Language Command for this example could be: \"Get me the top 3 JeopardyQuestions that mention food, show the question and answer.\"", "apiRefPath": "get-bm25.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}", "schemaPath": "nationalparks.json", "modelOutput": "{\n Get {\n NationalPark(\n bm25: {\n query: \"mountain\"\n },\n limit: 3\n ) {\n parkName\n description\n location\n establishedYear\n isEntryFree\n wildlife\n facilities {\n ... on Facility {\n facilityName\n description\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 3 Pets that mention 'dog', and show the pet's name, species, breed, age, and owner's full name, address, and contact number.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Pet(\n bm25: {\n query: \"dog\"\n },\n limit: 3\n ) {\n petName\n species\n breed\n age\n owner {\n ... on Person {\n fullName\n address\n contactNumber\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 3 Pets that mention 'dog', and show the pet's name, species, breed, age, and owner's full name, address, and contact number.\n```", "apiRef": "Query API: Basic BM25 search\n\nBM25 Search is a keyword scoring algorithm that looks ranks data objects based on the shared keywords between the data objects and the query.\n\nTo use BM25 search, you must provide a search string as a minimum.\n\nThe below example uses default settings, looking for objects containing the keyword\u00a0`food`\u00a0anywhere in the object.\n\nIt ranks the results using BM25, and returns the top 3.\n\nFollowing is an example for a database schema with the Class name `JeopardyQuestion` with properties `question` and `answer`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"food\"\n },\n limit: 3\n ) {\n question\n answer\n }\n }\n}\n```\n\nIn this example, the query will rank the `JeopardyQuestion` data objects based on the BM25 keyword scoring algorithm with the query \"food\".\n\nA Natural Language Command for this example could be: \"Get me the top 3 JeopardyQuestions that mention food, show the question and answer.\"", "apiRefPath": "get-bm25.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}", "schemaPath": "pets.json", "modelOutput": "{\n Get {\n Pet(\n bm25: {\n query: \"dog\"\n },\n limit: 3\n ) {\n petName\n species\n breed\n age\n owner {\n ... on Person {\n fullName\n address\n contactNumber\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 3 JewelryItems that mention diamond, show the name, material, gemstone's name and hardness, price, and whether it is handmade.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n JewelryItem(\n bm25: {\n query: \"diamond\"\n },\n limit: 3\n ) {\n name\n material\n gemstone {\n ... on Gemstone {\n name\n hardness\n }\n }\n price\n isHandmade\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 3 JewelryItems that mention diamond, show the name, material, gemstone's name and hardness, price, and whether it is handmade.\n```", "apiRef": "Query API: Basic BM25 search\n\nBM25 Search is a keyword scoring algorithm that looks ranks data objects based on the shared keywords between the data objects and the query.\n\nTo use BM25 search, you must provide a search string as a minimum.\n\nThe below example uses default settings, looking for objects containing the keyword\u00a0`food`\u00a0anywhere in the object.\n\nIt ranks the results using BM25, and returns the top 3.\n\nFollowing is an example for a database schema with the Class name `JeopardyQuestion` with properties `question` and `answer`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"food\"\n },\n limit: 3\n ) {\n question\n answer\n }\n }\n}\n```\n\nIn this example, the query will rank the `JeopardyQuestion` data objects based on the BM25 keyword scoring algorithm with the query \"food\".\n\nA Natural Language Command for this example could be: \"Get me the top 3 JeopardyQuestions that mention food, show the question and answer.\"", "apiRefPath": "get-bm25.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}", "schemaPath": "jewelry.json", "modelOutput": "{\n Get {\n JewelryItem(\n bm25: {\n query: \"diamond\"\n },\n limit: 3\n ) {\n name\n material\n gemstone {\n ... on Gemstone {\n name\n hardness\n }\n }\n price\n isHandmade\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 10 SpaceMissions related to the query 'moon landing'. Show the mission name, objective, launch year, mission status, and space agency details including agency name, founded year, and headquarters.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n SpaceMission(\n bm25: {\n query: \"moon landing\"\n },\n limit: 10\n ) {\n missionName\n objective\n launchYear\n missionStatus\n spaceAgency {\n ... on SpaceAgency {\n agencyName\n foundedYear\n headquarters\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 10 SpaceMissions related to the query 'moon landing'. Show the mission name, objective, launch year, mission status, and space agency details including agency name, founded year, and headquarters.\n```", "apiRef": "Query API: Basic BM25 search\n\nBM25 Search is a keyword scoring algorithm that looks ranks data objects based on the shared keywords between the data objects and the query.\n\nTo use BM25 search, you must provide a search string as a minimum.\n\nThe below example uses default settings, looking for objects containing the keyword\u00a0`food`\u00a0anywhere in the object.\n\nIt ranks the results using BM25, and returns the top 3.\n\nFollowing is an example for a database schema with the Class name `JeopardyQuestion` with properties `question` and `answer`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"food\"\n },\n limit: 3\n ) {\n question\n answer\n }\n }\n}\n```\n\nIn this example, the query will rank the `JeopardyQuestion` data objects based on the BM25 keyword scoring algorithm with the query \"food\".\n\nA Natural Language Command for this example could be: \"Get me the top 3 JeopardyQuestions that mention food, show the question and answer.\"", "apiRefPath": "get-bm25.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}", "schemaPath": "spaceexploration.json", "modelOutput": "{\n Get {\n SpaceMission(\n bm25: {\n query: \"moon landing\"\n },\n limit: 10\n ) {\n missionName\n objective\n launchYear\n missionStatus\n spaceAgency {\n ... on SpaceAgency {\n agencyName\n foundedYear\n headquarters\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 10 NonProfits that are focused on education, show their name, mission, founded year, focus area, and founder's full name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NonProfit(\n bm25: {\n query: \"education\"\n },\n limit: 10\n ) {\n name\n mission\n foundedYear\n focusArea\n founder {\n ... on Person {\n fullName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 10 NonProfits that are focused on education, show their name, mission, founded year, focus area, and founder's full name.\n```", "apiRef": "Query API: Basic BM25 search\n\nBM25 Search is a keyword scoring algorithm that looks ranks data objects based on the shared keywords between the data objects and the query.\n\nTo use BM25 search, you must provide a search string as a minimum.\n\nThe below example uses default settings, looking for objects containing the keyword\u00a0`food`\u00a0anywhere in the object.\n\nIt ranks the results using BM25, and returns the top 3.\n\nFollowing is an example for a database schema with the Class name `JeopardyQuestion` with properties `question` and `answer`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"food\"\n },\n limit: 3\n ) {\n question\n answer\n }\n }\n}\n```\n\nIn this example, the query will rank the `JeopardyQuestion` data objects based on the BM25 keyword scoring algorithm with the query \"food\".\n\nA Natural Language Command for this example could be: \"Get me the top 3 JeopardyQuestions that mention food, show the question and answer.\"", "apiRefPath": "get-bm25.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}", "schemaPath": "nonprofits.json", "modelOutput": "{\n Get {\n NonProfit(\n bm25: {\n query: \"education\"\n },\n limit: 10\n ) {\n name\n mission\n foundedYear\n focusArea\n founder {\n ... on Person {\n fullName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 10 ARApplications that mention 'augmented reality', and show the appName, description, platform, and developer's companyName.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ARApplication(\n bm25: {\n query: \"augmented reality\"\n },\n limit: 10\n ) {\n appName\n description\n platform\n developer {\n ... on SoftwareCompany {\n companyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 10 ARApplications that mention 'augmented reality', and show the appName, description, platform, and developer's companyName.\n```", "apiRef": "Query API: Basic BM25 search\n\nBM25 Search is a keyword scoring algorithm that looks ranks data objects based on the shared keywords between the data objects and the query.\n\nTo use BM25 search, you must provide a search string as a minimum.\n\nThe below example uses default settings, looking for objects containing the keyword\u00a0`food`\u00a0anywhere in the object.\n\nIt ranks the results using BM25, and returns the top 3.\n\nFollowing is an example for a database schema with the Class name `JeopardyQuestion` with properties `question` and `answer`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"food\"\n },\n limit: 3\n ) {\n question\n answer\n }\n }\n}\n```\n\nIn this example, the query will rank the `JeopardyQuestion` data objects based on the BM25 keyword scoring algorithm with the query \"food\".\n\nA Natural Language Command for this example could be: \"Get me the top 3 JeopardyQuestions that mention food, show the question and answer.\"", "apiRefPath": "get-bm25.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}", "schemaPath": "augmentedreality.json", "modelOutput": "{\n Get {\n ARApplication(\n bm25: {\n query: \"augmented reality\"\n },\n limit: 10\n ) {\n appName\n description\n platform\n developer {\n ... on SoftwareCompany {\n companyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}\n\n COMMAND:\n ```text\nGet me the chemical compounds with a hybrid search of 'water', please use an alpha value of 0.25 in the hybrid search and perform the BM25 search on the compound name and formula properties. Please show the compound name, formula, molar mass, and information about the elements it contains including the element name, symbol, atomic number, and whether it is a metal.\n```\n\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ChemicalCompound(\n hybrid: {\n query: \"water\",\n properties: [\"compoundName\", \"formula\"],\n alpha: 0.25\n },\n limit: 5\n ) {\n compoundName\n formula\n molarMass\n containsElements {\n ... on ChemicalElement {\n elementName\n symbol\n atomicNumber\n isMetal\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the chemical compounds with a hybrid search of 'water', please use an alpha value of 0.25 in the hybrid search and perform the BM25 search on the compound name and formula properties. Please show the compound name, formula, molar mass, and information about the elements it contains including the element name, symbol, atomic number, and whether it is a metal.\n```\n", "apiRef": "Selected properties only for BM25 scoring in Hybrid Search\n\nYou can specify the object\u00a0`properties`\u00a0for the\u00a0`bm25`\u00a0portion of the search.\n\nThe below example performs a\u00a0`bm25`\u00a0search for the keyword\u00a0`food`\u00a0in the\u00a0`question`\u00a0property only, and combines it with vector search results for\u00a0`food`.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n properties: [\"question\"],\n alpha: 0.25\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-alpha-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}", "schemaPath": "chemicals.json", "modelOutput": "{\n Get {\n ChemicalCompound(\n hybrid: {\n query: \"water\",\n properties: [\"compoundName\", \"formula\"],\n alpha: 0.25\n },\n limit: 5\n ) {\n compoundName\n formula\n molarMass\n containsElements {\n ... on ChemicalElement {\n elementName\n symbol\n atomicNumber\n isMetal\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the VR experiences with a hybrid search of 'action', please use an alpha value of 0.25 in the hybrid search and perform the BM25 search on the title and genre properties. Please show the title, developer's name, genre, release year, and multiplayer status.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n VRExperience(\n hybrid: {\n query: \"action\",\n properties: [\"title\", \"genre\"],\n alpha: 0.25\n },\n limit: 5\n ) {\n title\n developer {\n ... on Developer {\n name\n }\n }\n genre\n releaseYear\n isMultiplayer\n }\n }\n}\n```", "nlcommand": "```text\nGet me the VR experiences with a hybrid search of 'action', please use an alpha value of 0.25 in the hybrid search and perform the BM25 search on the title and genre properties. Please show the title, developer's name, genre, release year, and multiplayer status.\n```", "apiRef": "Selected properties only for BM25 scoring in Hybrid Search\n\nYou can specify the object\u00a0`properties`\u00a0for the\u00a0`bm25`\u00a0portion of the search.\n\nThe below example performs a\u00a0`bm25`\u00a0search for the keyword\u00a0`food`\u00a0in the\u00a0`question`\u00a0property only, and combines it with vector search results for\u00a0`food`.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n properties: [\"question\"],\n alpha: 0.25\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-alpha-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}", "schemaPath": "virtualreality.json", "modelOutput": "{\n Get {\n VRExperience(\n hybrid: {\n query: \"action\",\n properties: [\"title\", \"genre\"],\n alpha: 0.25\n },\n limit: 5\n ) {\n title\n developer {\n ... on Developer {\n name\n }\n }\n genre\n releaseYear\n isMultiplayer\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}\n\n COMMAND:\n ```text\nGet me the drugs with a hybrid search of 'pain relief', please use an alpha value of 0.25 in the hybrid search and perform the BM25 search on the drug name and active ingredient properties. Please show the drug name, active ingredient, approval year, over-the-counter status, manufacturer's company name, founded year, headquarters, and global presence.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Drug(\n hybrid: {\n query: \"pain relief\",\n properties: [\"drugName\", \"activeIngredient\"],\n alpha: 0.25\n },\n limit: 5\n ) {\n drugName\n activeIngredient\n approvalYear\n isOTC\n manufacturer {\n ... on Manufacturer {\n companyName\n foundedYear\n headquarters\n isGlobal\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the drugs with a hybrid search of 'pain relief', please use an alpha value of 0.25 in the hybrid search and perform the BM25 search on the drug name and active ingredient properties. Please show the drug name, active ingredient, approval year, over-the-counter status, manufacturer's company name, founded year, headquarters, and global presence.\n```", "apiRef": "Selected properties only for BM25 scoring in Hybrid Search\n\nYou can specify the object\u00a0`properties`\u00a0for the\u00a0`bm25`\u00a0portion of the search.\n\nThe below example performs a\u00a0`bm25`\u00a0search for the keyword\u00a0`food`\u00a0in the\u00a0`question`\u00a0property only, and combines it with vector search results for\u00a0`food`.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n properties: [\"question\"],\n alpha: 0.25\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-alpha-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}", "schemaPath": "pharmaceuticals.json", "modelOutput": "{\n Get {\n Drug(\n hybrid: {\n query: \"pain relief\",\n properties: [\"drugName\", \"activeIngredient\"],\n alpha: 0.25\n },\n limit: 5\n ) {\n drugName\n activeIngredient\n approvalYear\n isOTC\n manufacturer {\n ... on Manufacturer {\n companyName\n foundedYear\n headquarters\n isGlobal\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}\n\n COMMAND:\n ```text\nGet me the film festivals with a hybrid search of 'Cannes', please use an alpha value of 0.25 in the hybrid search and perform the BM25 search on the festival name and description properties. Please show the festival name, description, location, and featured film's title and director.\n```\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n FilmFestival(\n hybrid: {\n query: \"Cannes\",\n properties: [\"festivalName\", \"description\"],\n alpha: 0.25\n },\n limit: 5\n ) {\n festivalName\n description\n location\n featuredFilm {\n ... on Film {\n filmTitle\n director\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the film festivals with a hybrid search of 'Cannes', please use an alpha value of 0.25 in the hybrid search and perform the BM25 search on the festival name and description properties. Please show the festival name, description, location, and featured film's title and director.\n```\n```", "apiRef": "Selected properties only for BM25 scoring in Hybrid Search\n\nYou can specify the object\u00a0`properties`\u00a0for the\u00a0`bm25`\u00a0portion of the search.\n\nThe below example performs a\u00a0`bm25`\u00a0search for the keyword\u00a0`food`\u00a0in the\u00a0`question`\u00a0property only, and combines it with vector search results for\u00a0`food`.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n properties: [\"question\"],\n alpha: 0.25\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-alpha-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}", "schemaPath": "filmfestivals.json", "modelOutput": "{\n Get {\n FilmFestival(\n hybrid: {\n query: \"Cannes\",\n properties: [\"festivalName\", \"description\"],\n alpha: 0.25\n },\n limit: 5\n ) {\n festivalName\n description\n location\n featuredFilm {\n ... on Film {\n title\n director\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the boats with a hybrid search of 'sailboat', please use an alpha value of 0.25 in the hybrid search and perform the BM25 search on the boatName and type properties. Please show the boatName, type, capacity, motorization status, and manufacturer's company name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Boat(\n hybrid: {\n query: \"sailboat\",\n properties: [\"boatName\", \"type\"],\n alpha: 0.25\n },\n limit: 5\n ) {\n boatName\n type\n capacity\n isMotorized\n manufacturer {\n ... on BoatManufacturer {\n companyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the boats with a hybrid search of 'sailboat', please use an alpha value of 0.25 in the hybrid search and perform the BM25 search on the boatName and type properties. Please show the boatName, type, capacity, motorization status, and manufacturer's company name.\n```", "apiRef": "Selected properties only for BM25 scoring in Hybrid Search\n\nYou can specify the object\u00a0`properties`\u00a0for the\u00a0`bm25`\u00a0portion of the search.\n\nThe below example performs a\u00a0`bm25`\u00a0search for the keyword\u00a0`food`\u00a0in the\u00a0`question`\u00a0property only, and combines it with vector search results for\u00a0`food`.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n properties: [\"question\"],\n alpha: 0.25\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-alpha-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}", "schemaPath": "boats.json", "modelOutput": "{\n Get {\n Boat(\n hybrid: {\n query: \"sailboat\",\n properties: [\"boatName\", \"type\"],\n alpha: 0.25\n },\n limit: 5\n ) {\n boatName\n type\n capacity\n isMotorized\n manufacturer {\n ... on BoatManufacturer {\n companyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}\n\n COMMAND:\n ```text\nGet me the national parks with a hybrid search of 'Yellowstone', please use an alpha value of 0.25 in the hybrid search and perform the BM25 search on the park name and description properties. Please show the park name, description, location, established year, entry fee status, wildlife, and facilities with their names and descriptions.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NationalPark(\n hybrid: {\n query: \"Yellowstone\",\n properties: [\"parkName\", \"description\"],\n alpha: 0.25\n },\n limit: 3\n ) {\n parkName\n description\n location\n establishedYear\n isEntryFree\n wildlife\n facilities {\n ... on Facility {\n facilityName\n description\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the national parks with a hybrid search of 'Yellowstone', please use an alpha value of 0.25 in the hybrid search and perform the BM25 search on the park name and description properties. Please show the park name, description, location, established year, entry fee status, wildlife, and facilities with their names and descriptions.\n```", "apiRef": "Selected properties only for BM25 scoring in Hybrid Search\n\nYou can specify the object\u00a0`properties`\u00a0for the\u00a0`bm25`\u00a0portion of the search.\n\nThe below example performs a\u00a0`bm25`\u00a0search for the keyword\u00a0`food`\u00a0in the\u00a0`question`\u00a0property only, and combines it with vector search results for\u00a0`food`.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n properties: [\"question\"],\n alpha: 0.25\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-alpha-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}", "schemaPath": "nationalparks.json", "modelOutput": "{\n Get {\n NationalPark(\n hybrid: {\n query: \"Yellowstone\",\n properties: [\"parkName\", \"description\"],\n alpha: 0.25\n },\n limit: 5\n ) {\n parkName\n description\n location\n establishedYear\n isEntryFree\n wildlife\n facilities {\n ... on Facility {\n facilityName\n description\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}\n\n COMMAND:\n ```text\nGet me the pets with a hybrid search of 'dog', please use an alpha value of 0.25 in the hybrid search and perform the BM25 search on the petName and breed properties. Please show the petName, species, breed, age, and owner's full name, address, and contact number.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Pet(\n hybrid: {\n query: \"dog\",\n properties: [\"petName\", \"breed\"],\n alpha: 0.25\n },\n limit: 5\n ) {\n petName\n species\n breed\n age\n owner {\n ... on Person {\n fullName\n address\n contactNumber\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the pets with a hybrid search of 'dog', please use an alpha value of 0.25 in the hybrid search and perform the BM25 search on the petName and breed properties. Please show the petName, species, breed, age, and owner's full name, address, and contact number.\n```", "apiRef": "Selected properties only for BM25 scoring in Hybrid Search\n\nYou can specify the object\u00a0`properties`\u00a0for the\u00a0`bm25`\u00a0portion of the search.\n\nThe below example performs a\u00a0`bm25`\u00a0search for the keyword\u00a0`food`\u00a0in the\u00a0`question`\u00a0property only, and combines it with vector search results for\u00a0`food`.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n properties: [\"question\"],\n alpha: 0.25\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-alpha-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}", "schemaPath": "pets.json", "modelOutput": "{\n Get {\n Pet(\n hybrid: {\n query: \"dog\",\n properties: [\"petName\", \"breed\"],\n alpha: 0.25\n },\n limit: 5\n ) {\n petName\n species\n breed\n age\n owner {\n ... on Person {\n fullName\n address\n contactNumber\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}\n\n COMMAND:\n ```text\nGet me the jewelry items with a hybrid search of 'necklace', please use an alpha value of 0.25 in the hybrid search and perform the BM25 search on the name and material properties. Please show the name, material, gemstone's name and hardness, price, and whether it is handmade.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n JewelryItem(\n hybrid: {\n query: \"necklace\",\n properties: [\"name\", \"material\"],\n alpha: 0.25\n },\n limit: 5\n ) {\n name\n material\n gemstone {\n ... on Gemstone {\n name\n hardness\n }\n }\n price\n isHandmade\n }\n }\n}\n```", "nlcommand": "```text\nGet me the jewelry items with a hybrid search of 'necklace', please use an alpha value of 0.25 in the hybrid search and perform the BM25 search on the name and material properties. Please show the name, material, gemstone's name and hardness, price, and whether it is handmade.\n```", "apiRef": "Selected properties only for BM25 scoring in Hybrid Search\n\nYou can specify the object\u00a0`properties`\u00a0for the\u00a0`bm25`\u00a0portion of the search.\n\nThe below example performs a\u00a0`bm25`\u00a0search for the keyword\u00a0`food`\u00a0in the\u00a0`question`\u00a0property only, and combines it with vector search results for\u00a0`food`.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n properties: [\"question\"],\n alpha: 0.25\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-alpha-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}", "schemaPath": "jewelry.json", "modelOutput": "{\n Get {\n JewelryItem(\n hybrid: {\n query: \"necklace\",\n properties: [\"name\", \"material\"],\n alpha: 0.25\n },\n limit: 5\n ) {\n name\n material\n gemstone {\n ... on Gemstone {\n name\n hardness\n }\n }\n price\n isHandmade\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}\n\n COMMAND:\n ```text\nGet me the space missions with a hybrid search of 'moon landing', please use an alpha value of 0.25 in the hybrid search and perform the BM25 search on the mission name and objective properties. Please show the mission name, objective, launch year, mission status, and space agency's name, founded year, and headquarters.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n SpaceMission(\n hybrid: {\n query: \"moon landing\",\n properties: [\"missionName\", \"objective\"],\n alpha: 0.25\n },\n limit: 5\n ) {\n missionName\n objective\n launchYear\n missionStatus\n spaceAgency {\n ... on SpaceAgency {\n agencyName\n foundedYear\n headquarters\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the space missions with a hybrid search of 'moon landing', please use an alpha value of 0.25 in the hybrid search and perform the BM25 search on the mission name and objective properties. Please show the mission name, objective, launch year, mission status, and space agency's name, founded year, and headquarters.\n```", "apiRef": "Selected properties only for BM25 scoring in Hybrid Search\n\nYou can specify the object\u00a0`properties`\u00a0for the\u00a0`bm25`\u00a0portion of the search.\n\nThe below example performs a\u00a0`bm25`\u00a0search for the keyword\u00a0`food`\u00a0in the\u00a0`question`\u00a0property only, and combines it with vector search results for\u00a0`food`.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n properties: [\"question\"],\n alpha: 0.25\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-alpha-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}", "schemaPath": "spaceexploration.json", "modelOutput": "{\n Get {\n SpaceMission(\n hybrid: {\n query: \"moon landing\",\n properties: [\"missionName\", \"objective\"],\n alpha: 0.25\n },\n limit: 5\n ) {\n missionName\n objective\n launchYear\n missionStatus\n spaceAgency {\n ... on SpaceAgency {\n agencyName\n foundedYear\n headquarters\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}\n\n COMMAND:\n ```text\nGet me the non-profit organizations with a hybrid search of 'education', please use an alpha value of 0.25 in the hybrid search and perform the BM25 search on the name and mission properties. Please show the name, mission, founded year, focus area, and founder's full name.\n```\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NonProfit(\n hybrid: {\n query: \"education\",\n properties: [\"name\", \"mission\"],\n alpha: 0.25\n },\n limit: 5\n ) {\n name\n mission\n foundedYear\n focusArea\n founder {\n ... on Person {\n fullName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the non-profit organizations with a hybrid search of 'education', please use an alpha value of 0.25 in the hybrid search and perform the BM25 search on the name and mission properties. Please show the name, mission, founded year, focus area, and founder's full name.\n```\n```", "apiRef": "Selected properties only for BM25 scoring in Hybrid Search\n\nYou can specify the object\u00a0`properties`\u00a0for the\u00a0`bm25`\u00a0portion of the search.\n\nThe below example performs a\u00a0`bm25`\u00a0search for the keyword\u00a0`food`\u00a0in the\u00a0`question`\u00a0property only, and combines it with vector search results for\u00a0`food`.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n properties: [\"question\"],\n alpha: 0.25\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-alpha-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}", "schemaPath": "nonprofits.json", "modelOutput": "{\n Get {\n NonProfit(\n hybrid: {\n query: \"education\",\n properties: [\"name\", \"mission\"],\n alpha: 0.25\n },\n limit: 5\n ) {\n name\n mission\n foundedYear\n focusArea\n founder {\n ... on Person {\n fullName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}\n\n COMMAND:\n ```text\nGet me the AR applications with a hybrid search of 'augmented reality', please use an alpha value of 0.25 in the hybrid search and perform the BM25 search on the appName and description properties. Please show the appName, description, platform, and developer's company name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ARApplication(\n hybrid: {\n query: \"augmented reality\",\n properties: [\"appName\", \"description\"],\n alpha: 0.25\n },\n limit: 5\n ) {\n appName\n description\n platform\n developer {\n ... on SoftwareCompany {\n companyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the AR applications with a hybrid search of 'augmented reality', please use an alpha value of 0.25 in the hybrid search and perform the BM25 search on the appName and description properties. Please show the appName, description, platform, and developer's company name.\n```", "apiRef": "Selected properties only for BM25 scoring in Hybrid Search\n\nYou can specify the object\u00a0`properties`\u00a0for the\u00a0`bm25`\u00a0portion of the search.\n\nThe below example performs a\u00a0`bm25`\u00a0search for the keyword\u00a0`food`\u00a0in the\u00a0`question`\u00a0property only, and combines it with vector search results for\u00a0`food`.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n properties: [\"question\"],\n alpha: 0.25\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-alpha-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}", "schemaPath": "augmentedreality.json", "modelOutput": "{\n Get {\n ARApplication(\n hybrid: {\n query: \"augmented reality\",\n properties: [\"appName\", \"description\"],\n alpha: 0.25\n },\n limit: 5\n ) {\n appName\n description\n platform\n developer {\n ... on SoftwareCompany {\n companyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}\n\n COMMAND:\n ```text\nWhat is the average molar mass of Chemical Compounds related to \"organic chemistry\" with a maximum distance of 0.3? Please limit results to the top 50.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n ChemicalCompound(\n nearText: {\n concepts: [\"organic chemistry\"],\n distance: 0.3\n },\n objectLimit: 50\n ) {\n molarMass {\n mean\n }\n }\n }\n}\n```", "nlcommand": "```text\nWhat is the average molar mass of Chemical Compounds related to \"organic chemistry\" with a maximum distance of 0.3? Please limit results to the top 50.\n```", "apiRef": "With nearXXX\n\nWhen using a similarity search operator (i.e. nearXXX) with Aggregate, you should include a way to limit the search results. This is because a vector search in itself does not exclude any objects from the results set - all objects have some degree of similarity to the query.\n\nThus, for the vector search to affect the Aggregate output, you must set a limit on:\n\nThe number of results returned (with limit), or\nHow similar the results are to the query (with distance).\nSet an object limit\nYou can set the objectLimit argument to specify the maximum number of results to be aggregated.\n\nThe below query retrieves the 10 question objects with vectors that are closest to \"animals in space\", and return the sum total of the point property.\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in space\"]\n },\n objectLimit: 10\n ) {\n points {\n sum\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-nearText-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}", "schemaPath": "chemicals.json", "modelOutput": "{\n Aggregate {\n ChemicalCompound(\n nearText: {\n concepts: [\"organic chemistry\"],\n distance: 0.3\n },\n objectLimit: 50\n ) {\n molarMass {\n mean\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}\n\n COMMAND:\n ```text\nWhat is the average establishedYear of National Parks about \"Yellowstone National Park\" with a maximum distance of 0.3. Please limit results to the top 50.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n NationalPark(\n nearText: {\n concepts: [\"Yellowstone National Park\"],\n distance: 0.3\n },\n objectLimit: 50\n ) {\n establishedYear {\n mean\n }\n }\n }\n}\n```", "nlcommand": "```text\nWhat is the average establishedYear of National Parks about \"Yellowstone National Park\" with a maximum distance of 0.3. Please limit results to the top 50.\n```", "apiRef": "With nearXXX\n\nWhen using a similarity search operator (i.e. nearXXX) with Aggregate, you should include a way to limit the search results. This is because a vector search in itself does not exclude any objects from the results set - all objects have some degree of similarity to the query.\n\nThus, for the vector search to affect the Aggregate output, you must set a limit on:\n\nThe number of results returned (with limit), or\nHow similar the results are to the query (with distance).\nSet an object limit\nYou can set the objectLimit argument to specify the maximum number of results to be aggregated.\n\nThe below query retrieves the 10 question objects with vectors that are closest to \"animals in space\", and return the sum total of the point property.\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in space\"]\n },\n objectLimit: 10\n ) {\n points {\n sum\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-nearText-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}", "schemaPath": "nationalparks.json", "modelOutput": "{\n Aggregate {\n NationalPark(\n nearText: {\n concepts: [\"Yellowstone National Park\"],\n distance: 0.3\n },\n objectLimit: 50\n ) {\n establishedYear {\n mean\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}\n\n COMMAND:\n ```text\nWhat is the average age of Pets that are similar to \"Golden Retriever\" with a maximum distance of 0.3? Please limit the results to the top 50.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n Pet(\n nearText: {\n concepts: [\"Golden Retriever\"],\n distance: 0.3\n },\n objectLimit: 50\n ) {\n age {\n mean\n }\n }\n }\n}\n```", "nlcommand": "```text\nWhat is the average age of Pets that are similar to \"Golden Retriever\" with a maximum distance of 0.3? Please limit the results to the top 50.\n```", "apiRef": "With nearXXX\n\nWhen using a similarity search operator (i.e. nearXXX) with Aggregate, you should include a way to limit the search results. This is because a vector search in itself does not exclude any objects from the results set - all objects have some degree of similarity to the query.\n\nThus, for the vector search to affect the Aggregate output, you must set a limit on:\n\nThe number of results returned (with limit), or\nHow similar the results are to the query (with distance).\nSet an object limit\nYou can set the objectLimit argument to specify the maximum number of results to be aggregated.\n\nThe below query retrieves the 10 question objects with vectors that are closest to \"animals in space\", and return the sum total of the point property.\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in space\"]\n },\n objectLimit: 10\n ) {\n points {\n sum\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-nearText-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}", "schemaPath": "pets.json", "modelOutput": "{\n Aggregate {\n Pet(\n nearText: {\n concepts: [\"Golden Retriever\"],\n distance: 0.3\n },\n objectLimit: 50\n ) {\n age {\n mean\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}\n\n COMMAND:\n ```text\nWhat is the average launchYear of SpaceMissions related to \"moon landing\" with a maximum distance of 0.3? Please limit the results to the top 50.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n SpaceMission(\n nearText: {\n concepts: [\"moon landing\"],\n distance: 0.3\n },\n objectLimit: 50\n ) {\n launchYear {\n mean\n }\n }\n }\n}\n```", "nlcommand": "```text\nWhat is the average launchYear of SpaceMissions related to \"moon landing\" with a maximum distance of 0.3? Please limit the results to the top 50.\n```", "apiRef": "With nearXXX\n\nWhen using a similarity search operator (i.e. nearXXX) with Aggregate, you should include a way to limit the search results. This is because a vector search in itself does not exclude any objects from the results set - all objects have some degree of similarity to the query.\n\nThus, for the vector search to affect the Aggregate output, you must set a limit on:\n\nThe number of results returned (with limit), or\nHow similar the results are to the query (with distance).\nSet an object limit\nYou can set the objectLimit argument to specify the maximum number of results to be aggregated.\n\nThe below query retrieves the 10 question objects with vectors that are closest to \"animals in space\", and return the sum total of the point property.\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in space\"]\n },\n objectLimit: 10\n ) {\n points {\n sum\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-nearText-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}", "schemaPath": "spaceexploration.json", "modelOutput": "{\n Aggregate {\n SpaceMission(\n nearText: {\n concepts: [\"moon landing\"],\n distance: 0.3\n },\n object: {\n meta: {\n limit: 50\n }\n }\n ) {\n launchYear {\n mean\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}\n\n COMMAND:\n ```text\nWhat is the average foundedYear of NonProfit organizations related to \"education\" with a maximum distance of 0.3? Please limit the results to the top 50.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n NonProfit(\n nearText: {\n concepts: [\"education\"],\n distance: 0.3\n },\n objectLimit: 50\n ) {\n foundedYear {\n mean\n }\n }\n }\n}\n```", "nlcommand": "```text\nWhat is the average foundedYear of NonProfit organizations related to \"education\" with a maximum distance of 0.3? Please limit the results to the top 50.\n```", "apiRef": "With nearXXX\n\nWhen using a similarity search operator (i.e. nearXXX) with Aggregate, you should include a way to limit the search results. This is because a vector search in itself does not exclude any objects from the results set - all objects have some degree of similarity to the query.\n\nThus, for the vector search to affect the Aggregate output, you must set a limit on:\n\nThe number of results returned (with limit), or\nHow similar the results are to the query (with distance).\nSet an object limit\nYou can set the objectLimit argument to specify the maximum number of results to be aggregated.\n\nThe below query retrieves the 10 question objects with vectors that are closest to \"animals in space\", and return the sum total of the point property.\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in space\"]\n },\n objectLimit: 10\n ) {\n points {\n sum\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-nearText-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}", "schemaPath": "nonprofits.json", "modelOutput": "{\n Aggregate {\n NonProfit(\n nearText: {\n concepts: [\"education\"],\n distance: 0.3\n },\n objectLimit: 50\n ) {\n foundedYear {\n mean\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 5 chemical compounds with BM25 keyword scoring to the query 'organic'. Show me the compound name, formula, and the BM25 score for each compound returned.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ChemicalCompound(\n bm25: {\n query: \"organic\"\n },\n limit: 5\n ) {\n compoundName\n formula\n _additional {\n score\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 5 chemical compounds with BM25 keyword scoring to the query 'organic'. Show me the compound name, formula, and the BM25 score for each compound returned.\n```", "apiRef": "Get score from BM25 search\n\nScore\n\nThe\u00a0`score`\u00a0sub-property is the BM25F score used to rank the outputs. It can be retrieved under the\u00a0`_additional`\u00a0property.\n\nThe below example adds the\u00a0`score`\u00a0property to the list of retrieved properties.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\"\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-with-score.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}", "schemaPath": "chemicals.json", "modelOutput": "{\n Get {\n ChemicalCompound(\n bm25: {\n query: \"organic\"\n },\n limit: 5\n ) {\n compoundName\n formula\n _additional {\n score\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 10 VR experiences with BM25 keyword scoring to the query 'action'. Show me the title, genre, and BM25 score for each VR experience returned.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n VRExperience(\n bm25: {\n query: \"action\"\n },\n limit: 10\n ) {\n title\n genre\n _additional {\n score\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 10 VR experiences with BM25 keyword scoring to the query 'action'. Show me the title, genre, and BM25 score for each VR experience returned.\n```", "apiRef": "Get score from BM25 search\n\nScore\n\nThe\u00a0`score`\u00a0sub-property is the BM25F score used to rank the outputs. It can be retrieved under the\u00a0`_additional`\u00a0property.\n\nThe below example adds the\u00a0`score`\u00a0property to the list of retrieved properties.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\"\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-with-score.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}", "schemaPath": "virtualreality.json", "modelOutput": "{\n Get {\n VRExperience(\n bm25: {\n query: \"action\"\n },\n limit: 10\n ) {\n title\n genre\n _additional {\n score\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 10 drugs with BM25 keyword scoring to the query 'headache'. For each drug, show the drug name, active ingredient, and the BM25 score. \n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Drug(\n bm25: {\n query: \"headache\"\n },\n limit: 10\n ) {\n drugName\n activeIngredient\n _additional {\n score\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 10 drugs with BM25 keyword scoring to the query 'headache'. For each drug, show the drug name, active ingredient, and the BM25 score. \n```", "apiRef": "Get score from BM25 search\n\nScore\n\nThe\u00a0`score`\u00a0sub-property is the BM25F score used to rank the outputs. It can be retrieved under the\u00a0`_additional`\u00a0property.\n\nThe below example adds the\u00a0`score`\u00a0property to the list of retrieved properties.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\"\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-with-score.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}", "schemaPath": "pharmaceuticals.json", "modelOutput": "{\n Get {\n Drug(\n bm25: {\n query: \"headache\"\n },\n limit: 10\n ) {\n drugName\n activeIngredient\n _additional {\n score\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 3 film festivals with BM25 keyword scoring to the query 'Cannes'. For each film festival, show the festival name, location, description, and the featured film's title and director. Please also show me the BM25 score for each film festival returned.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n FilmFestival(\n bm25: {\n query: \"Cannes\"\n },\n limit: 3\n ) {\n festivalName\n location\n description\n featuredFilm {\n ... on Film {\n filmTitle\n director\n }\n }\n _additional {\n score\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 3 film festivals with BM25 keyword scoring to the query 'Cannes'. For each film festival, show the festival name, location, description, and the featured film's title and director. Please also show me the BM25 score for each film festival returned.\n```", "apiRef": "Get score from BM25 search\n\nScore\n\nThe\u00a0`score`\u00a0sub-property is the BM25F score used to rank the outputs. It can be retrieved under the\u00a0`_additional`\u00a0property.\n\nThe below example adds the\u00a0`score`\u00a0property to the list of retrieved properties.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\"\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-with-score.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}", "schemaPath": "filmfestivals.json", "modelOutput": "{\n Get {\n FilmFestival(\n bm25: {\n query: \"Cannes\"\n },\n limit: 3\n ) {\n festivalName\n location\n description\n featuredFilm {\n ... on Film {\n title\n director\n }\n }\n _additional {\n score\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 5 boats with BM25 keyword scoring to the query 'sailboat', and show the boat name, type, and BM25 score for each boat returned.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Boat(\n bm25: {\n query: \"sailboat\"\n },\n limit: 5\n ) {\n boatName\n type\n _additional {\n score\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 5 boats with BM25 keyword scoring to the query 'sailboat', and show the boat name, type, and BM25 score for each boat returned.\n```", "apiRef": "Get score from BM25 search\n\nScore\n\nThe\u00a0`score`\u00a0sub-property is the BM25F score used to rank the outputs. It can be retrieved under the\u00a0`_additional`\u00a0property.\n\nThe below example adds the\u00a0`score`\u00a0property to the list of retrieved properties.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\"\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-with-score.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}", "schemaPath": "boats.json", "modelOutput": "{\n Get {\n Boat(\n bm25: {\n query: \"sailboat\"\n },\n limit: 5\n ) {\n boatName\n type\n _additional {\n score\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 3 national parks with BM25 keyword scoring to the query 'mountain'. Show me the park name, description, and the BM25 score for each park returned.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NationalPark(\n bm25: {\n query: \"mountain\"\n },\n limit: 3\n ) {\n parkName\n description\n _additional {\n score\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 3 national parks with BM25 keyword scoring to the query 'mountain'. Show me the park name, description, and the BM25 score for each park returned.\n```", "apiRef": "Get score from BM25 search\n\nScore\n\nThe\u00a0`score`\u00a0sub-property is the BM25F score used to rank the outputs. It can be retrieved under the\u00a0`_additional`\u00a0property.\n\nThe below example adds the\u00a0`score`\u00a0property to the list of retrieved properties.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\"\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-with-score.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}", "schemaPath": "nationalparks.json", "modelOutput": "{\n Get {\n NationalPark(\n bm25: {\n query: \"mountain\"\n },\n limit: 3\n ) {\n parkName\n description\n _additional {\n score\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 5 pets with BM25 keyword scoring to the query 'dog', and show the pet name, species, and BM25 score for each pet returned.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Pet(\n bm25: {\n query: \"dog\"\n },\n limit: 5\n ) {\n petName\n species\n _additional {\n score\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 5 pets with BM25 keyword scoring to the query 'dog', and show the pet name, species, and BM25 score for each pet returned.\n```", "apiRef": "Get score from BM25 search\n\nScore\n\nThe\u00a0`score`\u00a0sub-property is the BM25F score used to rank the outputs. It can be retrieved under the\u00a0`_additional`\u00a0property.\n\nThe below example adds the\u00a0`score`\u00a0property to the list of retrieved properties.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\"\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-with-score.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}", "schemaPath": "pets.json", "modelOutput": "{\n Get {\n Pet(\n bm25: {\n query: \"dog\"\n },\n limit: 5\n ) {\n petName\n species\n _additional {\n score\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 10 jewelry items with BM25 keyword scoring to the query 'diamond ring'. For each item, show the name, material, gemstone name, gemstone hardness, and the BM25 score. \n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n JewelryItem(\n bm25: {\n query: \"diamond ring\"\n },\n limit: 10\n ) {\n name\n material\n gemstone {\n ... on Gemstone {\n name\n hardness\n }\n }\n _additional {\n score\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 10 jewelry items with BM25 keyword scoring to the query 'diamond ring'. For each item, show the name, material, gemstone name, gemstone hardness, and the BM25 score. \n```", "apiRef": "Get score from BM25 search\n\nScore\n\nThe\u00a0`score`\u00a0sub-property is the BM25F score used to rank the outputs. It can be retrieved under the\u00a0`_additional`\u00a0property.\n\nThe below example adds the\u00a0`score`\u00a0property to the list of retrieved properties.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\"\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-with-score.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}", "schemaPath": "jewelry.json", "modelOutput": "{\n Get {\n JewelryItem(\n bm25: {\n query: \"diamond ring\"\n },\n limit: 10\n ) {\n name\n material\n gemstone {\n ... on Gemstone {\n name\n hardness\n }\n }\n _additional {\n score\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 3 space missions with BM25 keyword scoring to the query 'moon landing', and show the mission name, objective, and BM25 score for each mission returned.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n SpaceMission(\n bm25: {\n query: \"moon landing\"\n },\n limit: 3\n ) {\n missionName\n objective\n _additional {\n score\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 3 space missions with BM25 keyword scoring to the query 'moon landing', and show the mission name, objective, and BM25 score for each mission returned.\n```", "apiRef": "Get score from BM25 search\n\nScore\n\nThe\u00a0`score`\u00a0sub-property is the BM25F score used to rank the outputs. It can be retrieved under the\u00a0`_additional`\u00a0property.\n\nThe below example adds the\u00a0`score`\u00a0property to the list of retrieved properties.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\"\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-with-score.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}", "schemaPath": "spaceexploration.json", "modelOutput": "{\n Get {\n SpaceMission(\n bm25: {\n query: \"moon landing\"\n },\n limit: 3\n ) {\n missionName\n objective\n _additional {\n score\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 10 non-profit organizations with BM25 keyword scoring to the query 'education'. Show me the name and mission of each organization. Please include the BM25 score for each organization returned.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NonProfit(\n bm25: {\n query: \"education\"\n },\n limit: 10\n ) {\n name\n mission\n _additional {\n score\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 10 non-profit organizations with BM25 keyword scoring to the query 'education'. Show me the name and mission of each organization. Please include the BM25 score for each organization returned.\n```", "apiRef": "Get score from BM25 search\n\nScore\n\nThe\u00a0`score`\u00a0sub-property is the BM25F score used to rank the outputs. It can be retrieved under the\u00a0`_additional`\u00a0property.\n\nThe below example adds the\u00a0`score`\u00a0property to the list of retrieved properties.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\"\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-with-score.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}", "schemaPath": "nonprofits.json", "modelOutput": "{\n Get {\n NonProfit(\n bm25: {\n query: \"education\"\n },\n limit: 10\n ) {\n name\n mission\n _additional {\n score\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 5 AR applications with BM25 keyword scoring to the query 'augmented reality', and show the application name, description, and BM25 score for each application returned.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ARApplication(\n bm25: {\n query: \"augmented reality\"\n },\n limit: 5\n ) {\n appName\n description\n _additional {\n score\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 5 AR applications with BM25 keyword scoring to the query 'augmented reality', and show the application name, description, and BM25 score for each application returned.\n```", "apiRef": "Get score from BM25 search\n\nScore\n\nThe\u00a0`score`\u00a0sub-property is the BM25F score used to rank the outputs. It can be retrieved under the\u00a0`_additional`\u00a0property.\n\nThe below example adds the\u00a0`score`\u00a0property to the list of retrieved properties.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\"\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-with-score.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}", "schemaPath": "augmentedreality.json", "modelOutput": "{\n Get {\n ARApplication(\n bm25: {\n query: \"augmented reality\"\n },\n limit: 5\n ) {\n appName\n description\n _additional {\n score\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}\n\n COMMAND:\n ```text\nShow me the compound name, formula, molar mass, and elements contained in chemical compounds with \"aspirin\" exactly contained in the compound name and a molar mass greater than 100.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ChemicalCompound(\n where: {\n operator: And,\n operands: [\n {\n path: [\"compoundName\"],\n operator: Like,\n valueText: \"*aspirin*\"\n },\n {\n path: [\"molarMass\"],\n operator: GreaterThan,\n valueNumber: 100\n }\n ]\n }\n ) {\n compoundName\n formula\n molarMass\n containsElements {\n ... on ChemicalElement {\n elementName\n symbol\n atomicNumber\n isMetal\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the compound name, formula, molar mass, and elements contained in chemical compounds with \"aspirin\" exactly contained in the compound name and a molar mass greater than 100.\n```", "apiRef": "Multiple-condition filters\n\nTo add a multiple-condition filter, you must set the operator to And or Or, and set two or more conditions under the corresponding operands parameter.\n\nThe following example specifies and And condition, so that both:\n\nthe round property must equal \"Double Jeopardy!\", and\nthe points property must be less than 600.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n operator: And,\n operands: [\n {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n },\n {\n path: [\"points\"],\n operator: LessThan,\n valueInt: 600\n },\n ]\n\n }\n ) {\n question\n answer\n round\n points\n }\n }\n}\n```", "apiRefPath": "get-where-multiple-conditions.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}", "schemaPath": "chemicals.json", "modelOutput": "{\n Get {\n ChemicalCompound(\n where: {\n operator: And,\n operands: [\n {\n path: [\"compoundName\"],\n operator: Like,\n valueText: \"*aspirin*\"\n },\n {\n path: [\"molarMass\"],\n operator: GreaterThan,\n valueNumber: 100\n }\n ]\n }\n ) {\n compoundName\n formula\n molarMass\n containsElements {\n ... on ChemicalElement {\n elementName\n symbol\n atomicNumber\n isMetal\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}\n\n COMMAND:\n ```text\nShow me the drug name, active ingredient, and over-the-counter status of drugs with \"aspirin\" anywhere in the drug name and an approval year greater than 2000.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Drug(\n where: {\n operator: And,\n operands: [\n {\n path: [\"drugName\"],\n operator: Like,\n valueText: \"*aspirin*\"\n },\n {\n path: [\"approvalYear\"],\n operator: GreaterThan,\n valueInt: 2000\n }\n ]\n }\n ) {\n drugName\n activeIngredient\n isOTC\n }\n }\n}\n```", "nlcommand": "```text\nShow me the drug name, active ingredient, and over-the-counter status of drugs with \"aspirin\" anywhere in the drug name and an approval year greater than 2000.\n```", "apiRef": "Multiple-condition filters\n\nTo add a multiple-condition filter, you must set the operator to And or Or, and set two or more conditions under the corresponding operands parameter.\n\nThe following example specifies and And condition, so that both:\n\nthe round property must equal \"Double Jeopardy!\", and\nthe points property must be less than 600.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n operator: And,\n operands: [\n {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n },\n {\n path: [\"points\"],\n operator: LessThan,\n valueInt: 600\n },\n ]\n\n }\n ) {\n question\n answer\n round\n points\n }\n }\n}\n```", "apiRefPath": "get-where-multiple-conditions.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}", "schemaPath": "pharmaceuticals.json", "modelOutput": "{\n Get {\n Drug(\n where: {\n operator: And,\n operands: [\n {\n path: [\"drugName\"],\n operator: Like,\n valueText: \"*aspirin*\"\n },\n {\n path: [\"approvalYear\"],\n operator: GreaterThan,\n valueInt: 2000\n }\n ]\n }\n ) {\n drugName\n activeIngredient\n isOTC\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}\n\n COMMAND:\n ```text\nShow me the festival name, location, description, and featured film (including film title and director) of film festivals with \"Cannes\" anywhere in the festival name and located in France.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n FilmFestival(\n where: {\n operator: And,\n operands: [\n {\n path: [\"festivalName\"],\n operator: Like,\n valueText: \"*Cannes*\"\n },\n {\n path: [\"location\"],\n operator: Equal,\n valueText: \"France\"\n }\n ]\n }\n ) {\n festivalName\n location\n description\n featuredFilm {\n ... on Film {\n filmTitle\n director\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the festival name, location, description, and featured film (including film title and director) of film festivals with \"Cannes\" anywhere in the festival name and located in France.\n```", "apiRef": "Multiple-condition filters\n\nTo add a multiple-condition filter, you must set the operator to And or Or, and set two or more conditions under the corresponding operands parameter.\n\nThe following example specifies and And condition, so that both:\n\nthe round property must equal \"Double Jeopardy!\", and\nthe points property must be less than 600.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n operator: And,\n operands: [\n {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n },\n {\n path: [\"points\"],\n operator: LessThan,\n valueInt: 600\n },\n ]\n\n }\n ) {\n question\n answer\n round\n points\n }\n }\n}\n```", "apiRefPath": "get-where-multiple-conditions.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}", "schemaPath": "filmfestivals.json", "modelOutput": "{\n Get {\n FilmFestival(\n where: {\n operator: And,\n operands: [\n {\n path: [\"festivalName\"],\n operator: Like,\n valueText: \"*Cannes*\"\n },\n {\n path: [\"location\"],\n operator: Like,\n valueText: \"*France*\"\n }\n ]\n }\n ) {\n festivalName\n location\n description\n featuredFilm {\n ... on Film {\n filmTitle\n director\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}\n\n COMMAND:\n ```text\nShow me the boat name, type, capacity, motorization status, and manufacturer information of boats with \"sail\" anywhere in the boat name and a capacity greater than 10.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Boat(\n where: {\n operator: And,\n operands: [\n {\n path: [\"boatName\"],\n operator: Like,\n valueText: \"*sail*\"\n },\n {\n path: [\"capacity\"],\n operator: GreaterThan,\n valueInt: 10\n }\n ]\n }\n ) {\n boatName\n type\n capacity\n isMotorized\n manufacturer {\n ... on BoatManufacturer {\n companyName\n foundedYear\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the boat name, type, capacity, motorization status, and manufacturer information of boats with \"sail\" anywhere in the boat name and a capacity greater than 10.\n```", "apiRef": "Multiple-condition filters\n\nTo add a multiple-condition filter, you must set the operator to And or Or, and set two or more conditions under the corresponding operands parameter.\n\nThe following example specifies and And condition, so that both:\n\nthe round property must equal \"Double Jeopardy!\", and\nthe points property must be less than 600.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n operator: And,\n operands: [\n {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n },\n {\n path: [\"points\"],\n operator: LessThan,\n valueInt: 600\n },\n ]\n\n }\n ) {\n question\n answer\n round\n points\n }\n }\n}\n```", "apiRefPath": "get-where-multiple-conditions.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}", "schemaPath": "boats.json", "modelOutput": "{\n Get {\n Boat(\n where: {\n operator: And,\n operands: [\n {\n path: [\"boatName\"],\n operator: Like,\n valueText: \"*sail*\"\n },\n {\n path: [\"capacity\"],\n operator: GreaterThan,\n valueInt: 10\n }\n ]\n }\n ) {\n boatName\n type\n capacity\n isMotorized\n manufacturer {\n ... on BoatManufacturer {\n companyName\n foundedYear\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}\n\n COMMAND:\n ```text\nShow me the park name, description, location, and entry fee status of national parks with \"Yellowstone\" exactly contained in the park name and established after the year 1870.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NationalPark(\n where: {\n operator: And,\n operands: [\n {\n path: [\"parkName\"],\n operator: Like,\n valueText: \"*Yellowstone*\"\n },\n {\n path: [\"establishedYear\"],\n operator: GreaterThan,\n valueInt: 1870\n }\n ]\n }\n ) {\n parkName\n description\n location\n isEntryFree\n }\n }\n}\n```", "nlcommand": "```text\nShow me the park name, description, location, and entry fee status of national parks with \"Yellowstone\" exactly contained in the park name and established after the year 1870.\n```", "apiRef": "Multiple-condition filters\n\nTo add a multiple-condition filter, you must set the operator to And or Or, and set two or more conditions under the corresponding operands parameter.\n\nThe following example specifies and And condition, so that both:\n\nthe round property must equal \"Double Jeopardy!\", and\nthe points property must be less than 600.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n operator: And,\n operands: [\n {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n },\n {\n path: [\"points\"],\n operator: LessThan,\n valueInt: 600\n },\n ]\n\n }\n ) {\n question\n answer\n round\n points\n }\n }\n}\n```", "apiRefPath": "get-where-multiple-conditions.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}", "schemaPath": "nationalparks.json", "modelOutput": "{\n Get {\n NationalPark(\n where: {\n operator: And,\n operands: [\n {\n path: [\"parkName\"],\n operator: Like,\n valueText: \"*Yellowstone*\"\n },\n {\n path: [\"establishedYear\"],\n operator: GreaterThan,\n valueInt: 1870\n }\n ]\n }\n ) {\n parkName\n description\n location\n isEntryFree\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}\n\n COMMAND:\n ```text\nShow me the pet name, breed, owner's full name, address, and contact number of dogs that are older than 2 years.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Pet(\n where: {\n operator: And,\n operands: [\n {\n path: [\"species\"],\n operator: Equal,\n valueText: \"Dog\"\n },\n {\n path: [\"age\"],\n operator: GreaterThan,\n valueInt: 2\n }\n ]\n }\n ) {\n petName\n breed\n owner {\n ... on Person {\n fullName\n address\n contactNumber\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the pet name, breed, owner's full name, address, and contact number of dogs that are older than 2 years.\n```", "apiRef": "Multiple-condition filters\n\nTo add a multiple-condition filter, you must set the operator to And or Or, and set two or more conditions under the corresponding operands parameter.\n\nThe following example specifies and And condition, so that both:\n\nthe round property must equal \"Double Jeopardy!\", and\nthe points property must be less than 600.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n operator: And,\n operands: [\n {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n },\n {\n path: [\"points\"],\n operator: LessThan,\n valueInt: 600\n },\n ]\n\n }\n ) {\n question\n answer\n round\n points\n }\n }\n}\n```", "apiRefPath": "get-where-multiple-conditions.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}", "schemaPath": "pets.json", "modelOutput": "{\n Get {\n Pet(\n where: {\n path: [\"age\"],\n operator: GreaterThan,\n valueInt: 2\n }\n ) {\n petName\n species\n owner {\n ... on Person {\n fullName\n address\n contactNumber\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}\n\n COMMAND:\n ```text\nShow me the name, material, gemstone name and hardness, price, and handmade status of jewelry items with \"necklace\" exactly contained in the name and a price less than 500.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n JewelryItem(\n where: {\n operator: And,\n operands: [\n {\n path: [\"name\"],\n operator: Like,\n valueText: \"*necklace*\"\n },\n {\n path: [\"price\"],\n operator: LessThan,\n valueNumber: 500\n }\n ]\n }\n ) {\n name\n material\n gemstone {\n ... on Gemstone {\n name\n hardness\n }\n }\n price\n isHandmade\n }\n }\n}\n```", "nlcommand": "```text\nShow me the name, material, gemstone name and hardness, price, and handmade status of jewelry items with \"necklace\" exactly contained in the name and a price less than 500.\n```", "apiRef": "Multiple-condition filters\n\nTo add a multiple-condition filter, you must set the operator to And or Or, and set two or more conditions under the corresponding operands parameter.\n\nThe following example specifies and And condition, so that both:\n\nthe round property must equal \"Double Jeopardy!\", and\nthe points property must be less than 600.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n operator: And,\n operands: [\n {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n },\n {\n path: [\"points\"],\n operator: LessThan,\n valueInt: 600\n },\n ]\n\n }\n ) {\n question\n answer\n round\n points\n }\n }\n}\n```", "apiRefPath": "get-where-multiple-conditions.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}", "schemaPath": "jewelry.json", "modelOutput": "{\n Get {\n JewelryItem(\n where: {\n operator: And,\n operands: [\n {\n path: [\"name\"],\n operator: Like,\n valueText: \"*necklace*\"\n },\n {\n path: [\"price\"],\n operator: LessThan,\n valueNumber: 500\n }\n ]\n }\n ) {\n name\n material\n gemstone {\n ... on Gemstone {\n name\n hardness\n }\n }\n price\n isHandmade\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}\n\n COMMAND:\n ```text\nShow me the mission name, objective, and mission status of space missions with \"Apollo\" anywhere in the mission name and a launch year greater than 1960.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n SpaceMission(\n where: {\n operator: And,\n operands: [\n {\n path: [\"missionName\"],\n operator: Like,\n valueText: \"*Apollo*\"\n },\n {\n path: [\"launchYear\"],\n operator: GreaterThan,\n valueInt: 1960\n }\n ]\n }\n ) {\n missionName\n objective\n missionStatus\n }\n }\n}\n```", "nlcommand": "```text\nShow me the mission name, objective, and mission status of space missions with \"Apollo\" anywhere in the mission name and a launch year greater than 1960.\n```", "apiRef": "Multiple-condition filters\n\nTo add a multiple-condition filter, you must set the operator to And or Or, and set two or more conditions under the corresponding operands parameter.\n\nThe following example specifies and And condition, so that both:\n\nthe round property must equal \"Double Jeopardy!\", and\nthe points property must be less than 600.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n operator: And,\n operands: [\n {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n },\n {\n path: [\"points\"],\n operator: LessThan,\n valueInt: 600\n },\n ]\n\n }\n ) {\n question\n answer\n round\n points\n }\n }\n}\n```", "apiRefPath": "get-where-multiple-conditions.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}", "schemaPath": "spaceexploration.json", "modelOutput": "{\n Get {\n SpaceMission(\n where: {\n operator: And,\n operands: [\n {\n path: [\"missionName\"],\n operator: Like,\n valueText: \"*Apollo*\"\n },\n {\n path: [\"launchYear\"],\n operator: GreaterThan,\n valueInt: 1960\n }\n ]\n }\n ) {\n missionName\n objective\n missionStatus\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}\n\n COMMAND:\n ```text\nShow me the name, mission, and focus area of non-profit organizations with \"charity\" exactly contained in the name and founded after the year 2000.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NonProfit(\n where: {\n operator: And,\n operands: [\n {\n path: [\"name\"],\n operator: Like,\n valueText: \"*charity*\"\n },\n {\n path: [\"foundedYear\"],\n operator: GreaterThan,\n valueInt: 2000\n }\n ]\n }\n ) {\n name\n mission\n focusArea\n }\n }\n}\n```", "nlcommand": "```text\nShow me the name, mission, and focus area of non-profit organizations with \"charity\" exactly contained in the name and founded after the year 2000.\n```", "apiRef": "Multiple-condition filters\n\nTo add a multiple-condition filter, you must set the operator to And or Or, and set two or more conditions under the corresponding operands parameter.\n\nThe following example specifies and And condition, so that both:\n\nthe round property must equal \"Double Jeopardy!\", and\nthe points property must be less than 600.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n operator: And,\n operands: [\n {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n },\n {\n path: [\"points\"],\n operator: LessThan,\n valueInt: 600\n },\n ]\n\n }\n ) {\n question\n answer\n round\n points\n }\n }\n}\n```", "apiRefPath": "get-where-multiple-conditions.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}", "schemaPath": "nonprofits.json", "modelOutput": "{\n Get {\n NonProfit(\n where: {\n operator: And,\n operands: [\n {\n path: [\"name\"],\n operator: Like,\n valueText: \"*charity*\"\n },\n {\n path: [\"foundedYear\"],\n operator: GreaterThan,\n valueInt: 2000\n }\n ]\n }\n ) {\n name\n mission\n focusArea\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}\n\n COMMAND:\n ```text\nShow me the name, description, platform, and developer information of augmented reality applications with \"augmented reality\" anywhere in the name and available on iOS.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ARApplication(\n where: {\n operator: And,\n operands: [\n {\n path: [\"appName\"],\n operator: Like,\n valueText: \"*augmented reality*\"\n },\n {\n path: [\"platform\"],\n operator: Equal,\n valueText: \"iOS\"\n }\n ]\n }\n ) {\n appName\n description\n platform\n developer {\n ... on SoftwareCompany {\n companyName\n foundedYear\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the name, description, platform, and developer information of augmented reality applications with \"augmented reality\" anywhere in the name and available on iOS.\n```", "apiRef": "Multiple-condition filters\n\nTo add a multiple-condition filter, you must set the operator to And or Or, and set two or more conditions under the corresponding operands parameter.\n\nThe following example specifies and And condition, so that both:\n\nthe round property must equal \"Double Jeopardy!\", and\nthe points property must be less than 600.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n operator: And,\n operands: [\n {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n },\n {\n path: [\"points\"],\n operator: LessThan,\n valueInt: 600\n },\n ]\n\n }\n ) {\n question\n answer\n round\n points\n }\n }\n}\n```", "apiRefPath": "get-where-multiple-conditions.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}", "schemaPath": "augmentedreality.json", "modelOutput": "{\n Get {\n ARApplication(\n where: {\n operator: And,\n operands: [\n {\n path: [\"appName\"],\n operator: Like,\n valueText: \"*augmented reality*\"\n },\n {\n path: [\"platform\"],\n operator: Equal,\n valueText: \"iOS\"\n }\n ]\n }\n ) {\n appName\n description\n platform\n developer {\n ... on SoftwareCompany {\n companyName\n foundedYear\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}\n\n COMMAND:\n ```text\nGet me the chemical compounds with a hybrid search of 'organic', please use an alpha value of 0.75 in the hybrid search and perform the BM25 search on the compound name and formula properties, weighting formula twice as high. Please show the compound name, formula, molar mass, and information about the elements it contains including the element name, symbol, atomic number, and whether it is a metal.\n```\n\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ChemicalCompound(\n hybrid: {\n query: \"organic\",\n properties: [\"compoundName\", \"formula^2\"],\n alpha: 0.75\n },\n limit: 5\n ) {\n compoundName\n formula\n molarMass\n containsElements {\n ... on ChemicalElement {\n elementName\n symbol\n atomicNumber\n isMetal\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the chemical compounds with a hybrid search of 'organic', please use an alpha value of 0.75 in the hybrid search and perform the BM25 search on the compound name and formula properties, weighting formula twice as high. Please show the compound name, formula, molar mass, and information about the elements it contains including the element name, symbol, atomic number, and whether it is a metal.\n```\n", "apiRef": "Weight (boost) searched properties in Hybrid Search\n\nYou can specify weighting of object\u00a0`properties`\u00a0in how they affect the BM25F component of hybrid searches.\n\nThe below example searches for objects containing the keyword\u00a0`food`. The BM25 search is done in the\u00a0`question`\u00a0property and the\u00a0`answer`\u00a0property, with the\u00a0`question`\u00a0property's weighting boosted by 2, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n properties: [\"question^2\", \"answer\"],\n alpha: 0.25\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-weight-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}", "schemaPath": "chemicals.json", "modelOutput": "{\n Get {\n ChemicalCompound(\n hybrid: {\n query: \"organic\",\n properties: [\"compoundName\", \"formula^2\"],\n alpha: 0.75\n },\n limit: 5\n ) {\n compoundName\n formula\n molarMass\n containsElements {\n ... on ChemicalElement {\n elementName\n symbol\n isMetal\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the VR experiences with a hybrid search of 'action', please use an alpha value of 0.75 in the hybrid search and perform the BM25 search on the title and genre properties, weighting genre twice as high. Please show the title, developer's name, genre, release year, and whether it is multiplayer. \n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n VRExperience(\n hybrid: {\n query: \"action\",\n properties: [\"title\", \"genre^2\"],\n alpha: 0.75\n },\n limit: 10\n ) {\n title\n developer {\n ... on Developer {\n name\n }\n }\n genre\n releaseYear\n isMultiplayer\n }\n }\n}\n```", "nlcommand": "```text\nGet me the VR experiences with a hybrid search of 'action', please use an alpha value of 0.75 in the hybrid search and perform the BM25 search on the title and genre properties, weighting genre twice as high. Please show the title, developer's name, genre, release year, and whether it is multiplayer. \n```", "apiRef": "Weight (boost) searched properties in Hybrid Search\n\nYou can specify weighting of object\u00a0`properties`\u00a0in how they affect the BM25F component of hybrid searches.\n\nThe below example searches for objects containing the keyword\u00a0`food`. The BM25 search is done in the\u00a0`question`\u00a0property and the\u00a0`answer`\u00a0property, with the\u00a0`question`\u00a0property's weighting boosted by 2, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n properties: [\"question^2\", \"answer\"],\n alpha: 0.25\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-weight-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}", "schemaPath": "virtualreality.json", "modelOutput": "{\n Get {\n VRExperience(\n hybrid: {\n query: \"action\",\n properties: [\"title\", \"genre^2\"],\n alpha: 0.75\n },\n limit: 5\n ) {\n title\n developer {\n ... on Developer {\n name\n }\n }\n genre\n releaseYear\n isMultiplayer\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}\n\n COMMAND:\n ```text\nGet me the drugs with a hybrid search of 'headache', please use an alpha value of 0.75 in the hybrid search and perform the BM25 search on the drug name and active ingredient properties, weighting active ingredient twice as high. Please show the drug name, active ingredient, approval year, over-the-counter status, and manufacturer's company name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Drug(\n hybrid: {\n query: \"headache\",\n properties: [\"drugName\", \"activeIngredient^2\"],\n alpha: 0.75\n },\n limit: 10\n ) {\n drugName\n activeIngredient\n approvalYear\n isOTC\n manufacturer {\n ... on Manufacturer {\n companyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the drugs with a hybrid search of 'headache', please use an alpha value of 0.75 in the hybrid search and perform the BM25 search on the drug name and active ingredient properties, weighting active ingredient twice as high. Please show the drug name, active ingredient, approval year, over-the-counter status, and manufacturer's company name.\n```", "apiRef": "Weight (boost) searched properties in Hybrid Search\n\nYou can specify weighting of object\u00a0`properties`\u00a0in how they affect the BM25F component of hybrid searches.\n\nThe below example searches for objects containing the keyword\u00a0`food`. The BM25 search is done in the\u00a0`question`\u00a0property and the\u00a0`answer`\u00a0property, with the\u00a0`question`\u00a0property's weighting boosted by 2, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n properties: [\"question^2\", \"answer\"],\n alpha: 0.25\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-weight-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}", "schemaPath": "pharmaceuticals.json", "modelOutput": "{\n Get {\n Drug(\n hybrid: {\n query: \"headache\",\n properties: [\"drugName\", \"activeIngredient^2\"],\n alpha: 0.75\n },\n limit: 5\n ) {\n drugName\n activeIngredient\n approvalYear\n isOTC\n manufacturer {\n ... on Manufacturer {\n companyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}\n\n COMMAND:\n ```text\nGet me the film festivals with a hybrid search of 'Cannes', please use an alpha value of 0.75 in the hybrid search and perform the BM25 search on the festival name and description properties, weighting festival name twice as high. Please show the festival name, location, description, and the featured film's title and director.\n```\n\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n FilmFestival(\n hybrid: {\n query: \"Cannes\",\n properties: [\"festivalName^2\", \"description\"],\n alpha: 0.75\n },\n limit: 3\n ) {\n festivalName\n location\n description\n featuredFilm {\n ... on Film {\n filmTitle\n director\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the film festivals with a hybrid search of 'Cannes', please use an alpha value of 0.75 in the hybrid search and perform the BM25 search on the festival name and description properties, weighting festival name twice as high. Please show the festival name, location, description, and the featured film's title and director.\n```\n", "apiRef": "Weight (boost) searched properties in Hybrid Search\n\nYou can specify weighting of object\u00a0`properties`\u00a0in how they affect the BM25F component of hybrid searches.\n\nThe below example searches for objects containing the keyword\u00a0`food`. The BM25 search is done in the\u00a0`question`\u00a0property and the\u00a0`answer`\u00a0property, with the\u00a0`question`\u00a0property's weighting boosted by 2, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n properties: [\"question^2\", \"answer\"],\n alpha: 0.25\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-weight-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}", "schemaPath": "filmfestivals.json", "modelOutput": "{\n Get {\n FilmFestival(\n hybrid: {\n query: \"Cannes\",\n properties: [\"festivalName^2\", \"description\"],\n alpha: 0.75\n },\n limit: 5\n ) {\n festivalName\n location\n description\n featuredFilm {\n ... on Film {\n title\n director\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the boats with a hybrid search of 'sailboat', please use an alpha value of 0.75 in the hybrid search and perform the BM25 search on the boatName and type properties, weighting type twice as high. Please show the boatName, type, capacity, whether it is motorized, and the manufacturer's company name.\n```\n\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Boat(\n hybrid: {\n query: \"sailboat\",\n properties: [\"boatName\", \"type^2\"],\n alpha: 0.75\n },\n limit: 5\n ) {\n boatName\n type\n capacity\n isMotorized\n manufacturer {\n ... on BoatManufacturer {\n companyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the boats with a hybrid search of 'sailboat', please use an alpha value of 0.75 in the hybrid search and perform the BM25 search on the boatName and type properties, weighting type twice as high. Please show the boatName, type, capacity, whether it is motorized, and the manufacturer's company name.\n```\n", "apiRef": "Weight (boost) searched properties in Hybrid Search\n\nYou can specify weighting of object\u00a0`properties`\u00a0in how they affect the BM25F component of hybrid searches.\n\nThe below example searches for objects containing the keyword\u00a0`food`. The BM25 search is done in the\u00a0`question`\u00a0property and the\u00a0`answer`\u00a0property, with the\u00a0`question`\u00a0property's weighting boosted by 2, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n properties: [\"question^2\", \"answer\"],\n alpha: 0.25\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-weight-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}", "schemaPath": "boats.json", "modelOutput": "{\n Get {\n Boat(\n hybrid: {\n query: \"sailboat\",\n properties: [\"boatName\", \"type^2\"],\n alpha: 0.75\n },\n limit: 5\n ) {\n boatName\n type\n capacity\n isMotorized\n manufacturer {\n ... on BoatManufacturer {\n companyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}\n\n COMMAND:\n ```text\nGet me the national parks with a hybrid search of 'mountain', please use an alpha value of 0.75 in the hybrid search and perform the BM25 search on the park name and description properties, weighting description twice as high. Please show the park name, description, location, established year, entry fee status, wildlife, and facilities with their names and descriptions.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NationalPark(\n hybrid: {\n query: \"mountain\",\n properties: [\"parkName\", \"description^2\"],\n alpha: 0.75\n },\n limit: 3\n ) {\n parkName\n description\n location\n establishedYear\n isEntryFree\n wildlife\n facilities {\n ... on Facility {\n facilityName\n description\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the national parks with a hybrid search of 'mountain', please use an alpha value of 0.75 in the hybrid search and perform the BM25 search on the park name and description properties, weighting description twice as high. Please show the park name, description, location, established year, entry fee status, wildlife, and facilities with their names and descriptions.\n```", "apiRef": "Weight (boost) searched properties in Hybrid Search\n\nYou can specify weighting of object\u00a0`properties`\u00a0in how they affect the BM25F component of hybrid searches.\n\nThe below example searches for objects containing the keyword\u00a0`food`. The BM25 search is done in the\u00a0`question`\u00a0property and the\u00a0`answer`\u00a0property, with the\u00a0`question`\u00a0property's weighting boosted by 2, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n properties: [\"question^2\", \"answer\"],\n alpha: 0.25\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-weight-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}", "schemaPath": "nationalparks.json", "modelOutput": "{\n Get {\n NationalPark(\n hybrid: {\n query: \"mountain\",\n properties: [\"parkName\", \"description^2\"],\n alpha: 0.75\n },\n limit: 5\n ) {\n parkName\n description\n location\n establishedYear\n isEntryFree\n wildlife\n facilities {\n ... on Facility {\n facilityName\n description\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}\n\n COMMAND:\n ```text\nGet me the pets with a hybrid search of 'dog', please use an alpha value of 0.75 in the hybrid search and perform the BM25 search on the petName and breed properties, weighting breed twice as high. Please show the petName, species, breed, age, and owner's full name, address, and contact number.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Pet(\n hybrid: {\n query: \"dog\",\n properties: [\"petName\", \"breed^2\"],\n alpha: 0.75\n },\n limit: 5\n ) {\n petName\n species\n breed\n age\n owner {\n ... on Person {\n fullName\n address\n contactNumber\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the pets with a hybrid search of 'dog', please use an alpha value of 0.75 in the hybrid search and perform the BM25 search on the petName and breed properties, weighting breed twice as high. Please show the petName, species, breed, age, and owner's full name, address, and contact number.\n```", "apiRef": "Weight (boost) searched properties in Hybrid Search\n\nYou can specify weighting of object\u00a0`properties`\u00a0in how they affect the BM25F component of hybrid searches.\n\nThe below example searches for objects containing the keyword\u00a0`food`. The BM25 search is done in the\u00a0`question`\u00a0property and the\u00a0`answer`\u00a0property, with the\u00a0`question`\u00a0property's weighting boosted by 2, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n properties: [\"question^2\", \"answer\"],\n alpha: 0.25\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-weight-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}", "schemaPath": "pets.json", "modelOutput": "{\n Get {\n Pet(\n hybrid: {\n query: \"dog\",\n properties: [\"petName\", \"breed^2\"],\n alpha: 0.75\n },\n limit: 5\n ) {\n petName\n species\n breed\n age\n owner {\n ... on Person {\n fullName\n address\n contactNumber\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}\n\n COMMAND:\n ```text\nGet me the jewelry items with a hybrid search of 'necklace', please use an alpha value of 0.75 in the hybrid search and perform the BM25 search on the name and material properties, weighting name twice as high. Please show the name, material, gemstone's name and hardness, price, and whether it is handmade. Limit the results to 10.\n```\n\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n JewelryItem(\n hybrid: {\n query: \"necklace\",\n properties: [\"name^2\", \"material\"],\n alpha: 0.75\n },\n limit: 10\n ) {\n name\n material\n gemstone {\n ... on Gemstone {\n name\n hardness\n }\n }\n price\n isHandmade\n }\n }\n}\n```", "nlcommand": "```text\nGet me the jewelry items with a hybrid search of 'necklace', please use an alpha value of 0.75 in the hybrid search and perform the BM25 search on the name and material properties, weighting name twice as high. Please show the name, material, gemstone's name and hardness, price, and whether it is handmade. Limit the results to 10.\n```\n", "apiRef": "Weight (boost) searched properties in Hybrid Search\n\nYou can specify weighting of object\u00a0`properties`\u00a0in how they affect the BM25F component of hybrid searches.\n\nThe below example searches for objects containing the keyword\u00a0`food`. The BM25 search is done in the\u00a0`question`\u00a0property and the\u00a0`answer`\u00a0property, with the\u00a0`question`\u00a0property's weighting boosted by 2, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n properties: [\"question^2\", \"answer\"],\n alpha: 0.25\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-weight-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}", "schemaPath": "jewelry.json", "modelOutput": "{\n Get {\n JewelryItem(\n hybrid: {\n query: \"necklace\",\n properties: [\"name^2\", \"material\"],\n alpha: 0.75\n },\n limit: 10\n ) {\n name\n material\n gemstone {\n ... on Gemstone {\n name\n hardness\n }\n }\n price\n isHandmade\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}\n\n COMMAND:\n ```text\nGet me the space missions with a hybrid search of 'moon landing', please use an alpha value of 0.5 in the hybrid search and perform the BM25 search on the mission name and objective properties, weighting objective twice as high. Please show the mission name, objective, launch year, mission status, and space agency's name, founded year, and headquarters.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n SpaceMission(\n hybrid: {\n query: \"moon landing\",\n properties: [\"missionName\", \"objective^2\"],\n alpha: 0.5\n },\n limit: 5\n ) {\n missionName\n objective\n launchYear\n missionStatus\n spaceAgency {\n ... on SpaceAgency {\n agencyName\n foundedYear\n headquarters\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the space missions with a hybrid search of 'moon landing', please use an alpha value of 0.5 in the hybrid search and perform the BM25 search on the mission name and objective properties, weighting objective twice as high. Please show the mission name, objective, launch year, mission status, and space agency's name, founded year, and headquarters.\n```", "apiRef": "Weight (boost) searched properties in Hybrid Search\n\nYou can specify weighting of object\u00a0`properties`\u00a0in how they affect the BM25F component of hybrid searches.\n\nThe below example searches for objects containing the keyword\u00a0`food`. The BM25 search is done in the\u00a0`question`\u00a0property and the\u00a0`answer`\u00a0property, with the\u00a0`question`\u00a0property's weighting boosted by 2, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n properties: [\"question^2\", \"answer\"],\n alpha: 0.25\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-weight-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}", "schemaPath": "spaceexploration.json", "modelOutput": "{\n Get {\n SpaceMission(\n hybrid: {\n query: \"moon landing\",\n properties: [\"missionName\", \"objective^2\"],\n alpha: 0.5\n },\n limit: 5\n ) {\n missionName\n objective\n launchYear\n missionStatus\n spaceAgency {\n ... on SpaceAgency {\n agencyName\n foundedYear\n headquarters\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}\n\n COMMAND:\n ```text\nGet me the non-profit organizations with a hybrid search of 'education', please use an alpha value of 0.5 in the hybrid search and perform the BM25 search on the name and mission properties, weighting mission twice as high. Please show the name, mission, founded year, focus area, and founder's full name.\n```\n\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NonProfit(\n hybrid: {\n query: \"education\",\n properties: [\"name\", \"mission^2\"],\n alpha: 0.5\n },\n limit: 5\n ) {\n name\n mission\n foundedYear\n focusArea\n founder {\n ... on Person {\n fullName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the non-profit organizations with a hybrid search of 'education', please use an alpha value of 0.5 in the hybrid search and perform the BM25 search on the name and mission properties, weighting mission twice as high. Please show the name, mission, founded year, focus area, and founder's full name.\n```\n", "apiRef": "Weight (boost) searched properties in Hybrid Search\n\nYou can specify weighting of object\u00a0`properties`\u00a0in how they affect the BM25F component of hybrid searches.\n\nThe below example searches for objects containing the keyword\u00a0`food`. The BM25 search is done in the\u00a0`question`\u00a0property and the\u00a0`answer`\u00a0property, with the\u00a0`question`\u00a0property's weighting boosted by 2, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n properties: [\"question^2\", \"answer\"],\n alpha: 0.25\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-weight-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}", "schemaPath": "nonprofits.json", "modelOutput": "{\n Get {\n NonProfit(\n hybrid: {\n query: \"education\",\n properties: [\"name\", \"mission^2\"],\n alpha: 0.5\n },\n limit: 5\n ) {\n name\n mission\n foundedYear\n focusArea\n founder {\n ... on Person {\n fullName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}\n\n COMMAND:\n ```text\nGet me the AR applications with a hybrid search of 'augmented reality', please use an alpha value of 0.75 in the hybrid search and perform the BM25 search on the appName and description properties, weighting description twice as high. Please show the appName, description, platform, and developer's company name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ARApplication(\n hybrid: {\n query: \"augmented reality\",\n properties: [\"appName\", \"description^2\"],\n alpha: 0.75\n },\n limit: 10\n ) {\n appName\n description\n platform\n developer {\n ... on SoftwareCompany {\n companyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the AR applications with a hybrid search of 'augmented reality', please use an alpha value of 0.75 in the hybrid search and perform the BM25 search on the appName and description properties, weighting description twice as high. Please show the appName, description, platform, and developer's company name.\n```", "apiRef": "Weight (boost) searched properties in Hybrid Search\n\nYou can specify weighting of object\u00a0`properties`\u00a0in how they affect the BM25F component of hybrid searches.\n\nThe below example searches for objects containing the keyword\u00a0`food`. The BM25 search is done in the\u00a0`question`\u00a0property and the\u00a0`answer`\u00a0property, with the\u00a0`question`\u00a0property's weighting boosted by 2, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n properties: [\"question^2\", \"answer\"],\n alpha: 0.25\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-weight-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}", "schemaPath": "augmentedreality.json", "modelOutput": "{\n Get {\n ARApplication(\n hybrid: {\n query: \"augmented reality\",\n properties: [\"appName\", \"description^2\"],\n alpha: 0.75\n },\n limit: 5\n ) {\n appName\n description\n platform\n developer {\n ... on SoftwareCompany {\n companyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}\n\n COMMAND:\n ```text\nGet me the chemical compounds with a hybrid search of 'organic', and show the compound name, formula, molar mass, and the elements it contains. Limit the results to 5.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ChemicalCompound(\n hybrid: {\n query: \"organic\"\n },\n limit: 5\n ) {\n compoundName\n formula\n molarMass\n containsElements {\n ... on ChemicalElement {\n elementName\n symbol\n atomicNumber\n isMetal\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the chemical compounds with a hybrid search of 'organic', and show the compound name, formula, molar mass, and the elements it contains. Limit the results to 5.\n```", "apiRef": "Basic hybrid search\n\nTo use hybrid search, you must provide a search string as a minimum.\n\nThe below example uses default settings, looking for:\n\n- Objects containing the keyword\u00a0`food`\u00a0anywhere in the object, and\n- Objects most similar to the vector of\u00a0`food`.\n\nIt ranks the results using a combination of the\u00a0`bm25`\u00a0and vector search rankings, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\"\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}", "schemaPath": "chemicals.json", "modelOutput": "{\n Get {\n ChemicalElement(\n hybrid: {\n query: \"organic\"\n },\n limit: 5\n ) {\n elementName\n symbol\n atomicNumber\n isMetal\n containsElements {\n ... on ChemicalElement {\n elementName\n symbol\n atomicNumber\n isMetal\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the VR experiences with a hybrid search of 'action', and show the title, developer's name, genre, release year, and whether it is multiplayer. Limit the results to 10.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n VRExperience(\n hybrid: {\n query: \"action\"\n },\n limit: 10\n ) {\n title\n developer {\n ... on Developer {\n name\n }\n }\n genre\n releaseYear\n isMultiplayer\n }\n }\n}\n```", "nlcommand": "```text\nGet me the VR experiences with a hybrid search of 'action', and show the title, developer's name, genre, release year, and whether it is multiplayer. Limit the results to 10.\n```", "apiRef": "Basic hybrid search\n\nTo use hybrid search, you must provide a search string as a minimum.\n\nThe below example uses default settings, looking for:\n\n- Objects containing the keyword\u00a0`food`\u00a0anywhere in the object, and\n- Objects most similar to the vector of\u00a0`food`.\n\nIt ranks the results using a combination of the\u00a0`bm25`\u00a0and vector search rankings, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\"\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}", "schemaPath": "virtualreality.json", "modelOutput": "{\n Get {\n VRExperience(\n hybrid: {\n query: \"action\"\n },\n limit: 10\n ) {\n title\n developer {\n ... on Developer {\n name\n }\n }\n genre\n releaseYear\n isMultiplayer\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}\n\n COMMAND:\n ```text\nGet me the drugs with a hybrid search of 'pain relief', and show the drug name, active ingredient, approval year, over-the-counter status, and manufacturer's company name. Limit the results to 5.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Drug(\n hybrid: {\n query: \"pain relief\"\n },\n limit: 5\n ) {\n drugName\n activeIngredient\n approvalYear\n isOTC\n manufacturer {\n ... on Manufacturer {\n companyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the drugs with a hybrid search of 'pain relief', and show the drug name, active ingredient, approval year, over-the-counter status, and manufacturer's company name. Limit the results to 5.\n```", "apiRef": "Basic hybrid search\n\nTo use hybrid search, you must provide a search string as a minimum.\n\nThe below example uses default settings, looking for:\n\n- Objects containing the keyword\u00a0`food`\u00a0anywhere in the object, and\n- Objects most similar to the vector of\u00a0`food`.\n\nIt ranks the results using a combination of the\u00a0`bm25`\u00a0and vector search rankings, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\"\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}", "schemaPath": "pharmaceuticals.json", "modelOutput": "{\n Get {\n Drug(\n hybrid: {\n query: \"pain relief\"\n },\n limit: 5\n ) {\n drugName\n activeIngredient\n approvalYear\n isOTC\n manufacturer {\n ... on Manufacturer {\n companyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}\n\n COMMAND:\n ```text\nGet me the film festivals with a hybrid search of 'Cannes', and show the festival name, location, description, and featured film's title and director. Limit the results to 3.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n FilmFestival(\n hybrid: {\n query: \"Cannes\"\n },\n limit: 3\n ) {\n festivalName\n location\n description\n featuredFilm {\n ... on Film {\n filmTitle\n director\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the film festivals with a hybrid search of 'Cannes', and show the festival name, location, description, and featured film's title and director. Limit the results to 3.\n```", "apiRef": "Basic hybrid search\n\nTo use hybrid search, you must provide a search string as a minimum.\n\nThe below example uses default settings, looking for:\n\n- Objects containing the keyword\u00a0`food`\u00a0anywhere in the object, and\n- Objects most similar to the vector of\u00a0`food`.\n\nIt ranks the results using a combination of the\u00a0`bm25`\u00a0and vector search rankings, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\"\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}", "schemaPath": "filmfestivals.json", "modelOutput": "{\n Get {\n FilmFestival(\n hybrid: {\n query: \"Cannes\"\n },\n limit: 3\n ) {\n festivalName\n location\n description\n featuredFilm {\n ... on Film {\n title\n director\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the boats with a hybrid search of 'sailboat', and show the boat name, type, capacity, motorization status, and manufacturer's company name. Limit the results to 5.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Boat(\n hybrid: {\n query: \"sailboat\"\n },\n limit: 5\n ) {\n boatName\n type\n capacity\n isMotorized\n manufacturer {\n ... on BoatManufacturer {\n companyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the boats with a hybrid search of 'sailboat', and show the boat name, type, capacity, motorization status, and manufacturer's company name. Limit the results to 5.\n```", "apiRef": "Basic hybrid search\n\nTo use hybrid search, you must provide a search string as a minimum.\n\nThe below example uses default settings, looking for:\n\n- Objects containing the keyword\u00a0`food`\u00a0anywhere in the object, and\n- Objects most similar to the vector of\u00a0`food`.\n\nIt ranks the results using a combination of the\u00a0`bm25`\u00a0and vector search rankings, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\"\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}", "schemaPath": "boats.json", "modelOutput": "{\n Get {\n Boat(\n hybrid: {\n query: \"sailboat\"\n },\n limit: 5\n ) {\n boatName\n type\n capacity\n isMotorized\n manufacturer {\n ... on BoatManufacturer {\n companyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 3 national parks with a hybrid search of 'mountain', and show me the park name, description, location, established year, entry fee status, wildlife, and facilities with their names and descriptions.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NationalPark(\n hybrid: {\n query: \"mountain\"\n },\n limit: 3\n ) {\n parkName\n description\n location\n establishedYear\n isEntryFree\n wildlife\n facilities {\n ... on Facility {\n facilityName\n description\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 3 national parks with a hybrid search of 'mountain', and show me the park name, description, location, established year, entry fee status, wildlife, and facilities with their names and descriptions.\n```", "apiRef": "Basic hybrid search\n\nTo use hybrid search, you must provide a search string as a minimum.\n\nThe below example uses default settings, looking for:\n\n- Objects containing the keyword\u00a0`food`\u00a0anywhere in the object, and\n- Objects most similar to the vector of\u00a0`food`.\n\nIt ranks the results using a combination of the\u00a0`bm25`\u00a0and vector search rankings, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\"\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}", "schemaPath": "nationalparks.json", "modelOutput": "{\n Get {\n NationalPark(\n hybrid: {\n query: \"mountain\"\n },\n limit: 3\n ) {\n parkName\n description\n location\n establishedYear\n isEntryFree\n wildlife\n facilities {\n ... on Facility {\n facilityName\n description\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}\n\n COMMAND:\n ```text\nGet me the pets with a hybrid search of 'dog', and show the pet name, species, breed, age, owner's full name, address, and contact number. Limit the results to 5.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Pet(\n hybrid: {\n query: \"dog\"\n },\n limit: 5\n ) {\n petName\n species\n breed\n age\n owner {\n ... on Person {\n fullName\n address\n contactNumber\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the pets with a hybrid search of 'dog', and show the pet name, species, breed, age, owner's full name, address, and contact number. Limit the results to 5.\n```", "apiRef": "Basic hybrid search\n\nTo use hybrid search, you must provide a search string as a minimum.\n\nThe below example uses default settings, looking for:\n\n- Objects containing the keyword\u00a0`food`\u00a0anywhere in the object, and\n- Objects most similar to the vector of\u00a0`food`.\n\nIt ranks the results using a combination of the\u00a0`bm25`\u00a0and vector search rankings, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\"\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}", "schemaPath": "pets.json", "modelOutput": "{\n Get {\n Pet(\n hybrid: {\n query: \"dog\"\n },\n limit: 5\n ) {\n petName\n species\n breed\n age\n owner {\n ... on Person {\n fullName\n address\n contactNumber\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}\n\n COMMAND:\n ```text\nGet me the jewelry items with a hybrid search of 'necklace', limit the results to 10, and show the name, material, gemstone's name and hardness, price, and whether it is handmade.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n JewelryItem(\n hybrid: {\n query: \"necklace\"\n },\n limit: 10\n ) {\n name\n material\n gemstone {\n ... on Gemstone {\n name\n hardness\n }\n }\n price\n isHandmade\n }\n }\n}\n```", "nlcommand": "```text\nGet me the jewelry items with a hybrid search of 'necklace', limit the results to 10, and show the name, material, gemstone's name and hardness, price, and whether it is handmade.\n```", "apiRef": "Basic hybrid search\n\nTo use hybrid search, you must provide a search string as a minimum.\n\nThe below example uses default settings, looking for:\n\n- Objects containing the keyword\u00a0`food`\u00a0anywhere in the object, and\n- Objects most similar to the vector of\u00a0`food`.\n\nIt ranks the results using a combination of the\u00a0`bm25`\u00a0and vector search rankings, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\"\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}", "schemaPath": "jewelry.json", "modelOutput": "{\n Get {\n JewelryItem(\n hybrid: {\n query: \"necklace\"\n },\n limit: 10\n ) {\n name\n material\n gemstone {\n ... on Gemstone {\n name\n hardness\n }\n }\n price\n isHandmade\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}\n\n COMMAND:\n ```text\nGet me the space missions with a hybrid search of 'moon landing', and show the mission name, objective, launch year, mission status, and space agency's name. Limit the results to 5.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n SpaceMission(\n hybrid: {\n query: \"moon landing\"\n },\n limit: 5\n ) {\n missionName\n objective\n launchYear\n missionStatus\n spaceAgency {\n ... on SpaceAgency {\n agencyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the space missions with a hybrid search of 'moon landing', and show the mission name, objective, launch year, mission status, and space agency's name. Limit the results to 5.\n```", "apiRef": "Basic hybrid search\n\nTo use hybrid search, you must provide a search string as a minimum.\n\nThe below example uses default settings, looking for:\n\n- Objects containing the keyword\u00a0`food`\u00a0anywhere in the object, and\n- Objects most similar to the vector of\u00a0`food`.\n\nIt ranks the results using a combination of the\u00a0`bm25`\u00a0and vector search rankings, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\"\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}", "schemaPath": "spaceexploration.json", "modelOutput": "{\n Get {\n SpaceMission(\n hybrid: {\n query: \"moon landing\"\n },\n limit: 5\n ) {\n missionName\n objective\n launchYear\n missionStatus\n spaceAgency {\n ... on SpaceAgency {\n agencyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}\n\n COMMAND:\n ```text\nGet me the non-profit organizations with a hybrid search of 'education', and show the name, mission, founded year, focus area, and founder's full name and bio. Limit the results to 10.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NonProfit(\n hybrid: {\n query: \"education\"\n },\n limit: 10\n ) {\n name\n mission\n foundedYear\n focusArea\n founder {\n ... on Person {\n fullName\n bio\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the non-profit organizations with a hybrid search of 'education', and show the name, mission, founded year, focus area, and founder's full name and bio. Limit the results to 10.\n```", "apiRef": "Basic hybrid search\n\nTo use hybrid search, you must provide a search string as a minimum.\n\nThe below example uses default settings, looking for:\n\n- Objects containing the keyword\u00a0`food`\u00a0anywhere in the object, and\n- Objects most similar to the vector of\u00a0`food`.\n\nIt ranks the results using a combination of the\u00a0`bm25`\u00a0and vector search rankings, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\"\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}", "schemaPath": "nonprofits.json", "modelOutput": "{\n Get {\n NonProfit(\n hybrid: {\n query: \"education\"\n },\n limit: 10\n ) {\n name\n mission\n foundedYear\n focusArea\n founder {\n ... on Person {\n fullName\n bio\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}\n\n COMMAND:\n ```text\nGet me the AR applications with a hybrid search of 'augmented reality', and show the application name, description, platform, and developer's company name. Limit the results to 5.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ARApplication(\n hybrid: {\n query: \"augmented reality\"\n },\n limit: 5\n ) {\n appName\n description\n platform\n developer {\n ... on SoftwareCompany {\n companyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the AR applications with a hybrid search of 'augmented reality', and show the application name, description, platform, and developer's company name. Limit the results to 5.\n```", "apiRef": "Basic hybrid search\n\nTo use hybrid search, you must provide a search string as a minimum.\n\nThe below example uses default settings, looking for:\n\n- Objects containing the keyword\u00a0`food`\u00a0anywhere in the object, and\n- Objects most similar to the vector of\u00a0`food`.\n\nIt ranks the results using a combination of the\u00a0`bm25`\u00a0and vector search rankings, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\"\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}", "schemaPath": "augmentedreality.json", "modelOutput": "{\n Get {\n ARApplication(\n hybrid: {\n query: \"augmented reality\"\n },\n limit: 5\n ) {\n appName\n description\n platform\n developer {\n ... on SoftwareCompany {\n companyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 10 chemical compounds with BM25 scoring of the query 'organic chemistry', and show the compound name, formula, molar mass, and information about the elements they contain including element name, symbol, atomic number, and whether it is a metal.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ChemicalCompound(\n bm25: {\n query: \"organic chemistry\"\n },\n limit: 10\n ) {\n compoundName\n formula\n molarMass\n containsElements {\n ... on ChemicalElement {\n elementName\n symbol\n atomicNumber\n isMetal\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 10 chemical compounds with BM25 scoring of the query 'organic chemistry', and show the compound name, formula, molar mass, and information about the elements they contain including element name, symbol, atomic number, and whether it is a metal.\n```", "apiRef": "1. Limit BM25 search results\n\nLimit the results[]\n\nYou can limit the number of results returned by a\u00a0`bm25`\u00a0search,\n\n- to a fixed number, using the\u00a0`limit: `\u00a0operator\n- to the first N \"drops\" in\u00a0`score`, using the\u00a0`autocut`\u00a0operator\n\n`autocut`\u00a0can be combined with\u00a0`limit: N`, which would limit autocut's input to the first\u00a0`N`\u00a0objects.\n\nLimiting the number of results\n\nUse the\u00a0`limit`\u00a0argument to specify the maximum number of results that should be returned:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"safety\"\n },\n limit: 3\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}", "schemaPath": "chemicals.json", "modelOutput": "{\n Get {\n ChemicalCompound(\n bm25: {\n query: \"organic chemistry\"\n },\n limit: 10\n ) {\n compoundName\n formula\n molarMass\n containsElements {\n ... on ChemicalElement {\n elementName\n symbol\n isMetal\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 10 VR experiences with BM25 scoring of the query 'action', and show the title, developer's name, genre, release year, and whether it is multiplayer.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n VRExperience(\n bm25: {\n query: \"action\"\n },\n limit: 10\n ) {\n title\n developer {\n ... on Developer {\n name\n }\n }\n genre\n releaseYear\n isMultiplayer\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 10 VR experiences with BM25 scoring of the query 'action', and show the title, developer's name, genre, release year, and whether it is multiplayer.\n```", "apiRef": "1. Limit BM25 search results\n\nLimit the results[]\n\nYou can limit the number of results returned by a\u00a0`bm25`\u00a0search,\n\n- to a fixed number, using the\u00a0`limit: `\u00a0operator\n- to the first N \"drops\" in\u00a0`score`, using the\u00a0`autocut`\u00a0operator\n\n`autocut`\u00a0can be combined with\u00a0`limit: N`, which would limit autocut's input to the first\u00a0`N`\u00a0objects.\n\nLimiting the number of results\n\nUse the\u00a0`limit`\u00a0argument to specify the maximum number of results that should be returned:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"safety\"\n },\n limit: 3\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}", "schemaPath": "virtualreality.json", "modelOutput": "{\n Get {\n VRExperience(\n bm25: {\n query: \"action\"\n },\n limit: 10\n ) {\n title\n developer {\n ... on Developer {\n name\n }\n }\n genre\n releaseYear\n isMultiplayer\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 10 drugs with BM25 scoring of the query 'headache', and show the drug name, active ingredient, approval year, over-the-counter status, manufacturer's company name, year founded, headquarters location, and global presence.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Drug(\n bm25: {\n query: \"headache\"\n },\n limit: 10\n ) {\n drugName\n activeIngredient\n approvalYear\n isOTC\n manufacturer {\n ... on Manufacturer {\n companyName\n foundedYear\n headquarters\n isGlobal\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 10 drugs with BM25 scoring of the query 'headache', and show the drug name, active ingredient, approval year, over-the-counter status, manufacturer's company name, year founded, headquarters location, and global presence.\n```", "apiRef": "1. Limit BM25 search results\n\nLimit the results[]\n\nYou can limit the number of results returned by a\u00a0`bm25`\u00a0search,\n\n- to a fixed number, using the\u00a0`limit: `\u00a0operator\n- to the first N \"drops\" in\u00a0`score`, using the\u00a0`autocut`\u00a0operator\n\n`autocut`\u00a0can be combined with\u00a0`limit: N`, which would limit autocut's input to the first\u00a0`N`\u00a0objects.\n\nLimiting the number of results\n\nUse the\u00a0`limit`\u00a0argument to specify the maximum number of results that should be returned:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"safety\"\n },\n limit: 3\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}", "schemaPath": "pharmaceuticals.json", "modelOutput": "{\n Get {\n Drug(\n bm25: {\n query: \"headache\"\n },\n limit: 10\n ) {\n drugName\n activeIngredient\n approvalYear\n isOTC\n manufacturer {\n ... on Manufacturer {\n companyName\n foundedYear\n headquarters\n isGlobal\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 10 film festivals with BM25 scoring of the query 'Cannes', and show the festival name, location, description, and featured film's title and director.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n FilmFestival(\n bm25: {\n query: \"Cannes\"\n },\n limit: 10\n ) {\n festivalName\n location\n description\n featuredFilm {\n ... on Film {\n filmTitle\n director\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 10 film festivals with BM25 scoring of the query 'Cannes', and show the festival name, location, description, and featured film's title and director.\n```", "apiRef": "1. Limit BM25 search results\n\nLimit the results[]\n\nYou can limit the number of results returned by a\u00a0`bm25`\u00a0search,\n\n- to a fixed number, using the\u00a0`limit: `\u00a0operator\n- to the first N \"drops\" in\u00a0`score`, using the\u00a0`autocut`\u00a0operator\n\n`autocut`\u00a0can be combined with\u00a0`limit: N`, which would limit autocut's input to the first\u00a0`N`\u00a0objects.\n\nLimiting the number of results\n\nUse the\u00a0`limit`\u00a0argument to specify the maximum number of results that should be returned:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"safety\"\n },\n limit: 3\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}", "schemaPath": "filmfestivals.json", "modelOutput": "{\n Get {\n FilmFestival(\n bm25: {\n query: \"Cannes\"\n },\n limit: 10\n ) {\n festivalName\n location\n description\n featuredFilm {\n ... on Film {\n title\n director\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 5 boats with BM25 scoring of the query 'sailboat', and show the boat name, type, capacity, motorization status, and manufacturer's company name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Boat(\n bm25: {\n query: \"sailboat\"\n },\n limit: 5\n ) {\n boatName\n type\n capacity\n isMotorized\n manufacturer {\n ... on BoatManufacturer {\n companyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 5 boats with BM25 scoring of the query 'sailboat', and show the boat name, type, capacity, motorization status, and manufacturer's company name.\n```", "apiRef": "1. Limit BM25 search results\n\nLimit the results[]\n\nYou can limit the number of results returned by a\u00a0`bm25`\u00a0search,\n\n- to a fixed number, using the\u00a0`limit: `\u00a0operator\n- to the first N \"drops\" in\u00a0`score`, using the\u00a0`autocut`\u00a0operator\n\n`autocut`\u00a0can be combined with\u00a0`limit: N`, which would limit autocut's input to the first\u00a0`N`\u00a0objects.\n\nLimiting the number of results\n\nUse the\u00a0`limit`\u00a0argument to specify the maximum number of results that should be returned:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"safety\"\n },\n limit: 3\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}", "schemaPath": "boats.json", "modelOutput": "{\n Get {\n Boat(\n bm25: {\n query: \"sailboat\"\n },\n limit: 5\n ) {\n boatName\n type\n capacity\n isMotorized\n manufacturer {\n ... on BoatManufacturer {\n companyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 10 national parks with BM25 scoring of the query 'mountain', and show the park name, description, location, established year, entry fee status, wildlife, and facilities with their names and descriptions.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NationalPark(\n bm25: {\n query: \"mountain\"\n },\n limit: 10\n ) {\n parkName\n description\n location\n establishedYear\n isEntryFree\n wildlife\n facilities {\n ... on Facility {\n facilityName\n description\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 10 national parks with BM25 scoring of the query 'mountain', and show the park name, description, location, established year, entry fee status, wildlife, and facilities with their names and descriptions.\n```", "apiRef": "1. Limit BM25 search results\n\nLimit the results[]\n\nYou can limit the number of results returned by a\u00a0`bm25`\u00a0search,\n\n- to a fixed number, using the\u00a0`limit: `\u00a0operator\n- to the first N \"drops\" in\u00a0`score`, using the\u00a0`autocut`\u00a0operator\n\n`autocut`\u00a0can be combined with\u00a0`limit: N`, which would limit autocut's input to the first\u00a0`N`\u00a0objects.\n\nLimiting the number of results\n\nUse the\u00a0`limit`\u00a0argument to specify the maximum number of results that should be returned:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"safety\"\n },\n limit: 3\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}", "schemaPath": "nationalparks.json", "modelOutput": "{\n Get {\n NationalPark(\n bm25: {\n query: \"mountain\"\n },\n limit: 10\n ) {\n parkName\n description\n location\n establishedYear\n isEntryFree\n wildlife\n facilities {\n ... on Facility {\n facilityName\n description\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 10 pets with BM25 scoring of the query 'dog', and show the pet name, species, breed, age, owner's full name, address, and contact number.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Pet(\n bm25: {\n query: \"dog\"\n },\n limit: 10\n ) {\n petName\n species\n breed\n age\n owner {\n ... on Person {\n fullName\n address\n contactNumber\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 10 pets with BM25 scoring of the query 'dog', and show the pet name, species, breed, age, owner's full name, address, and contact number.\n```", "apiRef": "1. Limit BM25 search results\n\nLimit the results[]\n\nYou can limit the number of results returned by a\u00a0`bm25`\u00a0search,\n\n- to a fixed number, using the\u00a0`limit: `\u00a0operator\n- to the first N \"drops\" in\u00a0`score`, using the\u00a0`autocut`\u00a0operator\n\n`autocut`\u00a0can be combined with\u00a0`limit: N`, which would limit autocut's input to the first\u00a0`N`\u00a0objects.\n\nLimiting the number of results\n\nUse the\u00a0`limit`\u00a0argument to specify the maximum number of results that should be returned:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"safety\"\n },\n limit: 3\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}", "schemaPath": "pets.json", "modelOutput": "{\n Get {\n Pet(\n bm25: {\n query: \"dog\"\n },\n limit: 10\n ) {\n petName\n species\n breed\n age\n owner {\n ... on Person {\n fullName\n address\n contactNumber\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 10 jewelry items with BM25 scoring of the query 'necklace', and show the name, material, gemstone's name and hardness, price, and whether it is handmade.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n JewelryItem(\n bm25: {\n query: \"necklace\"\n },\n limit: 10\n ) {\n name\n material\n gemstone {\n ... on Gemstone {\n name\n hardness\n }\n }\n price\n isHandmade\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 10 jewelry items with BM25 scoring of the query 'necklace', and show the name, material, gemstone's name and hardness, price, and whether it is handmade.\n```", "apiRef": "1. Limit BM25 search results\n\nLimit the results[]\n\nYou can limit the number of results returned by a\u00a0`bm25`\u00a0search,\n\n- to a fixed number, using the\u00a0`limit: `\u00a0operator\n- to the first N \"drops\" in\u00a0`score`, using the\u00a0`autocut`\u00a0operator\n\n`autocut`\u00a0can be combined with\u00a0`limit: N`, which would limit autocut's input to the first\u00a0`N`\u00a0objects.\n\nLimiting the number of results\n\nUse the\u00a0`limit`\u00a0argument to specify the maximum number of results that should be returned:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"safety\"\n },\n limit: 3\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}", "schemaPath": "jewelry.json", "modelOutput": "{\n Get {\n JewelryItem(\n bm25: {\n query: \"necklace\"\n },\n limit: 10\n ) {\n name\n material\n gemstone {\n ... on Gemstone {\n name\n hardness\n }\n }\n price\n isHandmade\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 10 space missions with BM25 scoring of the query 'exploration', and show the mission name, objective, launch year, mission status, and space agency's name, founded year, and headquarters.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n SpaceMission(\n bm25: {\n query: \"exploration\"\n },\n limit: 10\n ) {\n missionName\n objective\n launchYear\n missionStatus\n spaceAgency {\n ... on SpaceAgency {\n agencyName\n foundedYear\n headquarters\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 10 space missions with BM25 scoring of the query 'exploration', and show the mission name, objective, launch year, mission status, and space agency's name, founded year, and headquarters.\n```", "apiRef": "1. Limit BM25 search results\n\nLimit the results[]\n\nYou can limit the number of results returned by a\u00a0`bm25`\u00a0search,\n\n- to a fixed number, using the\u00a0`limit: `\u00a0operator\n- to the first N \"drops\" in\u00a0`score`, using the\u00a0`autocut`\u00a0operator\n\n`autocut`\u00a0can be combined with\u00a0`limit: N`, which would limit autocut's input to the first\u00a0`N`\u00a0objects.\n\nLimiting the number of results\n\nUse the\u00a0`limit`\u00a0argument to specify the maximum number of results that should be returned:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"safety\"\n },\n limit: 3\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}", "schemaPath": "spaceexploration.json", "modelOutput": "{\n Get {\n SpaceMission(\n bm25: {\n query: \"exploration\"\n },\n limit: 10\n ) {\n missionName\n objective\n launchYear\n missionStatus\n spaceAgency {\n ... on SpaceAgency {\n agencyName\n foundedYear\n headquarters\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 10 non-profit organizations with BM25 scoring of the query 'education', and show their name, mission, founded year, focus area, and founder's full name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NonProfit(\n bm25: {\n query: \"education\"\n },\n limit: 10\n ) {\n name\n mission\n foundedYear\n focusArea\n founder {\n ... on Person {\n fullName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 10 non-profit organizations with BM25 scoring of the query 'education', and show their name, mission, founded year, focus area, and founder's full name.\n```", "apiRef": "1. Limit BM25 search results\n\nLimit the results[]\n\nYou can limit the number of results returned by a\u00a0`bm25`\u00a0search,\n\n- to a fixed number, using the\u00a0`limit: `\u00a0operator\n- to the first N \"drops\" in\u00a0`score`, using the\u00a0`autocut`\u00a0operator\n\n`autocut`\u00a0can be combined with\u00a0`limit: N`, which would limit autocut's input to the first\u00a0`N`\u00a0objects.\n\nLimiting the number of results\n\nUse the\u00a0`limit`\u00a0argument to specify the maximum number of results that should be returned:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"safety\"\n },\n limit: 3\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}", "schemaPath": "nonprofits.json", "modelOutput": "{\n Get {\n NonProfit(\n bm25: {\n query: \"education\"\n },\n limit: 10\n ) {\n name\n mission\n foundedYear\n focusArea\n founder {\n ... on Person {\n fullName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 10 AR applications with BM25 scoring of the query 'augmented reality', and show the application name, description, platform, and developer's company name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ARApplication(\n bm25: {\n query: \"augmented reality\"\n },\n limit: 10\n ) {\n appName\n description\n platform\n developer {\n ... on SoftwareCompany {\n companyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 10 AR applications with BM25 scoring of the query 'augmented reality', and show the application name, description, platform, and developer's company name.\n```", "apiRef": "1. Limit BM25 search results\n\nLimit the results[]\n\nYou can limit the number of results returned by a\u00a0`bm25`\u00a0search,\n\n- to a fixed number, using the\u00a0`limit: `\u00a0operator\n- to the first N \"drops\" in\u00a0`score`, using the\u00a0`autocut`\u00a0operator\n\n`autocut`\u00a0can be combined with\u00a0`limit: N`, which would limit autocut's input to the first\u00a0`N`\u00a0objects.\n\nLimiting the number of results\n\nUse the\u00a0`limit`\u00a0argument to specify the maximum number of results that should be returned:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"safety\"\n },\n limit: 3\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-bm25-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}", "schemaPath": "augmentedreality.json", "modelOutput": "{\n Get {\n ARApplication(\n bm25: {\n query: \"augmented reality\"\n },\n limit: 10\n ) {\n appName\n description\n platform\n developer {\n ... on SoftwareCompany {\n companyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}\n\n COMMAND:\n ```text\nShow me the compound name and formula of chemical compounds that are semantically similar to \"organic compounds\" and have a molar mass greater than 100.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ChemicalCompound(\n where: {\n path: [\"molarMass\"],\n operator: GreaterThan,\n valueNumber: 100\n },\n nearText: {\n concepts: [\"organic compounds\"]\n }\n ) {\n compoundName\n formula\n }\n }\n}\n```", "nlcommand": "```text\nShow me the compound name and formula of chemical compounds that are semantically similar to \"organic compounds\" and have a molar mass greater than 100.\n```", "apiRef": "With a search operator\n\nConditional filters can be combined with a search operator such as nearXXX, hybrid or bm25.\n\nThe following example adds a points filter to a nearText query, where the points property must be greater than 200. Note that the valueInt is used as the property datatype is int.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"points\"],\n operator: GreaterThan,\n valueInt: 200\n }\n nearText: {\n concepts: [\"fashion icons\"]\n }\n ) {\n question\n answer\n round\n points\n }\n }\n}\n```", "apiRefPath": "get-where-with-search.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}", "schemaPath": "chemicals.json", "modelOutput": "{\n Get {\n ChemicalCompound(\n where: {\n path: [\"molarMass\"],\n operator: GreaterThan,\n valueNumber: 100\n },\n nearText: {\n concepts: [\"organic compounds\"]\n }\n ) {\n compoundName\n formula\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nShow me the title, developer name, and genre of VR experiences released after 2015 that are semantically similar to \"action\".\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n VRExperience(\n where: {\n path: [\"releaseYear\"],\n operator: GreaterThan,\n valueInt: 2015\n },\n nearText: {\n concepts: [\"action\"]\n }\n ) {\n title\n developer {\n ... on Developer {\n name\n }\n }\n genre\n }\n }\n}\n```", "nlcommand": "```text\nShow me the title, developer name, and genre of VR experiences released after 2015 that are semantically similar to \"action\".\n```", "apiRef": "With a search operator\n\nConditional filters can be combined with a search operator such as nearXXX, hybrid or bm25.\n\nThe following example adds a points filter to a nearText query, where the points property must be greater than 200. Note that the valueInt is used as the property datatype is int.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"points\"],\n operator: GreaterThan,\n valueInt: 200\n }\n nearText: {\n concepts: [\"fashion icons\"]\n }\n ) {\n question\n answer\n round\n points\n }\n }\n}\n```", "apiRefPath": "get-where-with-search.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}", "schemaPath": "virtualreality.json", "modelOutput": "{\n Get {\n VRExperience(\n where: {\n path: [\"releaseYear\"],\n operator: GreaterThan,\n valueInt: 2015\n },\n nearText: {\n concepts: [\"action\"]\n }\n ) {\n title\n developer {\n ... on Developer {\n name\n }\n }\n genre\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}\n\n COMMAND:\n ```text\nShow me the drug name and active ingredient of drugs approved after the year 2000 that are semantically similar to \"pain relief\".\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Drug(\n where: {\n path: [\"approvalYear\"],\n operator: GreaterThan,\n valueInt: 2000\n },\n nearText: {\n concepts: [\"pain relief\"]\n }\n ) {\n drugName\n activeIngredient\n }\n }\n}\n```", "nlcommand": "```text\nShow me the drug name and active ingredient of drugs approved after the year 2000 that are semantically similar to \"pain relief\".\n```", "apiRef": "With a search operator\n\nConditional filters can be combined with a search operator such as nearXXX, hybrid or bm25.\n\nThe following example adds a points filter to a nearText query, where the points property must be greater than 200. Note that the valueInt is used as the property datatype is int.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"points\"],\n operator: GreaterThan,\n valueInt: 200\n }\n nearText: {\n concepts: [\"fashion icons\"]\n }\n ) {\n question\n answer\n round\n points\n }\n }\n}\n```", "apiRefPath": "get-where-with-search.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}", "schemaPath": "pharmaceuticals.json", "modelOutput": "{\n Get {\n Drug(\n where: {\n path: [\"approvalYear\"],\n operator: GreaterThan,\n valueInt: 2000\n },\n nearText: {\n concepts: [\"pain relief\"]\n }\n ) {\n drugName\n activeIngredient\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}\n\n COMMAND:\n ```text\nShow me the festival name, description, and featured films of film festivals in Los Angeles that are semantically similar to \"Oscar-winning films\".\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n FilmFestival(\n where: {\n path: [\"location\"],\n operator: Equal,\n valueString: \"Los Angeles\"\n },\n nearText: {\n concepts: [\"Oscar-winning films\"]\n }\n ) {\n festivalName\n description\n featuredFilm {\n ... on Film {\n filmTitle\n director\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the festival name, description, and featured films of film festivals in Los Angeles that are semantically similar to \"Oscar-winning films\".\n```", "apiRef": "With a search operator\n\nConditional filters can be combined with a search operator such as nearXXX, hybrid or bm25.\n\nThe following example adds a points filter to a nearText query, where the points property must be greater than 200. Note that the valueInt is used as the property datatype is int.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"points\"],\n operator: GreaterThan,\n valueInt: 200\n }\n nearText: {\n concepts: [\"fashion icons\"]\n }\n ) {\n question\n answer\n round\n points\n }\n }\n}\n```", "apiRefPath": "get-where-with-search.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}", "schemaPath": "filmfestivals.json", "modelOutput": "{\n Get {\n FilmFestival(\n where: {\n path: [\"location\"],\n operator: Equal,\n valueText: \"Los Angeles\"\n },\n nearText: {\n concepts: [\"Oscar-winning films\"]\n }\n ) {\n festivalName\n description\n featuredFilm {\n ... on Film {\n title\n yearReleased\n genre\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}\n\n COMMAND:\n ```text\nShow me the boat name, type, capacity, motorization status, and manufacturer details of boats with a capacity greater than 10 that are semantically related to \"sailing\".\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Boat(\n where: {\n path: [\"capacity\"],\n operator: GreaterThan,\n valueInt: 10\n },\n nearText: {\n concepts: [\"sailing\"]\n }\n ) {\n boatName\n type\n capacity\n isMotorized\n manufacturer {\n ... on BoatManufacturer {\n companyName\n foundedYear\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the boat name, type, capacity, motorization status, and manufacturer details of boats with a capacity greater than 10 that are semantically related to \"sailing\".\n```", "apiRef": "With a search operator\n\nConditional filters can be combined with a search operator such as nearXXX, hybrid or bm25.\n\nThe following example adds a points filter to a nearText query, where the points property must be greater than 200. Note that the valueInt is used as the property datatype is int.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"points\"],\n operator: GreaterThan,\n valueInt: 200\n }\n nearText: {\n concepts: [\"fashion icons\"]\n }\n ) {\n question\n answer\n round\n points\n }\n }\n}\n```", "apiRefPath": "get-where-with-search.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}", "schemaPath": "boats.json", "modelOutput": "{\n Get {\n Boat(\n where: {\n path: [\"capacity\"],\n operator: GreaterThan,\n valueInt: 10\n },\n nearText: {\n concepts: [\"sailing\"]\n }\n ) {\n boatName\n type\n capacity\n isMotorized\n manufacturer {\n ... on BoatManufacturer {\n companyName\n foundedYear\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}\n\n COMMAND:\n ```text\nShow me the park name, description, and location of national parks established after the year 2000 that are semantically similar to \"mountain range\".\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NationalPark(\n where: {\n path: [\"establishedYear\"],\n operator: GreaterThan,\n valueInt: 2000\n },\n nearText: {\n concepts: [\"mountain range\"]\n }\n ) {\n parkName\n description\n location\n }\n }\n}\n```", "nlcommand": "```text\nShow me the park name, description, and location of national parks established after the year 2000 that are semantically similar to \"mountain range\".\n```", "apiRef": "With a search operator\n\nConditional filters can be combined with a search operator such as nearXXX, hybrid or bm25.\n\nThe following example adds a points filter to a nearText query, where the points property must be greater than 200. Note that the valueInt is used as the property datatype is int.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"points\"],\n operator: GreaterThan,\n valueInt: 200\n }\n nearText: {\n concepts: [\"fashion icons\"]\n }\n ) {\n question\n answer\n round\n points\n }\n }\n}\n```", "apiRefPath": "get-where-with-search.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}", "schemaPath": "nationalparks.json", "modelOutput": "{\n Get {\n NationalPark(\n where: {\n path: [\"establishedYear\"],\n operator: GreaterThan,\n valueInt: 2000\n },\n nearText: {\n concepts: [\"mountain range\"]\n }\n ) {\n parkName\n description\n location\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}\n\n COMMAND:\n ```text\nShow me the pet name, species, and breed of playful pets that are older than 2 years.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Pet(\n where: {\n path: [\"age\"],\n operator: GreaterThan,\n valueInt: 2\n },\n nearText: {\n concepts: [\"Playful pets\"]\n }\n ) {\n petName\n species\n breed\n }\n }\n}\n```", "nlcommand": "```text\nShow me the pet name, species, and breed of playful pets that are older than 2 years.\n```", "apiRef": "With a search operator\n\nConditional filters can be combined with a search operator such as nearXXX, hybrid or bm25.\n\nThe following example adds a points filter to a nearText query, where the points property must be greater than 200. Note that the valueInt is used as the property datatype is int.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"points\"],\n operator: GreaterThan,\n valueInt: 200\n }\n nearText: {\n concepts: [\"fashion icons\"]\n }\n ) {\n question\n answer\n round\n points\n }\n }\n}\n```", "apiRefPath": "get-where-with-search.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}", "schemaPath": "pets.json", "modelOutput": "{\n Get {\n Pet(\n where: {\n path: [\"age\"],\n operator: GreaterThan,\n valueInt: 2\n }\n ) {\n petName\n species\n breed\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}\n\n COMMAND:\n ```text\nShow me the name, material, gemstone name, gemstone hardness, price, and whether it is handmade of jewelry items that are semantically similar to \"diamond ring\" and have a price greater than $500.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n JewelryItem(\n where: {\n path: [\"price\"],\n operator: GreaterThan,\n valueNumber: 500\n },\n nearText: {\n concepts: [\"diamond ring\"]\n }\n ) {\n name\n material\n gemstone {\n ... on Gemstone {\n name\n hardness\n }\n }\n price\n isHandmade\n }\n }\n}\n```", "nlcommand": "```text\nShow me the name, material, gemstone name, gemstone hardness, price, and whether it is handmade of jewelry items that are semantically similar to \"diamond ring\" and have a price greater than $500.\n```", "apiRef": "With a search operator\n\nConditional filters can be combined with a search operator such as nearXXX, hybrid or bm25.\n\nThe following example adds a points filter to a nearText query, where the points property must be greater than 200. Note that the valueInt is used as the property datatype is int.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"points\"],\n operator: GreaterThan,\n valueInt: 200\n }\n nearText: {\n concepts: [\"fashion icons\"]\n }\n ) {\n question\n answer\n round\n points\n }\n }\n}\n```", "apiRefPath": "get-where-with-search.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}", "schemaPath": "jewelry.json", "modelOutput": "{\n Get {\n JewelryItem(\n where: {\n path: [\"price\"],\n operator: GreaterThan,\n valueNumber: 500\n },\n nearText: {\n concepts: [\"diamond ring\"]\n }\n ) {\n name\n material\n gemstone {\n ... on Gemstone {\n name\n hardness\n }\n }\n isHandmade\n price\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}\n\n COMMAND:\n ```text\nShow me the mission name and objective of space missions related to \"Mars exploration\" that were launched after the year 2000.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n SpaceMission(\n where: {\n path: [\"launchYear\"],\n operator: GreaterThan,\n valueInt: 2000\n },\n nearText: {\n concepts: [\"Mars exploration\"]\n }\n ) {\n missionName\n objective\n }\n }\n}\n```", "nlcommand": "```text\nShow me the mission name and objective of space missions related to \"Mars exploration\" that were launched after the year 2000.\n```", "apiRef": "With a search operator\n\nConditional filters can be combined with a search operator such as nearXXX, hybrid or bm25.\n\nThe following example adds a points filter to a nearText query, where the points property must be greater than 200. Note that the valueInt is used as the property datatype is int.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"points\"],\n operator: GreaterThan,\n valueInt: 200\n }\n nearText: {\n concepts: [\"fashion icons\"]\n }\n ) {\n question\n answer\n round\n points\n }\n }\n}\n```", "apiRefPath": "get-where-with-search.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}", "schemaPath": "spaceexploration.json", "modelOutput": "{\n Get {\n SpaceMission(\n where: {\n path: [\"launchYear\"],\n operator: GreaterThan,\n valueInt: 2000\n },\n nearText: {\n concepts: [\"Mars exploration\"]\n }\n ) {\n missionName\n objective\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}\n\n COMMAND:\n ```text\nShow me the name and mission of non-profit organizations founded after the year 2000 that are semantically similar to \"environmental conservation\".\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NonProfit(\n where: {\n path: [\"foundedYear\"],\n operator: GreaterThan,\n valueInt: 2000\n },\n nearText: {\n concepts: [\"environmental conservation\"]\n }\n ) {\n name\n mission\n }\n }\n}\n```", "nlcommand": "```text\nShow me the name and mission of non-profit organizations founded after the year 2000 that are semantically similar to \"environmental conservation\".\n```", "apiRef": "With a search operator\n\nConditional filters can be combined with a search operator such as nearXXX, hybrid or bm25.\n\nThe following example adds a points filter to a nearText query, where the points property must be greater than 200. Note that the valueInt is used as the property datatype is int.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"points\"],\n operator: GreaterThan,\n valueInt: 200\n }\n nearText: {\n concepts: [\"fashion icons\"]\n }\n ) {\n question\n answer\n round\n points\n }\n }\n}\n```", "apiRefPath": "get-where-with-search.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}", "schemaPath": "nonprofits.json", "modelOutput": "{\n Get {\n NonProfit(\n where: {\n path: [\"foundedYear\"],\n operator: GreaterThan,\n valueInt: 2000\n },\n nearText: {\n concepts: [\"environmental conservation\"]\n }\n ) {\n name\n mission\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}\n\n COMMAND:\n ```text\nShow me the name, description, and developer information of iOS AR applications that are semantically similar to \"augmented reality\".\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ARApplication(\n where: {\n path: [\"platform\"],\n operator: Equal,\n valueString: \"iOS\"\n },\n nearText: {\n concepts: [\"augmented reality\"]\n }\n ) {\n appName\n description\n developer {\n ... on SoftwareCompany {\n companyName\n foundedYear\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the name, description, and developer information of iOS AR applications that are semantically similar to \"augmented reality\".\n```", "apiRef": "With a search operator\n\nConditional filters can be combined with a search operator such as nearXXX, hybrid or bm25.\n\nThe following example adds a points filter to a nearText query, where the points property must be greater than 200. Note that the valueInt is used as the property datatype is int.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n where: {\n path: [\"points\"],\n operator: GreaterThan,\n valueInt: 200\n }\n nearText: {\n concepts: [\"fashion icons\"]\n }\n ) {\n question\n answer\n round\n points\n }\n }\n}\n```", "apiRefPath": "get-where-with-search.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}", "schemaPath": "augmentedreality.json", "modelOutput": "{\n Get {\n ARApplication(\n where: {\n path: [\"appName\"],\n operator: Like,\n valueText: \"*augmented reality*\"\n }\n ) {\n appName\n description\n developer {\n ... on SoftwareCompany {\n companyName\n foundedYear\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}\n\n COMMAND:\n ```text\nGet me the chemical compounds with a hybrid search of 'organic' where the compounds have a molar mass greater than 100, and show the compound name, formula, molar mass, and the elements it contains including their name, symbol, atomic number, and whether they are a metal.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ChemicalCompound(\n hybrid: {\n query: \"organic\"\n },\n where: {\n path: [\"molarMass\"],\n operator: GreaterThan,\n valueNumber: 100\n }\n ) {\n compoundName\n formula\n molarMass\n containsElements {\n ... on ChemicalElement {\n elementName\n symbol\n atomicNumber\n isMetal\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the chemical compounds with a hybrid search of 'organic' where the compounds have a molar mass greater than 100, and show the compound name, formula, molar mass, and the elements it contains including their name, symbol, atomic number, and whether they are a metal.\n```", "apiRef": "Hybrid Search with Where Filter\n\nYou can add a conditional filter to any hybrid search query, which will filter the outputs but not impact the ranking.\n\nThe below example performs a hybrid search for\u00a0`food`\u00a0in any field from objects that have the\u00a0`round`\u00a0property of\u00a0`Double Jeopardy!`, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\"\n },\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n round\n }\n }\n}\n```", "apiRefPath": "get-hybrid-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}", "schemaPath": "chemicals.json", "modelOutput": "{\n Get {\n ChemicalCompound(\n hybrid: {\n query: \"organic\"\n },\n where: {\n path: [\"molarMass\"],\n operator: GreaterThan,\n valueNumber: 100\n }\n ) {\n compoundName\n formula\n molarMass\n containsElements {\n ... on ChemicalElement {\n elementName\n symbol\n isMetal\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the VR experiences with a hybrid search of 'action' where the experiences have a release year greater than 2010, and show the title, developer's name, genre, and whether it is multiplayer.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n VRExperience(\n hybrid: {\n query: \"action\"\n },\n where: {\n path: [\"releaseYear\"],\n operator: GreaterThan,\n valueInt: 2010\n }\n ) {\n title\n developer {\n ... on Developer {\n name\n }\n }\n genre\n isMultiplayer\n }\n }\n}\n```", "nlcommand": "```text\nGet me the VR experiences with a hybrid search of 'action' where the experiences have a release year greater than 2010, and show the title, developer's name, genre, and whether it is multiplayer.\n```", "apiRef": "Hybrid Search with Where Filter\n\nYou can add a conditional filter to any hybrid search query, which will filter the outputs but not impact the ranking.\n\nThe below example performs a hybrid search for\u00a0`food`\u00a0in any field from objects that have the\u00a0`round`\u00a0property of\u00a0`Double Jeopardy!`, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\"\n },\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n round\n }\n }\n}\n```", "apiRefPath": "get-hybrid-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}", "schemaPath": "virtualreality.json", "modelOutput": "{\n Get {\n VRExperience(\n hybrid: {\n query: \"action\"\n },\n where: {\n path: [\"releaseYear\"],\n operator: GreaterThan,\n valueInt: 2010\n }\n ) {\n title\n developer {\n ... on Developer {\n name\n }\n }\n genre\n isMultiplayer\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}\n\n COMMAND:\n ```text\nGet me the drugs with a hybrid search of 'painkiller' where the drugs have an approval year greater than 2000, and show the drug name, active ingredient, over-the-counter status, and manufacturer's company name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Drug(\n hybrid: {\n query: \"painkiller\"\n },\n where: {\n path: [\"approvalYear\"],\n operator: GreaterThan,\n valueInt: 2000\n }\n ) {\n drugName\n activeIngredient\n isOTC\n manufacturer {\n ... on Manufacturer {\n companyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the drugs with a hybrid search of 'painkiller' where the drugs have an approval year greater than 2000, and show the drug name, active ingredient, over-the-counter status, and manufacturer's company name.\n```", "apiRef": "Hybrid Search with Where Filter\n\nYou can add a conditional filter to any hybrid search query, which will filter the outputs but not impact the ranking.\n\nThe below example performs a hybrid search for\u00a0`food`\u00a0in any field from objects that have the\u00a0`round`\u00a0property of\u00a0`Double Jeopardy!`, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\"\n },\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n round\n }\n }\n}\n```", "apiRefPath": "get-hybrid-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}", "schemaPath": "pharmaceuticals.json", "modelOutput": "{\n Get {\n Drug(\n hybrid: {\n query: \"painkiller\"\n },\n where: {\n path: [\"approvalYear\"],\n operator: GreaterThan,\n valueInt: 2000\n }\n ) {\n drugName\n activeIngredient\n isOTC\n manufacturer {\n ... on Manufacturer {\n companyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}\n\n COMMAND:\n ```text\nGet me the film festivals with a hybrid search of 'Cannes' where the location is equal to 'France', and show the festival name, description, and featured film's title and director.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n FilmFestival(\n hybrid: {\n query: \"Cannes\"\n },\n where: {\n path: [\"location\"],\n operator: Equal,\n valueText: \"France\"\n }\n ) {\n festivalName\n description\n featuredFilm {\n ... on Film {\n filmTitle\n director\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the film festivals with a hybrid search of 'Cannes' where the location is equal to 'France', and show the festival name, description, and featured film's title and director.\n```", "apiRef": "Hybrid Search with Where Filter\n\nYou can add a conditional filter to any hybrid search query, which will filter the outputs but not impact the ranking.\n\nThe below example performs a hybrid search for\u00a0`food`\u00a0in any field from objects that have the\u00a0`round`\u00a0property of\u00a0`Double Jeopardy!`, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\"\n },\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n round\n }\n }\n}\n```", "apiRefPath": "get-hybrid-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}", "schemaPath": "filmfestivals.json", "modelOutput": "{\n Get {\n FilmFestival(\n hybrid: {\n query: \"Cannes\"\n },\n where: {\n path: [\"location\"],\n operator: Equal,\n valueText: \"France\"\n }\n ) {\n festivalName\n description\n featuredFilm {\n ... on Film {\n title\n director\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the boats with a hybrid search of 'sailboat' where the boats have a capacity greater than 10, and show the boat name, type, capacity, motorization status, and manufacturer's company name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Boat(\n hybrid: {\n query: \"sailboat\"\n },\n where: {\n path: [\"capacity\"],\n operator: GreaterThan,\n valueInt: 10\n }\n ) {\n boatName\n type\n capacity\n isMotorized\n manufacturer {\n ... on BoatManufacturer {\n companyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the boats with a hybrid search of 'sailboat' where the boats have a capacity greater than 10, and show the boat name, type, capacity, motorization status, and manufacturer's company name.\n```", "apiRef": "Hybrid Search with Where Filter\n\nYou can add a conditional filter to any hybrid search query, which will filter the outputs but not impact the ranking.\n\nThe below example performs a hybrid search for\u00a0`food`\u00a0in any field from objects that have the\u00a0`round`\u00a0property of\u00a0`Double Jeopardy!`, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\"\n },\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n round\n }\n }\n}\n```", "apiRefPath": "get-hybrid-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}", "schemaPath": "boats.json", "modelOutput": "{\n Get {\n Boat(\n hybrid: {\n query: \"sailboat\"\n },\n where: {\n path: [\"capacity\"],\n operator: GreaterThan,\n valueInt: 10\n }\n ) {\n boatName\n type\n capacity\n isMotorized\n manufacturer {\n ... on BoatManufacturer {\n companyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}\n\n COMMAND:\n ```text\nGet me the national parks with a hybrid search of 'mountain' where the parks were established after the year 2000, and show the park name, description, location, entry fee status, wildlife, and facility names with their descriptions.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NationalPark(\n hybrid: {\n query: \"mountain\"\n },\n where: {\n path: [\"establishedYear\"],\n operator: GreaterThan,\n valueInt: 2000\n }\n ) {\n parkName\n description\n location\n isEntryFree\n wildlife\n facilities {\n ... on Facility {\n facilityName\n description\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the national parks with a hybrid search of 'mountain' where the parks were established after the year 2000, and show the park name, description, location, entry fee status, wildlife, and facility names with their descriptions.\n```", "apiRef": "Hybrid Search with Where Filter\n\nYou can add a conditional filter to any hybrid search query, which will filter the outputs but not impact the ranking.\n\nThe below example performs a hybrid search for\u00a0`food`\u00a0in any field from objects that have the\u00a0`round`\u00a0property of\u00a0`Double Jeopardy!`, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\"\n },\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n round\n }\n }\n}\n```", "apiRefPath": "get-hybrid-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}", "schemaPath": "nationalparks.json", "modelOutput": "{\n Get {\n NationalPark(\n hybrid: {\n query: \"mountain\"\n },\n where: {\n path: [\"establishedYear\"],\n operator: GreaterThan,\n valueInt: 2000\n }\n ) {\n parkName\n description\n location\n isEntryFree\n wildlife\n facilities {\n ... on Facility {\n facilityName\n description\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}\n\n COMMAND:\n ```text\nGet me the pets with a hybrid search of 'dog' where the pets have an age greater than 2, and show the pet name, species, breed, age, owner's full name, address, and contact number.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Pet(\n hybrid: {\n query: \"dog\"\n },\n where: {\n path: [\"age\"],\n operator: GreaterThan,\n valueInt: 2\n }\n ) {\n petName\n species\n breed\n age\n owner {\n ... on Person {\n fullName\n address\n contactNumber\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the pets with a hybrid search of 'dog' where the pets have an age greater than 2, and show the pet name, species, breed, age, owner's full name, address, and contact number.\n```", "apiRef": "Hybrid Search with Where Filter\n\nYou can add a conditional filter to any hybrid search query, which will filter the outputs but not impact the ranking.\n\nThe below example performs a hybrid search for\u00a0`food`\u00a0in any field from objects that have the\u00a0`round`\u00a0property of\u00a0`Double Jeopardy!`, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\"\n },\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n round\n }\n }\n}\n```", "apiRefPath": "get-hybrid-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}", "schemaPath": "pets.json", "modelOutput": "{\n Get {\n Pet(\n hybrid: {\n query: \"dog\"\n },\n where: {\n path: [\"age\"],\n operator: GreaterThan,\n valueInt: 2\n }\n ) {\n petName\n species\n breed\n age\n owner {\n ... on Person {\n fullName\n address\n contactNumber\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}\n\n COMMAND:\n ```text\nGet me the jewelry items with a hybrid search of 'necklace' where the price is less than 1000, and show the name, material, gemstone's name and hardness, price, and whether it is handmade.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n JewelryItem(\n hybrid: {\n query: \"necklace\"\n },\n where: {\n path: [\"price\"],\n operator: LessThan,\n valueNumber: 1000\n }\n ) {\n name\n material\n gemstone {\n ... on Gemstone {\n name\n hardness\n }\n }\n price\n isHandmade\n }\n }\n}\n```", "nlcommand": "```text\nGet me the jewelry items with a hybrid search of 'necklace' where the price is less than 1000, and show the name, material, gemstone's name and hardness, price, and whether it is handmade.\n```", "apiRef": "Hybrid Search with Where Filter\n\nYou can add a conditional filter to any hybrid search query, which will filter the outputs but not impact the ranking.\n\nThe below example performs a hybrid search for\u00a0`food`\u00a0in any field from objects that have the\u00a0`round`\u00a0property of\u00a0`Double Jeopardy!`, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\"\n },\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n round\n }\n }\n}\n```", "apiRefPath": "get-hybrid-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}", "schemaPath": "jewelry.json", "modelOutput": "{\n Get {\n JewelryItem(\n hybrid: {\n query: \"necklace\"\n },\n where: {\n path: [\"price\"],\n operator: LessThan,\n valueNumber: 1000\n }\n ) {\n name\n material\n gemstone {\n ... on Gemstone {\n name\n hardness\n }\n }\n price\n isHandmade\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}\n\n COMMAND:\n ```text\nGet me the space missions with a hybrid search of 'exploration' where the launch year is greater than 2000, and show the mission name, objective, mission status, space agency's name, founded year, and headquarters.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n SpaceMission(\n hybrid: {\n query: \"exploration\"\n },\n where: {\n path: [\"launchYear\"],\n operator: GreaterThan,\n valueInt: 2000\n }\n ) {\n missionName\n objective\n missionStatus\n spaceAgency {\n ... on SpaceAgency {\n agencyName\n foundedYear\n headquarters\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the space missions with a hybrid search of 'exploration' where the launch year is greater than 2000, and show the mission name, objective, mission status, space agency's name, founded year, and headquarters.\n```", "apiRef": "Hybrid Search with Where Filter\n\nYou can add a conditional filter to any hybrid search query, which will filter the outputs but not impact the ranking.\n\nThe below example performs a hybrid search for\u00a0`food`\u00a0in any field from objects that have the\u00a0`round`\u00a0property of\u00a0`Double Jeopardy!`, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\"\n },\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n round\n }\n }\n}\n```", "apiRefPath": "get-hybrid-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}", "schemaPath": "spaceexploration.json", "modelOutput": "{\n Get {\n SpaceMission(\n hybrid: {\n query: \"exploration\"\n },\n where: {\n path: [\"launchYear\"],\n operator: GreaterThan,\n valueInt: 2000\n }\n ) {\n missionName\n objective\n missionStatus\n spaceAgency {\n ... on SpaceAgency {\n agencyName\n foundedYear\n headquarters\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}\n\n COMMAND:\n ```text\nGet me the non-profit organizations with a hybrid search of 'education' where the organizations were founded after the year 2000, and show the name, mission, focus area, and founder's full name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NonProfit(\n hybrid: {\n query: \"education\"\n },\n where: {\n path: [\"foundedYear\"],\n operator: GreaterThan,\n valueInt: 2000\n }\n ) {\n name\n mission\n focusArea\n founder {\n ... on Person {\n fullName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the non-profit organizations with a hybrid search of 'education' where the organizations were founded after the year 2000, and show the name, mission, focus area, and founder's full name.\n```", "apiRef": "Hybrid Search with Where Filter\n\nYou can add a conditional filter to any hybrid search query, which will filter the outputs but not impact the ranking.\n\nThe below example performs a hybrid search for\u00a0`food`\u00a0in any field from objects that have the\u00a0`round`\u00a0property of\u00a0`Double Jeopardy!`, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\"\n },\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n round\n }\n }\n}\n```", "apiRefPath": "get-hybrid-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}", "schemaPath": "nonprofits.json", "modelOutput": "{\n Get {\n NonProfit(\n hybrid: {\n query: \"education\"\n },\n where: {\n path: [\"foundedYear\"],\n operator: GreaterThan,\n valueInt: 2000\n }\n ) {\n name\n mission\n focusArea\n founder {\n ... on Person {\n fullName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}\n\n COMMAND:\n ```text\nGet me the AR applications with a hybrid search of 'augmented reality' where the applications are specifically for iOS, and show the application name, description, platform, and developer's company name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ARApplication(\n hybrid: {\n query: \"augmented reality\"\n },\n where: {\n path: [\"platform\"],\n operator: Equal,\n valueText: \"iOS\"\n }\n ) {\n appName\n description\n platform\n developer {\n ... on SoftwareCompany {\n companyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the AR applications with a hybrid search of 'augmented reality' where the applications are specifically for iOS, and show the application name, description, platform, and developer's company name.\n```", "apiRef": "Hybrid Search with Where Filter\n\nYou can add a conditional filter to any hybrid search query, which will filter the outputs but not impact the ranking.\n\nThe below example performs a hybrid search for\u00a0`food`\u00a0in any field from objects that have the\u00a0`round`\u00a0property of\u00a0`Double Jeopardy!`, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\"\n },\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n round\n }\n }\n}\n```", "apiRefPath": "get-hybrid-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}", "schemaPath": "augmentedreality.json", "modelOutput": "{\n Get {\n ARApplication(\n hybrid: {\n query: \"augmented reality\"\n },\n where: {\n path: [\"platform\"],\n operator: Equal,\n valueText: \"iOS\"\n }\n ) {\n appName\n description\n platform\n developer {\n ... on SoftwareCompany {\n companyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}\n\n COMMAND:\n ```text\nPlease show me the compound name, formula, molar mass, and information about the 4th object in the Chemical Compound class.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ChemicalCompound(\n limit: 1,\n offset: 3\n ) {\n compoundName\n formula\n molarMass\n containsElements {\n ... on ChemicalElement {\n elementName\n symbol\n atomicNumber\n isMetal\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease show me the compound name, formula, molar mass, and information about the 4th object in the Chemical Compound class.\n```", "apiRef": "Paginate with\u00a0`limit`\u00a0and\u00a0`offset`\n\nIf you only want the\u00a0`n`\u00a0results after the first\u00a0`m`\u00a0results from the query, you can do this with\u00a0`limit`\u00a0and\u00a0`offset`\u00a0as shown below.\n\nBe aware that although you will only see\u00a0`n`\u00a0results, this could become an expensive operation as\u00a0`m`\u00a0grows larger, as Weaviate must fetch\u00a0`n+m`\u00a0results.\n\nFOR EXHAUSTIVE RETRIEVAL, USE\u00a0`after`\u00a0INSTEAD.\n\nIf you want to list and retrieve all objects from a\u00a0`class`, use the cursor API instead with the\u00a0`after`\u00a0operator.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n limit: 1,\n offset: 1\n ) {\n question\n }\n }\n}\n```", "apiRefPath": "get-paginate-with-limit-and-offset.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}", "schemaPath": "chemicals.json", "modelOutput": "{\n Get {\n ChemicalCompound {\n object {\n ... on ChemicalCompound {\n compoundName\n formula\n molarMass\n containsElements {\n ... on ChemicalElement {\n elementName\n symbol\n isMetal\n }\n }\n _additional {\n id\n }\n }\n }\n _additional {\n id\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nPlease show me the title, developer's name, genre, release year, and multiplayer status for the 6th object in the VRExperience class.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n VRExperience (\n limit: 1,\n offset: 5\n ) {\n title\n developer {\n ... on Developer {\n name\n }\n }\n genre\n releaseYear\n isMultiplayer\n }\n }\n}\n```", "nlcommand": "```text\nPlease show me the title, developer's name, genre, release year, and multiplayer status for the 6th object in the VRExperience class.\n```", "apiRef": "Paginate with\u00a0`limit`\u00a0and\u00a0`offset`\n\nIf you only want the\u00a0`n`\u00a0results after the first\u00a0`m`\u00a0results from the query, you can do this with\u00a0`limit`\u00a0and\u00a0`offset`\u00a0as shown below.\n\nBe aware that although you will only see\u00a0`n`\u00a0results, this could become an expensive operation as\u00a0`m`\u00a0grows larger, as Weaviate must fetch\u00a0`n+m`\u00a0results.\n\nFOR EXHAUSTIVE RETRIEVAL, USE\u00a0`after`\u00a0INSTEAD.\n\nIf you want to list and retrieve all objects from a\u00a0`class`, use the cursor API instead with the\u00a0`after`\u00a0operator.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n limit: 1,\n offset: 1\n ) {\n question\n }\n }\n}\n```", "apiRefPath": "get-paginate-with-limit-and-offset.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}", "schemaPath": "virtualreality.json", "modelOutput": "{\n Get {\n VRExperience(\n limit: 1,\n offset: 5\n ) {\n title\n developer {\n ... on Developer {\n name\n }\n }\n genre\n releaseYear\n isMultiplayer\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}\n\n COMMAND:\n ```text\nPlease show me the drug name, active ingredient, approval year, over-the-counter status, and linked manufacturer's company name for the 6th object in the Drug class.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Drug(\n limit: 1,\n offset: 5\n ) {\n drugName\n activeIngredient\n approvalYear\n isOTC\n manufacturer {\n ... on Manufacturer {\n companyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease show me the drug name, active ingredient, approval year, over-the-counter status, and linked manufacturer's company name for the 6th object in the Drug class.\n```", "apiRef": "Paginate with\u00a0`limit`\u00a0and\u00a0`offset`\n\nIf you only want the\u00a0`n`\u00a0results after the first\u00a0`m`\u00a0results from the query, you can do this with\u00a0`limit`\u00a0and\u00a0`offset`\u00a0as shown below.\n\nBe aware that although you will only see\u00a0`n`\u00a0results, this could become an expensive operation as\u00a0`m`\u00a0grows larger, as Weaviate must fetch\u00a0`n+m`\u00a0results.\n\nFOR EXHAUSTIVE RETRIEVAL, USE\u00a0`after`\u00a0INSTEAD.\n\nIf you want to list and retrieve all objects from a\u00a0`class`, use the cursor API instead with the\u00a0`after`\u00a0operator.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n limit: 1,\n offset: 1\n ) {\n question\n }\n }\n}\n```", "apiRefPath": "get-paginate-with-limit-and-offset.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}", "schemaPath": "pharmaceuticals.json", "modelOutput": "{\n Get {\n Drug(\n limit: 1,\n offset: 5\n ) {\n drugName\n activeIngredient\n approvalYear\n isOTC\n manufacturer {\n ... on Manufacturer {\n companyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}\n\n COMMAND:\n ```text\nPlease show me the festival name, location, description, and the film title with its director for the 6th object in the FilmFestival class.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n FilmFestival (\n limit: 1,\n offset: 5\n ) {\n festivalName\n location\n description\n featuredFilm {\n ... on Film {\n filmTitle\n director\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease show me the festival name, location, description, and the film title with its director for the 6th object in the FilmFestival class.\n```", "apiRef": "Paginate with\u00a0`limit`\u00a0and\u00a0`offset`\n\nIf you only want the\u00a0`n`\u00a0results after the first\u00a0`m`\u00a0results from the query, you can do this with\u00a0`limit`\u00a0and\u00a0`offset`\u00a0as shown below.\n\nBe aware that although you will only see\u00a0`n`\u00a0results, this could become an expensive operation as\u00a0`m`\u00a0grows larger, as Weaviate must fetch\u00a0`n+m`\u00a0results.\n\nFOR EXHAUSTIVE RETRIEVAL, USE\u00a0`after`\u00a0INSTEAD.\n\nIf you want to list and retrieve all objects from a\u00a0`class`, use the cursor API instead with the\u00a0`after`\u00a0operator.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n limit: 1,\n offset: 1\n ) {\n question\n }\n }\n}\n```", "apiRefPath": "get-paginate-with-limit-and-offset.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}", "schemaPath": "filmfestivals.json", "modelOutput": "{\n Get {\n FilmFestival(\n limit: 1,\n offset: 5\n ) {\n festivalName\n location\n description\n featuredFilm {\n ... on Film {\n title\n director\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}\n\n COMMAND:\n ```text\nPlease show me the boat name, type, capacity, whether it is motorized, and the linked manufacturer's company name for the 6th object in the Boat class.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Boat(\n limit: 1,\n offset: 5\n ) {\n boatName\n type\n capacity\n isMotorized\n manufacturer {\n ... on BoatManufacturer {\n companyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease show me the boat name, type, capacity, whether it is motorized, and the linked manufacturer's company name for the 6th object in the Boat class.\n```", "apiRef": "Paginate with\u00a0`limit`\u00a0and\u00a0`offset`\n\nIf you only want the\u00a0`n`\u00a0results after the first\u00a0`m`\u00a0results from the query, you can do this with\u00a0`limit`\u00a0and\u00a0`offset`\u00a0as shown below.\n\nBe aware that although you will only see\u00a0`n`\u00a0results, this could become an expensive operation as\u00a0`m`\u00a0grows larger, as Weaviate must fetch\u00a0`n+m`\u00a0results.\n\nFOR EXHAUSTIVE RETRIEVAL, USE\u00a0`after`\u00a0INSTEAD.\n\nIf you want to list and retrieve all objects from a\u00a0`class`, use the cursor API instead with the\u00a0`after`\u00a0operator.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n limit: 1,\n offset: 1\n ) {\n question\n }\n }\n}\n```", "apiRefPath": "get-paginate-with-limit-and-offset.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}", "schemaPath": "boats.json", "modelOutput": "{\n Get {\n Boat(\n limit: 1,\n offset: 5\n ) {\n boatName\n type\n capacity\n isMotorized\n manufacturer {\n ... on BoatManufacturer {\n companyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}\n\n COMMAND:\n ```text\nPlease show me the park name, description, location, established year, entry fee status, wildlife, and facility name with description for the 6th object in the National Park class.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NationalPark(\n limit: 1,\n offset: 5\n ) {\n parkName\n description\n location\n establishedYear\n isEntryFree\n wildlife\n facilities {\n ... on Facility {\n facilityName\n description\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease show me the park name, description, location, established year, entry fee status, wildlife, and facility name with description for the 6th object in the National Park class.\n```", "apiRef": "Paginate with\u00a0`limit`\u00a0and\u00a0`offset`\n\nIf you only want the\u00a0`n`\u00a0results after the first\u00a0`m`\u00a0results from the query, you can do this with\u00a0`limit`\u00a0and\u00a0`offset`\u00a0as shown below.\n\nBe aware that although you will only see\u00a0`n`\u00a0results, this could become an expensive operation as\u00a0`m`\u00a0grows larger, as Weaviate must fetch\u00a0`n+m`\u00a0results.\n\nFOR EXHAUSTIVE RETRIEVAL, USE\u00a0`after`\u00a0INSTEAD.\n\nIf you want to list and retrieve all objects from a\u00a0`class`, use the cursor API instead with the\u00a0`after`\u00a0operator.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n limit: 1,\n offset: 1\n ) {\n question\n }\n }\n}\n```", "apiRefPath": "get-paginate-with-limit-and-offset.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}", "schemaPath": "nationalparks.json", "modelOutput": "{\n Get {\n NationalPark(\n limit: 1,\n offset: 5\n ) {\n parkName\n description\n location\n establishedYear\n isEntryFree\n wildlife\n facilities {\n ... on Facility {\n facilityName\n description\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}\n\n COMMAND:\n ```text\nPlease show me the pet name, species, breed, age, and the full name, address, and contact number of the owner for the 6th object in the Pet class.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Pet(\n limit: 1,\n offset: 5\n ) {\n petName\n species\n breed\n age\n owner {\n ... on Person {\n fullName\n address\n contactNumber\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease show me the pet name, species, breed, age, and the full name, address, and contact number of the owner for the 6th object in the Pet class.\n```", "apiRef": "Paginate with\u00a0`limit`\u00a0and\u00a0`offset`\n\nIf you only want the\u00a0`n`\u00a0results after the first\u00a0`m`\u00a0results from the query, you can do this with\u00a0`limit`\u00a0and\u00a0`offset`\u00a0as shown below.\n\nBe aware that although you will only see\u00a0`n`\u00a0results, this could become an expensive operation as\u00a0`m`\u00a0grows larger, as Weaviate must fetch\u00a0`n+m`\u00a0results.\n\nFOR EXHAUSTIVE RETRIEVAL, USE\u00a0`after`\u00a0INSTEAD.\n\nIf you want to list and retrieve all objects from a\u00a0`class`, use the cursor API instead with the\u00a0`after`\u00a0operator.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n limit: 1,\n offset: 1\n ) {\n question\n }\n }\n}\n```", "apiRefPath": "get-paginate-with-limit-and-offset.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}", "schemaPath": "pets.json", "modelOutput": "{\n Get {\n Pet(\n limit: 1,\n offset: 5\n ) {\n petName\n species\n breed\n age\n owner {\n ... on Person {\n fullName\n address\n contactNumber\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}\n\n COMMAND:\n ```text\nPlease show me the name, material, linked gemstone's name and hardness, price, and whether the jewelry item is handmade for the 6th object in the JewelryItem class.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n JewelryItem(\n limit: 1,\n offset: 5\n ) {\n name\n material\n gemstone {\n ... on Gemstone {\n name\n hardness\n }\n }\n price\n isHandmade\n }\n }\n}\n```", "nlcommand": "```text\nPlease show me the name, material, linked gemstone's name and hardness, price, and whether the jewelry item is handmade for the 6th object in the JewelryItem class.\n```", "apiRef": "Paginate with\u00a0`limit`\u00a0and\u00a0`offset`\n\nIf you only want the\u00a0`n`\u00a0results after the first\u00a0`m`\u00a0results from the query, you can do this with\u00a0`limit`\u00a0and\u00a0`offset`\u00a0as shown below.\n\nBe aware that although you will only see\u00a0`n`\u00a0results, this could become an expensive operation as\u00a0`m`\u00a0grows larger, as Weaviate must fetch\u00a0`n+m`\u00a0results.\n\nFOR EXHAUSTIVE RETRIEVAL, USE\u00a0`after`\u00a0INSTEAD.\n\nIf you want to list and retrieve all objects from a\u00a0`class`, use the cursor API instead with the\u00a0`after`\u00a0operator.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n limit: 1,\n offset: 1\n ) {\n question\n }\n }\n}\n```", "apiRefPath": "get-paginate-with-limit-and-offset.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}", "schemaPath": "jewelry.json", "modelOutput": "{\n Get {\n JewelryItem(\n limit: 1,\n offset: 5\n ) {\n name\n material\n gemstone {\n ... on Gemstone {\n name\n hardness\n }\n }\n price\n isHandmade\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}\n\n COMMAND:\n ```text\nPlease show me the mission name, objective, launch year, mission status, and linked space agency's name for the 6th object in the Space Mission class.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n SpaceMission (\n limit: 1,\n offset: 5\n ) {\n missionName\n objective\n launchYear\n missionStatus\n spaceAgency {\n ... on SpaceAgency {\n agencyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease show me the mission name, objective, launch year, mission status, and linked space agency's name for the 6th object in the Space Mission class.\n```", "apiRef": "Paginate with\u00a0`limit`\u00a0and\u00a0`offset`\n\nIf you only want the\u00a0`n`\u00a0results after the first\u00a0`m`\u00a0results from the query, you can do this with\u00a0`limit`\u00a0and\u00a0`offset`\u00a0as shown below.\n\nBe aware that although you will only see\u00a0`n`\u00a0results, this could become an expensive operation as\u00a0`m`\u00a0grows larger, as Weaviate must fetch\u00a0`n+m`\u00a0results.\n\nFOR EXHAUSTIVE RETRIEVAL, USE\u00a0`after`\u00a0INSTEAD.\n\nIf you want to list and retrieve all objects from a\u00a0`class`, use the cursor API instead with the\u00a0`after`\u00a0operator.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n limit: 1,\n offset: 1\n ) {\n question\n }\n }\n}\n```", "apiRefPath": "get-paginate-with-limit-and-offset.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}", "schemaPath": "spaceexploration.json", "modelOutput": "{\n Get {\n SpaceMission(\n limit: 1,\n offset: 5\n ) {\n missionName\n objective\n launchYear\n missionStatus\n spaceAgency {\n ... on SpaceAgency {\n agencyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}\n\n COMMAND:\n ```text\nPlease show me the name, mission, founded year, focus area, and linked founder's full name for the 6th object in the NonProfit class.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NonProfit(\n limit: 1,\n offset: 5\n ) {\n name\n mission\n foundedYear\n focusArea\n founder {\n ... on Person {\n fullName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease show me the name, mission, founded year, focus area, and linked founder's full name for the 6th object in the NonProfit class.\n```", "apiRef": "Paginate with\u00a0`limit`\u00a0and\u00a0`offset`\n\nIf you only want the\u00a0`n`\u00a0results after the first\u00a0`m`\u00a0results from the query, you can do this with\u00a0`limit`\u00a0and\u00a0`offset`\u00a0as shown below.\n\nBe aware that although you will only see\u00a0`n`\u00a0results, this could become an expensive operation as\u00a0`m`\u00a0grows larger, as Weaviate must fetch\u00a0`n+m`\u00a0results.\n\nFOR EXHAUSTIVE RETRIEVAL, USE\u00a0`after`\u00a0INSTEAD.\n\nIf you want to list and retrieve all objects from a\u00a0`class`, use the cursor API instead with the\u00a0`after`\u00a0operator.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n limit: 1,\n offset: 1\n ) {\n question\n }\n }\n}\n```", "apiRefPath": "get-paginate-with-limit-and-offset.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}", "schemaPath": "nonprofits.json", "modelOutput": "{\n Get {\n NonProfit(\n limit: 1,\n offset: 5\n ) {\n name\n mission\n foundedYear\n focusArea\n founder {\n ... on Person {\n fullName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}\n\n COMMAND:\n ```text\nPlease show me the application name, description, platform, and linked developer's company name for the 6th object in the ARApplication class.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ARApplication(\n limit: 1,\n offset: 5\n ) {\n appName\n description\n platform\n developer {\n ... on SoftwareCompany {\n companyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease show me the application name, description, platform, and linked developer's company name for the 6th object in the ARApplication class.\n```", "apiRef": "Paginate with\u00a0`limit`\u00a0and\u00a0`offset`\n\nIf you only want the\u00a0`n`\u00a0results after the first\u00a0`m`\u00a0results from the query, you can do this with\u00a0`limit`\u00a0and\u00a0`offset`\u00a0as shown below.\n\nBe aware that although you will only see\u00a0`n`\u00a0results, this could become an expensive operation as\u00a0`m`\u00a0grows larger, as Weaviate must fetch\u00a0`n+m`\u00a0results.\n\nFOR EXHAUSTIVE RETRIEVAL, USE\u00a0`after`\u00a0INSTEAD.\n\nIf you want to list and retrieve all objects from a\u00a0`class`, use the cursor API instead with the\u00a0`after`\u00a0operator.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n limit: 1,\n offset: 1\n ) {\n question\n }\n }\n}\n```", "apiRefPath": "get-paginate-with-limit-and-offset.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}", "schemaPath": "augmentedreality.json", "modelOutput": "{\n Get {\n ARApplication(\n limit: 1,\n offset: 5\n ) {\n appName\n description\n platform\n developer {\n ... on SoftwareCompany {\n companyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}\n\n COMMAND:\n ```text\nList all distinct compound names in the ChemicalCompound class.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n ChemicalCompound(groupBy: \"compoundName\") {\n groupedBy {\n value\n }\n meta {\n count\n }\n }\n }\n}\n```", "nlcommand": "```text\nList all distinct compound names in the ChemicalCompound class.\n```", "apiRef": "Retrieve groupedBy properties\n\nYou can use the groupBy variable to group the results set into subsets. Then, you can retrieve the grouped aggregate data for each group through the groupedBy properties.\n\nFor example, to list all distinct values of a property, and the counts for each:\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion(groupBy: \"round\") {\n groupedBy {\n value\n }\n meta {\n count\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-groupedBy.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}", "schemaPath": "chemicals.json", "modelOutput": "{\n Aggregate {\n ChemicalCompound(groupBy: \"compoundName\") {\n groupedBy {\n value\n }\n meta {\n count\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nList all distinct genres in the VRExperience class.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n VRExperience(groupBy: \"genre\") {\n groupedBy {\n value\n }\n meta {\n count\n }\n }\n }\n}\n```", "nlcommand": "```text\nList all distinct genres in the VRExperience class.\n```", "apiRef": "Retrieve groupedBy properties\n\nYou can use the groupBy variable to group the results set into subsets. Then, you can retrieve the grouped aggregate data for each group through the groupedBy properties.\n\nFor example, to list all distinct values of a property, and the counts for each:\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion(groupBy: \"round\") {\n groupedBy {\n value\n }\n meta {\n count\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-groupedBy.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}", "schemaPath": "virtualreality.json", "modelOutput": "{\n Aggregate {\n VRExperience(groupBy: \"genre\") {\n groupedBy {\n value\n }\n meta {\n count\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}\n\n COMMAND:\n ```text\nList all distinct approval years in the Drug class.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n Drug(groupBy: \"approvalYear\") {\n groupedBy {\n value\n }\n meta {\n count\n }\n }\n }\n}\n```", "nlcommand": "```text\nList all distinct approval years in the Drug class.\n```", "apiRef": "Retrieve groupedBy properties\n\nYou can use the groupBy variable to group the results set into subsets. Then, you can retrieve the grouped aggregate data for each group through the groupedBy properties.\n\nFor example, to list all distinct values of a property, and the counts for each:\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion(groupBy: \"round\") {\n groupedBy {\n value\n }\n meta {\n count\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-groupedBy.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}", "schemaPath": "pharmaceuticals.json", "modelOutput": "{\n Aggregate {\n Drug(groupBy: \"approvalYear\") {\n groupedBy {\n value\n }\n meta {\n count\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}\n\n COMMAND:\n ```text\nList all distinct festival names in the FilmFestival class.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n FilmFestival(groupBy: \"festivalName\") {\n groupedBy {\n value\n }\n meta {\n count\n }\n }\n }\n}\n```", "nlcommand": "```text\nList all distinct festival names in the FilmFestival class.\n```", "apiRef": "Retrieve groupedBy properties\n\nYou can use the groupBy variable to group the results set into subsets. Then, you can retrieve the grouped aggregate data for each group through the groupedBy properties.\n\nFor example, to list all distinct values of a property, and the counts for each:\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion(groupBy: \"round\") {\n groupedBy {\n value\n }\n meta {\n count\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-groupedBy.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}", "schemaPath": "filmfestivals.json", "modelOutput": "{\n Aggregate {\n FilmFestival(groupBy: \"festivalName\") {\n groupedBy {\n value\n }\n meta {\n count\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}\n\n COMMAND:\n ```text\nList all distinct types of boats.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n Boat(groupBy: \"type\") {\n groupedBy {\n value\n }\n meta {\n count\n }\n }\n }\n}\n```", "nlcommand": "```text\nList all distinct types of boats.\n```", "apiRef": "Retrieve groupedBy properties\n\nYou can use the groupBy variable to group the results set into subsets. Then, you can retrieve the grouped aggregate data for each group through the groupedBy properties.\n\nFor example, to list all distinct values of a property, and the counts for each:\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion(groupBy: \"round\") {\n groupedBy {\n value\n }\n meta {\n count\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-groupedBy.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}", "schemaPath": "boats.json", "modelOutput": "{\n Aggregate {\n Boat(groupBy: \"type\") {\n groupedBy {\n value\n }\n meta {\n count\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}\n\n COMMAND:\n ```text\nList all distinct park names in the NationalPark class.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n NationalPark(groupBy: \"parkName\") {\n groupedBy {\n value\n }\n meta {\n count\n }\n }\n }\n}\n```", "nlcommand": "```text\nList all distinct park names in the NationalPark class.\n```", "apiRef": "Retrieve groupedBy properties\n\nYou can use the groupBy variable to group the results set into subsets. Then, you can retrieve the grouped aggregate data for each group through the groupedBy properties.\n\nFor example, to list all distinct values of a property, and the counts for each:\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion(groupBy: \"round\") {\n groupedBy {\n value\n }\n meta {\n count\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-groupedBy.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}", "schemaPath": "nationalparks.json", "modelOutput": "{\n Aggregate {\n NationalPark(groupBy: \"parkName\") {\n groupedBy {\n value\n }\n meta {\n count\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}\n\n COMMAND:\n ```text\nList all distinct species in the Pet class.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n Pet(groupBy: \"species\") {\n groupedBy {\n value\n }\n meta {\n count\n }\n }\n }\n}\n```", "nlcommand": "```text\nList all distinct species in the Pet class.\n```", "apiRef": "Retrieve groupedBy properties\n\nYou can use the groupBy variable to group the results set into subsets. Then, you can retrieve the grouped aggregate data for each group through the groupedBy properties.\n\nFor example, to list all distinct values of a property, and the counts for each:\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion(groupBy: \"round\") {\n groupedBy {\n value\n }\n meta {\n count\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-groupedBy.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}", "schemaPath": "pets.json", "modelOutput": "{\n Aggregate {\n Pet(groupBy: \"species\") {\n groupedBy {\n value\n }\n meta {\n count\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}\n\n COMMAND:\n ```text\nList all distinct mission names in the SpaceMission class.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n SpaceMission(groupBy: \"missionName\") {\n groupedBy {\n value\n }\n meta {\n count\n }\n }\n }\n}\n```", "nlcommand": "```text\nList all distinct mission names in the SpaceMission class.\n```", "apiRef": "Retrieve groupedBy properties\n\nYou can use the groupBy variable to group the results set into subsets. Then, you can retrieve the grouped aggregate data for each group through the groupedBy properties.\n\nFor example, to list all distinct values of a property, and the counts for each:\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion(groupBy: \"round\") {\n groupedBy {\n value\n }\n meta {\n count\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-groupedBy.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}", "schemaPath": "spaceexploration.json", "modelOutput": "{\n Aggregate {\n SpaceMission(groupBy: \"missionName\") {\n groupedBy {\n value\n }\n meta {\n count\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}\n\n COMMAND:\n ```text\nList all distinct focus areas in the NonProfit class.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n NonProfit(groupBy: \"focusArea\") {\n groupedBy {\n value\n }\n meta {\n count\n }\n }\n }\n}\n```", "nlcommand": "```text\nList all distinct focus areas in the NonProfit class.\n```", "apiRef": "Retrieve groupedBy properties\n\nYou can use the groupBy variable to group the results set into subsets. Then, you can retrieve the grouped aggregate data for each group through the groupedBy properties.\n\nFor example, to list all distinct values of a property, and the counts for each:\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion(groupBy: \"round\") {\n groupedBy {\n value\n }\n meta {\n count\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-groupedBy.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}", "schemaPath": "nonprofits.json", "modelOutput": "{\n Aggregate {\n NonProfit(groupBy: \"focusArea\") {\n groupedBy {\n value\n }\n meta {\n count\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}\n\n COMMAND:\n ```text\nList all distinct platforms in the ARApplication class.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n ARApplication(groupBy: \"platform\") {\n groupedBy {\n value\n }\n meta {\n count\n }\n }\n }\n}\n```", "nlcommand": "```text\nList all distinct platforms in the ARApplication class.\n```", "apiRef": "Retrieve groupedBy properties\n\nYou can use the groupBy variable to group the results set into subsets. Then, you can retrieve the grouped aggregate data for each group through the groupedBy properties.\n\nFor example, to list all distinct values of a property, and the counts for each:\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion(groupBy: \"round\") {\n groupedBy {\n value\n }\n meta {\n count\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-groupedBy.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}", "schemaPath": "augmentedreality.json", "modelOutput": "{\n Aggregate {\n ARApplication(groupBy: \"platform\") {\n groupedBy {\n value\n }\n meta {\n count\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}\n\n COMMAND:\n ```text\nGet me the chemical compounds with a BM25 score of the query 'organic' where the molar mass is greater than 100, and show the compound name, formula, molar mass, and the elements it contains including their name, symbol, atomic number, and whether they are a metal.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ChemicalCompound(\n bm25: {\n query: \"organic\"\n },\n where: {\n path: [\"molarMass\"],\n operator: GreaterThan,\n valueNumber: 100\n }\n ) {\n compoundName\n formula\n molarMass\n containsElements {\n ... on ChemicalElement {\n elementName\n symbol\n atomicNumber\n isMetal\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the chemical compounds with a BM25 score of the query 'organic' where the molar mass is greater than 100, and show the compound name, formula, molar mass, and the elements it contains including their name, symbol, atomic number, and whether they are a metal.\n```", "apiRef": "Query API: Combining BM25 and the Where Filter\n\nPlease note: This is a compositional API, combining the `where` filter with `bm25`.\nAdd a conditional `where` to BM25 search.\n\nYou can add a conditional filter to any BM25 search query using the `where` API, which will filter the outputs but not impact the ranking from keyword scoring.\n\nThe below example searches for objects containing the keyword\u00a0`food`\u00a0in any field and which have the\u00a0`round`\u00a0property of\u00a0`Double Jeopardy!`, ranks them using BM25, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\"\n },\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```\n\nIn this example, the query will filter the results where the `round` property equals \"Double Jeopardy!\" and then rank them based on the keyword scoring algorithm with the query \"food\".\n\nA Natural Language Command for this example could be: \"Show me Jeopardy Questions about food in the Double Jeopardy round, show me the question, answer and Bm25 score.\"", "apiRefPath": "get-bm25-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}", "schemaPath": "chemicals.json", "modelOutput": "{\n Get {\n ChemicalCompound(\n bm25: {\n query: \"organic\"\n },\n where: {\n path: [\"molarMass\"],\n operator: GreaterThan,\n valueNumber: 100\n }\n ) {\n compoundName\n formula\n molarMass\n containsElements {\n ... on ChemicalElement {\n elementName\n symbol\n isMetal\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the VR Experiences with BM25 scoring of the query 'action' where the releaseYear is greater than 2010, and show the title, developer's name, genre, and multiplayer status.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n VRExperience(\n bm25: {\n query: \"action\"\n },\n where: {\n path: [\"releaseYear\"],\n operator: GreaterThan,\n valueInt: 2010\n }\n ) {\n title\n developer {\n ... on Developer {\n name\n }\n }\n genre\n isMultiplayer\n }\n }\n}\n```", "nlcommand": "```text\nGet me the VR Experiences with BM25 scoring of the query 'action' where the releaseYear is greater than 2010, and show the title, developer's name, genre, and multiplayer status.\n```", "apiRef": "Query API: Combining BM25 and the Where Filter\n\nPlease note: This is a compositional API, combining the `where` filter with `bm25`.\nAdd a conditional `where` to BM25 search.\n\nYou can add a conditional filter to any BM25 search query using the `where` API, which will filter the outputs but not impact the ranking from keyword scoring.\n\nThe below example searches for objects containing the keyword\u00a0`food`\u00a0in any field and which have the\u00a0`round`\u00a0property of\u00a0`Double Jeopardy!`, ranks them using BM25, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\"\n },\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```\n\nIn this example, the query will filter the results where the `round` property equals \"Double Jeopardy!\" and then rank them based on the keyword scoring algorithm with the query \"food\".\n\nA Natural Language Command for this example could be: \"Show me Jeopardy Questions about food in the Double Jeopardy round, show me the question, answer and Bm25 score.\"", "apiRefPath": "get-bm25-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}", "schemaPath": "virtualreality.json", "modelOutput": "{\n Get {\n VRExperience(\n bm25: {\n query: \"action\"\n },\n where: {\n path: [\"releaseYear\"],\n operator: GreaterThan,\n valueInt: 2010\n }\n ) {\n title\n developer {\n ... on Developer {\n name\n }\n }\n genre\n isMultiplayer\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}\n\n COMMAND:\n ```text\nGet me the drugs with BM25 scoring of the query 'pain relief' where the approvalYear is greater than 2010, and show the drugName, activeIngredient, OTC status, and manufacturer's company name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Drug(\n bm25: {\n query: \"pain relief\"\n },\n where: {\n path: [\"approvalYear\"],\n operator: GreaterThan,\n valueInt: 2010\n }\n ) {\n drugName\n activeIngredient\n isOTC\n manufacturer {\n ... on Manufacturer {\n companyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the drugs with BM25 scoring of the query 'pain relief' where the approvalYear is greater than 2010, and show the drugName, activeIngredient, OTC status, and manufacturer's company name.\n```", "apiRef": "Query API: Combining BM25 and the Where Filter\n\nPlease note: This is a compositional API, combining the `where` filter with `bm25`.\nAdd a conditional `where` to BM25 search.\n\nYou can add a conditional filter to any BM25 search query using the `where` API, which will filter the outputs but not impact the ranking from keyword scoring.\n\nThe below example searches for objects containing the keyword\u00a0`food`\u00a0in any field and which have the\u00a0`round`\u00a0property of\u00a0`Double Jeopardy!`, ranks them using BM25, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\"\n },\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```\n\nIn this example, the query will filter the results where the `round` property equals \"Double Jeopardy!\" and then rank them based on the keyword scoring algorithm with the query \"food\".\n\nA Natural Language Command for this example could be: \"Show me Jeopardy Questions about food in the Double Jeopardy round, show me the question, answer and Bm25 score.\"", "apiRefPath": "get-bm25-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}", "schemaPath": "pharmaceuticals.json", "modelOutput": "{\n Get {\n Drug(\n bm25: {\n query: \"pain relief\"\n },\n where: {\n path: [\"approvalYear\"],\n operator: GreaterThan,\n valueInt: 2010\n }\n ) {\n drugName\n activeIngredient\n isOTC\n manufacturer {\n ... on Manufacturer {\n companyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}\n\n COMMAND:\n ```text\nGet me the film festivals with BM25 scoring of the query 'Cannes' where the location is equal to 'France', and show the festival name, description, and featured film's title and director.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n FilmFestival(\n bm25: {\n query: \"Cannes\"\n },\n where: {\n path: [\"location\"],\n operator: Equal,\n valueText: \"France\"\n }\n ) {\n festivalName\n description\n featuredFilm {\n ... on Film {\n filmTitle\n director\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the film festivals with BM25 scoring of the query 'Cannes' where the location is equal to 'France', and show the festival name, description, and featured film's title and director.\n```", "apiRef": "Query API: Combining BM25 and the Where Filter\n\nPlease note: This is a compositional API, combining the `where` filter with `bm25`.\nAdd a conditional `where` to BM25 search.\n\nYou can add a conditional filter to any BM25 search query using the `where` API, which will filter the outputs but not impact the ranking from keyword scoring.\n\nThe below example searches for objects containing the keyword\u00a0`food`\u00a0in any field and which have the\u00a0`round`\u00a0property of\u00a0`Double Jeopardy!`, ranks them using BM25, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\"\n },\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```\n\nIn this example, the query will filter the results where the `round` property equals \"Double Jeopardy!\" and then rank them based on the keyword scoring algorithm with the query \"food\".\n\nA Natural Language Command for this example could be: \"Show me Jeopardy Questions about food in the Double Jeopardy round, show me the question, answer and Bm25 score.\"", "apiRefPath": "get-bm25-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}", "schemaPath": "filmfestivals.json", "modelOutput": "{\n Get {\n FilmFestival(\n bm25: {\n query: \"Cannes\"\n },\n where: {\n path: [\"location\"],\n operator: Equal,\n valueText: \"France\"\n }\n ) {\n festivalName\n description\n featuredFilm {\n ... on Film {\n title\n director\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the boats with BM25 scoring of the query 'sailboat' where the capacity is greater than 10, and show the boat name, type, capacity, motorization status, and manufacturer's company name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Boat(\n bm25: {\n query: \"sailboat\"\n },\n where: {\n path: [\"capacity\"],\n operator: GreaterThan,\n valueInt: 10\n }\n ) {\n boatName\n type\n capacity\n isMotorized\n manufacturer {\n ... on BoatManufacturer {\n companyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the boats with BM25 scoring of the query 'sailboat' where the capacity is greater than 10, and show the boat name, type, capacity, motorization status, and manufacturer's company name.\n```", "apiRef": "Query API: Combining BM25 and the Where Filter\n\nPlease note: This is a compositional API, combining the `where` filter with `bm25`.\nAdd a conditional `where` to BM25 search.\n\nYou can add a conditional filter to any BM25 search query using the `where` API, which will filter the outputs but not impact the ranking from keyword scoring.\n\nThe below example searches for objects containing the keyword\u00a0`food`\u00a0in any field and which have the\u00a0`round`\u00a0property of\u00a0`Double Jeopardy!`, ranks them using BM25, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\"\n },\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```\n\nIn this example, the query will filter the results where the `round` property equals \"Double Jeopardy!\" and then rank them based on the keyword scoring algorithm with the query \"food\".\n\nA Natural Language Command for this example could be: \"Show me Jeopardy Questions about food in the Double Jeopardy round, show me the question, answer and Bm25 score.\"", "apiRefPath": "get-bm25-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}", "schemaPath": "boats.json", "modelOutput": "{\n Get {\n Boat(\n bm25: {\n query: \"sailboat\"\n },\n where: {\n path: [\"capacity\"],\n operator: GreaterThan,\n valueInt: 10\n }\n ) {\n boatName\n type\n capacity\n isMotorized\n manufacturer {\n ... on BoatManufacturer {\n companyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}\n\n COMMAND:\n ```text\nGet me the national parks with a BM25 scoring of the query 'mountain' where the established year is greater than 2000. Show me the park name, description, location, established year, entry fee status, wildlife, and facility name with description.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NationalPark(\n bm25: {\n query: \"mountain\"\n },\n where: {\n path: [\"establishedYear\"],\n operator: GreaterThan,\n valueInt: 2000\n }\n ) {\n parkName\n description\n location\n establishedYear\n isEntryFree\n wildlife\n facilities {\n ... on Facility {\n facilityName\n description\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the national parks with a BM25 scoring of the query 'mountain' where the established year is greater than 2000. Show me the park name, description, location, established year, entry fee status, wildlife, and facility name with description.\n```", "apiRef": "Query API: Combining BM25 and the Where Filter\n\nPlease note: This is a compositional API, combining the `where` filter with `bm25`.\nAdd a conditional `where` to BM25 search.\n\nYou can add a conditional filter to any BM25 search query using the `where` API, which will filter the outputs but not impact the ranking from keyword scoring.\n\nThe below example searches for objects containing the keyword\u00a0`food`\u00a0in any field and which have the\u00a0`round`\u00a0property of\u00a0`Double Jeopardy!`, ranks them using BM25, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\"\n },\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```\n\nIn this example, the query will filter the results where the `round` property equals \"Double Jeopardy!\" and then rank them based on the keyword scoring algorithm with the query \"food\".\n\nA Natural Language Command for this example could be: \"Show me Jeopardy Questions about food in the Double Jeopardy round, show me the question, answer and Bm25 score.\"", "apiRefPath": "get-bm25-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}", "schemaPath": "nationalparks.json", "modelOutput": "{\n Get {\n NationalPark(\n bm25: {\n query: \"mountain\"\n },\n where: {\n path: [\"establishedYear\"],\n operator: GreaterThan,\n valueInt: 2000\n }\n ) {\n parkName\n description\n location\n establishedYear\n isEntryFree\n wildlife\n facilities {\n ... on Facility {\n facilityName\n description\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}\n\n COMMAND:\n ```text\nGet me the pets with BM25 scoring of the query 'dog' where the age is greater than 2, and show the pet name, species, breed, age, owner's full name, address, and contact number.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Pet(\n bm25: {\n query: \"dog\"\n },\n where: {\n path: [\"age\"],\n operator: GreaterThan,\n valueInt: 2\n }\n ) {\n petName\n species\n breed\n age\n owner {\n ... on Person {\n fullName\n address\n contactNumber\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the pets with BM25 scoring of the query 'dog' where the age is greater than 2, and show the pet name, species, breed, age, owner's full name, address, and contact number.\n```", "apiRef": "Query API: Combining BM25 and the Where Filter\n\nPlease note: This is a compositional API, combining the `where` filter with `bm25`.\nAdd a conditional `where` to BM25 search.\n\nYou can add a conditional filter to any BM25 search query using the `where` API, which will filter the outputs but not impact the ranking from keyword scoring.\n\nThe below example searches for objects containing the keyword\u00a0`food`\u00a0in any field and which have the\u00a0`round`\u00a0property of\u00a0`Double Jeopardy!`, ranks them using BM25, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\"\n },\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```\n\nIn this example, the query will filter the results where the `round` property equals \"Double Jeopardy!\" and then rank them based on the keyword scoring algorithm with the query \"food\".\n\nA Natural Language Command for this example could be: \"Show me Jeopardy Questions about food in the Double Jeopardy round, show me the question, answer and Bm25 score.\"", "apiRefPath": "get-bm25-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}", "schemaPath": "pets.json", "modelOutput": "{\n Get {\n Pet(\n bm25: {\n query: \"dog\"\n },\n where: {\n path: [\"age\"],\n operator: GreaterThan,\n valueInt: 2\n }\n ) {\n petName\n species\n breed\n age\n owner {\n ... on Person {\n fullName\n address\n contactNumber\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}\n\n COMMAND:\n ```text\nGet me the jewelry items with a BM25 scoring of the query 'diamond' where the price is less than 1000, and show the name, material, gemstone name and hardness, price, and whether it is handmade.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n JewelryItem(\n bm25: {\n query: \"diamond\"\n },\n where: {\n path: [\"price\"],\n operator: LessThan,\n valueNumber: 1000\n }\n ) {\n name\n material\n gemstone {\n ... on Gemstone {\n name\n hardness\n }\n }\n price\n isHandmade\n }\n }\n}\n```", "nlcommand": "```text\nGet me the jewelry items with a BM25 scoring of the query 'diamond' where the price is less than 1000, and show the name, material, gemstone name and hardness, price, and whether it is handmade.\n```", "apiRef": "Query API: Combining BM25 and the Where Filter\n\nPlease note: This is a compositional API, combining the `where` filter with `bm25`.\nAdd a conditional `where` to BM25 search.\n\nYou can add a conditional filter to any BM25 search query using the `where` API, which will filter the outputs but not impact the ranking from keyword scoring.\n\nThe below example searches for objects containing the keyword\u00a0`food`\u00a0in any field and which have the\u00a0`round`\u00a0property of\u00a0`Double Jeopardy!`, ranks them using BM25, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\"\n },\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```\n\nIn this example, the query will filter the results where the `round` property equals \"Double Jeopardy!\" and then rank them based on the keyword scoring algorithm with the query \"food\".\n\nA Natural Language Command for this example could be: \"Show me Jeopardy Questions about food in the Double Jeopardy round, show me the question, answer and Bm25 score.\"", "apiRefPath": "get-bm25-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}", "schemaPath": "jewelry.json", "modelOutput": "{\n Get {\n JewelryItem(\n bm25: {\n query: \"diamond\"\n },\n where: {\n path: [\"price\"],\n operator: LessThan,\n valueNumber: 1000\n }\n ) {\n name\n material\n gemstone {\n ... on Gemstone {\n name\n hardness\n }\n }\n price\n isHandmade\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}\n\n COMMAND:\n ```text\nGet me the space missions with a BM25 scoring of the query 'exploration' where the launch year is greater than 2000, and show the mission name, objective, mission status, and space agency's name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n SpaceMission(\n bm25: {\n query: \"exploration\"\n },\n where: {\n path: [\"launchYear\"],\n operator: GreaterThan,\n valueInt: 2000\n }\n ) {\n missionName\n objective\n missionStatus\n spaceAgency {\n ... on SpaceAgency {\n agencyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the space missions with a BM25 scoring of the query 'exploration' where the launch year is greater than 2000, and show the mission name, objective, mission status, and space agency's name.\n```", "apiRef": "Query API: Combining BM25 and the Where Filter\n\nPlease note: This is a compositional API, combining the `where` filter with `bm25`.\nAdd a conditional `where` to BM25 search.\n\nYou can add a conditional filter to any BM25 search query using the `where` API, which will filter the outputs but not impact the ranking from keyword scoring.\n\nThe below example searches for objects containing the keyword\u00a0`food`\u00a0in any field and which have the\u00a0`round`\u00a0property of\u00a0`Double Jeopardy!`, ranks them using BM25, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\"\n },\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```\n\nIn this example, the query will filter the results where the `round` property equals \"Double Jeopardy!\" and then rank them based on the keyword scoring algorithm with the query \"food\".\n\nA Natural Language Command for this example could be: \"Show me Jeopardy Questions about food in the Double Jeopardy round, show me the question, answer and Bm25 score.\"", "apiRefPath": "get-bm25-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}", "schemaPath": "spaceexploration.json", "modelOutput": "{\n Get {\n SpaceMission(\n bm25: {\n query: \"exploration\"\n },\n where: {\n path: [\"launchYear\"],\n operator: GreaterThan,\n valueInt: 2000\n }\n ) {\n missionName\n objective\n missionStatus\n spaceAgency {\n ... on SpaceAgency {\n agencyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}\n\n COMMAND:\n ```text\nGet me the non-profit organizations with a BM25 scoring of the query 'charity' where the founded year is greater than 2000, and show the name, mission, focus area, and founder's full name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NonProfit(\n bm25: {\n query: \"charity\"\n },\n where: {\n path: [\"foundedYear\"],\n operator: GreaterThan,\n valueInt: 2000\n }\n ) {\n name\n mission\n focusArea\n founder {\n ... on Person {\n fullName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the non-profit organizations with a BM25 scoring of the query 'charity' where the founded year is greater than 2000, and show the name, mission, focus area, and founder's full name.\n```", "apiRef": "Query API: Combining BM25 and the Where Filter\n\nPlease note: This is a compositional API, combining the `where` filter with `bm25`.\nAdd a conditional `where` to BM25 search.\n\nYou can add a conditional filter to any BM25 search query using the `where` API, which will filter the outputs but not impact the ranking from keyword scoring.\n\nThe below example searches for objects containing the keyword\u00a0`food`\u00a0in any field and which have the\u00a0`round`\u00a0property of\u00a0`Double Jeopardy!`, ranks them using BM25, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\"\n },\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```\n\nIn this example, the query will filter the results where the `round` property equals \"Double Jeopardy!\" and then rank them based on the keyword scoring algorithm with the query \"food\".\n\nA Natural Language Command for this example could be: \"Show me Jeopardy Questions about food in the Double Jeopardy round, show me the question, answer and Bm25 score.\"", "apiRefPath": "get-bm25-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}", "schemaPath": "nonprofits.json", "modelOutput": "{\n Get {\n NonProfit(\n bm25: {\n query: \"charity\"\n },\n where: {\n path: [\"foundedYear\"],\n operator: GreaterThan,\n valueInt: 2000\n }\n ) {\n name\n mission\n focusArea\n founder {\n ... on Person {\n fullName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}\n\n COMMAND:\n ```text\nGet me the AR applications with BM25 scoring of the query 'augmented reality' where the platform is equal to 'iOS', and show the application name, description, platform, and developer's company name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ARApplication(\n bm25: {\n query: \"augmented reality\"\n },\n where: {\n path: [\"platform\"],\n operator: Equal,\n valueText: \"iOS\"\n }\n ) {\n appName\n description\n platform\n developer {\n ... on SoftwareCompany {\n companyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the AR applications with BM25 scoring of the query 'augmented reality' where the platform is equal to 'iOS', and show the application name, description, platform, and developer's company name.\n```", "apiRef": "Query API: Combining BM25 and the Where Filter\n\nPlease note: This is a compositional API, combining the `where` filter with `bm25`.\nAdd a conditional `where` to BM25 search.\n\nYou can add a conditional filter to any BM25 search query using the `where` API, which will filter the outputs but not impact the ranking from keyword scoring.\n\nThe below example searches for objects containing the keyword\u00a0`food`\u00a0in any field and which have the\u00a0`round`\u00a0property of\u00a0`Double Jeopardy!`, ranks them using BM25, and returns the top 3.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n bm25: {\n query: \"food\"\n },\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```\n\nIn this example, the query will filter the results where the `round` property equals \"Double Jeopardy!\" and then rank them based on the keyword scoring algorithm with the query \"food\".\n\nA Natural Language Command for this example could be: \"Show me Jeopardy Questions about food in the Double Jeopardy round, show me the question, answer and Bm25 score.\"", "apiRefPath": "get-bm25-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}", "schemaPath": "augmentedreality.json", "modelOutput": "{\n Get {\n ARApplication(\n bm25: {\n query: \"augmented reality\"\n },\n where: {\n path: [\"platform\"],\n operator: Equal,\n valueText: \"iOS\"\n }\n ) {\n appName\n description\n platform\n developer {\n ... on SoftwareCompany {\n companyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 10 chemical compounds related to 'organic chemistry', and show their compound name, formula, molar mass, and the elements they contain including the element name, symbol, atomic number, and whether it is a metal.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ChemicalCompound(\n hybrid: {\n query: \"organic chemistry\"\n },\n limit: 10\n ) {\n compoundName\n formula\n molarMass\n containsElements {\n ... on ChemicalElement {\n elementName\n symbol\n atomicNumber\n isMetal\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 10 chemical compounds related to 'organic chemistry', and show their compound name, formula, molar mass, and the elements they contain including the element name, symbol, atomic number, and whether it is a metal.\n```", "apiRef": "Limit the results of Hybrid Search\n\nYou can limit the number of results returned by a\u00a0`hybrid`\u00a0search,\n\n- to a fixed number, using the\u00a0`limit: `\u00a0operator\n- to the first N \"drops\" in\u00a0`score`, using the\u00a0`autocut`\u00a0operator\n\n`autocut`\u00a0can be combined with\u00a0`limit: N`, which would limit autocut's input to the first\u00a0`N`\u00a0objects.\n\nLimiting the number of results\n\nUse the\u00a0`limit`\u00a0argument to specify the maximum number of results that should be returned:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n hybrid: {\n query: \"safety\"\n },\n limit: 3\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-hybrid-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}", "schemaPath": "chemicals.json", "modelOutput": "{\n Get {\n ChemicalCompound(\n bm25: {\n query: \"organic chemistry\"\n },\n limit: 10\n ) {\n compoundName\n formula\n molarMass\n containsElements {\n ... on ChemicalElement {\n elementName\n symbol\n isMetal\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 10 VR experiences with a hybrid search of 'action', and show the title, developer's name, genre, release year, and whether it is multiplayer.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n VRExperience(\n hybrid: {\n query: \"action\"\n },\n limit: 10\n ) {\n title\n developer {\n ... on Developer {\n name\n }\n }\n genre\n releaseYear\n isMultiplayer\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 10 VR experiences with a hybrid search of 'action', and show the title, developer's name, genre, release year, and whether it is multiplayer.\n```", "apiRef": "Limit the results of Hybrid Search\n\nYou can limit the number of results returned by a\u00a0`hybrid`\u00a0search,\n\n- to a fixed number, using the\u00a0`limit: `\u00a0operator\n- to the first N \"drops\" in\u00a0`score`, using the\u00a0`autocut`\u00a0operator\n\n`autocut`\u00a0can be combined with\u00a0`limit: N`, which would limit autocut's input to the first\u00a0`N`\u00a0objects.\n\nLimiting the number of results\n\nUse the\u00a0`limit`\u00a0argument to specify the maximum number of results that should be returned:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n hybrid: {\n query: \"safety\"\n },\n limit: 3\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-hybrid-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}", "schemaPath": "virtualreality.json", "modelOutput": "{\n Get {\n VRExperience(\n hybrid: {\n query: \"action\"\n },\n limit: 10\n ) {\n title\n developer {\n ... on Developer {\n name\n }\n }\n genre\n releaseYear\n isMultiplayer\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 10 drugs with a hybrid search of 'pain relief', and show the drug name, active ingredient, approval year, over-the-counter status, manufacturer's company name, year founded, headquarters location, and global presence.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Drug(\n hybrid: {\n query: \"pain relief\"\n },\n limit: 10\n ) {\n drugName\n activeIngredient\n approvalYear\n isOTC\n manufacturer {\n ... on Manufacturer {\n companyName\n foundedYear\n headquarters\n isGlobal\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 10 drugs with a hybrid search of 'pain relief', and show the drug name, active ingredient, approval year, over-the-counter status, manufacturer's company name, year founded, headquarters location, and global presence.\n```", "apiRef": "Limit the results of Hybrid Search\n\nYou can limit the number of results returned by a\u00a0`hybrid`\u00a0search,\n\n- to a fixed number, using the\u00a0`limit: `\u00a0operator\n- to the first N \"drops\" in\u00a0`score`, using the\u00a0`autocut`\u00a0operator\n\n`autocut`\u00a0can be combined with\u00a0`limit: N`, which would limit autocut's input to the first\u00a0`N`\u00a0objects.\n\nLimiting the number of results\n\nUse the\u00a0`limit`\u00a0argument to specify the maximum number of results that should be returned:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n hybrid: {\n query: \"safety\"\n },\n limit: 3\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-hybrid-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}", "schemaPath": "pharmaceuticals.json", "modelOutput": "{\n Get {\n Drug(\n hybrid: {\n query: \"pain relief\"\n },\n limit: 10\n ) {\n drugName\n activeIngredient\n approvalYear\n isOTC\n manufacturer {\n ... on Manufacturer {\n companyName\n foundedYear\n headquarters\n isGlobal\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 10 film festivals with a hybrid search of 'Cannes', and show the festival name, location, description, and featured film's title and director.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n FilmFestival(\n hybrid: {\n query: \"Cannes\"\n },\n limit: 10\n ) {\n festivalName\n location\n description\n featuredFilm {\n ... on Film {\n filmTitle\n director\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 10 film festivals with a hybrid search of 'Cannes', and show the festival name, location, description, and featured film's title and director.\n```", "apiRef": "Limit the results of Hybrid Search\n\nYou can limit the number of results returned by a\u00a0`hybrid`\u00a0search,\n\n- to a fixed number, using the\u00a0`limit: `\u00a0operator\n- to the first N \"drops\" in\u00a0`score`, using the\u00a0`autocut`\u00a0operator\n\n`autocut`\u00a0can be combined with\u00a0`limit: N`, which would limit autocut's input to the first\u00a0`N`\u00a0objects.\n\nLimiting the number of results\n\nUse the\u00a0`limit`\u00a0argument to specify the maximum number of results that should be returned:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n hybrid: {\n query: \"safety\"\n },\n limit: 3\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-hybrid-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}", "schemaPath": "filmfestivals.json", "modelOutput": "{\n Get {\n FilmFestival(\n hybrid: {\n query: \"Cannes\"\n },\n limit: 10\n ) {\n festivalName\n location\n description\n featuredFilm {\n ... on Film {\n title\n director\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 3 boats with a hybrid search of 'sailboat', and show the boat name, type, capacity, motorization status, and manufacturer's company name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Boat(\n hybrid: {\n query: \"sailboat\"\n },\n limit: 3\n ) {\n boatName\n type\n capacity\n isMotorized\n manufacturer {\n ... on BoatManufacturer {\n companyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 3 boats with a hybrid search of 'sailboat', and show the boat name, type, capacity, motorization status, and manufacturer's company name.\n```", "apiRef": "Limit the results of Hybrid Search\n\nYou can limit the number of results returned by a\u00a0`hybrid`\u00a0search,\n\n- to a fixed number, using the\u00a0`limit: `\u00a0operator\n- to the first N \"drops\" in\u00a0`score`, using the\u00a0`autocut`\u00a0operator\n\n`autocut`\u00a0can be combined with\u00a0`limit: N`, which would limit autocut's input to the first\u00a0`N`\u00a0objects.\n\nLimiting the number of results\n\nUse the\u00a0`limit`\u00a0argument to specify the maximum number of results that should be returned:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n hybrid: {\n query: \"safety\"\n },\n limit: 3\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-hybrid-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}", "schemaPath": "boats.json", "modelOutput": "{\n Get {\n Boat(\n hybrid: {\n query: \"sailboat\"\n },\n limit: 3\n ) {\n boatName\n type\n capacity\n isMotorized\n manufacturer {\n ... on BoatManufacturer {\n companyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 10 national parks with a hybrid search of 'mountain', and show the park name, description, location, established year, entry fee status, wildlife, and facilities' names and descriptions.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NationalPark(\n hybrid: {\n query: \"mountain\"\n },\n limit: 10\n ) {\n parkName\n description\n location\n establishedYear\n isEntryFree\n wildlife\n facilities {\n ... on Facility {\n facilityName\n description\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 10 national parks with a hybrid search of 'mountain', and show the park name, description, location, established year, entry fee status, wildlife, and facilities' names and descriptions.\n```", "apiRef": "Limit the results of Hybrid Search\n\nYou can limit the number of results returned by a\u00a0`hybrid`\u00a0search,\n\n- to a fixed number, using the\u00a0`limit: `\u00a0operator\n- to the first N \"drops\" in\u00a0`score`, using the\u00a0`autocut`\u00a0operator\n\n`autocut`\u00a0can be combined with\u00a0`limit: N`, which would limit autocut's input to the first\u00a0`N`\u00a0objects.\n\nLimiting the number of results\n\nUse the\u00a0`limit`\u00a0argument to specify the maximum number of results that should be returned:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n hybrid: {\n query: \"safety\"\n },\n limit: 3\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-hybrid-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}", "schemaPath": "nationalparks.json", "modelOutput": "{\n Get {\n NationalPark(\n hybrid: {\n query: \"mountain\"\n },\n limit: 10\n ) {\n parkName\n description\n location\n establishedYear\n isEntryFree\n wildlife\n facilities {\n ... on Facility {\n facilityName\n description\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 10 pets with a hybrid search of 'dog', and show the pet name, species, breed, age, owner's full name, address, and contact number.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Pet(\n hybrid: {\n query: \"dog\"\n },\n limit: 10\n ) {\n petName\n species\n breed\n age\n owner {\n ... on Person {\n fullName\n address\n contactNumber\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 10 pets with a hybrid search of 'dog', and show the pet name, species, breed, age, owner's full name, address, and contact number.\n```", "apiRef": "Limit the results of Hybrid Search\n\nYou can limit the number of results returned by a\u00a0`hybrid`\u00a0search,\n\n- to a fixed number, using the\u00a0`limit: `\u00a0operator\n- to the first N \"drops\" in\u00a0`score`, using the\u00a0`autocut`\u00a0operator\n\n`autocut`\u00a0can be combined with\u00a0`limit: N`, which would limit autocut's input to the first\u00a0`N`\u00a0objects.\n\nLimiting the number of results\n\nUse the\u00a0`limit`\u00a0argument to specify the maximum number of results that should be returned:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n hybrid: {\n query: \"safety\"\n },\n limit: 3\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-hybrid-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}", "schemaPath": "pets.json", "modelOutput": "{\n Get {\n Pet(\n hybrid: {\n query: \"dog\"\n },\n limit: 10\n ) {\n petName\n species\n breed\n age\n owner {\n ... on Person {\n fullName\n address\n contactNumber\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 10 jewelry items with a hybrid search of 'necklace', and show the name, material, gemstone name and hardness, price, and whether it is handmade.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n JewelryItem(\n hybrid: {\n query: \"necklace\"\n },\n limit: 10\n ) {\n name\n material\n gemstone {\n ... on Gemstone {\n name\n hardness\n }\n }\n price\n isHandmade\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 10 jewelry items with a hybrid search of 'necklace', and show the name, material, gemstone name and hardness, price, and whether it is handmade.\n```", "apiRef": "Limit the results of Hybrid Search\n\nYou can limit the number of results returned by a\u00a0`hybrid`\u00a0search,\n\n- to a fixed number, using the\u00a0`limit: `\u00a0operator\n- to the first N \"drops\" in\u00a0`score`, using the\u00a0`autocut`\u00a0operator\n\n`autocut`\u00a0can be combined with\u00a0`limit: N`, which would limit autocut's input to the first\u00a0`N`\u00a0objects.\n\nLimiting the number of results\n\nUse the\u00a0`limit`\u00a0argument to specify the maximum number of results that should be returned:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n hybrid: {\n query: \"safety\"\n },\n limit: 3\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-hybrid-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}", "schemaPath": "jewelry.json", "modelOutput": "{\n Get {\n JewelryItem(\n hybrid: {\n query: \"necklace\"\n },\n limit: 10\n ) {\n name\n material\n gemstone {\n ... on Gemstone {\n name\n hardness\n }\n }\n price\n isHandmade\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 10 space missions with a hybrid search of 'moon landing', and show the mission name, objective, launch year, mission status, and space agency's name, founded year, and headquarters.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n SpaceMission(\n hybrid: {\n query: \"moon landing\"\n },\n limit: 10\n ) {\n missionName\n objective\n launchYear\n missionStatus\n spaceAgency {\n ... on SpaceAgency {\n agencyName\n foundedYear\n headquarters\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 10 space missions with a hybrid search of 'moon landing', and show the mission name, objective, launch year, mission status, and space agency's name, founded year, and headquarters.\n```", "apiRef": "Limit the results of Hybrid Search\n\nYou can limit the number of results returned by a\u00a0`hybrid`\u00a0search,\n\n- to a fixed number, using the\u00a0`limit: `\u00a0operator\n- to the first N \"drops\" in\u00a0`score`, using the\u00a0`autocut`\u00a0operator\n\n`autocut`\u00a0can be combined with\u00a0`limit: N`, which would limit autocut's input to the first\u00a0`N`\u00a0objects.\n\nLimiting the number of results\n\nUse the\u00a0`limit`\u00a0argument to specify the maximum number of results that should be returned:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n hybrid: {\n query: \"safety\"\n },\n limit: 3\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-hybrid-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}", "schemaPath": "spaceexploration.json", "modelOutput": "{\n Get {\n SpaceMission(\n hybrid: {\n query: \"moon landing\"\n },\n limit: 10\n ) {\n missionName\n objective\n launchYear\n missionStatus\n spaceAgency {\n ... on SpaceAgency {\n agencyName\n foundedYear\n headquarters\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 10 non-profit organizations with a hybrid search of 'education', and show their name, mission, year founded, focus area, and founder's full name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NonProfit(\n hybrid: {\n query: \"education\"\n },\n limit: 10\n ) {\n name\n mission\n foundedYear\n focusArea\n founder {\n ... on Person {\n fullName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 10 non-profit organizations with a hybrid search of 'education', and show their name, mission, year founded, focus area, and founder's full name.\n```", "apiRef": "Limit the results of Hybrid Search\n\nYou can limit the number of results returned by a\u00a0`hybrid`\u00a0search,\n\n- to a fixed number, using the\u00a0`limit: `\u00a0operator\n- to the first N \"drops\" in\u00a0`score`, using the\u00a0`autocut`\u00a0operator\n\n`autocut`\u00a0can be combined with\u00a0`limit: N`, which would limit autocut's input to the first\u00a0`N`\u00a0objects.\n\nLimiting the number of results\n\nUse the\u00a0`limit`\u00a0argument to specify the maximum number of results that should be returned:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n hybrid: {\n query: \"safety\"\n },\n limit: 3\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-hybrid-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}", "schemaPath": "nonprofits.json", "modelOutput": "{\n Get {\n NonProfit(\n hybrid: {\n query: \"education\"\n },\n limit: 10\n ) {\n name\n mission\n foundedYear\n focusArea\n founder {\n ... on Person {\n fullName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 10 AR applications with a hybrid search of 'augmented reality', and show the application name, description, platform, and developer's company name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ARApplication(\n hybrid: {\n query: \"augmented reality\"\n },\n limit: 10\n ) {\n appName\n description\n platform\n developer {\n ... on SoftwareCompany {\n companyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 10 AR applications with a hybrid search of 'augmented reality', and show the application name, description, platform, and developer's company name.\n```", "apiRef": "Limit the results of Hybrid Search\n\nYou can limit the number of results returned by a\u00a0`hybrid`\u00a0search,\n\n- to a fixed number, using the\u00a0`limit: `\u00a0operator\n- to the first N \"drops\" in\u00a0`score`, using the\u00a0`autocut`\u00a0operator\n\n`autocut`\u00a0can be combined with\u00a0`limit: N`, which would limit autocut's input to the first\u00a0`N`\u00a0objects.\n\nLimiting the number of results\n\nUse the\u00a0`limit`\u00a0argument to specify the maximum number of results that should be returned:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n hybrid: {\n query: \"safety\"\n },\n limit: 3\n ) {\n question\n answer\n _additional {\n score\n }\n }\n }\n}\n```", "apiRefPath": "get-hybrid-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}", "schemaPath": "augmentedreality.json", "modelOutput": "{\n Get {\n ARApplication(\n hybrid: {\n query: \"augmented reality\"\n },\n limit: 10\n ) {\n appName\n description\n platform\n developer {\n ... on SoftwareCompany {\n companyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}\n\n COMMAND:\n ```text\nShow me how many chemical compounds have a molar mass greater than 100.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n ChemicalCompound(where: {\n path: [\"molarMass\"],\n operator: GreaterThan,\n valueNumber: 100\n }) {\n meta {\n count\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me how many chemical compounds have a molar mass greater than 100.\n```", "apiRef": "Add a conditional (where) filter\nYou can add a conditional filter to any aggregate search query, which will filter the results set.\n\nThe below example searches for objects where the round property equals Double Jeopardy! and returns the object count.\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion(where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Final Jeopardy!\"\n }) {\n meta {\n count\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}", "schemaPath": "chemicals.json", "modelOutput": "{\n Aggregate {\n ChemicalCompound(where: {\n path: [\"molarMass\"],\n operator: GreaterThan,\n valueNumber: 100\n }) {\n meta {\n count\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}\n\n COMMAND:\n ```text\nShow me how many drugs have an approval year greater than 2000.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n Drug(where: {\n path: [\"approvalYear\"],\n operator: GreaterThan,\n valueInt: 2000\n }) {\n meta {\n count\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me how many drugs have an approval year greater than 2000.\n```", "apiRef": "Add a conditional (where) filter\nYou can add a conditional filter to any aggregate search query, which will filter the results set.\n\nThe below example searches for objects where the round property equals Double Jeopardy! and returns the object count.\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion(where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Final Jeopardy!\"\n }) {\n meta {\n count\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}", "schemaPath": "pharmaceuticals.json", "modelOutput": "{\n Aggregate {\n Drug(where: {\n path: [\"approvalYear\"],\n operator: GreaterThan,\n valueInt: 2000\n }) {\n meta {\n count\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}\n\n COMMAND:\n ```text\nShow me how many pets are older than 5 years.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n Pet(where: {\n path: [\"age\"],\n operator: GreaterThan,\n valueInt: 5\n }) {\n meta {\n count\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me how many pets are older than 5 years.\n```", "apiRef": "Add a conditional (where) filter\nYou can add a conditional filter to any aggregate search query, which will filter the results set.\n\nThe below example searches for objects where the round property equals Double Jeopardy! and returns the object count.\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion(where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Final Jeopardy!\"\n }) {\n meta {\n count\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}", "schemaPath": "pets.json", "modelOutput": "{\n Aggregate {\n Pet(\n where: {\n path: [\"age\"],\n operator: GreaterThan,\n valueInt: 5\n }\n ){\n meta {\n count\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}\n\n COMMAND:\n ```text\nShow me how many NonProfit organizations were founded after the year 2000.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n NonProfit(where: {\n path: [\"foundedYear\"],\n operator: GreaterThan,\n valueInt: 2000\n }) {\n meta {\n count\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me how many NonProfit organizations were founded after the year 2000.\n```", "apiRef": "Add a conditional (where) filter\nYou can add a conditional filter to any aggregate search query, which will filter the results set.\n\nThe below example searches for objects where the round property equals Double Jeopardy! and returns the object count.\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion(where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Final Jeopardy!\"\n }) {\n meta {\n count\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}", "schemaPath": "nonprofits.json", "modelOutput": "{\n Aggregate {\n NonProfit(where: {\n path: [\"foundedYear\"],\n operator: GreaterThan,\n valueInt: 2000\n }) {\n meta {\n count\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}\n\n COMMAND:\n ```text\nShow me the count of ARApplications where the platform is equal to \"iOS\".\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n ARApplication(where: {\n path: [\"platform\"],\n operator: Equal,\n valueText: \"iOS\"\n }) {\n meta {\n count\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the count of ARApplications where the platform is equal to \"iOS\".\n```", "apiRef": "Add a conditional (where) filter\nYou can add a conditional filter to any aggregate search query, which will filter the results set.\n\nThe below example searches for objects where the round property equals Double Jeopardy! and returns the object count.\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion(where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Final Jeopardy!\"\n }) {\n meta {\n count\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}", "schemaPath": "augmentedreality.json", "modelOutput": "{\n Aggregate {\n ARApplication(where: {\n path: [\"platform\"],\n operator: Equal,\n valueText: \"iOS\"\n }) {\n meta {\n count\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nPlease retrieve 10 VR experiences and feed them to a Large Language Model to write an explanation of why someone looking for a {genre} VR experience released in {releaseYear} would like each experience.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n VRExperience (\n limit: 10\n ) {\n title\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Here is a summary of the VR experience {title}.\n Please explain why someone looking for a {genre} VR experience released in {releaseYear} would like this experience.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease retrieve 10 VR experiences and feed them to a Large Language Model to write an explanation of why someone looking for a {genre} VR experience released in {releaseYear} would like each experience.\n```", "apiRef": "Single prompt\n\nA single prompt generative search returns a Large Language Model generated response for each object in the query results. For single prompt generative searches, you must specify which object properties to use in the prompt.\n\nIn the below example, the query:\n\nRetrieves two JeopardyQuestion objects related to World history,\nPrepares a prompt for each object, based on the prompt \"Convert the following into a question for twitter. Include emojis for fun, but do not include the answer: {question}.\", where {question} is an object property, and\nRetrieves a generated text for each object (2 total), and\nReturns the generated text as a part of each object, along with the question property.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"World history\"]\n },\n limit: 2\n ) {\n question\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Convert the following into a question for twitter. Include emojis for fun, but do not include the answer: {question}.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n```\n\nIn the below example, the query:\n\nRetrieves two JeopardyQuestion objects related to World history,\nPrepares a prompt for each object, based on the prompt \"Convert this quiz question: {question} and answer: {answer} into a trivia tweet. where {question} and {answer} are object properties, and\nRetrieves a generated text for each object (2 total), and\nReturns the generated text as a part of each object.\nNote that the question and answer properties are not retrieved in the query, but are used in the prompt.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"World history\"]\n },\n limit: 2\n ) {\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Convert this quiz question: {question} and answer: {answer} into a trivia tweet.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-single-prompt.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}", "schemaPath": "virtualreality.json", "modelOutput": "{\n Get {\n VRExperience (\n limit: 10\n ) {\n title\n genre\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Here is a summary of the VR experience {title}: {genre}.\n Please explain why someone looking for a {genre} VR experience released in {releaseYear} would like this experience.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}\n\n COMMAND:\n ```text\nPlease retrieve information about 10 film festivals. For each film festival, generate a response using the prompt \"Welcome to {festivalName}! This film festival takes place in {location} and has a rich history. One of the notable films featured in this festival is {featuredFilm.filmTitle}, directed by {featuredFilm.director}. Can you tell us why this film has received such recognition in this festival?\" Please provide the generated response for each film festival.\n```\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n FilmFestival (\n limit: 10\n ) {\n festivalName\n description\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Welcome to {festivalName}! This film festival takes place in {location} and has a rich history. One of the notable films featured in this festival is {featuredFilm.filmTitle}, directed by {featuredFilm.director}. Can you tell us why this film has received such recognition in this festival?\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n```\n```", "nlcommand": "```text\nPlease retrieve information about 10 film festivals. For each film festival, generate a response using the prompt \"Welcome to {festivalName}! This film festival takes place in {location} and has a rich history. One of the notable films featured in this festival is {featuredFilm.filmTitle}, directed by {featuredFilm.director}. Can you tell us why this film has received such recognition in this festival?\" Please provide the generated response for each film festival.\n```\n```", "apiRef": "Single prompt\n\nA single prompt generative search returns a Large Language Model generated response for each object in the query results. For single prompt generative searches, you must specify which object properties to use in the prompt.\n\nIn the below example, the query:\n\nRetrieves two JeopardyQuestion objects related to World history,\nPrepares a prompt for each object, based on the prompt \"Convert the following into a question for twitter. Include emojis for fun, but do not include the answer: {question}.\", where {question} is an object property, and\nRetrieves a generated text for each object (2 total), and\nReturns the generated text as a part of each object, along with the question property.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"World history\"]\n },\n limit: 2\n ) {\n question\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Convert the following into a question for twitter. Include emojis for fun, but do not include the answer: {question}.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n```\n\nIn the below example, the query:\n\nRetrieves two JeopardyQuestion objects related to World history,\nPrepares a prompt for each object, based on the prompt \"Convert this quiz question: {question} and answer: {answer} into a trivia tweet. where {question} and {answer} are object properties, and\nRetrieves a generated text for each object (2 total), and\nReturns the generated text as a part of each object.\nNote that the question and answer properties are not retrieved in the query, but are used in the prompt.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"World history\"]\n },\n limit: 2\n ) {\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Convert this quiz question: {question} and answer: {answer} into a trivia tweet.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-single-prompt.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}", "schemaPath": "filmfestivals.json", "modelOutput": "{\n Get {\n FilmFestival (\n limit: 10\n ) {\n festivalName\n location\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Welcome to {festivalName}! This film festival takes place in {location} and has a rich history.\n Please provide a brief description of the {festivalName} film festival.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}\n\n COMMAND:\n ```text\nPlease retrieve information about 10 boats and generate a brief description of each boat and its key features.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Boat (\n limit: 10\n ) {\n boatName\n type\n capacity\n isMotorized\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Here is a {type} boat named {boatName} with a capacity of {capacity} passengers.\n Please provide a brief description of the boat and its key features.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease retrieve information about 10 boats and generate a brief description of each boat and its key features.\n```", "apiRef": "Single prompt\n\nA single prompt generative search returns a Large Language Model generated response for each object in the query results. For single prompt generative searches, you must specify which object properties to use in the prompt.\n\nIn the below example, the query:\n\nRetrieves two JeopardyQuestion objects related to World history,\nPrepares a prompt for each object, based on the prompt \"Convert the following into a question for twitter. Include emojis for fun, but do not include the answer: {question}.\", where {question} is an object property, and\nRetrieves a generated text for each object (2 total), and\nReturns the generated text as a part of each object, along with the question property.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"World history\"]\n },\n limit: 2\n ) {\n question\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Convert the following into a question for twitter. Include emojis for fun, but do not include the answer: {question}.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n```\n\nIn the below example, the query:\n\nRetrieves two JeopardyQuestion objects related to World history,\nPrepares a prompt for each object, based on the prompt \"Convert this quiz question: {question} and answer: {answer} into a trivia tweet. where {question} and {answer} are object properties, and\nRetrieves a generated text for each object (2 total), and\nReturns the generated text as a part of each object.\nNote that the question and answer properties are not retrieved in the query, but are used in the prompt.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"World history\"]\n },\n limit: 2\n ) {\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Convert this quiz question: {question} and answer: {answer} into a trivia tweet.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-single-prompt.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}", "schemaPath": "boats.json", "modelOutput": "{\n Get {\n Boat (\n limit: 10\n ) {\n boatName\n type\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n This is a {type} called {boatName}.\n Please provide a brief description of the features and specifications of this boat.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}\n\n COMMAND:\n ```text\nPlease retrieve information about 10 pets including their names, species, breed, age, and owner details. For each pet, generate a description of why someone would love to have them as a companion. \n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Pet (\n limit: 10\n ) {\n petName\n species\n breed\n age\n owner {\n ... on Person {\n fullName\n address\n contactNumber\n }\n }\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Here is a pet named {petName} of species {species} and breed {breed}.\n The pet is {age} years old and is owned by {owner.fullName}.\n Please provide a description of why someone would love to have this pet as a companion.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n```\n", "nlcommand": "```text\nPlease retrieve information about 10 pets including their names, species, breed, age, and owner details. For each pet, generate a description of why someone would love to have them as a companion. \n```", "apiRef": "Single prompt\n\nA single prompt generative search returns a Large Language Model generated response for each object in the query results. For single prompt generative searches, you must specify which object properties to use in the prompt.\n\nIn the below example, the query:\n\nRetrieves two JeopardyQuestion objects related to World history,\nPrepares a prompt for each object, based on the prompt \"Convert the following into a question for twitter. Include emojis for fun, but do not include the answer: {question}.\", where {question} is an object property, and\nRetrieves a generated text for each object (2 total), and\nReturns the generated text as a part of each object, along with the question property.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"World history\"]\n },\n limit: 2\n ) {\n question\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Convert the following into a question for twitter. Include emojis for fun, but do not include the answer: {question}.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n```\n\nIn the below example, the query:\n\nRetrieves two JeopardyQuestion objects related to World history,\nPrepares a prompt for each object, based on the prompt \"Convert this quiz question: {question} and answer: {answer} into a trivia tweet. where {question} and {answer} are object properties, and\nRetrieves a generated text for each object (2 total), and\nReturns the generated text as a part of each object.\nNote that the question and answer properties are not retrieved in the query, but are used in the prompt.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"World history\"]\n },\n limit: 2\n ) {\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Convert this quiz question: {question} and answer: {answer} into a trivia tweet.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-single-prompt.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}", "schemaPath": "pets.json", "modelOutput": "{\n Get {\n Pet (\n limit: 10\n ) {\n petName\n species\n breed\n age\n owner {\n ... on Person {\n fullName\n address\n contactNumber\n }\n }\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Here is a description of {petName}, a {species} {breed} pet.\n Please explain why someone would love to have this pet as a companion.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}\n\n COMMAND:\n ```text\nPlease retrieve the details of 10 space missions, including the mission name, launch year, space agency, and primary objective. For each mission, generate a response using a Large Language Model that explains why the mission is important for space exploration.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n SpaceMission (\n limit: 10\n ) {\n missionName\n objective\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n The mission {missionName} was launched in {launchYear} by {spaceAgency.agencyName}.\n The primary objective of this mission is {objective}.\n Please explain why this mission is important for space exploration.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease retrieve the details of 10 space missions, including the mission name, launch year, space agency, and primary objective. For each mission, generate a response using a Large Language Model that explains why the mission is important for space exploration.\n```", "apiRef": "Single prompt\n\nA single prompt generative search returns a Large Language Model generated response for each object in the query results. For single prompt generative searches, you must specify which object properties to use in the prompt.\n\nIn the below example, the query:\n\nRetrieves two JeopardyQuestion objects related to World history,\nPrepares a prompt for each object, based on the prompt \"Convert the following into a question for twitter. Include emojis for fun, but do not include the answer: {question}.\", where {question} is an object property, and\nRetrieves a generated text for each object (2 total), and\nReturns the generated text as a part of each object, along with the question property.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"World history\"]\n },\n limit: 2\n ) {\n question\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Convert the following into a question for twitter. Include emojis for fun, but do not include the answer: {question}.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n```\n\nIn the below example, the query:\n\nRetrieves two JeopardyQuestion objects related to World history,\nPrepares a prompt for each object, based on the prompt \"Convert this quiz question: {question} and answer: {answer} into a trivia tweet. where {question} and {answer} are object properties, and\nRetrieves a generated text for each object (2 total), and\nReturns the generated text as a part of each object.\nNote that the question and answer properties are not retrieved in the query, but are used in the prompt.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"World history\"]\n },\n limit: 2\n ) {\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Convert this quiz question: {question} and answer: {answer} into a trivia tweet.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-single-prompt.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}", "schemaPath": "spaceexploration.json", "modelOutput": "{\n Get {\n SpaceMission (\n limit: 10\n ) {\n missionName\n objective\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Here is a summary of the space mission {missionName}: {objective}.\n Please explain why this mission is important for space exploration.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}\n\n COMMAND:\n ```text\nGet me the chemical compounds with a hybrid search of 'water' using relativeScoreFusion, and show the compound name, formula, molar mass, and information about the elements it contains including the element name, symbol, atomic number, and whether it is a metal. Limit the results to 5.\n```\n\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ChemicalCompound(\n hybrid: {\n query: \"water\",\n fusionType: relativeScoreFusion\n },\n limit: 5\n ) {\n compoundName\n formula\n molarMass\n containsElements {\n ... on ChemicalElement {\n elementName\n symbol\n atomicNumber\n isMetal\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the chemical compounds with a hybrid search of 'water' using relativeScoreFusion, and show the compound name, formula, molar mass, and information about the elements it contains including the element name, symbol, atomic number, and whether it is a metal. Limit the results to 5.\n```\n", "apiRef": "Fusion (ranking) method in Hybrid Search\n\nYou can select how the BM25 and vector search results are combined to determine the ranking using the\u00a0`fusionType`\u00a0argument.\n\nThe default is\u00a0`rankedFusion`, which adds inverted ranks of the BM25 and vector search methods. Alternatively, you can use\u00a0`relativeScoreFusion`\u00a0which adds normalized (between 0-1) scores of the BM25 and vector search methods.\n\nThe following example specifies the fusion type of\u00a0`relativeScoreFusion`.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n fusionType: relativeScoreFusion\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-fusionType.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}", "schemaPath": "chemicals.json", "modelOutput": "{\n Get {\n ChemicalCompound(\n hybrid: {\n query: \"water\",\n fusionType: relativeScoreFusion\n },\n limit: 5\n ) {\n compoundName\n formula\n molarMass\n containsElements {\n ... on ChemicalElement {\n elementName\n symbol\n isMetal\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the VR experiences with a hybrid search of 'action' using rankedFusion, and show the title, developer's name, genre, release year, and whether it is multiplayer. \n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n VRExperience(\n hybrid: {\n query: \"action\",\n fusionType: rankedFusion\n },\n limit: 10\n ) {\n title\n developer {\n ... on Developer {\n name\n }\n }\n genre\n releaseYear\n isMultiplayer\n }\n }\n}\n```", "nlcommand": "```text\nGet me the VR experiences with a hybrid search of 'action' using rankedFusion, and show the title, developer's name, genre, release year, and whether it is multiplayer. \n```", "apiRef": "Fusion (ranking) method in Hybrid Search\n\nYou can select how the BM25 and vector search results are combined to determine the ranking using the\u00a0`fusionType`\u00a0argument.\n\nThe default is\u00a0`rankedFusion`, which adds inverted ranks of the BM25 and vector search methods. Alternatively, you can use\u00a0`relativeScoreFusion`\u00a0which adds normalized (between 0-1) scores of the BM25 and vector search methods.\n\nThe following example specifies the fusion type of\u00a0`relativeScoreFusion`.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n fusionType: relativeScoreFusion\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-fusionType.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}", "schemaPath": "virtualreality.json", "modelOutput": "{\n Get {\n VRExperience(\n hybrid: {\n query: \"action\",\n fusionType: rankedFusion\n },\n limit: 3\n ) {\n title\n developer {\n ... on Developer {\n name\n }\n }\n genre\n releaseYear\n isMultiplayer\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}\n\n COMMAND:\n ```text\nGet me the drugs with a hybrid search of 'pain relief' using rankedFusion, and show the drug name, active ingredient, approval year, over-the-counter status, manufacturer's company name, year founded, headquarters, and global presence.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Drug(\n hybrid: {\n query: \"pain relief\",\n fusionType: rankedFusion\n },\n limit: 10\n ) {\n drugName\n activeIngredient\n approvalYear\n isOTC\n manufacturer {\n ... on Manufacturer {\n companyName\n foundedYear\n headquarters\n isGlobal\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the drugs with a hybrid search of 'pain relief' using rankedFusion, and show the drug name, active ingredient, approval year, over-the-counter status, manufacturer's company name, year founded, headquarters, and global presence.\n```", "apiRef": "Fusion (ranking) method in Hybrid Search\n\nYou can select how the BM25 and vector search results are combined to determine the ranking using the\u00a0`fusionType`\u00a0argument.\n\nThe default is\u00a0`rankedFusion`, which adds inverted ranks of the BM25 and vector search methods. Alternatively, you can use\u00a0`relativeScoreFusion`\u00a0which adds normalized (between 0-1) scores of the BM25 and vector search methods.\n\nThe following example specifies the fusion type of\u00a0`relativeScoreFusion`.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n fusionType: relativeScoreFusion\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-fusionType.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}", "schemaPath": "pharmaceuticals.json", "modelOutput": "{\n Get {\n Drug(\n hybrid: {\n query: \"pain relief\",\n fusionType: rankedFusion\n },\n limit: 5\n ) {\n drugName\n activeIngredient\n approvalYear\n isOTC\n manufacturer {\n ... on Manufacturer {\n companyName\n foundedYear\n headquarters\n isGlobal\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}\n\n COMMAND:\n ```text\nGet me the film festivals with a hybrid search of 'Cannes' using rankedFusion, and show the festival name, location, description, and featured film's title and director.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n FilmFestival(\n hybrid: {\n query: \"Cannes\",\n fusionType: rankedFusion\n },\n limit: 3\n ) {\n festivalName\n location\n description\n featuredFilm {\n ... on Film {\n filmTitle\n director\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the film festivals with a hybrid search of 'Cannes' using rankedFusion, and show the festival name, location, description, and featured film's title and director.\n```", "apiRef": "Fusion (ranking) method in Hybrid Search\n\nYou can select how the BM25 and vector search results are combined to determine the ranking using the\u00a0`fusionType`\u00a0argument.\n\nThe default is\u00a0`rankedFusion`, which adds inverted ranks of the BM25 and vector search methods. Alternatively, you can use\u00a0`relativeScoreFusion`\u00a0which adds normalized (between 0-1) scores of the BM25 and vector search methods.\n\nThe following example specifies the fusion type of\u00a0`relativeScoreFusion`.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n fusionType: relativeScoreFusion\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-fusionType.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}", "schemaPath": "filmfestivals.json", "modelOutput": "{\n Get {\n FilmFestival(\n hybrid: {\n query: \"Cannes\",\n fusionType: rankedFusion\n },\n limit: 5\n ) {\n festivalName\n location\n description\n featuredFilm {\n ... on Film {\n title\n director\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the boats with a hybrid search of 'sailboat' using relativeScoreFusion, and show the boat name, type, capacity, motorization status, and manufacturer's company name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Boat(\n hybrid: {\n query: \"sailboat\",\n fusionType: relativeScoreFusion\n },\n limit: 3\n ) {\n boatName\n type\n capacity\n isMotorized\n manufacturer {\n ... on BoatManufacturer {\n companyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the boats with a hybrid search of 'sailboat' using relativeScoreFusion, and show the boat name, type, capacity, motorization status, and manufacturer's company name.\n```", "apiRef": "Fusion (ranking) method in Hybrid Search\n\nYou can select how the BM25 and vector search results are combined to determine the ranking using the\u00a0`fusionType`\u00a0argument.\n\nThe default is\u00a0`rankedFusion`, which adds inverted ranks of the BM25 and vector search methods. Alternatively, you can use\u00a0`relativeScoreFusion`\u00a0which adds normalized (between 0-1) scores of the BM25 and vector search methods.\n\nThe following example specifies the fusion type of\u00a0`relativeScoreFusion`.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n fusionType: relativeScoreFusion\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-fusionType.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}", "schemaPath": "boats.json", "modelOutput": "{\n Get {\n Boat(\n hybrid: {\n query: \"sailboat\",\n fusionType: relativeScoreFusion\n },\n limit: 5\n ) {\n boatName\n type\n capacity\n isMotorized\n manufacturer {\n ... on BoatManufacturer {\n companyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}\n\n COMMAND:\n ```text\nGet me the national parks with a hybrid search of 'Yellowstone' using rankedFusion, and show the park name, description, location, established year, entry fee status, wildlife, and facilities with their names and descriptions.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NationalPark(\n hybrid: {\n query: \"Yellowstone\",\n fusionType: rankedFusion\n },\n limit: 3\n ) {\n parkName\n description\n location\n establishedYear\n isEntryFree\n wildlife\n facilities {\n ... on Facility {\n facilityName\n description\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the national parks with a hybrid search of 'Yellowstone' using rankedFusion, and show the park name, description, location, established year, entry fee status, wildlife, and facilities with their names and descriptions.\n```", "apiRef": "Fusion (ranking) method in Hybrid Search\n\nYou can select how the BM25 and vector search results are combined to determine the ranking using the\u00a0`fusionType`\u00a0argument.\n\nThe default is\u00a0`rankedFusion`, which adds inverted ranks of the BM25 and vector search methods. Alternatively, you can use\u00a0`relativeScoreFusion`\u00a0which adds normalized (between 0-1) scores of the BM25 and vector search methods.\n\nThe following example specifies the fusion type of\u00a0`relativeScoreFusion`.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n fusionType: relativeScoreFusion\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-fusionType.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}", "schemaPath": "nationalparks.json", "modelOutput": "{\n Get {\n NationalPark(\n hybrid: {\n query: \"Yellowstone\",\n fusionType: rankedFusion\n },\n limit: 3\n ) {\n parkName\n description\n location\n establishedYear\n isEntryFree\n wildlife\n facilities {\n ... on Facility {\n facilityName\n description\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}\n\n COMMAND:\n ```text\nGet me the pets with a hybrid search of 'dog' using relativeScoreFusion, and show the pet name, species, breed, age, owner's full name, address, and contact number.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Pet(\n hybrid: {\n query: \"dog\",\n fusionType: relativeScoreFusion\n },\n limit: 5\n ) {\n petName\n species\n breed\n age\n owner {\n ... on Person {\n fullName\n address\n contactNumber\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the pets with a hybrid search of 'dog' using relativeScoreFusion, and show the pet name, species, breed, age, owner's full name, address, and contact number.\n```", "apiRef": "Fusion (ranking) method in Hybrid Search\n\nYou can select how the BM25 and vector search results are combined to determine the ranking using the\u00a0`fusionType`\u00a0argument.\n\nThe default is\u00a0`rankedFusion`, which adds inverted ranks of the BM25 and vector search methods. Alternatively, you can use\u00a0`relativeScoreFusion`\u00a0which adds normalized (between 0-1) scores of the BM25 and vector search methods.\n\nThe following example specifies the fusion type of\u00a0`relativeScoreFusion`.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n fusionType: relativeScoreFusion\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-fusionType.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}", "schemaPath": "pets.json", "modelOutput": "{\n Get {\n Pet(\n hybrid: {\n query: \"dog\",\n fusionType: relativeScoreFusion\n },\n limit: 5\n ) {\n petName\n species\n breed\n age\n owner {\n ... on Person {\n fullName\n address\n contactNumber\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}\n\n COMMAND:\n ```text\nGet me the jewelry items with a hybrid search of 'necklace' using rankedFusion, and show the name, material, gemstone's name and hardness, price, and whether it is handmade. Limit the results to 10.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n JewelryItem(\n hybrid: {\n query: \"necklace\",\n fusionType: rankedFusion\n },\n limit: 10\n ) {\n name\n material\n gemstone {\n ... on Gemstone {\n name\n hardness\n }\n }\n price\n isHandmade\n }\n }\n}\n```", "nlcommand": "```text\nGet me the jewelry items with a hybrid search of 'necklace' using rankedFusion, and show the name, material, gemstone's name and hardness, price, and whether it is handmade. Limit the results to 10.\n```", "apiRef": "Fusion (ranking) method in Hybrid Search\n\nYou can select how the BM25 and vector search results are combined to determine the ranking using the\u00a0`fusionType`\u00a0argument.\n\nThe default is\u00a0`rankedFusion`, which adds inverted ranks of the BM25 and vector search methods. Alternatively, you can use\u00a0`relativeScoreFusion`\u00a0which adds normalized (between 0-1) scores of the BM25 and vector search methods.\n\nThe following example specifies the fusion type of\u00a0`relativeScoreFusion`.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n fusionType: relativeScoreFusion\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-fusionType.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}", "schemaPath": "jewelry.json", "modelOutput": "{\n Get {\n JewelryItem(\n hybrid: {\n query: \"necklace\",\n fusionType: rankedFusion\n },\n limit: 10\n ) {\n name\n material\n gemstone {\n ... on Gemstone {\n name\n hardness\n }\n }\n price\n isHandmade\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}\n\n COMMAND:\n ```text\nGet me the space missions with a hybrid search of 'moon landing' using relativeScoreFusion, and show the mission name, objective, launch year, mission status, and space agency's name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n SpaceMission(\n hybrid: {\n query: \"moon landing\",\n fusionType: relativeScoreFusion\n },\n limit: 3\n ) {\n missionName\n objective\n launchYear\n missionStatus\n spaceAgency {\n ... on SpaceAgency {\n agencyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the space missions with a hybrid search of 'moon landing' using relativeScoreFusion, and show the mission name, objective, launch year, mission status, and space agency's name.\n```", "apiRef": "Fusion (ranking) method in Hybrid Search\n\nYou can select how the BM25 and vector search results are combined to determine the ranking using the\u00a0`fusionType`\u00a0argument.\n\nThe default is\u00a0`rankedFusion`, which adds inverted ranks of the BM25 and vector search methods. Alternatively, you can use\u00a0`relativeScoreFusion`\u00a0which adds normalized (between 0-1) scores of the BM25 and vector search methods.\n\nThe following example specifies the fusion type of\u00a0`relativeScoreFusion`.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n fusionType: relativeScoreFusion\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-fusionType.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}", "schemaPath": "spaceexploration.json", "modelOutput": "{\n Get {\n SpaceMission(\n hybrid: {\n query: \"moon landing\",\n fusionType: relativeScoreFusion\n },\n limit: 3\n ) {\n missionName\n objective\n launchYear\n missionStatus\n spaceAgency {\n ... on SpaceAgency {\n agencyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}\n\n COMMAND:\n ```text\nGet me the non-profit organizations with a hybrid search of 'education' using relativeScoreFusion, and show the name, mission, founded year, focus area, and founder's full name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NonProfit(\n hybrid: {\n query: \"education\",\n fusionType: relativeScoreFusion\n },\n limit: 5\n ) {\n name\n mission\n foundedYear\n focusArea\n founder {\n ... on Person {\n fullName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the non-profit organizations with a hybrid search of 'education' using relativeScoreFusion, and show the name, mission, founded year, focus area, and founder's full name.\n```", "apiRef": "Fusion (ranking) method in Hybrid Search\n\nYou can select how the BM25 and vector search results are combined to determine the ranking using the\u00a0`fusionType`\u00a0argument.\n\nThe default is\u00a0`rankedFusion`, which adds inverted ranks of the BM25 and vector search methods. Alternatively, you can use\u00a0`relativeScoreFusion`\u00a0which adds normalized (between 0-1) scores of the BM25 and vector search methods.\n\nThe following example specifies the fusion type of\u00a0`relativeScoreFusion`.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n fusionType: relativeScoreFusion\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-fusionType.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}", "schemaPath": "nonprofits.json", "modelOutput": "{\n Get {\n NonProfit(\n hybrid: {\n query: \"education\",\n fusionType: relativeScoreFusion\n },\n limit: 5\n ) {\n name\n mission\n foundedYear\n focusArea\n founder {\n ... on Person {\n fullName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}\n\n COMMAND:\n ```text\nGet me the AR applications with a hybrid search of 'augmented reality' using rankedFusion, and show the application name, description, platform, and developer's company name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ARApplication(\n hybrid: {\n query: \"augmented reality\",\n fusionType: rankedFusion\n },\n limit: 10\n ) {\n appName\n description\n platform\n developer {\n ... on SoftwareCompany {\n companyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the AR applications with a hybrid search of 'augmented reality' using rankedFusion, and show the application name, description, platform, and developer's company name.\n```", "apiRef": "Fusion (ranking) method in Hybrid Search\n\nYou can select how the BM25 and vector search results are combined to determine the ranking using the\u00a0`fusionType`\u00a0argument.\n\nThe default is\u00a0`rankedFusion`, which adds inverted ranks of the BM25 and vector search methods. Alternatively, you can use\u00a0`relativeScoreFusion`\u00a0which adds normalized (between 0-1) scores of the BM25 and vector search methods.\n\nThe following example specifies the fusion type of\u00a0`relativeScoreFusion`.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 3,\n hybrid: {\n query: \"food\",\n fusionType: relativeScoreFusion\n }\n ) {\n question\n answer\n }\n }\n}\n```", "apiRefPath": "get-hybrid-fusionType.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}", "schemaPath": "augmentedreality.json", "modelOutput": "{\n Get {\n ARApplication(\n hybrid: {\n query: \"augmented reality\",\n fusionType: rankedFusion\n },\n limit: 5\n ) {\n appName\n description\n platform\n developer {\n ... on SoftwareCompany {\n companyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}\n\n COMMAND:\n ```text\nGet me the chemical compounds semantically similar to the query 'organic chemistry', cutting at the third steepest drop in vector distance results, and show the compound name, formula, molar mass, and information about the elements it contains including the element name, symbol, atomic number, and whether it is a metal.\n```\n\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ChemicalCompound(\n nearText: {\n concepts: [\"organic chemistry\"]\n },\n autocut: 3\n ) {\n compoundName\n formula\n molarMass\n containsElements {\n ... on ChemicalElement {\n elementName\n symbol\n atomicNumber\n isMetal\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the chemical compounds semantically similar to the query 'organic chemistry', cutting at the third steepest drop in vector distance results, and show the compound name, formula, molar mass, and information about the elements it contains including the element name, symbol, atomic number, and whether it is a metal.\n```\n", "apiRef": "Autocut\n\nAnother way to limit the results returned by a similarity search is to use the\u00a0`autocut`\u00a0filter. Autocut takes a positive integer parameter\u00a0`N`, looks at the\u00a0distance\u00a0between each result and the query, and stops returning results after the\u00a0`N`th \"jump\" in distance. For example, if the distances for six objects returned by\u00a0`nearText`\u00a0were\u00a0`[0.1899, 0.1901, 0.191, 0.21, 0.215, 0.23]`\u00a0then\u00a0`autocut: 1`\u00a0would return the first three objects,\u00a0`autocut: 2`\u00a0would return all but the last object, and\u00a0`autocut: 3`\u00a0would return all objects.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in movies\"]\n },\n autocut: 1\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-autocut.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}", "schemaPath": "chemicals.json", "modelOutput": "{\n Get {\n ChemicalCompound(\n nearText: {\n concepts: [\"organic chemistry\"]\n },\n autocut: 3\n ) {\n compoundName\n formula\n molarMass\n containsElements {\n ... on ChemicalElement {\n elementName\n symbol\n atomicNumber\n isMetal\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the VR experiences that are semantically similar to the query 'action', and show the title, developer's name, genre, release year, and whether it is multiplayer. Limit the results to the top three matches based on the distance from the query.\n```\n\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n VRExperience(\n nearText: {\n concepts: [\"action\"]\n },\n autocut: 3\n ) {\n title\n developer {\n ... on Developer {\n name\n }\n }\n genre\n releaseYear\n isMultiplayer\n }\n }\n}\n```", "nlcommand": "```text\nGet me the VR experiences that are semantically similar to the query 'action', and show the title, developer's name, genre, release year, and whether it is multiplayer. Limit the results to the top three matches based on the distance from the query.\n```\n", "apiRef": "Autocut\n\nAnother way to limit the results returned by a similarity search is to use the\u00a0`autocut`\u00a0filter. Autocut takes a positive integer parameter\u00a0`N`, looks at the\u00a0distance\u00a0between each result and the query, and stops returning results after the\u00a0`N`th \"jump\" in distance. For example, if the distances for six objects returned by\u00a0`nearText`\u00a0were\u00a0`[0.1899, 0.1901, 0.191, 0.21, 0.215, 0.23]`\u00a0then\u00a0`autocut: 1`\u00a0would return the first three objects,\u00a0`autocut: 2`\u00a0would return all but the last object, and\u00a0`autocut: 3`\u00a0would return all objects.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in movies\"]\n },\n autocut: 1\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-autocut.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}", "schemaPath": "virtualreality.json", "modelOutput": "{\n Get {\n VRExperience(\n nearText: {\n concepts: [\"action\"]\n },\n autocut: 3\n ) {\n title\n developer {\n ... on Developer {\n name\n }\n }\n genre\n releaseYear\n isMultiplayer\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}\n\n COMMAND:\n ```text\nGet me the drugs semantically similar to the query 'pain relief', cutting at the third steepest drop in vector distance results, and show the drug name, active ingredient, approval year, over-the-counter status, manufacturer's company name, year founded, headquarters, and global presence for each drug.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Drug(\n nearText: {\n concepts: [\"pain relief\"]\n },\n autocut: 3\n ) {\n drugName\n activeIngredient\n approvalYear\n isOTC\n manufacturer {\n ... on Manufacturer {\n companyName\n foundedYear\n headquarters\n isGlobal\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the drugs semantically similar to the query 'pain relief', cutting at the third steepest drop in vector distance results, and show the drug name, active ingredient, approval year, over-the-counter status, manufacturer's company name, year founded, headquarters, and global presence for each drug.\n```", "apiRef": "Autocut\n\nAnother way to limit the results returned by a similarity search is to use the\u00a0`autocut`\u00a0filter. Autocut takes a positive integer parameter\u00a0`N`, looks at the\u00a0distance\u00a0between each result and the query, and stops returning results after the\u00a0`N`th \"jump\" in distance. For example, if the distances for six objects returned by\u00a0`nearText`\u00a0were\u00a0`[0.1899, 0.1901, 0.191, 0.21, 0.215, 0.23]`\u00a0then\u00a0`autocut: 1`\u00a0would return the first three objects,\u00a0`autocut: 2`\u00a0would return all but the last object, and\u00a0`autocut: 3`\u00a0would return all objects.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in movies\"]\n },\n autocut: 1\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-autocut.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}", "schemaPath": "pharmaceuticals.json", "modelOutput": "{\n Get {\n Drugs(\n nearText: {\n concepts: [\"pain relief\"]\n },\n autocut: 3\n ) {\n drugName\n activeIngredient\n approvalYear\n isOTC\n manufacturer {\n ... on Manufacturer {\n companyName\n foundedYear\n headquarters\n isGlobal\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}\n\n COMMAND:\n ```text\nGet me the film festivals that are semantically similar to the query 'international', and show the festival name, location, description, and the featured film's title and director. Limit the results to the top 3 festivals based on their similarity to the query.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n FilmFestival(\n nearText: {\n concepts: [\"international\"]\n },\n autocut: 3\n ) {\n festivalName\n location\n description\n featuredFilm {\n ... on Film {\n filmTitle\n director\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the film festivals that are semantically similar to the query 'international', and show the festival name, location, description, and the featured film's title and director. Limit the results to the top 3 festivals based on their similarity to the query.\n```", "apiRef": "Autocut\n\nAnother way to limit the results returned by a similarity search is to use the\u00a0`autocut`\u00a0filter. Autocut takes a positive integer parameter\u00a0`N`, looks at the\u00a0distance\u00a0between each result and the query, and stops returning results after the\u00a0`N`th \"jump\" in distance. For example, if the distances for six objects returned by\u00a0`nearText`\u00a0were\u00a0`[0.1899, 0.1901, 0.191, 0.21, 0.215, 0.23]`\u00a0then\u00a0`autocut: 1`\u00a0would return the first three objects,\u00a0`autocut: 2`\u00a0would return all but the last object, and\u00a0`autocut: 3`\u00a0would return all objects.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in movies\"]\n },\n autocut: 1\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-autocut.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}", "schemaPath": "filmfestivals.json", "modelOutput": "{\n Get {\n FilmFestival(\n nearText: {\n concepts: [\"international\"]\n },\n autocut: 3\n ) {\n festivalName\n location\n description\n featuredFilm {\n ... on Film {\n title\n director\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the boats that are semantically similar to the query 'sailboat', stopping after the third steepest drop in vector distance results. Show me the boat name, type, capacity, whether it is motorized, and the manufacturer's company name for each boat.\n```\n\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Boat(\n nearText: {\n concepts: [\"sailboat\"]\n },\n autocut: 3\n ) {\n boatName\n type\n capacity\n isMotorized\n manufacturer {\n ... on BoatManufacturer {\n companyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the boats that are semantically similar to the query 'sailboat', stopping after the third steepest drop in vector distance results. Show me the boat name, type, capacity, whether it is motorized, and the manufacturer's company name for each boat.\n```\n", "apiRef": "Autocut\n\nAnother way to limit the results returned by a similarity search is to use the\u00a0`autocut`\u00a0filter. Autocut takes a positive integer parameter\u00a0`N`, looks at the\u00a0distance\u00a0between each result and the query, and stops returning results after the\u00a0`N`th \"jump\" in distance. For example, if the distances for six objects returned by\u00a0`nearText`\u00a0were\u00a0`[0.1899, 0.1901, 0.191, 0.21, 0.215, 0.23]`\u00a0then\u00a0`autocut: 1`\u00a0would return the first three objects,\u00a0`autocut: 2`\u00a0would return all but the last object, and\u00a0`autocut: 3`\u00a0would return all objects.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in movies\"]\n },\n autocut: 1\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-autocut.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}", "schemaPath": "boats.json", "modelOutput": "{\n Get {\n Boat(\n nearText: {\n concepts: [\"sailboat\"]\n },\n autocut: 3\n ) {\n boatName\n type\n capacity\n isMotorized\n manufacturer {\n ... on BoatManufacturer {\n companyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}\n\n COMMAND:\n ```text\nGet me the national parks that are semantically similar to the query 'mountains', and show the park name, description, location, year of establishment, entry fee status, wildlife, and facilities. Limit the results to the top 3 parks based on similarity distance.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NationalPark(\n nearText: {\n concepts: [\"mountains\"]\n },\n autocut: 3\n ) {\n parkName\n description\n location\n establishedYear\n isEntryFree\n wildlife\n facilities {\n ... on Facility {\n facilityName\n description\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the national parks that are semantically similar to the query 'mountains', and show the park name, description, location, year of establishment, entry fee status, wildlife, and facilities. Limit the results to the top 3 parks based on similarity distance.\n```", "apiRef": "Autocut\n\nAnother way to limit the results returned by a similarity search is to use the\u00a0`autocut`\u00a0filter. Autocut takes a positive integer parameter\u00a0`N`, looks at the\u00a0distance\u00a0between each result and the query, and stops returning results after the\u00a0`N`th \"jump\" in distance. For example, if the distances for six objects returned by\u00a0`nearText`\u00a0were\u00a0`[0.1899, 0.1901, 0.191, 0.21, 0.215, 0.23]`\u00a0then\u00a0`autocut: 1`\u00a0would return the first three objects,\u00a0`autocut: 2`\u00a0would return all but the last object, and\u00a0`autocut: 3`\u00a0would return all objects.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in movies\"]\n },\n autocut: 1\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-autocut.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}", "schemaPath": "nationalparks.json", "modelOutput": "{\n Get {\n NationalPark(\n nearText: {\n concepts: [\"mountains\"]\n },\n autocut: 3\n ) {\n parkName\n description\n location\n establishedYear\n isEntryFree\n wildlife\n facilities {\n ... on Facility {\n facilityName\n description\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}\n\n COMMAND:\n ```text\nGet me the pets that are semantically similar to the query 'cute', limiting the results to the top 3 closest matches in terms of vector distance. For each pet, show the pet's name, species, breed, age, and the owner's full name, address, and contact number.\n```\n\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Pet(\n nearText: {\n concepts: [\"cute\"]\n },\n autocut: 3\n ) {\n petName\n species\n breed\n age\n owner {\n ... on Person {\n fullName\n address\n contactNumber\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the pets that are semantically similar to the query 'cute', limiting the results to the top 3 closest matches in terms of vector distance. For each pet, show the pet's name, species, breed, age, and the owner's full name, address, and contact number.\n```\n", "apiRef": "Autocut\n\nAnother way to limit the results returned by a similarity search is to use the\u00a0`autocut`\u00a0filter. Autocut takes a positive integer parameter\u00a0`N`, looks at the\u00a0distance\u00a0between each result and the query, and stops returning results after the\u00a0`N`th \"jump\" in distance. For example, if the distances for six objects returned by\u00a0`nearText`\u00a0were\u00a0`[0.1899, 0.1901, 0.191, 0.21, 0.215, 0.23]`\u00a0then\u00a0`autocut: 1`\u00a0would return the first three objects,\u00a0`autocut: 2`\u00a0would return all but the last object, and\u00a0`autocut: 3`\u00a0would return all objects.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in movies\"]\n },\n autocut: 1\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-autocut.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}", "schemaPath": "pets.json", "modelOutput": "{\n Get {\n Pet(\n nearText: {\n concepts: [\"cute\"]\n },\n autocut: 3\n ) {\n petName\n species\n breed\n age\n owner {\n ... on Person {\n fullName\n address\n contactNumber\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}\n\n COMMAND:\n ```text\nGet me the jewelry items that are semantically similar to the query 'necklace', stopping at the third steepest drop in vector distance results. Show me the name, material, gemstone name and hardness, price, and whether it is handmade for each jewelry item.\n```\n\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n JewelryItem(\n nearText: {\n concepts: [\"necklace\"]\n },\n autocut: 3\n ) {\n name\n material\n gemstone {\n ... on Gemstone {\n name\n hardness\n }\n }\n price\n isHandmade\n }\n }\n}\n```", "nlcommand": "```text\nGet me the jewelry items that are semantically similar to the query 'necklace', stopping at the third steepest drop in vector distance results. Show me the name, material, gemstone name and hardness, price, and whether it is handmade for each jewelry item.\n```\n", "apiRef": "Autocut\n\nAnother way to limit the results returned by a similarity search is to use the\u00a0`autocut`\u00a0filter. Autocut takes a positive integer parameter\u00a0`N`, looks at the\u00a0distance\u00a0between each result and the query, and stops returning results after the\u00a0`N`th \"jump\" in distance. For example, if the distances for six objects returned by\u00a0`nearText`\u00a0were\u00a0`[0.1899, 0.1901, 0.191, 0.21, 0.215, 0.23]`\u00a0then\u00a0`autocut: 1`\u00a0would return the first three objects,\u00a0`autocut: 2`\u00a0would return all but the last object, and\u00a0`autocut: 3`\u00a0would return all objects.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in movies\"]\n },\n autocut: 1\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-autocut.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}", "schemaPath": "jewelry.json", "modelOutput": "{\n Get {\n JewelryItem(\n nearText: {\n concepts: [\"necklace\"]\n },\n autocut: 3\n ) {\n name\n material\n gemstone {\n ... on Gemstone {\n name\n hardness\n }\n }\n price\n isHandmade\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}\n\n COMMAND:\n ```text\nGet me the space missions semantically similar to the query 'moon landing', cutting at the third steepest drop in vector distance results, and show the mission name, objective, launch year, mission status, space agency's name, founded year, and headquarters for each mission.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n SpaceMission(\n nearText: {\n concepts: [\"moon landing\"]\n },\n autocut: 3\n ) {\n missionName\n objective\n launchYear\n missionStatus\n spaceAgency {\n ... on SpaceAgency {\n agencyName\n foundedYear\n headquarters\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the space missions semantically similar to the query 'moon landing', cutting at the third steepest drop in vector distance results, and show the mission name, objective, launch year, mission status, space agency's name, founded year, and headquarters for each mission.\n```", "apiRef": "Autocut\n\nAnother way to limit the results returned by a similarity search is to use the\u00a0`autocut`\u00a0filter. Autocut takes a positive integer parameter\u00a0`N`, looks at the\u00a0distance\u00a0between each result and the query, and stops returning results after the\u00a0`N`th \"jump\" in distance. For example, if the distances for six objects returned by\u00a0`nearText`\u00a0were\u00a0`[0.1899, 0.1901, 0.191, 0.21, 0.215, 0.23]`\u00a0then\u00a0`autocut: 1`\u00a0would return the first three objects,\u00a0`autocut: 2`\u00a0would return all but the last object, and\u00a0`autocut: 3`\u00a0would return all objects.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in movies\"]\n },\n autocut: 1\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-autocut.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}", "schemaPath": "spaceexploration.json", "modelOutput": "{\n Get {\n SpaceMission(\n nearText: {\n concepts: [\"moon landing\"]\n },\n autocut: 3\n ) {\n missionName\n objective\n launchYear\n missionStatus\n spaceAgency {\n ... on SpaceAgency {\n agencyName\n foundedYear\n headquarters\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}\n\n COMMAND:\n ```text\nGet me the non-profit organizations that are semantically similar to the query 'charitable organization', and show their name, mission, year of foundation, focus area, and the full name of their founder. Limit the results to the top 3 organizations based on the similarity distance.\n```\n\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NonProfit(\n nearText: {\n concepts: [\"charitable organization\"]\n },\n autocut: 3\n ) {\n name\n mission\n foundedYear\n focusArea\n founder {\n ... on Person {\n fullName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the non-profit organizations that are semantically similar to the query 'charitable organization', and show their name, mission, year of foundation, focus area, and the full name of their founder. Limit the results to the top 3 organizations based on the similarity distance.\n```\n", "apiRef": "Autocut\n\nAnother way to limit the results returned by a similarity search is to use the\u00a0`autocut`\u00a0filter. Autocut takes a positive integer parameter\u00a0`N`, looks at the\u00a0distance\u00a0between each result and the query, and stops returning results after the\u00a0`N`th \"jump\" in distance. For example, if the distances for six objects returned by\u00a0`nearText`\u00a0were\u00a0`[0.1899, 0.1901, 0.191, 0.21, 0.215, 0.23]`\u00a0then\u00a0`autocut: 1`\u00a0would return the first three objects,\u00a0`autocut: 2`\u00a0would return all but the last object, and\u00a0`autocut: 3`\u00a0would return all objects.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in movies\"]\n },\n autocut: 1\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-autocut.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}", "schemaPath": "nonprofits.json", "modelOutput": "{\n Get {\n NonProfit(\n nearText: {\n concepts: [\"charitable organization\"]\n },\n autocut: 3\n ) {\n name\n mission\n foundedYear\n focusArea\n founder {\n ... on Person {\n fullName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}\n\n COMMAND:\n ```text\nGet me the augmented reality applications that are semantically similar to the concepts 'augmented reality' and 'games', stopping after the third jump in distance. Show me the application name, description, platform, and developer's company name for each application.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ARApplication(\n nearText: {\n concepts: [\"augmented reality\", \"games\"]\n },\n autocut: 3\n ) {\n appName\n description\n platform\n developer {\n ... on SoftwareCompany {\n companyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the augmented reality applications that are semantically similar to the concepts 'augmented reality' and 'games', stopping after the third jump in distance. Show me the application name, description, platform, and developer's company name for each application.\n```", "apiRef": "Autocut\n\nAnother way to limit the results returned by a similarity search is to use the\u00a0`autocut`\u00a0filter. Autocut takes a positive integer parameter\u00a0`N`, looks at the\u00a0distance\u00a0between each result and the query, and stops returning results after the\u00a0`N`th \"jump\" in distance. For example, if the distances for six objects returned by\u00a0`nearText`\u00a0were\u00a0`[0.1899, 0.1901, 0.191, 0.21, 0.215, 0.23]`\u00a0then\u00a0`autocut: 1`\u00a0would return the first three objects,\u00a0`autocut: 2`\u00a0would return all but the last object, and\u00a0`autocut: 3`\u00a0would return all objects.\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in movies\"]\n },\n autocut: 1\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-autocut.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}", "schemaPath": "augmentedreality.json", "modelOutput": "{\n Get {\n ARApplication(\n nearText: {\n concepts: [\"augmented reality\"],\n distance: 0.3\n },\n limit: 3\n ) {\n appName\n description\n platform\n developer {\n ... on SoftwareCompany {\n companyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}\n\n COMMAND:\n ```text\nGet me the chemical compounds semantically similar to the query 'organic chemistry' where the molar mass is greater than 100, and show the compound name, formula, molar mass, and the elements it contains including their name, symbol, atomic number, and whether they are metals.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ChemicalCompound(\n nearText: {\n concepts: [\"organic chemistry\"]\n },\n where: {\n path: [\"molarMass\"],\n operator: GreaterThan,\n valueNumber: 100\n }\n ) {\n compoundName\n formula\n molarMass\n containsElements {\n ... on ChemicalElement {\n elementName\n symbol\n atomicNumber\n isMetal\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the chemical compounds semantically similar to the query 'organic chemistry' where the molar mass is greater than 100, and show the compound name, formula, molar mass, and the elements it contains including their name, symbol, atomic number, and whether they are metals.\n```", "apiRef": "Add a conditional (`where`) filter\n\nYou can add a conditional filter to your search results using the\u00a0`where` argument.\n\nThe example below searches the\u00a0`JeopardyQuestion`\u00a0class for the top 2 objects best matching\u00a0`\"animals in movies\"`, as long as their\u00a0`round`\u00a0property is exactly\u00a0`\"Double Jeopardy!\"`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 2,\n nearText: {\n concepts: [\"animals in movies\"]\n },\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}", "schemaPath": "chemicals.json", "modelOutput": "{\n Get {\n ChemicalCompound(\n nearText: {\n concepts: [\"organic chemistry\"]\n },\n where: {\n path: [\"molarMass\"],\n operator: GreaterThan,\n valueNumber: 100\n }\n ) {\n compoundName\n formula\n molarMass\n containsElements {\n ... on ChemicalElement {\n elementName\n symbol\n isMetal\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the VR experiences that are semantically similar to the query 'action' and were released after 2010. Show me the title, developer's name, genre, and whether it is multiplayer.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n VRExperience(\n nearText: {\n concepts: [\"action\"]\n },\n where: {\n path: [\"releaseYear\"],\n operator: GreaterThan,\n valueInt: 2010\n }\n ) {\n title\n developer {\n ... on Developer {\n name\n }\n }\n genre\n isMultiplayer\n }\n }\n}\n```", "nlcommand": "```text\nGet me the VR experiences that are semantically similar to the query 'action' and were released after 2010. Show me the title, developer's name, genre, and whether it is multiplayer.\n```", "apiRef": "Add a conditional (`where`) filter\n\nYou can add a conditional filter to your search results using the\u00a0`where` argument.\n\nThe example below searches the\u00a0`JeopardyQuestion`\u00a0class for the top 2 objects best matching\u00a0`\"animals in movies\"`, as long as their\u00a0`round`\u00a0property is exactly\u00a0`\"Double Jeopardy!\"`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 2,\n nearText: {\n concepts: [\"animals in movies\"]\n },\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}", "schemaPath": "virtualreality.json", "modelOutput": "{\n Get {\n VRExperience(\n nearText: {\n concepts: [\"action\"]\n },\n where: {\n path: [\"releaseYear\"],\n operator: GreaterThan,\n valueInt: 2010\n }\n ) {\n title\n developer {\n ... on Developer {\n name\n }\n }\n genre\n isMultiplayer\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}\n\n COMMAND:\n ```text\nGet me the drugs semantically similar to the query 'pain relief' where the approvalYear is greater than 2010, and show the drugName, activeIngredient, OTC status, and manufacturer's company name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Drug(\n nearText: {\n concepts: [\"pain relief\"]\n },\n where: {\n path: [\"approvalYear\"],\n operator: GreaterThan,\n valueInt: 2010\n }\n ) {\n drugName\n activeIngredient\n isOTC\n manufacturer {\n ... on Manufacturer {\n companyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the drugs semantically similar to the query 'pain relief' where the approvalYear is greater than 2010, and show the drugName, activeIngredient, OTC status, and manufacturer's company name.\n```", "apiRef": "Add a conditional (`where`) filter\n\nYou can add a conditional filter to your search results using the\u00a0`where` argument.\n\nThe example below searches the\u00a0`JeopardyQuestion`\u00a0class for the top 2 objects best matching\u00a0`\"animals in movies\"`, as long as their\u00a0`round`\u00a0property is exactly\u00a0`\"Double Jeopardy!\"`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 2,\n nearText: {\n concepts: [\"animals in movies\"]\n },\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}", "schemaPath": "pharmaceuticals.json", "modelOutput": "{\n Get {\n Drug(\n nearText: {\n concepts: [\"pain relief\"]\n },\n where: {\n path: [\"approvalYear\"],\n operator: GreaterThan,\n valueInt: 2010\n }\n ) {\n drugName\n activeIngredient\n isOTC\n manufacturer {\n ... on Manufacturer {\n companyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}\n\n COMMAND:\n ```text\nGet me the film festivals semantically similar to the query 'Cannes Film Festival' where the location is equal to 'Cannes', and show the festival name, description, and featured film's title and director.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n FilmFestival(\n nearText: {\n concepts: [\"Cannes Film Festival\"]\n },\n where: {\n path: [\"location\"],\n operator: Equal,\n valueText: \"Cannes\"\n }\n ) {\n festivalName\n description\n featuredFilm {\n ... on Film {\n filmTitle\n director\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the film festivals semantically similar to the query 'Cannes Film Festival' where the location is equal to 'Cannes', and show the festival name, description, and featured film's title and director.\n```", "apiRef": "Add a conditional (`where`) filter\n\nYou can add a conditional filter to your search results using the\u00a0`where` argument.\n\nThe example below searches the\u00a0`JeopardyQuestion`\u00a0class for the top 2 objects best matching\u00a0`\"animals in movies\"`, as long as their\u00a0`round`\u00a0property is exactly\u00a0`\"Double Jeopardy!\"`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 2,\n nearText: {\n concepts: [\"animals in movies\"]\n },\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}", "schemaPath": "filmfestivals.json", "modelOutput": "{\n Get {\n FilmFestival(\n nearText: {\n concepts: [\"Cannes Film Festival\"]\n },\n where: {\n path: [\"location\"],\n operator: Equal,\n valueText: \"Cannes\"\n }\n ) {\n festivalName\n description\n featuredFilm {\n ... on Film {\n title\n director\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the boats that are semantically similar to the query 'sailboat' and have a capacity greater than 10. Show me the boat name, type, capacity, motorization status, and the manufacturer's company name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Boat(\n nearText: {\n concepts: [\"sailboat\"]\n },\n where: {\n path: [\"capacity\"],\n operator: GreaterThan,\n valueInt: 10\n }\n ) {\n boatName\n type\n capacity\n isMotorized\n manufacturer {\n ... on BoatManufacturer {\n companyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the boats that are semantically similar to the query 'sailboat' and have a capacity greater than 10. Show me the boat name, type, capacity, motorization status, and the manufacturer's company name.\n```", "apiRef": "Add a conditional (`where`) filter\n\nYou can add a conditional filter to your search results using the\u00a0`where` argument.\n\nThe example below searches the\u00a0`JeopardyQuestion`\u00a0class for the top 2 objects best matching\u00a0`\"animals in movies\"`, as long as their\u00a0`round`\u00a0property is exactly\u00a0`\"Double Jeopardy!\"`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 2,\n nearText: {\n concepts: [\"animals in movies\"]\n },\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}", "schemaPath": "boats.json", "modelOutput": "{\n Get {\n Boat(\n nearText: {\n concepts: [\"sailboat\"]\n },\n where: {\n path: [\"capacity\"],\n operator: GreaterThan,\n valueInt: 10\n }\n ) {\n boatName\n type\n capacity\n isMotorized\n manufacturer {\n ... on BoatManufacturer {\n companyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}\n\n COMMAND:\n ```text\nGet me the national parks that are semantically similar to the query 'mountain' and were established after the year 2000. Show me the park name, description, location, entry fee status, wildlife, and facilities with their names and descriptions.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NationalPark(\n nearText: {\n concepts: [\"mountain\"]\n },\n where: {\n path: [\"establishedYear\"],\n operator: GreaterThan,\n valueInt: 2000\n }\n ) {\n parkName\n description\n location\n isEntryFree\n wildlife\n facilities {\n ... on Facility {\n facilityName\n description\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the national parks that are semantically similar to the query 'mountain' and were established after the year 2000. Show me the park name, description, location, entry fee status, wildlife, and facilities with their names and descriptions.\n```", "apiRef": "Add a conditional (`where`) filter\n\nYou can add a conditional filter to your search results using the\u00a0`where` argument.\n\nThe example below searches the\u00a0`JeopardyQuestion`\u00a0class for the top 2 objects best matching\u00a0`\"animals in movies\"`, as long as their\u00a0`round`\u00a0property is exactly\u00a0`\"Double Jeopardy!\"`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 2,\n nearText: {\n concepts: [\"animals in movies\"]\n },\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}", "schemaPath": "nationalparks.json", "modelOutput": "{\n Get {\n NationalPark(\n nearText: {\n concepts: [\"mountain\"]\n },\n where: {\n path: [\"establishedYear\"],\n operator: GreaterThan,\n valueInt: 2000\n }\n ) {\n parkName\n description\n location\n isEntryFree\n wildlife\n facilities {\n ... on Facility {\n facilityName\n description\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}\n\n COMMAND:\n ```text\nGet me the pets that are semantically similar to the query 'cute' and have an age greater than 1. Show me their pet name, species, breed, age, and the owner's full name, address, and contact number.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Pet(\n nearText: {\n concepts: [\"cute\"]\n },\n where: {\n path: [\"age\"],\n operator: GreaterThan,\n valueInt: 1\n }\n ) {\n petName\n species\n breed\n age\n owner {\n ... on Person {\n fullName\n address\n contactNumber\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the pets that are semantically similar to the query 'cute' and have an age greater than 1. Show me their pet name, species, breed, age, and the owner's full name, address, and contact number.\n```", "apiRef": "Add a conditional (`where`) filter\n\nYou can add a conditional filter to your search results using the\u00a0`where` argument.\n\nThe example below searches the\u00a0`JeopardyQuestion`\u00a0class for the top 2 objects best matching\u00a0`\"animals in movies\"`, as long as their\u00a0`round`\u00a0property is exactly\u00a0`\"Double Jeopardy!\"`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 2,\n nearText: {\n concepts: [\"animals in movies\"]\n },\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}", "schemaPath": "pets.json", "modelOutput": "{\n Get {\n Pet(\n nearText: {\n concepts: [\"cute\"]\n },\n where: {\n path: [\"age\"],\n operator: GreaterThan,\n valueInt: 1\n }\n ) {\n petName\n species\n breed\n age\n owner {\n ... on Person {\n fullName\n address\n contactNumber\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}\n\n COMMAND:\n ```text\nGet me the jewelry items semantically similar to the query 'necklace' where the price is less than 1000, and show the name, material, gemstone's name and hardness, price, and whether it is handmade.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n JewelryItem(\n nearText: {\n concepts: [\"necklace\"]\n },\n where: {\n path: [\"price\"],\n operator: LessThan,\n valueNumber: 1000\n }\n ) {\n name\n material\n gemstone {\n ... on Gemstone {\n name\n hardness\n }\n }\n price\n isHandmade\n }\n }\n}\n```", "nlcommand": "```text\nGet me the jewelry items semantically similar to the query 'necklace' where the price is less than 1000, and show the name, material, gemstone's name and hardness, price, and whether it is handmade.\n```", "apiRef": "Add a conditional (`where`) filter\n\nYou can add a conditional filter to your search results using the\u00a0`where` argument.\n\nThe example below searches the\u00a0`JeopardyQuestion`\u00a0class for the top 2 objects best matching\u00a0`\"animals in movies\"`, as long as their\u00a0`round`\u00a0property is exactly\u00a0`\"Double Jeopardy!\"`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 2,\n nearText: {\n concepts: [\"animals in movies\"]\n },\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}", "schemaPath": "jewelry.json", "modelOutput": "{\n Get {\n JewelryItem(\n nearText: {\n concepts: [\"necklace\"]\n },\n where: {\n path: [\"price\"],\n operator: LessThan,\n valueNumber: 1000\n }\n ) {\n name\n material\n gemstone {\n ... on Gemstone {\n name\n hardness\n }\n }\n price\n isHandmade\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}\n\n COMMAND:\n ```text\nGet me the space missions that are semantically similar to the query 'exploration' and were launched after the year 2000. Show me the mission name, objective, mission status, space agency name, and headquarters.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n SpaceMission(\n nearText: {\n concepts: [\"exploration\"]\n },\n where: {\n path: [\"launchYear\"],\n operator: GreaterThan,\n valueInt: 2000\n }\n ) {\n missionName\n objective\n missionStatus\n spaceAgency {\n ... on SpaceAgency {\n agencyName\n headquarters\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the space missions that are semantically similar to the query 'exploration' and were launched after the year 2000. Show me the mission name, objective, mission status, space agency name, and headquarters.\n```", "apiRef": "Add a conditional (`where`) filter\n\nYou can add a conditional filter to your search results using the\u00a0`where` argument.\n\nThe example below searches the\u00a0`JeopardyQuestion`\u00a0class for the top 2 objects best matching\u00a0`\"animals in movies\"`, as long as their\u00a0`round`\u00a0property is exactly\u00a0`\"Double Jeopardy!\"`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 2,\n nearText: {\n concepts: [\"animals in movies\"]\n },\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}", "schemaPath": "spaceexploration.json", "modelOutput": "{\n Get {\n SpaceMission(\n nearText: {\n concepts: [\"exploration\"]\n },\n where: {\n path: [\"launchYear\"],\n operator: GreaterThan,\n valueInt: 2000\n }\n ) {\n missionName\n objective\n missionStatus\n spaceAgency {\n ... on SpaceAgency {\n agencyName\n foundedYear\n headquarters\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}\n\n COMMAND:\n ```text\nGet me the non-profit organizations that are semantically similar to the query 'charitable cause' and were founded after the year 2000. Show me their name, mission, focus area, and founder's full name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NonProfit(\n nearText: {\n concepts: [\"charitable cause\"]\n },\n where: {\n path: [\"foundedYear\"],\n operator: GreaterThan,\n valueInt: 2000\n }\n ) {\n name\n mission\n focusArea\n founder {\n ... on Person {\n fullName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the non-profit organizations that are semantically similar to the query 'charitable cause' and were founded after the year 2000. Show me their name, mission, focus area, and founder's full name.\n```", "apiRef": "Add a conditional (`where`) filter\n\nYou can add a conditional filter to your search results using the\u00a0`where` argument.\n\nThe example below searches the\u00a0`JeopardyQuestion`\u00a0class for the top 2 objects best matching\u00a0`\"animals in movies\"`, as long as their\u00a0`round`\u00a0property is exactly\u00a0`\"Double Jeopardy!\"`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 2,\n nearText: {\n concepts: [\"animals in movies\"]\n },\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}", "schemaPath": "nonprofits.json", "modelOutput": "{\n Get {\n NonProfit(\n nearText: {\n concepts: [\"charitable cause\"]\n },\n where: {\n path: [\"foundedYear\"],\n operator: GreaterThan,\n valueInt: 2000\n }\n ) {\n name\n mission\n focusArea\n founder {\n ... on Person {\n fullName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}\n\n COMMAND:\n ```text\nGet me the AR applications that are semantically similar to 'augmented reality' and are available on iOS. Show me the application name, description, platform, and developer's company name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ARApplication(\n nearText: {\n concepts: [\"augmented reality\"]\n },\n where: {\n path: [\"platform\"],\n operator: Equal,\n valueText: \"iOS\"\n }\n ) {\n appName\n description\n platform\n developer {\n ... on SoftwareCompany {\n companyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the AR applications that are semantically similar to 'augmented reality' and are available on iOS. Show me the application name, description, platform, and developer's company name.\n```", "apiRef": "Add a conditional (`where`) filter\n\nYou can add a conditional filter to your search results using the\u00a0`where` argument.\n\nThe example below searches the\u00a0`JeopardyQuestion`\u00a0class for the top 2 objects best matching\u00a0`\"animals in movies\"`, as long as their\u00a0`round`\u00a0property is exactly\u00a0`\"Double Jeopardy!\"`:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n limit: 2,\n nearText: {\n concepts: [\"animals in movies\"]\n },\n where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Double Jeopardy!\"\n }\n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}", "schemaPath": "augmentedreality.json", "modelOutput": "{\n Get {\n ARApplication(\n nearText: {\n concepts: [\"augmented reality\"]\n },\n where: {\n path: [\"platform\"],\n operator: Equal,\n valueText: \"iOS\"\n }\n ) {\n appName\n description\n platform\n developer {\n ... on SoftwareCompany {\n companyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}\n\n COMMAND:\n ```text\nShow me the names of chemical elements.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ChemicalElement {\n elementName\n }\n }\n}\n```", "nlcommand": "```text\nShow me the names of chemical elements.\n```", "apiRef": "Simple Get to return a single property\n\n`Get`\u00a0function requirements\nTo retrieve objects from Weaviate, you must use the\u00a0`Get`\u00a0function and specify at least:\n\n- The target\u00a0`class`\u00a0to search, and\n- One or more\u00a0`properties`\u00a0to retrieve.\n\n```graphql\n{\n Get {\n JeopardyQuestion {\n question\n }\n }\n}\n```", "apiRefPath": "get-single-property.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}", "schemaPath": "chemicals.json", "modelOutput": "{\n Get {\n ChemicalElement {\n elementName\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nShow me the titles of VR Experiences.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n VRExperience {\n title\n }\n }\n}\n```", "nlcommand": "```text\nShow me the titles of VR Experiences.\n```", "apiRef": "Simple Get to return a single property\n\n`Get`\u00a0function requirements\nTo retrieve objects from Weaviate, you must use the\u00a0`Get`\u00a0function and specify at least:\n\n- The target\u00a0`class`\u00a0to search, and\n- One or more\u00a0`properties`\u00a0to retrieve.\n\n```graphql\n{\n Get {\n JeopardyQuestion {\n question\n }\n }\n}\n```", "apiRefPath": "get-single-property.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}", "schemaPath": "virtualreality.json", "modelOutput": "{\n Get {\n VRExperience {\n title\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}\n\n COMMAND:\n ```text\nShow me the drug names.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Drug {\n drugName\n }\n }\n}\n```", "nlcommand": "```text\nShow me the drug names.\n```", "apiRef": "Simple Get to return a single property\n\n`Get`\u00a0function requirements\nTo retrieve objects from Weaviate, you must use the\u00a0`Get`\u00a0function and specify at least:\n\n- The target\u00a0`class`\u00a0to search, and\n- One or more\u00a0`properties`\u00a0to retrieve.\n\n```graphql\n{\n Get {\n JeopardyQuestion {\n question\n }\n }\n}\n```", "apiRefPath": "get-single-property.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}", "schemaPath": "pharmaceuticals.json", "modelOutput": "{\n Get {\n Drug {\n drugName\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}\n\n COMMAND:\n ```text\nShow me the festival names of film festivals.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n FilmFestival {\n festivalName\n }\n }\n}\n```", "nlcommand": "```text\nShow me the festival names of film festivals.\n```", "apiRef": "Simple Get to return a single property\n\n`Get`\u00a0function requirements\nTo retrieve objects from Weaviate, you must use the\u00a0`Get`\u00a0function and specify at least:\n\n- The target\u00a0`class`\u00a0to search, and\n- One or more\u00a0`properties`\u00a0to retrieve.\n\n```graphql\n{\n Get {\n JeopardyQuestion {\n question\n }\n }\n}\n```", "apiRefPath": "get-single-property.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}", "schemaPath": "filmfestivals.json", "modelOutput": "{\n Get {\n FilmFestival {\n festivalName\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}\n\n COMMAND:\n ```text\nShow me the boat names.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Boat {\n boatName\n }\n }\n}\n```", "nlcommand": "```text\nShow me the boat names.\n```", "apiRef": "Simple Get to return a single property\n\n`Get`\u00a0function requirements\nTo retrieve objects from Weaviate, you must use the\u00a0`Get`\u00a0function and specify at least:\n\n- The target\u00a0`class`\u00a0to search, and\n- One or more\u00a0`properties`\u00a0to retrieve.\n\n```graphql\n{\n Get {\n JeopardyQuestion {\n question\n }\n }\n}\n```", "apiRefPath": "get-single-property.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}", "schemaPath": "boats.json", "modelOutput": "{\n Get {\n Boat {\n boatName\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}\n\n COMMAND:\n ```text\nShow me the park names of national parks.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NationalPark {\n parkName\n }\n }\n}\n```", "nlcommand": "```text\nShow me the park names of national parks.\n```", "apiRef": "Simple Get to return a single property\n\n`Get`\u00a0function requirements\nTo retrieve objects from Weaviate, you must use the\u00a0`Get`\u00a0function and specify at least:\n\n- The target\u00a0`class`\u00a0to search, and\n- One or more\u00a0`properties`\u00a0to retrieve.\n\n```graphql\n{\n Get {\n JeopardyQuestion {\n question\n }\n }\n}\n```", "apiRefPath": "get-single-property.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}", "schemaPath": "nationalparks.json", "modelOutput": "{\n Get {\n NationalPark {\n parkName\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}\n\n COMMAND:\n ```text\nShow me the pet names of all pets.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Pet {\n petName\n }\n }\n}\n```", "nlcommand": "```text\nShow me the pet names of all pets.\n```", "apiRef": "Simple Get to return a single property\n\n`Get`\u00a0function requirements\nTo retrieve objects from Weaviate, you must use the\u00a0`Get`\u00a0function and specify at least:\n\n- The target\u00a0`class`\u00a0to search, and\n- One or more\u00a0`properties`\u00a0to retrieve.\n\n```graphql\n{\n Get {\n JeopardyQuestion {\n question\n }\n }\n}\n```", "apiRefPath": "get-single-property.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}", "schemaPath": "pets.json", "modelOutput": "{\n Get {\n Pet {\n petName\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}\n\n COMMAND:\n ```text\nShow me the names of jewelry items.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n JewelryItem {\n name\n }\n }\n}\n```", "nlcommand": "```text\nShow me the names of jewelry items.\n```", "apiRef": "Simple Get to return a single property\n\n`Get`\u00a0function requirements\nTo retrieve objects from Weaviate, you must use the\u00a0`Get`\u00a0function and specify at least:\n\n- The target\u00a0`class`\u00a0to search, and\n- One or more\u00a0`properties`\u00a0to retrieve.\n\n```graphql\n{\n Get {\n JeopardyQuestion {\n question\n }\n }\n}\n```", "apiRefPath": "get-single-property.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}", "schemaPath": "jewelry.json", "modelOutput": "{\n Get {\n JewelryItem {\n name\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}\n\n COMMAND:\n ```text\nShow me the mission names of space missions.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n SpaceMission {\n missionName\n }\n }\n}\n```", "nlcommand": "```text\nShow me the mission names of space missions.\n```", "apiRef": "Simple Get to return a single property\n\n`Get`\u00a0function requirements\nTo retrieve objects from Weaviate, you must use the\u00a0`Get`\u00a0function and specify at least:\n\n- The target\u00a0`class`\u00a0to search, and\n- One or more\u00a0`properties`\u00a0to retrieve.\n\n```graphql\n{\n Get {\n JeopardyQuestion {\n question\n }\n }\n}\n```", "apiRefPath": "get-single-property.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}", "schemaPath": "spaceexploration.json", "modelOutput": "{\n Get {\n SpaceMission {\n missionName\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}\n\n COMMAND:\n ```text\nShow me the names of non-profit organizations.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NonProfit {\n name\n }\n }\n}\n```", "nlcommand": "```text\nShow me the names of non-profit organizations.\n```", "apiRef": "Simple Get to return a single property\n\n`Get`\u00a0function requirements\nTo retrieve objects from Weaviate, you must use the\u00a0`Get`\u00a0function and specify at least:\n\n- The target\u00a0`class`\u00a0to search, and\n- One or more\u00a0`properties`\u00a0to retrieve.\n\n```graphql\n{\n Get {\n JeopardyQuestion {\n question\n }\n }\n}\n```", "apiRefPath": "get-single-property.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}", "schemaPath": "nonprofits.json", "modelOutput": "{\n Get {\n NonProfit {\n name\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}\n\n COMMAND:\n ```text\nShow me the names of AR applications.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ARApplication {\n appName\n }\n }\n}\n```", "nlcommand": "```text\nShow me the names of AR applications.\n```", "apiRef": "Simple Get to return a single property\n\n`Get`\u00a0function requirements\nTo retrieve objects from Weaviate, you must use the\u00a0`Get`\u00a0function and specify at least:\n\n- The target\u00a0`class`\u00a0to search, and\n- One or more\u00a0`properties`\u00a0to retrieve.\n\n```graphql\n{\n Get {\n JeopardyQuestion {\n question\n }\n }\n}\n```", "apiRefPath": "get-single-property.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}", "schemaPath": "augmentedreality.json", "modelOutput": "{\n Get {\n ARApplication {\n appName\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}\n\n COMMAND:\n ```text\nGet me the ids of the chemical element objects.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ChemicalElement {\n _additional {\n id\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the ids of the chemical element objects.\n```", "apiRef": "Retrieve the object\u00a0`id`\n\nTo retrieve the object ID, request the\u00a0`_additional`\u00a0property and\u00a0`id`\u00a0sub-property. You can do so as shown below.\n\n```graphql\n{\n Get {\n JeopardyQuestion (limit: 1) {\n _additional {\n id\n }\n }\n }\n}\n```", "apiRefPath": "get-retrieve-object-id.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}", "schemaPath": "chemicals.json", "modelOutput": "{\n Get {\n ChemicalElement {\n _additional {\n id\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the ids of the VRExperience objects.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n VRExperience {\n _additional {\n id\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the ids of the VRExperience objects.\n```", "apiRef": "Retrieve the object\u00a0`id`\n\nTo retrieve the object ID, request the\u00a0`_additional`\u00a0property and\u00a0`id`\u00a0sub-property. You can do so as shown below.\n\n```graphql\n{\n Get {\n JeopardyQuestion (limit: 1) {\n _additional {\n id\n }\n }\n }\n}\n```", "apiRefPath": "get-retrieve-object-id.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}", "schemaPath": "virtualreality.json", "modelOutput": "{\n Get {\n VRExperience {\n _additional {\n id\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}\n\n COMMAND:\n ```text\nGet me the ids of the drug objects.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Drug {\n _additional {\n id\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the ids of the drug objects.\n```", "apiRef": "Retrieve the object\u00a0`id`\n\nTo retrieve the object ID, request the\u00a0`_additional`\u00a0property and\u00a0`id`\u00a0sub-property. You can do so as shown below.\n\n```graphql\n{\n Get {\n JeopardyQuestion (limit: 1) {\n _additional {\n id\n }\n }\n }\n}\n```", "apiRefPath": "get-retrieve-object-id.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}", "schemaPath": "pharmaceuticals.json", "modelOutput": "{\n Get {\n Drug {\n _additional {\n id\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}\n\n COMMAND:\n ```text\nGet me the ids of the film festival objects.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n FilmFestival {\n _additional {\n id\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the ids of the film festival objects.\n```", "apiRef": "Retrieve the object\u00a0`id`\n\nTo retrieve the object ID, request the\u00a0`_additional`\u00a0property and\u00a0`id`\u00a0sub-property. You can do so as shown below.\n\n```graphql\n{\n Get {\n JeopardyQuestion (limit: 1) {\n _additional {\n id\n }\n }\n }\n}\n```", "apiRefPath": "get-retrieve-object-id.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}", "schemaPath": "filmfestivals.json", "modelOutput": "{\n Get {\n FilmFestival {\n _additional {\n id\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the ids of the boat objects.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Boat {\n _additional {\n id\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the ids of the boat objects.\n```", "apiRef": "Retrieve the object\u00a0`id`\n\nTo retrieve the object ID, request the\u00a0`_additional`\u00a0property and\u00a0`id`\u00a0sub-property. You can do so as shown below.\n\n```graphql\n{\n Get {\n JeopardyQuestion (limit: 1) {\n _additional {\n id\n }\n }\n }\n}\n```", "apiRefPath": "get-retrieve-object-id.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}", "schemaPath": "boats.json", "modelOutput": "{\n Get {\n Boat {\n _additional {\n id\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}\n\n COMMAND:\n ```text\nGet me the ids of the national park objects.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NationalPark {\n _additional {\n id\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the ids of the national park objects.\n```", "apiRef": "Retrieve the object\u00a0`id`\n\nTo retrieve the object ID, request the\u00a0`_additional`\u00a0property and\u00a0`id`\u00a0sub-property. You can do so as shown below.\n\n```graphql\n{\n Get {\n JeopardyQuestion (limit: 1) {\n _additional {\n id\n }\n }\n }\n}\n```", "apiRefPath": "get-retrieve-object-id.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}", "schemaPath": "nationalparks.json", "modelOutput": "{\n Get {\n NationalPark {\n _additional {\n id\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}\n\n COMMAND:\n ```text\nGet me the ids of the pet objects.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Pet {\n _additional {\n id\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the ids of the pet objects.\n```", "apiRef": "Retrieve the object\u00a0`id`\n\nTo retrieve the object ID, request the\u00a0`_additional`\u00a0property and\u00a0`id`\u00a0sub-property. You can do so as shown below.\n\n```graphql\n{\n Get {\n JeopardyQuestion (limit: 1) {\n _additional {\n id\n }\n }\n }\n}\n```", "apiRefPath": "get-retrieve-object-id.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}", "schemaPath": "pets.json", "modelOutput": "{\n Get {\n Pet {\n _additional {\n id\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}\n\n COMMAND:\n ```text\nGet me the ids of the jewelry item objects.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n JewelryItem {\n _additional {\n id\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the ids of the jewelry item objects.\n```", "apiRef": "Retrieve the object\u00a0`id`\n\nTo retrieve the object ID, request the\u00a0`_additional`\u00a0property and\u00a0`id`\u00a0sub-property. You can do so as shown below.\n\n```graphql\n{\n Get {\n JeopardyQuestion (limit: 1) {\n _additional {\n id\n }\n }\n }\n}\n```", "apiRefPath": "get-retrieve-object-id.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}", "schemaPath": "jewelry.json", "modelOutput": "{\n Get {\n JewelryItem {\n _additional {\n id\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}\n\n COMMAND:\n ```text\nGet me the ids of the space mission objects.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n SpaceMission {\n _additional {\n id\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the ids of the space mission objects.\n```", "apiRef": "Retrieve the object\u00a0`id`\n\nTo retrieve the object ID, request the\u00a0`_additional`\u00a0property and\u00a0`id`\u00a0sub-property. You can do so as shown below.\n\n```graphql\n{\n Get {\n JeopardyQuestion (limit: 1) {\n _additional {\n id\n }\n }\n }\n}\n```", "apiRefPath": "get-retrieve-object-id.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}", "schemaPath": "spaceexploration.json", "modelOutput": "{\n Get {\n SpaceMission {\n _additional {\n id\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}\n\n COMMAND:\n ```text\nGet me the ids of the NonProfit objects.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NonProfit {\n _additional {\n id\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the ids of the NonProfit objects.\n```", "apiRef": "Retrieve the object\u00a0`id`\n\nTo retrieve the object ID, request the\u00a0`_additional`\u00a0property and\u00a0`id`\u00a0sub-property. You can do so as shown below.\n\n```graphql\n{\n Get {\n JeopardyQuestion (limit: 1) {\n _additional {\n id\n }\n }\n }\n}\n```", "apiRefPath": "get-retrieve-object-id.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}", "schemaPath": "nonprofits.json", "modelOutput": "{\n Get {\n NonProfit {\n _additional {\n id\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}\n\n COMMAND:\n ```text\nGet me the ids of the ARApplication objects.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ARApplication {\n _additional {\n id\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the ids of the ARApplication objects.\n```", "apiRef": "Retrieve the object\u00a0`id`\n\nTo retrieve the object ID, request the\u00a0`_additional`\u00a0property and\u00a0`id`\u00a0sub-property. You can do so as shown below.\n\n```graphql\n{\n Get {\n JeopardyQuestion (limit: 1) {\n _additional {\n id\n }\n }\n }\n}\n```", "apiRefPath": "get-retrieve-object-id.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}", "schemaPath": "augmentedreality.json", "modelOutput": "{\n Get {\n ARApplication {\n _additional {\n id\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}\n\n COMMAND:\n ```text\nShow me the compound names of chemical compounds and the names of the elements they contain.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ChemicalCompound {\n compoundName\n containsElements {\n ... on ChemicalElement {\n elementName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the compound names of chemical compounds and the names of the elements they contain.\n```", "apiRef": "Retrieve cross-referenced properties\n\nYou can retrieve any properties of cross-referenced objects by specifying:\n\n- The cross-reference property,\n- The target cross-referenced object class, and\n- The desired properties to retrieve (of the cross-referenced objects).\n\nThe following example, retrieves for each\u00a0`JeopardyQuestion`\u00a0object the cross-referenced\u00a0`JeopardyCategory`\u00a0object, and the\u00a0`JeopardyCategory`\u00a0object's\u00a0`title`\u00a0property is returned. The property is accessed using the GraphQL syntax.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n limit: 2\n )\n {\n question\n hasCategory {\n ... on JeopardyCategory {\n title\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-retrieve-crefs.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}", "schemaPath": "chemicals.json", "modelOutput": "{\n Get {\n ChemicalElement {\n elementName\n containsElements {\n ... on ChemicalElement {\n elementName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nShow me the titles of VR Experiences and the names of their linked developers.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n VRExperience {\n title\n developer {\n ... on Developer {\n name\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the titles of VR Experiences and the names of their linked developers.\n```", "apiRef": "Retrieve cross-referenced properties\n\nYou can retrieve any properties of cross-referenced objects by specifying:\n\n- The cross-reference property,\n- The target cross-referenced object class, and\n- The desired properties to retrieve (of the cross-referenced objects).\n\nThe following example, retrieves for each\u00a0`JeopardyQuestion`\u00a0object the cross-referenced\u00a0`JeopardyCategory`\u00a0object, and the\u00a0`JeopardyCategory`\u00a0object's\u00a0`title`\u00a0property is returned. The property is accessed using the GraphQL syntax.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n limit: 2\n )\n {\n question\n hasCategory {\n ... on JeopardyCategory {\n title\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-retrieve-crefs.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}", "schemaPath": "virtualreality.json", "modelOutput": "{\n Get {\n VRExperience {\n title\n developer {\n ... on Developer {\n name\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}\n\n COMMAND:\n ```text\nShow me the drug names and the names of their linked manufacturers.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Drug {\n drugName\n manufacturer {\n ... on Manufacturer {\n companyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the drug names and the names of their linked manufacturers.\n```", "apiRef": "Retrieve cross-referenced properties\n\nYou can retrieve any properties of cross-referenced objects by specifying:\n\n- The cross-reference property,\n- The target cross-referenced object class, and\n- The desired properties to retrieve (of the cross-referenced objects).\n\nThe following example, retrieves for each\u00a0`JeopardyQuestion`\u00a0object the cross-referenced\u00a0`JeopardyCategory`\u00a0object, and the\u00a0`JeopardyCategory`\u00a0object's\u00a0`title`\u00a0property is returned. The property is accessed using the GraphQL syntax.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n limit: 2\n )\n {\n question\n hasCategory {\n ... on JeopardyCategory {\n title\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-retrieve-crefs.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}", "schemaPath": "pharmaceuticals.json", "modelOutput": "{\n Get {\n Drug {\n drugName\n manufacturer {\n ... on Manufacturer {\n companyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}\n\n COMMAND:\n ```text\nShow me the festival names and the titles of the featured films along with their directors.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n FilmFestival {\n festivalName\n featuredFilm {\n ... on Film {\n filmTitle\n director\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the festival names and the titles of the featured films along with their directors.\n```", "apiRef": "Retrieve cross-referenced properties\n\nYou can retrieve any properties of cross-referenced objects by specifying:\n\n- The cross-reference property,\n- The target cross-referenced object class, and\n- The desired properties to retrieve (of the cross-referenced objects).\n\nThe following example, retrieves for each\u00a0`JeopardyQuestion`\u00a0object the cross-referenced\u00a0`JeopardyCategory`\u00a0object, and the\u00a0`JeopardyCategory`\u00a0object's\u00a0`title`\u00a0property is returned. The property is accessed using the GraphQL syntax.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n limit: 2\n )\n {\n question\n hasCategory {\n ... on JeopardyCategory {\n title\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-retrieve-crefs.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}", "schemaPath": "filmfestivals.json", "modelOutput": "{\n Get {\n FilmFestival {\n festivalName\n featuredFilm {\n ... on Film {\n title\n director\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}\n\n COMMAND:\n ```text\nShow me the boat names and the names of their linked manufacturers.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Boat {\n boatName\n manufacturer {\n ... on BoatManufacturer {\n companyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the boat names and the names of their linked manufacturers.\n```", "apiRef": "Retrieve cross-referenced properties\n\nYou can retrieve any properties of cross-referenced objects by specifying:\n\n- The cross-reference property,\n- The target cross-referenced object class, and\n- The desired properties to retrieve (of the cross-referenced objects).\n\nThe following example, retrieves for each\u00a0`JeopardyQuestion`\u00a0object the cross-referenced\u00a0`JeopardyCategory`\u00a0object, and the\u00a0`JeopardyCategory`\u00a0object's\u00a0`title`\u00a0property is returned. The property is accessed using the GraphQL syntax.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n limit: 2\n )\n {\n question\n hasCategory {\n ... on JeopardyCategory {\n title\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-retrieve-crefs.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}", "schemaPath": "boats.json", "modelOutput": "{\n Get {\n Boat {\n boatName\n manufacturer {\n ... on BoatManufacturer {\n companyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}\n\n COMMAND:\n ```text\nShow me the names of national parks and the names of their linked facilities.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NationalPark {\n parkName\n facilities {\n ... on Facility {\n facilityName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the names of national parks and the names of their linked facilities.\n```", "apiRef": "Retrieve cross-referenced properties\n\nYou can retrieve any properties of cross-referenced objects by specifying:\n\n- The cross-reference property,\n- The target cross-referenced object class, and\n- The desired properties to retrieve (of the cross-referenced objects).\n\nThe following example, retrieves for each\u00a0`JeopardyQuestion`\u00a0object the cross-referenced\u00a0`JeopardyCategory`\u00a0object, and the\u00a0`JeopardyCategory`\u00a0object's\u00a0`title`\u00a0property is returned. The property is accessed using the GraphQL syntax.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n limit: 2\n )\n {\n question\n hasCategory {\n ... on JeopardyCategory {\n title\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-retrieve-crefs.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}", "schemaPath": "nationalparks.json", "modelOutput": "{\n Get {\n NationalPark {\n parkName\n facilities {\n ... on Facility {\n facilityName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}\n\n COMMAND:\n ```text\nShow me the pet names and the full names, addresses, and contact numbers of their owners.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Pet {\n petName\n owner {\n ... on Person {\n fullName\n address\n contactNumber\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the pet names and the full names, addresses, and contact numbers of their owners.\n```", "apiRef": "Retrieve cross-referenced properties\n\nYou can retrieve any properties of cross-referenced objects by specifying:\n\n- The cross-reference property,\n- The target cross-referenced object class, and\n- The desired properties to retrieve (of the cross-referenced objects).\n\nThe following example, retrieves for each\u00a0`JeopardyQuestion`\u00a0object the cross-referenced\u00a0`JeopardyCategory`\u00a0object, and the\u00a0`JeopardyCategory`\u00a0object's\u00a0`title`\u00a0property is returned. The property is accessed using the GraphQL syntax.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n limit: 2\n )\n {\n question\n hasCategory {\n ... on JeopardyCategory {\n title\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-retrieve-crefs.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}", "schemaPath": "pets.json", "modelOutput": "{\n Get {\n Pet {\n petName\n owner {\n ... on Person {\n fullName\n address\n contactNumber\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}\n\n COMMAND:\n ```text\nShow me the names of jewelry items and the names of their linked gemstones.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n JewelryItem {\n name\n gemstone {\n ... on Gemstone {\n name\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the names of jewelry items and the names of their linked gemstones.\n```", "apiRef": "Retrieve cross-referenced properties\n\nYou can retrieve any properties of cross-referenced objects by specifying:\n\n- The cross-reference property,\n- The target cross-referenced object class, and\n- The desired properties to retrieve (of the cross-referenced objects).\n\nThe following example, retrieves for each\u00a0`JeopardyQuestion`\u00a0object the cross-referenced\u00a0`JeopardyCategory`\u00a0object, and the\u00a0`JeopardyCategory`\u00a0object's\u00a0`title`\u00a0property is returned. The property is accessed using the GraphQL syntax.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n limit: 2\n )\n {\n question\n hasCategory {\n ... on JeopardyCategory {\n title\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-retrieve-crefs.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}", "schemaPath": "jewelry.json", "modelOutput": "{\n Get {\n JewelryItem {\n name\n gemstone {\n ... on Gemstone {\n name\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}\n\n COMMAND:\n ```text\nShow me the mission names of space missions and the names of their linked space agencies.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n SpaceMission {\n missionName\n spaceAgency {\n ... on SpaceAgency {\n agencyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the mission names of space missions and the names of their linked space agencies.\n```", "apiRef": "Retrieve cross-referenced properties\n\nYou can retrieve any properties of cross-referenced objects by specifying:\n\n- The cross-reference property,\n- The target cross-referenced object class, and\n- The desired properties to retrieve (of the cross-referenced objects).\n\nThe following example, retrieves for each\u00a0`JeopardyQuestion`\u00a0object the cross-referenced\u00a0`JeopardyCategory`\u00a0object, and the\u00a0`JeopardyCategory`\u00a0object's\u00a0`title`\u00a0property is returned. The property is accessed using the GraphQL syntax.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n limit: 2\n )\n {\n question\n hasCategory {\n ... on JeopardyCategory {\n title\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-retrieve-crefs.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}", "schemaPath": "spaceexploration.json", "modelOutput": "{\n Get {\n SpaceMission {\n missionName\n spaceAgency {\n ... on SpaceAgency {\n agencyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}\n\n COMMAND:\n ```text\nShow me the names of non-profit organizations and the full names of their founders.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NonProfit {\n name\n founder {\n ... on Person {\n fullName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the names of non-profit organizations and the full names of their founders.\n```", "apiRef": "Retrieve cross-referenced properties\n\nYou can retrieve any properties of cross-referenced objects by specifying:\n\n- The cross-reference property,\n- The target cross-referenced object class, and\n- The desired properties to retrieve (of the cross-referenced objects).\n\nThe following example, retrieves for each\u00a0`JeopardyQuestion`\u00a0object the cross-referenced\u00a0`JeopardyCategory`\u00a0object, and the\u00a0`JeopardyCategory`\u00a0object's\u00a0`title`\u00a0property is returned. The property is accessed using the GraphQL syntax.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n limit: 2\n )\n {\n question\n hasCategory {\n ... on JeopardyCategory {\n title\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-retrieve-crefs.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}", "schemaPath": "nonprofits.json", "modelOutput": "{\n Get {\n NonProfit {\n name\n founder {\n ... on Person {\n fullName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}\n\n COMMAND:\n ```text\nShow me the names of AR applications and the names of their linked developers.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ARApplication {\n appName\n developer {\n ... on SoftwareCompany {\n companyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me the names of AR applications and the names of their linked developers.\n```", "apiRef": "Retrieve cross-referenced properties\n\nYou can retrieve any properties of cross-referenced objects by specifying:\n\n- The cross-reference property,\n- The target cross-referenced object class, and\n- The desired properties to retrieve (of the cross-referenced objects).\n\nThe following example, retrieves for each\u00a0`JeopardyQuestion`\u00a0object the cross-referenced\u00a0`JeopardyCategory`\u00a0object, and the\u00a0`JeopardyCategory`\u00a0object's\u00a0`title`\u00a0property is returned. The property is accessed using the GraphQL syntax.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n limit: 2\n )\n {\n question\n hasCategory {\n ... on JeopardyCategory {\n title\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-retrieve-crefs.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}", "schemaPath": "augmentedreality.json", "modelOutput": "{\n Get {\n ARApplication {\n appName\n developer {\n ... on SoftwareCompany {\n companyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 3 chemical compounds semantically similar to the query 'organic chemistry', and show the compound name, formula, molar mass, and the elements it contains with their names, symbols, atomic numbers, and whether they are metals.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ChemicalCompound(\n nearText: {\n concepts: [\"organic chemistry\"]\n },\n limit: 3\n ) {\n compoundName\n formula\n molarMass\n containsElements {\n ... on ChemicalElement {\n elementName\n symbol\n atomicNumber\n isMetal\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 3 chemical compounds semantically similar to the query 'organic chemistry', and show the compound name, formula, molar mass, and the elements it contains with their names, symbols, atomic numbers, and whether they are metals.\n```", "apiRef": "nearText with limit\n\nNumber of results\n\nYou can set the maximum number of results returned with\u00a0`limit`\u00a0in the same way as shown in the\u00a0search basics how-to guide.\n\nSimilarly, you can retrieve a maximum\u00a0`n`\u00a0objects after the first\u00a0`m`\u00a0results by using\u00a0`limit`\u00a0with\u00a0`offset`\u00a0as shown in the\u00a0search basics how-to guide.\n\nTo limit the number of results returned by a\u00a0`near...`\u00a0query, add the\u00a0`limit`\u00a0operator. To start at a given offset, add the\u00a0`offset`\u00a0operator. For example if we want to obtain the animals in movies #2 and #3 from the\u00a0`nearText`\u00a0example above, we'll need to use\u00a0`offset: 1, limit: 2`. The example below searches the\u00a0`JeopardyQuestion`\u00a0class for objects best matching\u00a0`\"animals in movies\"`, skips 1 object (`offset`) and returns the next 2 objects:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in movies\"]\n },\n limit: 2,\n offset: 1 \n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}", "schemaPath": "chemicals.json", "modelOutput": "{\n Get {\n ChemicalCompound(\n nearText: {\n concepts: [\"organic chemistry\"]\n },\n limit: 3\n ) {\n compoundName\n formula\n molarMass\n containsElements {\n ... on ChemicalElement {\n elementName\n symbol\n isMetal\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 3 virtual reality experiences that are semantically similar to the query 'action'. Show the title, developer's name, genre, release year, and whether it is multiplayer.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n VRExperience(\n nearText: {\n concepts: [\"action\"]\n },\n limit: 3\n ) {\n title\n developer {\n ... on Developer {\n name\n }\n }\n genre\n releaseYear\n isMultiplayer\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 3 virtual reality experiences that are semantically similar to the query 'action'. Show the title, developer's name, genre, release year, and whether it is multiplayer.\n```", "apiRef": "nearText with limit\n\nNumber of results\n\nYou can set the maximum number of results returned with\u00a0`limit`\u00a0in the same way as shown in the\u00a0search basics how-to guide.\n\nSimilarly, you can retrieve a maximum\u00a0`n`\u00a0objects after the first\u00a0`m`\u00a0results by using\u00a0`limit`\u00a0with\u00a0`offset`\u00a0as shown in the\u00a0search basics how-to guide.\n\nTo limit the number of results returned by a\u00a0`near...`\u00a0query, add the\u00a0`limit`\u00a0operator. To start at a given offset, add the\u00a0`offset`\u00a0operator. For example if we want to obtain the animals in movies #2 and #3 from the\u00a0`nearText`\u00a0example above, we'll need to use\u00a0`offset: 1, limit: 2`. The example below searches the\u00a0`JeopardyQuestion`\u00a0class for objects best matching\u00a0`\"animals in movies\"`, skips 1 object (`offset`) and returns the next 2 objects:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in movies\"]\n },\n limit: 2,\n offset: 1 \n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}", "schemaPath": "virtualreality.json", "modelOutput": "{\n Get {\n VRExperience(\n nearText: {\n concepts: [\"action\"]\n },\n limit: 3\n ) {\n title\n developer {\n ... on Developer {\n name\n }\n }\n genre\n releaseYear\n isMultiplayer\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 10 drugs that are semantically similar to the query 'pain relief'. Show the drug name, active ingredient, approval year, over-the-counter status, manufacturer's company name, year founded, headquarters location, and global presence.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Drug(\n nearText: {\n concepts: [\"pain relief\"]\n },\n limit: 10\n ) {\n drugName\n activeIngredient\n approvalYear\n isOTC\n manufacturer {\n ... on Manufacturer {\n companyName\n foundedYear\n headquarters\n isGlobal\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 10 drugs that are semantically similar to the query 'pain relief'. Show the drug name, active ingredient, approval year, over-the-counter status, manufacturer's company name, year founded, headquarters location, and global presence.\n```", "apiRef": "nearText with limit\n\nNumber of results\n\nYou can set the maximum number of results returned with\u00a0`limit`\u00a0in the same way as shown in the\u00a0search basics how-to guide.\n\nSimilarly, you can retrieve a maximum\u00a0`n`\u00a0objects after the first\u00a0`m`\u00a0results by using\u00a0`limit`\u00a0with\u00a0`offset`\u00a0as shown in the\u00a0search basics how-to guide.\n\nTo limit the number of results returned by a\u00a0`near...`\u00a0query, add the\u00a0`limit`\u00a0operator. To start at a given offset, add the\u00a0`offset`\u00a0operator. For example if we want to obtain the animals in movies #2 and #3 from the\u00a0`nearText`\u00a0example above, we'll need to use\u00a0`offset: 1, limit: 2`. The example below searches the\u00a0`JeopardyQuestion`\u00a0class for objects best matching\u00a0`\"animals in movies\"`, skips 1 object (`offset`) and returns the next 2 objects:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in movies\"]\n },\n limit: 2,\n offset: 1 \n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}", "schemaPath": "pharmaceuticals.json", "modelOutput": "{\n Get {\n Drug(\n nearText: {\n concepts: [\"pain relief\"]\n },\n limit: 10\n ) {\n drugName\n activeIngredient\n approvalYear\n isOTC\n manufacturer {\n ... on Manufacturer {\n companyName\n foundedYear\n headquarters\n isGlobal\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 3 film festivals that are semantically similar to the query 'international film festival'. For each festival, show the festival name, location, description, and the featured film's title and director.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n FilmFestival(\n nearText: {\n concepts: [\"international film festival\"]\n },\n limit: 3\n ) {\n festivalName\n location\n description\n featuredFilm {\n ... on Film {\n filmTitle\n director\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 3 film festivals that are semantically similar to the query 'international film festival'. For each festival, show the festival name, location, description, and the featured film's title and director.\n```", "apiRef": "nearText with limit\n\nNumber of results\n\nYou can set the maximum number of results returned with\u00a0`limit`\u00a0in the same way as shown in the\u00a0search basics how-to guide.\n\nSimilarly, you can retrieve a maximum\u00a0`n`\u00a0objects after the first\u00a0`m`\u00a0results by using\u00a0`limit`\u00a0with\u00a0`offset`\u00a0as shown in the\u00a0search basics how-to guide.\n\nTo limit the number of results returned by a\u00a0`near...`\u00a0query, add the\u00a0`limit`\u00a0operator. To start at a given offset, add the\u00a0`offset`\u00a0operator. For example if we want to obtain the animals in movies #2 and #3 from the\u00a0`nearText`\u00a0example above, we'll need to use\u00a0`offset: 1, limit: 2`. The example below searches the\u00a0`JeopardyQuestion`\u00a0class for objects best matching\u00a0`\"animals in movies\"`, skips 1 object (`offset`) and returns the next 2 objects:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in movies\"]\n },\n limit: 2,\n offset: 1 \n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}", "schemaPath": "filmfestivals.json", "modelOutput": "{\n Get {\n FilmFestival(\n nearText: {\n concepts: [\"international film festival\"]\n },\n limit: 3\n ) {\n festivalName\n location\n description\n featuredFilm {\n ... on Film {\n title\n director\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 3 boats that are semantically similar to the query 'sailboat', and show the boat name, type, capacity, whether it is motorized, and the manufacturer's company name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Boat(\n nearText: {\n concepts: [\"sailboat\"]\n },\n limit: 3\n ) {\n boatName\n type\n capacity\n isMotorized\n manufacturer {\n ... on BoatManufacturer {\n companyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 3 boats that are semantically similar to the query 'sailboat', and show the boat name, type, capacity, whether it is motorized, and the manufacturer's company name.\n```", "apiRef": "nearText with limit\n\nNumber of results\n\nYou can set the maximum number of results returned with\u00a0`limit`\u00a0in the same way as shown in the\u00a0search basics how-to guide.\n\nSimilarly, you can retrieve a maximum\u00a0`n`\u00a0objects after the first\u00a0`m`\u00a0results by using\u00a0`limit`\u00a0with\u00a0`offset`\u00a0as shown in the\u00a0search basics how-to guide.\n\nTo limit the number of results returned by a\u00a0`near...`\u00a0query, add the\u00a0`limit`\u00a0operator. To start at a given offset, add the\u00a0`offset`\u00a0operator. For example if we want to obtain the animals in movies #2 and #3 from the\u00a0`nearText`\u00a0example above, we'll need to use\u00a0`offset: 1, limit: 2`. The example below searches the\u00a0`JeopardyQuestion`\u00a0class for objects best matching\u00a0`\"animals in movies\"`, skips 1 object (`offset`) and returns the next 2 objects:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in movies\"]\n },\n limit: 2,\n offset: 1 \n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}", "schemaPath": "boats.json", "modelOutput": "{\n Get {\n Boat(\n nearText: {\n concepts: [\"sailboat\"]\n },\n limit: 3\n ) {\n boatName\n type\n capacity\n isMotorized\n manufacturer {\n ... on BoatManufacturer {\n companyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 3 national parks that are semantically related to the concept 'mountain'. Show me the park name, description, location, established year, entry fee status, wildlife, and facilities with their names and descriptions.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NationalPark(\n nearText: {\n concepts: [\"mountain\"]\n },\n limit: 3\n ) {\n parkName\n description\n location\n establishedYear\n isEntryFree\n wildlife\n facilities {\n ... on Facility {\n facilityName\n description\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 3 national parks that are semantically related to the concept 'mountain'. Show me the park name, description, location, established year, entry fee status, wildlife, and facilities with their names and descriptions.\n```", "apiRef": "nearText with limit\n\nNumber of results\n\nYou can set the maximum number of results returned with\u00a0`limit`\u00a0in the same way as shown in the\u00a0search basics how-to guide.\n\nSimilarly, you can retrieve a maximum\u00a0`n`\u00a0objects after the first\u00a0`m`\u00a0results by using\u00a0`limit`\u00a0with\u00a0`offset`\u00a0as shown in the\u00a0search basics how-to guide.\n\nTo limit the number of results returned by a\u00a0`near...`\u00a0query, add the\u00a0`limit`\u00a0operator. To start at a given offset, add the\u00a0`offset`\u00a0operator. For example if we want to obtain the animals in movies #2 and #3 from the\u00a0`nearText`\u00a0example above, we'll need to use\u00a0`offset: 1, limit: 2`. The example below searches the\u00a0`JeopardyQuestion`\u00a0class for objects best matching\u00a0`\"animals in movies\"`, skips 1 object (`offset`) and returns the next 2 objects:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in movies\"]\n },\n limit: 2,\n offset: 1 \n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}", "schemaPath": "nationalparks.json", "modelOutput": "{\n Get {\n NationalPark(\n nearText: {\n concepts: [\"mountain\"]\n },\n limit: 3\n ) {\n parkName\n description\n location\n establishedYear\n isEntryFree\n wildlife\n facilities {\n ... on Facility {\n facilityName\n description\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 3 pets that are semantically similar to the query 'cute', and show their pet name, species, breed, age, and owner's full name, address, and contact number.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Pet(\n nearText: {\n concepts: [\"cute\"]\n },\n limit: 3\n ) {\n petName\n species\n breed\n age\n owner {\n ... on Person {\n fullName\n address\n contactNumber\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 3 pets that are semantically similar to the query 'cute', and show their pet name, species, breed, age, and owner's full name, address, and contact number.\n```", "apiRef": "nearText with limit\n\nNumber of results\n\nYou can set the maximum number of results returned with\u00a0`limit`\u00a0in the same way as shown in the\u00a0search basics how-to guide.\n\nSimilarly, you can retrieve a maximum\u00a0`n`\u00a0objects after the first\u00a0`m`\u00a0results by using\u00a0`limit`\u00a0with\u00a0`offset`\u00a0as shown in the\u00a0search basics how-to guide.\n\nTo limit the number of results returned by a\u00a0`near...`\u00a0query, add the\u00a0`limit`\u00a0operator. To start at a given offset, add the\u00a0`offset`\u00a0operator. For example if we want to obtain the animals in movies #2 and #3 from the\u00a0`nearText`\u00a0example above, we'll need to use\u00a0`offset: 1, limit: 2`. The example below searches the\u00a0`JeopardyQuestion`\u00a0class for objects best matching\u00a0`\"animals in movies\"`, skips 1 object (`offset`) and returns the next 2 objects:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in movies\"]\n },\n limit: 2,\n offset: 1 \n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}", "schemaPath": "pets.json", "modelOutput": "{\n Get {\n Pet(\n nearText: {\n concepts: [\"cute\"]\n },\n limit: 3\n ) {\n petName\n species\n breed\n age\n owner {\n ... on Person {\n fullName\n address\n contactNumber\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 3 jewelry items that are semantically similar to the query 'necklace'. Show me the name, material, gemstone name and hardness, price, and whether it is handmade.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n JewelryItem(\n nearText: {\n concepts: [\"necklace\"]\n },\n limit: 3\n ) {\n name\n material\n gemstone {\n ... on Gemstone {\n name\n hardness\n }\n }\n price\n isHandmade\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 3 jewelry items that are semantically similar to the query 'necklace'. Show me the name, material, gemstone name and hardness, price, and whether it is handmade.\n```", "apiRef": "nearText with limit\n\nNumber of results\n\nYou can set the maximum number of results returned with\u00a0`limit`\u00a0in the same way as shown in the\u00a0search basics how-to guide.\n\nSimilarly, you can retrieve a maximum\u00a0`n`\u00a0objects after the first\u00a0`m`\u00a0results by using\u00a0`limit`\u00a0with\u00a0`offset`\u00a0as shown in the\u00a0search basics how-to guide.\n\nTo limit the number of results returned by a\u00a0`near...`\u00a0query, add the\u00a0`limit`\u00a0operator. To start at a given offset, add the\u00a0`offset`\u00a0operator. For example if we want to obtain the animals in movies #2 and #3 from the\u00a0`nearText`\u00a0example above, we'll need to use\u00a0`offset: 1, limit: 2`. The example below searches the\u00a0`JeopardyQuestion`\u00a0class for objects best matching\u00a0`\"animals in movies\"`, skips 1 object (`offset`) and returns the next 2 objects:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in movies\"]\n },\n limit: 2,\n offset: 1 \n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}", "schemaPath": "jewelry.json", "modelOutput": "{\n Get {\n JewelryItem(\n nearText: {\n concepts: [\"necklace\"]\n },\n limit: 3\n ) {\n name\n material\n gemstone {\n ... on Gemstone {\n name\n hardness\n }\n }\n price\n isHandmade\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 3 space missions semantically similar to the query 'moon landing', and show the mission name, objective, launch year, mission status, and space agency's name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n SpaceMission(\n nearText: {\n concepts: [\"moon landing\"]\n },\n limit: 3\n ) {\n missionName\n objective\n launchYear\n missionStatus\n spaceAgency {\n ... on SpaceAgency {\n agencyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 3 space missions semantically similar to the query 'moon landing', and show the mission name, objective, launch year, mission status, and space agency's name.\n```", "apiRef": "nearText with limit\n\nNumber of results\n\nYou can set the maximum number of results returned with\u00a0`limit`\u00a0in the same way as shown in the\u00a0search basics how-to guide.\n\nSimilarly, you can retrieve a maximum\u00a0`n`\u00a0objects after the first\u00a0`m`\u00a0results by using\u00a0`limit`\u00a0with\u00a0`offset`\u00a0as shown in the\u00a0search basics how-to guide.\n\nTo limit the number of results returned by a\u00a0`near...`\u00a0query, add the\u00a0`limit`\u00a0operator. To start at a given offset, add the\u00a0`offset`\u00a0operator. For example if we want to obtain the animals in movies #2 and #3 from the\u00a0`nearText`\u00a0example above, we'll need to use\u00a0`offset: 1, limit: 2`. The example below searches the\u00a0`JeopardyQuestion`\u00a0class for objects best matching\u00a0`\"animals in movies\"`, skips 1 object (`offset`) and returns the next 2 objects:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in movies\"]\n },\n limit: 2,\n offset: 1 \n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}", "schemaPath": "spaceexploration.json", "modelOutput": "{\n Get {\n SpaceMission(\n nearText: {\n concepts: [\"moon landing\"]\n },\n limit: 3\n ) {\n missionName\n objective\n launchYear\n missionStatus\n spaceAgency {\n ... on SpaceAgency {\n agencyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 3 non-profit organizations that are semantically similar to the query 'charitable cause'. Show me their name, mission, year of foundation, focus area, and the full name of their founder.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NonProfit(\n nearText: {\n concepts: [\"charitable cause\"]\n },\n limit: 3\n ) {\n name\n mission\n foundedYear\n focusArea\n founder {\n ... on Person {\n fullName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 3 non-profit organizations that are semantically similar to the query 'charitable cause'. Show me their name, mission, year of foundation, focus area, and the full name of their founder.\n```", "apiRef": "nearText with limit\n\nNumber of results\n\nYou can set the maximum number of results returned with\u00a0`limit`\u00a0in the same way as shown in the\u00a0search basics how-to guide.\n\nSimilarly, you can retrieve a maximum\u00a0`n`\u00a0objects after the first\u00a0`m`\u00a0results by using\u00a0`limit`\u00a0with\u00a0`offset`\u00a0as shown in the\u00a0search basics how-to guide.\n\nTo limit the number of results returned by a\u00a0`near...`\u00a0query, add the\u00a0`limit`\u00a0operator. To start at a given offset, add the\u00a0`offset`\u00a0operator. For example if we want to obtain the animals in movies #2 and #3 from the\u00a0`nearText`\u00a0example above, we'll need to use\u00a0`offset: 1, limit: 2`. The example below searches the\u00a0`JeopardyQuestion`\u00a0class for objects best matching\u00a0`\"animals in movies\"`, skips 1 object (`offset`) and returns the next 2 objects:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in movies\"]\n },\n limit: 2,\n offset: 1 \n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}", "schemaPath": "nonprofits.json", "modelOutput": "{\n Get {\n NonProfit(\n nearText: {\n concepts: [\"charitable cause\"]\n },\n limit: 3\n ) {\n name\n mission\n foundedYear\n focusArea\n founder {\n ... on Person {\n fullName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}\n\n COMMAND:\n ```text\nGet me the top 3 augmented reality applications that are semantically similar to the query 'augmented reality'. Show me the application name, description, platform, and developer's company name.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ARApplication(\n nearText: {\n concepts: [\"augmented reality\"]\n },\n limit: 3\n ) {\n appName\n description\n platform\n developer {\n ... on SoftwareCompany {\n companyName\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nGet me the top 3 augmented reality applications that are semantically similar to the query 'augmented reality'. Show me the application name, description, platform, and developer's company name.\n```", "apiRef": "nearText with limit\n\nNumber of results\n\nYou can set the maximum number of results returned with\u00a0`limit`\u00a0in the same way as shown in the\u00a0search basics how-to guide.\n\nSimilarly, you can retrieve a maximum\u00a0`n`\u00a0objects after the first\u00a0`m`\u00a0results by using\u00a0`limit`\u00a0with\u00a0`offset`\u00a0as shown in the\u00a0search basics how-to guide.\n\nTo limit the number of results returned by a\u00a0`near...`\u00a0query, add the\u00a0`limit`\u00a0operator. To start at a given offset, add the\u00a0`offset`\u00a0operator. For example if we want to obtain the animals in movies #2 and #3 from the\u00a0`nearText`\u00a0example above, we'll need to use\u00a0`offset: 1, limit: 2`. The example below searches the\u00a0`JeopardyQuestion`\u00a0class for objects best matching\u00a0`\"animals in movies\"`, skips 1 object (`offset`) and returns the next 2 objects:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in movies\"]\n },\n limit: 2,\n offset: 1 \n ) {\n question\n answer\n _additional {\n distance\n }\n }\n }\n}\n```", "apiRefPath": "get-nearText-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}", "schemaPath": "augmentedreality.json", "modelOutput": "{\n Get {\n ARApplication(\n nearText: {\n concepts: [\"augmented reality\"]\n },\n limit: 3\n ) {\n appName\n description\n platform\n developer {\n ... on SoftwareCompany {\n companyName\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}\n\n COMMAND:\n ```text\nWhat is the total funding of Startups related to \"technology\" and \"innovation\" with a maximum distance of 0.3?\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n Startup(\n nearText: {\n concepts: [\"technology\", \"innovation\"],\n distance: 0.3\n }\n ) {\n funding {\n sum\n }\n }\n }\n}\n```", "nlcommand": "```text\nWhat is the total funding of Startups related to \"technology\" and \"innovation\" with a maximum distance of 0.3?\n```", "apiRef": "With nearXXX\nWhen using a similarity search operator (i.e. nearXXX) with Aggregate, you should include a way to limit the search results. This is because a vector search in itself does not exclude any objects from the results set - all objects have some degree of similarity to the query.\n\nThus, for the vector search to affect the Aggregate output, you must set a limit on:\n\nThe number of results returned (with limit), or\nHow similar the results are to the query (with distance).\n\nSet a maximum distance\nYou can set the distance operator to specify the maximum dissimilarity (i.e. minimum similarity) of results to be aggregated.\n\nThe below query retrieves the 10 question objects with vectors that are within a distance of 0.19 to \"animals in space\", and returns the sum total of the point property.\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in space\"],\n distance: 0.19\n }\n ) {\n points {\n sum\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-nearText-with-distance.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}", "schemaPath": "startups.json", "modelOutput": "{\n Aggregate {\n Startup(\n nearText: {\n concepts: [\"technology\", \"innovation\"],\n distance: 0.3\n }\n ) {\n funding {\n sum\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nWhat is the average rating of Games about \"Action Adventure\" with a maximum distance of 0.3.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n Game(\n nearText: {\n concepts: [\"Action Adventure\"],\n distance: 0.3\n }\n ) {\n rating {\n mean\n }\n }\n }\n}\n```", "nlcommand": "```text\nWhat is the average rating of Games about \"Action Adventure\" with a maximum distance of 0.3.\n```", "apiRef": "With nearXXX\nWhen using a similarity search operator (i.e. nearXXX) with Aggregate, you should include a way to limit the search results. This is because a vector search in itself does not exclude any objects from the results set - all objects have some degree of similarity to the query.\n\nThus, for the vector search to affect the Aggregate output, you must set a limit on:\n\nThe number of results returned (with limit), or\nHow similar the results are to the query (with distance).\n\nSet a maximum distance\nYou can set the distance operator to specify the maximum dissimilarity (i.e. minimum similarity) of results to be aggregated.\n\nThe below query retrieves the 10 question objects with vectors that are within a distance of 0.19 to \"animals in space\", and returns the sum total of the point property.\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in space\"],\n distance: 0.19\n }\n ) {\n points {\n sum\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-nearText-with-distance.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}", "schemaPath": "videogame.json", "modelOutput": "{\n Aggregate {\n Game(\n nearText: {\n concepts: [\"Action Adventure\"],\n distance: 0.3\n }\n ) {\n rating {\n mean\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}\n\n COMMAND:\n ```text\nWhat is the average pageCount of Books about \"Artificial Intelligence Sci-Fi\" with a maximum distance of 0.2?\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n Book(\n nearText: {\n concepts: [\"animals in space\"],\n distance: 0.19\n }\n ) {\n pageCount {\n sum\n }\n }\n }\n}\n```", "nlcommand": "```text\nWhat is the average pageCount of Books about \"Artificial Intelligence Sci-Fi\" with a maximum distance of 0.2?\n```", "apiRef": "With nearXXX\nWhen using a similarity search operator (i.e. nearXXX) with Aggregate, you should include a way to limit the search results. This is because a vector search in itself does not exclude any objects from the results set - all objects have some degree of similarity to the query.\n\nThus, for the vector search to affect the Aggregate output, you must set a limit on:\n\nThe number of results returned (with limit), or\nHow similar the results are to the query (with distance).\n\nSet a maximum distance\nYou can set the distance operator to specify the maximum dissimilarity (i.e. minimum similarity) of results to be aggregated.\n\nThe below query retrieves the 10 question objects with vectors that are within a distance of 0.19 to \"animals in space\", and returns the sum total of the point property.\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in space\"],\n distance: 0.19\n }\n ) {\n points {\n sum\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-nearText-with-distance.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}", "schemaPath": "books.json", "modelOutput": "{\n Aggregate {\n Book(\n nearText: {\n concepts: [\"Artificial Intelligence Sci-Fi\"],\n distance: 0.2\n }\n ) {\n pageCount {\n mean\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}\n\n COMMAND:\n ```text\nPlease get the names and descriptions of 10 historical events and ask a Large Language Model to answer \"What do these historical events have in common?\" passing in the event names and descriptions to the Large Language Model.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n HistoricalEvent (\n limit: 10\n ) {\n eventName\n description\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these historical events have in common?\n \"\"\",\n properties: [\"eventName\", \"description\"]\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease get the names and descriptions of 10 historical events and ask a Large Language Model to answer \"What do these historical events have in common?\" passing in the event names and descriptions to the Large Language Model.\n```", "apiRef": "Grouped task\n\nA grouped task works by generating a response for the entire query results set.\n\nWhen using generative search with a grouped task, the required parameter is the user prompt. By default, the entire set of properties are included in the combined prompt unless specified otherwise.\n\nExample\n\nIn the below example, the query:\n\nRetrieves three JeopardyQuestion objects related to cute animals,\nCombines the user prompt with the set of retrieved objects to build the grouped task,\nRetrieves one generated text using the grouped task, and\nReturns the generated text as a part of the first object returned, as well as the requested points property.\nNote that the prompt includes information about the type of the animal (from the answer property), even though the answer property is not explicitly retrieved.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"Cute animals\"]\n },\n limit: 3\n ) {\n points\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these animals have in common, if anything?\n \"\"\"\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n```\n\nYou can specify which properties will be included in the grouped task prompt. Use this to limit the information provided in the prompt, and to reduce the prompt length.\n\nIn the below example, the prompt will only include the question and answer properties. Note that the answer property is not explicitly retrieved in the query, but is used by the prompt.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"Australian animals\"]\n },\n limit: 3\n ) {\n question\n points\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these animals have in common, if anything?\n \"\"\",\n properties: [\"answer\", \"question\"]\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-grouped-task.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}", "schemaPath": "historicalevent.json", "modelOutput": "{\n Get {\n HistoricalEvent (limit: 10){\n eventName\n description\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these events have in common?\n \"\"\",\n properties: [\"eventName\", \"description\"]\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}\n\n COMMAND:\n ```text\nPlease get the names and descriptions of 10 instruments and ask a Large Language Model to answer \"What do these instruments have in common?\" passing in the name and description to the Large Language Model.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Instrument (limit: 10){\n name\n description\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these instruments have in common?\n \"\"\",\n properties: [\"name\", \"description\"]\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease get the names and descriptions of 10 instruments and ask a Large Language Model to answer \"What do these instruments have in common?\" passing in the name and description to the Large Language Model.\n```", "apiRef": "Grouped task\n\nA grouped task works by generating a response for the entire query results set.\n\nWhen using generative search with a grouped task, the required parameter is the user prompt. By default, the entire set of properties are included in the combined prompt unless specified otherwise.\n\nExample\n\nIn the below example, the query:\n\nRetrieves three JeopardyQuestion objects related to cute animals,\nCombines the user prompt with the set of retrieved objects to build the grouped task,\nRetrieves one generated text using the grouped task, and\nReturns the generated text as a part of the first object returned, as well as the requested points property.\nNote that the prompt includes information about the type of the animal (from the answer property), even though the answer property is not explicitly retrieved.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"Cute animals\"]\n },\n limit: 3\n ) {\n points\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these animals have in common, if anything?\n \"\"\"\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n```\n\nYou can specify which properties will be included in the grouped task prompt. Use this to limit the information provided in the prompt, and to reduce the prompt length.\n\nIn the below example, the prompt will only include the question and answer properties. Note that the answer property is not explicitly retrieved in the query, but is used by the prompt.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"Australian animals\"]\n },\n limit: 3\n ) {\n question\n points\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these animals have in common, if anything?\n \"\"\",\n properties: [\"answer\", \"question\"]\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-grouped-task.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}", "schemaPath": "musicalinstrument.json", "modelOutput": "{\n Get {\n Instrument (limit: 10){\n name\n description\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these instruments have in common?\n \"\"\",\n properties: [\"name\", \"description\"]\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}\n\n COMMAND:\n ```text\nPlease get the location and equipment of 10 weather stations and ask a Large Language Model to answer \"What do these weather stations have in common?\" passing in the location and equipment to the Large Language Model.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n WeatherStation (limit: 10){\n location\n equipment\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these weather stations have in common?\n \"\"\",\n properties: [\"location\", \"equipment\"]\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease get the location and equipment of 10 weather stations and ask a Large Language Model to answer \"What do these weather stations have in common?\" passing in the location and equipment to the Large Language Model.\n```", "apiRef": "Grouped task\n\nA grouped task works by generating a response for the entire query results set.\n\nWhen using generative search with a grouped task, the required parameter is the user prompt. By default, the entire set of properties are included in the combined prompt unless specified otherwise.\n\nExample\n\nIn the below example, the query:\n\nRetrieves three JeopardyQuestion objects related to cute animals,\nCombines the user prompt with the set of retrieved objects to build the grouped task,\nRetrieves one generated text using the grouped task, and\nReturns the generated text as a part of the first object returned, as well as the requested points property.\nNote that the prompt includes information about the type of the animal (from the answer property), even though the answer property is not explicitly retrieved.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"Cute animals\"]\n },\n limit: 3\n ) {\n points\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these animals have in common, if anything?\n \"\"\"\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n```\n\nYou can specify which properties will be included in the grouped task prompt. Use this to limit the information provided in the prompt, and to reduce the prompt length.\n\nIn the below example, the prompt will only include the question and answer properties. Note that the answer property is not explicitly retrieved in the query, but is used by the prompt.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"Australian animals\"]\n },\n limit: 3\n ) {\n question\n points\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these animals have in common, if anything?\n \"\"\",\n properties: [\"answer\", \"question\"]\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-grouped-task.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}", "schemaPath": "weatherstation.json", "modelOutput": "{\n Get {\n WeatherStation (limit: 10){\n location\n equipment\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these weather stations have in common?\n \"\"\",\n properties: [\"location\", \"equipment\"]\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nPlease get the title and genre of 10 games and ask a Large Language Model to answer \"What do these games have in common?\" passing in the title and genre to the Large Language Model.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Game (limit: 10){\n title\n genre\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these games have in common?\n \"\"\",\n properties: [\"title\", \"genre\"]\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease get the title and genre of 10 games and ask a Large Language Model to answer \"What do these games have in common?\" passing in the title and genre to the Large Language Model.\n```", "apiRef": "Grouped task\n\nA grouped task works by generating a response for the entire query results set.\n\nWhen using generative search with a grouped task, the required parameter is the user prompt. By default, the entire set of properties are included in the combined prompt unless specified otherwise.\n\nExample\n\nIn the below example, the query:\n\nRetrieves three JeopardyQuestion objects related to cute animals,\nCombines the user prompt with the set of retrieved objects to build the grouped task,\nRetrieves one generated text using the grouped task, and\nReturns the generated text as a part of the first object returned, as well as the requested points property.\nNote that the prompt includes information about the type of the animal (from the answer property), even though the answer property is not explicitly retrieved.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"Cute animals\"]\n },\n limit: 3\n ) {\n points\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these animals have in common, if anything?\n \"\"\"\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n```\n\nYou can specify which properties will be included in the grouped task prompt. Use this to limit the information provided in the prompt, and to reduce the prompt length.\n\nIn the below example, the prompt will only include the question and answer properties. Note that the answer property is not explicitly retrieved in the query, but is used by the prompt.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"Australian animals\"]\n },\n limit: 3\n ) {\n question\n points\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these animals have in common, if anything?\n \"\"\",\n properties: [\"answer\", \"question\"]\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-grouped-task.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}", "schemaPath": "videogame.json", "modelOutput": "{\n Get {\n Game (limit: 10){\n title\n genre\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these games have in common?\n \"\"\",\n properties: [\"title\", \"genre\"]\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}\n\n COMMAND:\n ```text\nPlease get the beer names and tasting notes of 10 craft beers and ask a Large Language Model to answer \"What do these beers have in common?\" passing in the beer names and tasting notes to the Large Language Model.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n CraftBeer (limit: 10){\n beerName\n tastingNotes\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these beers have in common?\n \"\"\",\n properties: [\"beerName\", \"tastingNotes\"]\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease get the beer names and tasting notes of 10 craft beers and ask a Large Language Model to answer \"What do these beers have in common?\" passing in the beer names and tasting notes to the Large Language Model.\n```", "apiRef": "Grouped task\n\nA grouped task works by generating a response for the entire query results set.\n\nWhen using generative search with a grouped task, the required parameter is the user prompt. By default, the entire set of properties are included in the combined prompt unless specified otherwise.\n\nExample\n\nIn the below example, the query:\n\nRetrieves three JeopardyQuestion objects related to cute animals,\nCombines the user prompt with the set of retrieved objects to build the grouped task,\nRetrieves one generated text using the grouped task, and\nReturns the generated text as a part of the first object returned, as well as the requested points property.\nNote that the prompt includes information about the type of the animal (from the answer property), even though the answer property is not explicitly retrieved.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"Cute animals\"]\n },\n limit: 3\n ) {\n points\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these animals have in common, if anything?\n \"\"\"\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n```\n\nYou can specify which properties will be included in the grouped task prompt. Use this to limit the information provided in the prompt, and to reduce the prompt length.\n\nIn the below example, the prompt will only include the question and answer properties. Note that the answer property is not explicitly retrieved in the query, but is used by the prompt.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"Australian animals\"]\n },\n limit: 3\n ) {\n question\n points\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these animals have in common, if anything?\n \"\"\",\n properties: [\"answer\", \"question\"]\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-grouped-task.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}", "schemaPath": "craftbeer.json", "modelOutput": "{\n Get {\n CraftBeer (limit: 10){\n beerName\n tastingNotes\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these beers have in common?\n \"\"\",\n properties: [\"beerName\", \"tastingNotes\"]\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}\n\n COMMAND:\n ```text\nWhat is the average yearIntroduced of Instruments related to \"Guitar\" with a maximum distance of 0.3? Please limit results to the top 50.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n Instrument(\n nearText: {\n concepts: [\"Guitar\"],\n distance: 0.3\n },\n objectLimit: 50\n ) {\n yearIntroduced {\n mean\n }\n }\n }\n}\n```", "nlcommand": "```text\nWhat is the average yearIntroduced of Instruments related to \"Guitar\" with a maximum distance of 0.3? Please limit results to the top 50.\n```", "apiRef": "With nearXXX\n\nWhen using a similarity search operator (i.e. nearXXX) with Aggregate, you should include a way to limit the search results. This is because a vector search in itself does not exclude any objects from the results set - all objects have some degree of similarity to the query.\n\nThus, for the vector search to affect the Aggregate output, you must set a limit on:\n\nThe number of results returned (with limit), or\nHow similar the results are to the query (with distance).\nSet an object limit\nYou can set the objectLimit argument to specify the maximum number of results to be aggregated.\n\nThe below query retrieves the 10 question objects with vectors that are closest to \"animals in space\", and return the sum total of the point property.\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in space\"]\n },\n objectLimit: 10\n ) {\n points {\n sum\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-nearText-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}", "schemaPath": "musicalinstrument.json", "modelOutput": "{\n Aggregate {\n Instrument(\n nearText: {\n concepts: [\"Guitar\"],\n distance: 0.3\n },\n objectLimit: 50\n ) {\n yearIntroduced {\n mean\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}\n\n COMMAND:\n ```text\nWhat is the total funding of Startups related to \"technology\" and \"innovation\" with a maximum distance of 0.3? Please limit results to the top 50.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n Startup(\n nearText: {\n concepts: [\"animals in space\"],\n distance: 0.3\n },\n objectLimit: 10\n ) {\n funding {\n sum\n }\n }\n }\n}\n```", "nlcommand": "```text\nWhat is the total funding of Startups related to \"technology\" and \"innovation\" with a maximum distance of 0.3? Please limit results to the top 50.\n```", "apiRef": "With nearXXX\n\nWhen using a similarity search operator (i.e. nearXXX) with Aggregate, you should include a way to limit the search results. This is because a vector search in itself does not exclude any objects from the results set - all objects have some degree of similarity to the query.\n\nThus, for the vector search to affect the Aggregate output, you must set a limit on:\n\nThe number of results returned (with limit), or\nHow similar the results are to the query (with distance).\nSet an object limit\nYou can set the objectLimit argument to specify the maximum number of results to be aggregated.\n\nThe below query retrieves the 10 question objects with vectors that are closest to \"animals in space\", and return the sum total of the point property.\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in space\"]\n },\n objectLimit: 10\n ) {\n points {\n sum\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-nearText-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}", "schemaPath": "startups.json", "modelOutput": "{\n Aggregate {\n Startup(\n nearText: {\n concepts: [\"technology\", \"innovation\"],\n distance: 0.3\n },\n objectLimit: 50\n ) {\n funding {\n sum\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}\n\n COMMAND:\n ```text\nShow me how many instruments were introduced after the year 2000.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n Instrument(\n where: {\n path: [\"yearIntroduced\"],\n operator: GreaterThan,\n valueInt: 2000\n }\n ){\n meta {\n count\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me how many instruments were introduced after the year 2000.\n```", "apiRef": "Add a conditional (where) filter\nYou can add a conditional filter to any aggregate search query, which will filter the results set.\n\nThe below example searches for objects where the round property equals Double Jeopardy! and returns the object count.\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion(where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Final Jeopardy!\"\n }) {\n meta {\n count\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}", "schemaPath": "musicalinstrument.json", "modelOutput": "{\n Aggregate {\n Instrument(where: {\n path: [\"yearIntroduced\"],\n operator: GreaterThan,\n valueInt: 2000\n }) {\n meta {\n count\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}\n\n COMMAND:\n ```text\nShow me how many weather stations have an altitude greater than 1000.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n WeatherStation(where: {\n path: [\"altitude\"],\n operator: GreaterThan,\n valueNumber: 1000\n }) {\n meta {\n count\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me how many weather stations have an altitude greater than 1000.\n```", "apiRef": "Add a conditional (where) filter\nYou can add a conditional filter to any aggregate search query, which will filter the results set.\n\nThe below example searches for objects where the round property equals Double Jeopardy! and returns the object count.\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion(where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Final Jeopardy!\"\n }) {\n meta {\n count\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}", "schemaPath": "weatherstation.json", "modelOutput": "{\n Aggregate {\n WeatherStation(where: {\n path: [\"altitude\"],\n operator: GreaterThan,\n valueNumber: 1000\n }) {\n meta {\n count\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nShow me how many games have a rating greater than 80.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n Game(where: {\n path: [\"rating\"],\n operator: GreaterThan,\n valueInt: 80\n }) {\n meta {\n count\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me how many games have a rating greater than 80.\n```", "apiRef": "Add a conditional (where) filter\nYou can add a conditional filter to any aggregate search query, which will filter the results set.\n\nThe below example searches for objects where the round property equals Double Jeopardy! and returns the object count.\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion(where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Final Jeopardy!\"\n }) {\n meta {\n count\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}", "schemaPath": "videogame.json", "modelOutput": "{\n Aggregate {\n Game(\n where: {\n path: [\"rating\"],\n operator: GreaterThan,\n valueInt: 80\n }\n ){\n meta {\n count\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}\n\n COMMAND:\n ```text\nShow me how many books have a pageCount greater than 200.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n Book(where: {\n path: [\"pageCount\"],\n operator: GreaterThan,\n valueInt: 200\n }) {\n meta {\n count\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me how many books have a pageCount greater than 200.\n```", "apiRef": "Add a conditional (where) filter\nYou can add a conditional filter to any aggregate search query, which will filter the results set.\n\nThe below example searches for objects where the round property equals Double Jeopardy! and returns the object count.\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion(where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Final Jeopardy!\"\n }) {\n meta {\n count\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}", "schemaPath": "books.json", "modelOutput": "{\n Aggregate {\n Book(where: {\n path: [\"pageCount\"],\n operator: GreaterThan,\n valueInt: 200\n }) {\n meta {\n count\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}\n\n COMMAND:\n ```text\nShow me how many Craft Beers have an alcohol content greater than 5.0.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n CraftBeer(where: {\n path: [\"alcoholContent\"],\n operator: GreaterThan,\n valueNumber: 5.0\n }) {\n meta {\n count\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me how many Craft Beers have an alcohol content greater than 5.0.\n```", "apiRef": "Add a conditional (where) filter\nYou can add a conditional filter to any aggregate search query, which will filter the results set.\n\nThe below example searches for objects where the round property equals Double Jeopardy! and returns the object count.\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion(where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Final Jeopardy!\"\n }) {\n meta {\n count\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}", "schemaPath": "craftbeer.json", "modelOutput": "{\n Aggregate {\n CraftBeer(where: {\n path: [\"alcoholContent\"],\n operator: GreaterThan,\n valueNumber: 5.0\n }) {\n meta {\n count\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}\n\n COMMAND:\n ```text\nPlease retrieve 10 historical events and generate an explanation of why each event had a significant impact on the countries involved.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n HistoricalEvent (\n limit: 10\n ) {\n eventName\n description\n hadSignificantImpact\n involvedCountries {\n ... on Country {\n countryName\n }\n }\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Here is a summary of the historical event {eventName}: {description}.\n Please explain why this event had a significant impact on {involvedCountries.countryName}.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease retrieve 10 historical events and generate an explanation of why each event had a significant impact on the countries involved.\n```", "apiRef": "Single prompt\n\nA single prompt generative search returns a Large Language Model generated response for each object in the query results. For single prompt generative searches, you must specify which object properties to use in the prompt.\n\nIn the below example, the query:\n\nRetrieves two JeopardyQuestion objects related to World history,\nPrepares a prompt for each object, based on the prompt \"Convert the following into a question for twitter. Include emojis for fun, but do not include the answer: {question}.\", where {question} is an object property, and\nRetrieves a generated text for each object (2 total), and\nReturns the generated text as a part of each object, along with the question property.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"World history\"]\n },\n limit: 2\n ) {\n question\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Convert the following into a question for twitter. Include emojis for fun, but do not include the answer: {question}.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n```\n\nIn the below example, the query:\n\nRetrieves two JeopardyQuestion objects related to World history,\nPrepares a prompt for each object, based on the prompt \"Convert this quiz question: {question} and answer: {answer} into a trivia tweet. where {question} and {answer} are object properties, and\nRetrieves a generated text for each object (2 total), and\nReturns the generated text as a part of each object.\nNote that the question and answer properties are not retrieved in the query, but are used in the prompt.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"World history\"]\n },\n limit: 2\n ) {\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Convert this quiz question: {question} and answer: {answer} into a trivia tweet.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-single-prompt.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}", "schemaPath": "historicalevent.json", "modelOutput": "{\n Get {\n HistoricalEvent (\n limit: 10\n ) {\n eventName\n description\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Here is a brief description of the {eventName} event:\n Please explain why this event had a significant impact on {involvedCountries.countryName}.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}\n\n COMMAND:\n ```text\nPlease retrieve information about 10 weather stations, including their location and equipment used for weather monitoring. Then, generate a detailed analysis of the weather patterns observed at each station.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n WeatherStation (limit: 10) {\n location\n equipment\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n This weather station is located in {location} and uses {equipment} for weather monitoring.\n Please provide a detailed analysis of the weather patterns observed at this station.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease retrieve information about 10 weather stations, including their location and equipment used for weather monitoring. Then, generate a detailed analysis of the weather patterns observed at each station.\n```", "apiRef": "Single prompt\n\nA single prompt generative search returns a Large Language Model generated response for each object in the query results. For single prompt generative searches, you must specify which object properties to use in the prompt.\n\nIn the below example, the query:\n\nRetrieves two JeopardyQuestion objects related to World history,\nPrepares a prompt for each object, based on the prompt \"Convert the following into a question for twitter. Include emojis for fun, but do not include the answer: {question}.\", where {question} is an object property, and\nRetrieves a generated text for each object (2 total), and\nReturns the generated text as a part of each object, along with the question property.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"World history\"]\n },\n limit: 2\n ) {\n question\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Convert the following into a question for twitter. Include emojis for fun, but do not include the answer: {question}.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n```\n\nIn the below example, the query:\n\nRetrieves two JeopardyQuestion objects related to World history,\nPrepares a prompt for each object, based on the prompt \"Convert this quiz question: {question} and answer: {answer} into a trivia tweet. where {question} and {answer} are object properties, and\nRetrieves a generated text for each object (2 total), and\nReturns the generated text as a part of each object.\nNote that the question and answer properties are not retrieved in the query, but are used in the prompt.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"World history\"]\n },\n limit: 2\n ) {\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Convert this quiz question: {question} and answer: {answer} into a trivia tweet.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-single-prompt.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}", "schemaPath": "weatherstation.json", "modelOutput": "{\n Get {\n WeatherStation (\n limit: 10\n ) {\n location\n equipment\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Here is a summary of the weather observations from the {location} weather station: {equipment}.\n Please provide a detailed analysis of the weather patterns observed at this station.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}\n\n COMMAND:\n ```text\nPlease retrieve 10 AI models and generate a brief description of the algorithm each model is based on. The description should include the model's name and the application it is used for.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n AIModel (\n limit: 10\n ) {\n modelName\n application\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n This machine learning model is called {modelName} and it is used for {application}.\n Can you provide a brief description of the algorithm it is based on?\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n basedOn {\n ... on Algorithm {\n description\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease retrieve 10 AI models and generate a brief description of the algorithm each model is based on. The description should include the model's name and the application it is used for.\n```", "apiRef": "Single prompt\n\nA single prompt generative search returns a Large Language Model generated response for each object in the query results. For single prompt generative searches, you must specify which object properties to use in the prompt.\n\nIn the below example, the query:\n\nRetrieves two JeopardyQuestion objects related to World history,\nPrepares a prompt for each object, based on the prompt \"Convert the following into a question for twitter. Include emojis for fun, but do not include the answer: {question}.\", where {question} is an object property, and\nRetrieves a generated text for each object (2 total), and\nReturns the generated text as a part of each object, along with the question property.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"World history\"]\n },\n limit: 2\n ) {\n question\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Convert the following into a question for twitter. Include emojis for fun, but do not include the answer: {question}.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n```\n\nIn the below example, the query:\n\nRetrieves two JeopardyQuestion objects related to World history,\nPrepares a prompt for each object, based on the prompt \"Convert this quiz question: {question} and answer: {answer} into a trivia tweet. where {question} and {answer} are object properties, and\nRetrieves a generated text for each object (2 total), and\nReturns the generated text as a part of each object.\nNote that the question and answer properties are not retrieved in the query, but are used in the prompt.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"World history\"]\n },\n limit: 2\n ) {\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Convert this quiz question: {question} and answer: {answer} into a trivia tweet.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-single-prompt.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"AIModel\",\n\"description\": \"A machine learning model.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"modelName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the machine learning model.\"\n},\n{\n\"name\": \"application\",\n\"dataType\": [\"text\"],\n\"description\": \"Application area of the machine learning model.\"\n},\n{\n\"name\": \"accuracy\",\n\"dataType\": [\"number\"],\n\"description\": \"Model's accuracy score.\"\n},\n{\n\"name\": \"isSupervised\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is this a supervised learning model?\"\n},\n{\n\"name\": \"basedOn\",\n\"dataType\": [\"Algorithm\"],\n\"description\": \"Algorithm the model is based on.\"\n}{\n\"class\": \"Algorithm\",\n\"description\": \"An algorithm used for machine learning.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the algorithm.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the algorithm.\"\n},\n{\n\"name\": \"yearDeveloped\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the algorithm was developed.\"\n}}}", "schemaPath": "AIModels.json", "modelOutput": "{\n Get {\n AIModel (\n limit: 10\n ) {\n modelName\n application\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Here is a summary of the machine learning model {modelName}:\n {application}\n Please provide a brief description of the algorithm this model is based on:\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nPlease retrieve 10 games and feed it to a Large Language Model to write an explanation of why someone looking for a multiplayer game would enjoy each game.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Game (\n limit: 10\n ) {\n title\n genre\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Here is a summary of the game {title}: {genre}.\n Please explain why someone looking for a multiplayer game would enjoy this game.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease retrieve 10 games and feed it to a Large Language Model to write an explanation of why someone looking for a multiplayer game would enjoy each game.\n```", "apiRef": "Single prompt\n\nA single prompt generative search returns a Large Language Model generated response for each object in the query results. For single prompt generative searches, you must specify which object properties to use in the prompt.\n\nIn the below example, the query:\n\nRetrieves two JeopardyQuestion objects related to World history,\nPrepares a prompt for each object, based on the prompt \"Convert the following into a question for twitter. Include emojis for fun, but do not include the answer: {question}.\", where {question} is an object property, and\nRetrieves a generated text for each object (2 total), and\nReturns the generated text as a part of each object, along with the question property.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"World history\"]\n },\n limit: 2\n ) {\n question\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Convert the following into a question for twitter. Include emojis for fun, but do not include the answer: {question}.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n```\n\nIn the below example, the query:\n\nRetrieves two JeopardyQuestion objects related to World history,\nPrepares a prompt for each object, based on the prompt \"Convert this quiz question: {question} and answer: {answer} into a trivia tweet. where {question} and {answer} are object properties, and\nRetrieves a generated text for each object (2 total), and\nReturns the generated text as a part of each object.\nNote that the question and answer properties are not retrieved in the query, but are used in the prompt.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"World history\"]\n },\n limit: 2\n ) {\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Convert this quiz question: {question} and answer: {answer} into a trivia tweet.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-single-prompt.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}", "schemaPath": "videogame.json", "modelOutput": "{\n Get {\n Game (\n limit: 10\n ) {\n title\n genre\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Here is a description of the game {title}: {genre}.\n Please explain why someone looking for a multiplayer game would enjoy this game.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}\n\n COMMAND:\n ```text\nPlease retrieve 10 craft beers and generate a description of the flavor profile and food pairings for each beer based on their tasting notes. The beers are named {beerName} and have the following tasting notes: {tastingNotes}.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n CraftBeer (\n limit: 10\n ) {\n beerName\n tastingNotes\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Here is a craft beer called {beerName}.\n The tasting notes for this beer are: {tastingNotes}.\n Please describe the flavor profile of this beer and recommend food pairings.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease retrieve 10 craft beers and generate a description of the flavor profile and food pairings for each beer based on their tasting notes. The beers are named {beerName} and have the following tasting notes: {tastingNotes}.\n```", "apiRef": "Single prompt\n\nA single prompt generative search returns a Large Language Model generated response for each object in the query results. For single prompt generative searches, you must specify which object properties to use in the prompt.\n\nIn the below example, the query:\n\nRetrieves two JeopardyQuestion objects related to World history,\nPrepares a prompt for each object, based on the prompt \"Convert the following into a question for twitter. Include emojis for fun, but do not include the answer: {question}.\", where {question} is an object property, and\nRetrieves a generated text for each object (2 total), and\nReturns the generated text as a part of each object, along with the question property.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"World history\"]\n },\n limit: 2\n ) {\n question\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Convert the following into a question for twitter. Include emojis for fun, but do not include the answer: {question}.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n```\n\nIn the below example, the query:\n\nRetrieves two JeopardyQuestion objects related to World history,\nPrepares a prompt for each object, based on the prompt \"Convert this quiz question: {question} and answer: {answer} into a trivia tweet. where {question} and {answer} are object properties, and\nRetrieves a generated text for each object (2 total), and\nReturns the generated text as a part of each object.\nNote that the question and answer properties are not retrieved in the query, but are used in the prompt.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"World history\"]\n },\n limit: 2\n ) {\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Convert this quiz question: {question} and answer: {answer} into a trivia tweet.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-single-prompt.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}", "schemaPath": "craftbeer.json", "modelOutput": "{\n Get {\n CraftBeer (\n limit: 10\n ) {\n beerName\n tastingNotes\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Here is a craft beer called {beerName} with tasting notes of {tastingNotes}.\n Please describe the flavor profile and food pairings of this beer.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}\n\n COMMAND:\n ```text\nShow me the name, material, gemstone name, gemstone hardness, price, and isHandmade of the JewelryItem objects.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n JewelryItem {\n name\n material\n gemstone {\n ... on Gemstone {\n name\n hardness\n }\n }\n price\n isHandmade\n }\n }\n}\n```", "nlcommand": "```text\nShow me the name, material, gemstone name, gemstone hardness, price, and isHandmade of the JewelryItem objects.\n```", "apiRef": "Simple Get to return a multiple properties\n\n`Get`\u00a0function requirements\nTo retrieve objects from Weaviate, you must use the\u00a0`Get`\u00a0function and specify at least:\n\n- The target\u00a0`class`\u00a0to search, and\n- One or more\u00a0`properties`\u00a0to retrieve.\n\n```graphql\n{\n Get {\n JeopardyQuestion {\n question\n answer\n points\n }\n }\n}\n```", "apiRefPath": "get-multiple-properties.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}", "schemaPath": "jewelry.json", "modelOutput": "{\n Get {\n JewelryItem {\n name\n material\n gemstone {\n ... on Gemstone {\n name\n hardness\n }\n }\n price\n isHandmade\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}\n\n COMMAND:\n ```text\nWhat is the average age of Pets that are similar to \"Golden Retriever\" with a maximum distance of 0.15?\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n Pet(\n nearText: {\n concepts: [\"Golden Retriever\"],\n distance: 0.15\n }\n ) {\n age {\n mean\n }\n }\n }\n}\n```", "nlcommand": "```text\nWhat is the average age of Pets that are similar to \"Golden Retriever\" with a maximum distance of 0.15?\n```", "apiRef": "With nearXXX\nWhen using a similarity search operator (i.e. nearXXX) with Aggregate, you should include a way to limit the search results. This is because a vector search in itself does not exclude any objects from the results set - all objects have some degree of similarity to the query.\n\nThus, for the vector search to affect the Aggregate output, you must set a limit on:\n\nThe number of results returned (with limit), or\nHow similar the results are to the query (with distance).\n\nSet a maximum distance\nYou can set the distance operator to specify the maximum dissimilarity (i.e. minimum similarity) of results to be aggregated.\n\nThe below query retrieves the 10 question objects with vectors that are within a distance of 0.19 to \"animals in space\", and returns the sum total of the point property.\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in space\"],\n distance: 0.19\n }\n ) {\n points {\n sum\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-nearText-with-distance.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}", "schemaPath": "pets.json", "modelOutput": "{\n Aggregate {\n Pet(\n nearText: {\n concepts: [\"Golden Retriever\"],\n distance: 0.15\n }\n ) {\n age {\n mean\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}\n\n COMMAND:\n ```text\nWhat is the average price of JewelryItems that are similar to \"diamond necklace\" with a maximum distance of 0.15?\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n JewelryItem(\n nearText: {\n concepts: [\"diamond necklace\"],\n distance: 0.15\n }\n ) {\n price {\n mean\n }\n }\n }\n}\n```", "nlcommand": "```text\nWhat is the average price of JewelryItems that are similar to \"diamond necklace\" with a maximum distance of 0.15?\n```", "apiRef": "With nearXXX\nWhen using a similarity search operator (i.e. nearXXX) with Aggregate, you should include a way to limit the search results. This is because a vector search in itself does not exclude any objects from the results set - all objects have some degree of similarity to the query.\n\nThus, for the vector search to affect the Aggregate output, you must set a limit on:\n\nThe number of results returned (with limit), or\nHow similar the results are to the query (with distance).\n\nSet a maximum distance\nYou can set the distance operator to specify the maximum dissimilarity (i.e. minimum similarity) of results to be aggregated.\n\nThe below query retrieves the 10 question objects with vectors that are within a distance of 0.19 to \"animals in space\", and returns the sum total of the point property.\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in space\"],\n distance: 0.19\n }\n ) {\n points {\n sum\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-nearText-with-distance.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}", "schemaPath": "jewelry.json", "modelOutput": "{\n Aggregate {\n JewelryItem(\n nearText: {\n concepts: [\"diamond necklace\"],\n distance: 0.15\n }\n ) {\n price {\n mean\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}\n\n COMMAND:\n ```text\nPlease get the compound names and formulas of 10 chemical compounds and ask a Large Language Model to answer \"What do these compounds have in common?\" passing in the compound name and formula to the Large Language Model.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ChemicalCompound (\n limit: 10\n ) {\n compoundName\n formula\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these compounds have in common?\n \"\"\",\n properties: [\"compoundName\", \"formula\"]\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease get the compound names and formulas of 10 chemical compounds and ask a Large Language Model to answer \"What do these compounds have in common?\" passing in the compound name and formula to the Large Language Model.\n```", "apiRef": "Grouped task\n\nA grouped task works by generating a response for the entire query results set.\n\nWhen using generative search with a grouped task, the required parameter is the user prompt. By default, the entire set of properties are included in the combined prompt unless specified otherwise.\n\nExample\n\nIn the below example, the query:\n\nRetrieves three JeopardyQuestion objects related to cute animals,\nCombines the user prompt with the set of retrieved objects to build the grouped task,\nRetrieves one generated text using the grouped task, and\nReturns the generated text as a part of the first object returned, as well as the requested points property.\nNote that the prompt includes information about the type of the animal (from the answer property), even though the answer property is not explicitly retrieved.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"Cute animals\"]\n },\n limit: 3\n ) {\n points\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these animals have in common, if anything?\n \"\"\"\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n```\n\nYou can specify which properties will be included in the grouped task prompt. Use this to limit the information provided in the prompt, and to reduce the prompt length.\n\nIn the below example, the prompt will only include the question and answer properties. Note that the answer property is not explicitly retrieved in the query, but is used by the prompt.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"Australian animals\"]\n },\n limit: 3\n ) {\n question\n points\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these animals have in common, if anything?\n \"\"\",\n properties: [\"answer\", \"question\"]\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-grouped-task.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}", "schemaPath": "chemicals.json", "modelOutput": "{\n Get {\n ChemicalCompound (limit: 10) {\n compoundName\n formula\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these compounds have in common?\n \"\"\",\n properties: [\"compoundName\", \"formula\"]\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nPlease get the titles of 10 VR experiences and ask a Large Language Model to answer \"What do these VR experiences have in common?\" passing in the titles to the Large Language Model.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n VRExperience (limit: 10) {\n title\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these VR experiences have in common?\n \"\"\"\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease get the titles of 10 VR experiences and ask a Large Language Model to answer \"What do these VR experiences have in common?\" passing in the titles to the Large Language Model.\n```", "apiRef": "Grouped task\n\nA grouped task works by generating a response for the entire query results set.\n\nWhen using generative search with a grouped task, the required parameter is the user prompt. By default, the entire set of properties are included in the combined prompt unless specified otherwise.\n\nExample\n\nIn the below example, the query:\n\nRetrieves three JeopardyQuestion objects related to cute animals,\nCombines the user prompt with the set of retrieved objects to build the grouped task,\nRetrieves one generated text using the grouped task, and\nReturns the generated text as a part of the first object returned, as well as the requested points property.\nNote that the prompt includes information about the type of the animal (from the answer property), even though the answer property is not explicitly retrieved.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"Cute animals\"]\n },\n limit: 3\n ) {\n points\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these animals have in common, if anything?\n \"\"\"\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n```\n\nYou can specify which properties will be included in the grouped task prompt. Use this to limit the information provided in the prompt, and to reduce the prompt length.\n\nIn the below example, the prompt will only include the question and answer properties. Note that the answer property is not explicitly retrieved in the query, but is used by the prompt.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"Australian animals\"]\n },\n limit: 3\n ) {\n question\n points\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these animals have in common, if anything?\n \"\"\",\n properties: [\"answer\", \"question\"]\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-grouped-task.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}", "schemaPath": "virtualreality.json", "modelOutput": "{\n Get {\n VRExperience (limit: 10) {\n title\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these VR experiences have in common?\n \"\"\",\n properties: [\"title\"]\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}\n\n COMMAND:\n ```text\nPlease get the drug names and active ingredients of 10 drugs and ask a Large Language Model to answer \"What do these drugs have in common?\" passing in the drug name and active ingredient to the Large Language Model.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Drug (limit: 10){\n drugName\n activeIngredient\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these drugs have in common?\n \"\"\",\n properties: [\"drugName\", \"activeIngredient\"]\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease get the drug names and active ingredients of 10 drugs and ask a Large Language Model to answer \"What do these drugs have in common?\" passing in the drug name and active ingredient to the Large Language Model.\n```", "apiRef": "Grouped task\n\nA grouped task works by generating a response for the entire query results set.\n\nWhen using generative search with a grouped task, the required parameter is the user prompt. By default, the entire set of properties are included in the combined prompt unless specified otherwise.\n\nExample\n\nIn the below example, the query:\n\nRetrieves three JeopardyQuestion objects related to cute animals,\nCombines the user prompt with the set of retrieved objects to build the grouped task,\nRetrieves one generated text using the grouped task, and\nReturns the generated text as a part of the first object returned, as well as the requested points property.\nNote that the prompt includes information about the type of the animal (from the answer property), even though the answer property is not explicitly retrieved.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"Cute animals\"]\n },\n limit: 3\n ) {\n points\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these animals have in common, if anything?\n \"\"\"\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n```\n\nYou can specify which properties will be included in the grouped task prompt. Use this to limit the information provided in the prompt, and to reduce the prompt length.\n\nIn the below example, the prompt will only include the question and answer properties. Note that the answer property is not explicitly retrieved in the query, but is used by the prompt.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"Australian animals\"]\n },\n limit: 3\n ) {\n question\n points\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these animals have in common, if anything?\n \"\"\",\n properties: [\"answer\", \"question\"]\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-grouped-task.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}", "schemaPath": "pharmaceuticals.json", "modelOutput": "{\n Get {\n Drug (limit: 10) {\n drugName\n activeIngredient\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these drugs have in common?\n \"\"\",\n properties: [\"drugName\", \"activeIngredient\"]\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}\n\n COMMAND:\n ```text\nPlease get the festival name and location of 10 film festivals and ask a Large Language Model to answer \"What do these film festivals have in common?\" passing in the festival name and location to the Large Language Model.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n FilmFestival (limit: 10){\n festivalName\n location\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these film festivals have in common?\n \"\"\",\n properties: [\"festivalName\", \"location\"]\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease get the festival name and location of 10 film festivals and ask a Large Language Model to answer \"What do these film festivals have in common?\" passing in the festival name and location to the Large Language Model.\n```", "apiRef": "Grouped task\n\nA grouped task works by generating a response for the entire query results set.\n\nWhen using generative search with a grouped task, the required parameter is the user prompt. By default, the entire set of properties are included in the combined prompt unless specified otherwise.\n\nExample\n\nIn the below example, the query:\n\nRetrieves three JeopardyQuestion objects related to cute animals,\nCombines the user prompt with the set of retrieved objects to build the grouped task,\nRetrieves one generated text using the grouped task, and\nReturns the generated text as a part of the first object returned, as well as the requested points property.\nNote that the prompt includes information about the type of the animal (from the answer property), even though the answer property is not explicitly retrieved.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"Cute animals\"]\n },\n limit: 3\n ) {\n points\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these animals have in common, if anything?\n \"\"\"\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n```\n\nYou can specify which properties will be included in the grouped task prompt. Use this to limit the information provided in the prompt, and to reduce the prompt length.\n\nIn the below example, the prompt will only include the question and answer properties. Note that the answer property is not explicitly retrieved in the query, but is used by the prompt.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"Australian animals\"]\n },\n limit: 3\n ) {\n question\n points\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these animals have in common, if anything?\n \"\"\",\n properties: [\"answer\", \"question\"]\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-grouped-task.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}", "schemaPath": "filmfestivals.json", "modelOutput": "{\n Get {\n FilmFestival (limit: 10) {\n festivalName\n location\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these film festivals have in common?\n \"\"\",\n properties: [\"festivalName\", \"location\"]\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}\n\n COMMAND:\n ```text\nPlease get the boat names and types of 10 boats and ask a Large Language Model to answer \"What do these boats have in common?\" passing in the boat names and types to the Large Language Model.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Boat (limit: 10){\n boatName\n type\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these boats have in common?\n \"\"\",\n properties: [\"boatName\", \"type\"]\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease get the boat names and types of 10 boats and ask a Large Language Model to answer \"What do these boats have in common?\" passing in the boat names and types to the Large Language Model.\n```", "apiRef": "Grouped task\n\nA grouped task works by generating a response for the entire query results set.\n\nWhen using generative search with a grouped task, the required parameter is the user prompt. By default, the entire set of properties are included in the combined prompt unless specified otherwise.\n\nExample\n\nIn the below example, the query:\n\nRetrieves three JeopardyQuestion objects related to cute animals,\nCombines the user prompt with the set of retrieved objects to build the grouped task,\nRetrieves one generated text using the grouped task, and\nReturns the generated text as a part of the first object returned, as well as the requested points property.\nNote that the prompt includes information about the type of the animal (from the answer property), even though the answer property is not explicitly retrieved.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"Cute animals\"]\n },\n limit: 3\n ) {\n points\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these animals have in common, if anything?\n \"\"\"\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n```\n\nYou can specify which properties will be included in the grouped task prompt. Use this to limit the information provided in the prompt, and to reduce the prompt length.\n\nIn the below example, the prompt will only include the question and answer properties. Note that the answer property is not explicitly retrieved in the query, but is used by the prompt.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"Australian animals\"]\n },\n limit: 3\n ) {\n question\n points\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these animals have in common, if anything?\n \"\"\",\n properties: [\"answer\", \"question\"]\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-grouped-task.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}", "schemaPath": "boats.json", "modelOutput": "{\n Get {\n Boat (limit: 10){\n boatName\n type\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these boats have in common?\n \"\"\",\n properties: [\"boatName\", \"type\"]\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}\n\n COMMAND:\n ```text\nPlease get the park names and descriptions of 10 national parks and ask a Large Language Model to answer \"What do these national parks have in common?\" passing in the park name and description to the Large Language Model.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NationalPark (limit: 10){\n parkName\n description\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these national parks have in common?\n \"\"\",\n properties: [\"parkName\", \"description\"]\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease get the park names and descriptions of 10 national parks and ask a Large Language Model to answer \"What do these national parks have in common?\" passing in the park name and description to the Large Language Model.\n```", "apiRef": "Grouped task\n\nA grouped task works by generating a response for the entire query results set.\n\nWhen using generative search with a grouped task, the required parameter is the user prompt. By default, the entire set of properties are included in the combined prompt unless specified otherwise.\n\nExample\n\nIn the below example, the query:\n\nRetrieves three JeopardyQuestion objects related to cute animals,\nCombines the user prompt with the set of retrieved objects to build the grouped task,\nRetrieves one generated text using the grouped task, and\nReturns the generated text as a part of the first object returned, as well as the requested points property.\nNote that the prompt includes information about the type of the animal (from the answer property), even though the answer property is not explicitly retrieved.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"Cute animals\"]\n },\n limit: 3\n ) {\n points\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these animals have in common, if anything?\n \"\"\"\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n```\n\nYou can specify which properties will be included in the grouped task prompt. Use this to limit the information provided in the prompt, and to reduce the prompt length.\n\nIn the below example, the prompt will only include the question and answer properties. Note that the answer property is not explicitly retrieved in the query, but is used by the prompt.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"Australian animals\"]\n },\n limit: 3\n ) {\n question\n points\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these animals have in common, if anything?\n \"\"\",\n properties: [\"answer\", \"question\"]\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-grouped-task.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}", "schemaPath": "nationalparks.json", "modelOutput": "{\n Get {\n NationalPark (limit: 10) {\n parkName\n description\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these national parks have in common?\n \"\"\",\n properties: [\"parkName\", \"description\"]\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}\n\n COMMAND:\n ```text\nPlease get the pet names and species of 10 pets and ask a Large Language Model to answer \"What do these pets have in common?\" passing in the pet names and species to the Large Language Model.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Pet (limit: 10){\n petName\n species\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these pets have in common?\n \"\"\",\n properties: [\"petName\", \"species\"]\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease get the pet names and species of 10 pets and ask a Large Language Model to answer \"What do these pets have in common?\" passing in the pet names and species to the Large Language Model.\n```", "apiRef": "Grouped task\n\nA grouped task works by generating a response for the entire query results set.\n\nWhen using generative search with a grouped task, the required parameter is the user prompt. By default, the entire set of properties are included in the combined prompt unless specified otherwise.\n\nExample\n\nIn the below example, the query:\n\nRetrieves three JeopardyQuestion objects related to cute animals,\nCombines the user prompt with the set of retrieved objects to build the grouped task,\nRetrieves one generated text using the grouped task, and\nReturns the generated text as a part of the first object returned, as well as the requested points property.\nNote that the prompt includes information about the type of the animal (from the answer property), even though the answer property is not explicitly retrieved.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"Cute animals\"]\n },\n limit: 3\n ) {\n points\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these animals have in common, if anything?\n \"\"\"\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n```\n\nYou can specify which properties will be included in the grouped task prompt. Use this to limit the information provided in the prompt, and to reduce the prompt length.\n\nIn the below example, the prompt will only include the question and answer properties. Note that the answer property is not explicitly retrieved in the query, but is used by the prompt.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"Australian animals\"]\n },\n limit: 3\n ) {\n question\n points\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these animals have in common, if anything?\n \"\"\",\n properties: [\"answer\", \"question\"]\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-grouped-task.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}", "schemaPath": "pets.json", "modelOutput": "{\n Get {\n Pet (\n limit: 10\n ) {\n petName\n species\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these pets have in common?\n \"\"\",\n properties: [\"species\"]\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}\n\n COMMAND:\n ```text\nPlease get the names and materials of 10 jewelry items and ask a Large Language Model to answer \"What do these jewelry items have in common?\" passing in the name and material to the Large Language Model.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n JewelryItem (\n limit: 10\n ) {\n name\n material\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these jewelry items have in common?\n \"\"\"\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease get the names and materials of 10 jewelry items and ask a Large Language Model to answer \"What do these jewelry items have in common?\" passing in the name and material to the Large Language Model.\n```", "apiRef": "Grouped task\n\nA grouped task works by generating a response for the entire query results set.\n\nWhen using generative search with a grouped task, the required parameter is the user prompt. By default, the entire set of properties are included in the combined prompt unless specified otherwise.\n\nExample\n\nIn the below example, the query:\n\nRetrieves three JeopardyQuestion objects related to cute animals,\nCombines the user prompt with the set of retrieved objects to build the grouped task,\nRetrieves one generated text using the grouped task, and\nReturns the generated text as a part of the first object returned, as well as the requested points property.\nNote that the prompt includes information about the type of the animal (from the answer property), even though the answer property is not explicitly retrieved.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"Cute animals\"]\n },\n limit: 3\n ) {\n points\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these animals have in common, if anything?\n \"\"\"\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n```\n\nYou can specify which properties will be included in the grouped task prompt. Use this to limit the information provided in the prompt, and to reduce the prompt length.\n\nIn the below example, the prompt will only include the question and answer properties. Note that the answer property is not explicitly retrieved in the query, but is used by the prompt.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"Australian animals\"]\n },\n limit: 3\n ) {\n question\n points\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these animals have in common, if anything?\n \"\"\",\n properties: [\"answer\", \"question\"]\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-grouped-task.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}", "schemaPath": "jewelry.json", "modelOutput": "{\n Get {\n JewelryItem (limit: 10){\n name\n material\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these jewelry items have in common?\n \"\"\",\n properties: [\"name\", \"material\"]\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}\n\n COMMAND:\n ```text\nPlease get the mission name and objectives of 10 space missions and ask a Large Language Model to answer \"What do these space missions have in common?\" passing in the mission name and objective to the Large Language Model.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n SpaceMission (\n limit: 10\n ) {\n missionName\n objective\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these space missions have in common?\n \"\"\",\n properties: [\"missionName\", \"objective\"]\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease get the mission name and objectives of 10 space missions and ask a Large Language Model to answer \"What do these space missions have in common?\" passing in the mission name and objective to the Large Language Model.\n```", "apiRef": "Grouped task\n\nA grouped task works by generating a response for the entire query results set.\n\nWhen using generative search with a grouped task, the required parameter is the user prompt. By default, the entire set of properties are included in the combined prompt unless specified otherwise.\n\nExample\n\nIn the below example, the query:\n\nRetrieves three JeopardyQuestion objects related to cute animals,\nCombines the user prompt with the set of retrieved objects to build the grouped task,\nRetrieves one generated text using the grouped task, and\nReturns the generated text as a part of the first object returned, as well as the requested points property.\nNote that the prompt includes information about the type of the animal (from the answer property), even though the answer property is not explicitly retrieved.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"Cute animals\"]\n },\n limit: 3\n ) {\n points\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these animals have in common, if anything?\n \"\"\"\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n```\n\nYou can specify which properties will be included in the grouped task prompt. Use this to limit the information provided in the prompt, and to reduce the prompt length.\n\nIn the below example, the prompt will only include the question and answer properties. Note that the answer property is not explicitly retrieved in the query, but is used by the prompt.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"Australian animals\"]\n },\n limit: 3\n ) {\n question\n points\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these animals have in common, if anything?\n \"\"\",\n properties: [\"answer\", \"question\"]\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-grouped-task.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}", "schemaPath": "spaceexploration.json", "modelOutput": "{\n Get {\n SpaceMission (limit: 10) {\n missionName\n objective\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these space missions have in common?\n \"\"\",\n properties: [\"missionName\", \"objective\"]\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}\n\n COMMAND:\n ```text\nPlease get the names and missions of 10 non-profit organizations and ask a Large Language Model to answer \"What do these non-profit organizations have in common?\" passing in the name and mission to the Large Language Model.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NonProfit (limit: 10) {\n name\n mission\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these non-profit organizations have in common?\n \"\"\",\n properties: [\"name\", \"mission\"]\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease get the names and missions of 10 non-profit organizations and ask a Large Language Model to answer \"What do these non-profit organizations have in common?\" passing in the name and mission to the Large Language Model.\n```", "apiRef": "Grouped task\n\nA grouped task works by generating a response for the entire query results set.\n\nWhen using generative search with a grouped task, the required parameter is the user prompt. By default, the entire set of properties are included in the combined prompt unless specified otherwise.\n\nExample\n\nIn the below example, the query:\n\nRetrieves three JeopardyQuestion objects related to cute animals,\nCombines the user prompt with the set of retrieved objects to build the grouped task,\nRetrieves one generated text using the grouped task, and\nReturns the generated text as a part of the first object returned, as well as the requested points property.\nNote that the prompt includes information about the type of the animal (from the answer property), even though the answer property is not explicitly retrieved.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"Cute animals\"]\n },\n limit: 3\n ) {\n points\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these animals have in common, if anything?\n \"\"\"\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n```\n\nYou can specify which properties will be included in the grouped task prompt. Use this to limit the information provided in the prompt, and to reduce the prompt length.\n\nIn the below example, the prompt will only include the question and answer properties. Note that the answer property is not explicitly retrieved in the query, but is used by the prompt.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"Australian animals\"]\n },\n limit: 3\n ) {\n question\n points\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these animals have in common, if anything?\n \"\"\",\n properties: [\"answer\", \"question\"]\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-grouped-task.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}", "schemaPath": "nonprofits.json", "modelOutput": "{\n Get {\n NonProfit (limit: 10) {\n name\n mission\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these organizations have in common?\n \"\"\",\n properties: [\"name\", \"mission\"]\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}\n\n COMMAND:\n ```text\nPlease get the names and descriptions of 10 AR applications and ask a Large Language Model to answer \"What do these AR applications have in common?\" passing in the application names and descriptions to the Large Language Model.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ARApplication (limit: 10) {\n appName\n description\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these AR applications have in common?\n \"\"\"\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease get the names and descriptions of 10 AR applications and ask a Large Language Model to answer \"What do these AR applications have in common?\" passing in the application names and descriptions to the Large Language Model.\n```", "apiRef": "Grouped task\n\nA grouped task works by generating a response for the entire query results set.\n\nWhen using generative search with a grouped task, the required parameter is the user prompt. By default, the entire set of properties are included in the combined prompt unless specified otherwise.\n\nExample\n\nIn the below example, the query:\n\nRetrieves three JeopardyQuestion objects related to cute animals,\nCombines the user prompt with the set of retrieved objects to build the grouped task,\nRetrieves one generated text using the grouped task, and\nReturns the generated text as a part of the first object returned, as well as the requested points property.\nNote that the prompt includes information about the type of the animal (from the answer property), even though the answer property is not explicitly retrieved.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"Cute animals\"]\n },\n limit: 3\n ) {\n points\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these animals have in common, if anything?\n \"\"\"\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n```\n\nYou can specify which properties will be included in the grouped task prompt. Use this to limit the information provided in the prompt, and to reduce the prompt length.\n\nIn the below example, the prompt will only include the question and answer properties. Note that the answer property is not explicitly retrieved in the query, but is used by the prompt.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"Australian animals\"]\n },\n limit: 3\n ) {\n question\n points\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these animals have in common, if anything?\n \"\"\",\n properties: [\"answer\", \"question\"]\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-grouped-task.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}", "schemaPath": "augmentedreality.json", "modelOutput": "{\n Get {\n ARApplication (limit: 10) {\n appName\n description\n _additional {\n generate(\n groupedResult: {\n task: \"\"\"\n What do these AR applications have in common?\n \"\"\",\n properties: [\"appName\", \"description\"]\n }\n ) {\n groupedResult\n error\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}\n\n COMMAND:\n ```text\nWhat is the average price of JewelryItems that are similar to a \"diamond necklace\" with a maximum distance of 0.3? Please limit the results to the top 50.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n JewelryItem(\n nearText: {\n concepts: [\"diamond necklace\"],\n distance: 0.3\n },\n objectLimit: 50\n ) {\n price {\n mean\n }\n }\n }\n}\n```", "nlcommand": "```text\nWhat is the average price of JewelryItems that are similar to a \"diamond necklace\" with a maximum distance of 0.3? Please limit the results to the top 50.\n```", "apiRef": "With nearXXX\n\nWhen using a similarity search operator (i.e. nearXXX) with Aggregate, you should include a way to limit the search results. This is because a vector search in itself does not exclude any objects from the results set - all objects have some degree of similarity to the query.\n\nThus, for the vector search to affect the Aggregate output, you must set a limit on:\n\nThe number of results returned (with limit), or\nHow similar the results are to the query (with distance).\nSet an object limit\nYou can set the objectLimit argument to specify the maximum number of results to be aggregated.\n\nThe below query retrieves the 10 question objects with vectors that are closest to \"animals in space\", and return the sum total of the point property.\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion(\n nearText: {\n concepts: [\"animals in space\"]\n },\n objectLimit: 10\n ) {\n points {\n sum\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-nearText-with-limit.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}", "schemaPath": "jewelry.json", "modelOutput": "{\n Aggregate {\n JewelryItem(\n nearText: {\n concepts: [\"diamond necklace\"],\n distance: 0.3\n },\n objectLimit: 50\n ) {\n price {\n mean\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}\n\n COMMAND:\n ```text\nList all distinct materials in the JewelryItems class.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n JewelryItem(groupBy: \"material\") {\n groupedBy {\n value\n }\n meta {\n count\n }\n }\n }\n}\n```", "nlcommand": "```text\nList all distinct materials in the JewelryItems class.\n```", "apiRef": "Retrieve groupedBy properties\n\nYou can use the groupBy variable to group the results set into subsets. Then, you can retrieve the grouped aggregate data for each group through the groupedBy properties.\n\nFor example, to list all distinct values of a property, and the counts for each:\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion(groupBy: \"round\") {\n groupedBy {\n value\n }\n meta {\n count\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-groupedBy.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}", "schemaPath": "jewelry.json", "modelOutput": "{\n Aggregate {\n JewelryItem(groupBy: \"material\") {\n groupedBy {\n value\n }\n meta {\n count\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nShow me how many VRExperiences were released after 2010.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n VRExperience(where: {\n path: [\"releaseYear\"],\n operator: GreaterThan,\n valueInt: 2010\n }) {\n meta {\n count\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me how many VRExperiences were released after 2010.\n```", "apiRef": "Add a conditional (where) filter\nYou can add a conditional filter to any aggregate search query, which will filter the results set.\n\nThe below example searches for objects where the round property equals Double Jeopardy! and returns the object count.\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion(where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Final Jeopardy!\"\n }) {\n meta {\n count\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"VRExperience\",\n\"description\": \"A virtual reality experience or game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the VR experience.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer or studio that produced the experience.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of the VR experience.\"\n},\n{\n\"name\": \"releaseYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the experience was released.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether it supports multiplayer mode.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"Information about VR developers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the developer or studio.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the studio or developer was founded.\"\n}}}", "schemaPath": "virtualreality.json", "modelOutput": "{\n Aggregate {\n VRExperience(where: {\n path: [\"releaseYear\"],\n operator: GreaterThan,\n valueInt: 2010\n }) {\n meta {\n count\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}\n\n COMMAND:\n ```text\nShow me how many boats have a capacity greater than 10.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n Boat(\n where: {\n path: [\"capacity\"],\n operator: GreaterThan,\n valueInt: 10\n }\n ){\n meta {\n count\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me how many boats have a capacity greater than 10.\n```", "apiRef": "Add a conditional (where) filter\nYou can add a conditional filter to any aggregate search query, which will filter the results set.\n\nThe below example searches for objects where the round property equals Double Jeopardy! and returns the object count.\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion(where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Final Jeopardy!\"\n }) {\n meta {\n count\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}", "schemaPath": "boats.json", "modelOutput": "{\n Aggregate {\n Boat(where: {\n path: [\"capacity\"],\n operator: GreaterThan,\n valueInt: 10\n }) {\n meta {\n count\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}\n\n COMMAND:\n ```text\nShow me how many national parks were established after the year 2000.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n NationalPark(where: {\n path: [\"establishedYear\"],\n operator: GreaterThan,\n valueInt: 2000\n }) {\n meta {\n count\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me how many national parks were established after the year 2000.\n```", "apiRef": "Add a conditional (where) filter\nYou can add a conditional filter to any aggregate search query, which will filter the results set.\n\nThe below example searches for objects where the round property equals Double Jeopardy! and returns the object count.\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion(where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Final Jeopardy!\"\n }) {\n meta {\n count\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}", "schemaPath": "nationalparks.json", "modelOutput": "{\n Aggregate {\n NationalPark(\n where: {\n path: [\"establishedYear\"],\n operator: GreaterThan,\n valueInt: 2000\n }\n ){\n meta {\n count\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}\n\n COMMAND:\n ```text\nShow me how many jewelry items have a price greater than 1000.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n JewelryItem(where: {\n path: [\"price\"],\n operator: GreaterThan,\n valueNumber: 1000\n }) {\n meta {\n count\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me how many jewelry items have a price greater than 1000.\n```", "apiRef": "Add a conditional (where) filter\nYou can add a conditional filter to any aggregate search query, which will filter the results set.\n\nThe below example searches for objects where the round property equals Double Jeopardy! and returns the object count.\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion(where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Final Jeopardy!\"\n }) {\n meta {\n count\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}", "schemaPath": "jewelry.json", "modelOutput": "{\n Aggregate {\n JewelryItem(where: {\n path: [\"price\"],\n operator: GreaterThan,\n valueNumber: 1000\n }) {\n meta {\n count\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}\n\n COMMAND:\n ```text\nShow me how many space missions were launched after 2010.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Aggregate {\n SpaceMission(where: {\n path: [\"launchYear\"],\n operator: GreaterThan,\n valueInt: 2010\n }) {\n meta {\n count\n }\n }\n }\n}\n```", "nlcommand": "```text\nShow me how many space missions were launched after 2010.\n```", "apiRef": "Add a conditional (where) filter\nYou can add a conditional filter to any aggregate search query, which will filter the results set.\n\nThe below example searches for objects where the round property equals Double Jeopardy! and returns the object count.\n\n```graphql\n{\n Aggregate {\n JeopardyQuestion(where: {\n path: [\"round\"],\n operator: Equal,\n valueText: \"Final Jeopardy!\"\n }) {\n meta {\n count\n }\n }\n }\n}\n```", "apiRefPath": "aggregate-with-where.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}", "schemaPath": "spaceexploration.json", "modelOutput": "{\n Aggregate {\n SpaceMission(\n where: {\n path: [\"launchYear\"],\n operator: GreaterThan,\n valueInt: 2010\n }\n ){\n meta {\n count\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}\n\n COMMAND:\n ```text\nPlease retrieve 10 chemical compounds and generate a brief description of each compound and its properties.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ChemicalCompound(limit: 10) {\n compoundName\n formula\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Here is a chemical compound called {compoundName} with the formula {formula}.\n Please provide a brief description of the compound and its properties.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease retrieve 10 chemical compounds and generate a brief description of each compound and its properties.\n```", "apiRef": "Single prompt\n\nA single prompt generative search returns a Large Language Model generated response for each object in the query results. For single prompt generative searches, you must specify which object properties to use in the prompt.\n\nIn the below example, the query:\n\nRetrieves two JeopardyQuestion objects related to World history,\nPrepares a prompt for each object, based on the prompt \"Convert the following into a question for twitter. Include emojis for fun, but do not include the answer: {question}.\", where {question} is an object property, and\nRetrieves a generated text for each object (2 total), and\nReturns the generated text as a part of each object, along with the question property.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"World history\"]\n },\n limit: 2\n ) {\n question\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Convert the following into a question for twitter. Include emojis for fun, but do not include the answer: {question}.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n```\n\nIn the below example, the query:\n\nRetrieves two JeopardyQuestion objects related to World history,\nPrepares a prompt for each object, based on the prompt \"Convert this quiz question: {question} and answer: {answer} into a trivia tweet. where {question} and {answer} are object properties, and\nRetrieves a generated text for each object (2 total), and\nReturns the generated text as a part of each object.\nNote that the question and answer properties are not retrieved in the query, but are used in the prompt.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"World history\"]\n },\n limit: 2\n ) {\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Convert this quiz question: {question} and answer: {answer} into a trivia tweet.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-single-prompt.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}", "schemaPath": "chemicals.json", "modelOutput": "{\n Get {\n ChemicalElement (\n limit: 10\n ) {\n elementName\n symbol\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Here is a brief description of the chemical element {elementName}:\n {symbol} is a {isMetal ? \"metal\" : \"non-metal\"} element with an atomic number of {atomicNumber}.\n Please provide a brief description of this element and its properties.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}\n\n COMMAND:\n ```text\nPlease retrieve 10 drugs and generate a brief description of each drug and its main uses. Use the drug name {drugName} and active ingredient {activeIngredient} in the prompt.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Drug (\n limit: 10\n ) {\n drugName\n activeIngredient\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Here is a drug called {drugName} that contains {activeIngredient}.\n Please provide a brief description of the drug and its main uses.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease retrieve 10 drugs and generate a brief description of each drug and its main uses. Use the drug name {drugName} and active ingredient {activeIngredient} in the prompt.\n```", "apiRef": "Single prompt\n\nA single prompt generative search returns a Large Language Model generated response for each object in the query results. For single prompt generative searches, you must specify which object properties to use in the prompt.\n\nIn the below example, the query:\n\nRetrieves two JeopardyQuestion objects related to World history,\nPrepares a prompt for each object, based on the prompt \"Convert the following into a question for twitter. Include emojis for fun, but do not include the answer: {question}.\", where {question} is an object property, and\nRetrieves a generated text for each object (2 total), and\nReturns the generated text as a part of each object, along with the question property.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"World history\"]\n },\n limit: 2\n ) {\n question\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Convert the following into a question for twitter. Include emojis for fun, but do not include the answer: {question}.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n```\n\nIn the below example, the query:\n\nRetrieves two JeopardyQuestion objects related to World history,\nPrepares a prompt for each object, based on the prompt \"Convert this quiz question: {question} and answer: {answer} into a trivia tweet. where {question} and {answer} are object properties, and\nRetrieves a generated text for each object (2 total), and\nReturns the generated text as a part of each object.\nNote that the question and answer properties are not retrieved in the query, but are used in the prompt.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"World history\"]\n },\n limit: 2\n ) {\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Convert this quiz question: {question} and answer: {answer} into a trivia tweet.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-single-prompt.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Drug\",\n\"description\": \"Details about various pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"drugName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the drug.\"\n},\n{\n\"name\": \"activeIngredient\",\n\"dataType\": [\"text\"],\n\"description\": \"The main active ingredient in the drug.\"\n},\n{\n\"name\": \"approvalYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the drug was approved.\"\n},\n{\n\"name\": \"isOTC\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the drug is available over-the-counter (OTC) without a prescription.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"Manufacturer\"],\n\"description\": \"The company that manufactures the drug.\"\n}{\n\"class\": \"Manufacturer\",\n\"description\": \"Details about the companies that produce pharmaceutical drugs.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the company was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the company's main office or headquarters.\"\n},\n{\n\"name\": \"isGlobal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the company operates on a global scale.\"\n}}}", "schemaPath": "pharmaceuticals.json", "modelOutput": "{\n Get {\n Drug (\n limit: 10\n ) {\n drugName\n activeIngredient\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Here is a brief description of the drug {drugName}: {activeIngredient}.\n Please provide a brief description of the main uses of this drug.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}\n\n COMMAND:\n ```text\nPlease retrieve 10 national parks and feed it to a Large Language Model to write an explanation of why someone interested in wildlife photography would enjoy visiting each park.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NationalPark(limit: 10) {\n parkName\n description\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Here is a brief description of the national park {parkName}: {description}.\n Please explain why someone interested in wildlife photography would enjoy visiting this park.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease retrieve 10 national parks and feed it to a Large Language Model to write an explanation of why someone interested in wildlife photography would enjoy visiting each park.\n```", "apiRef": "Single prompt\n\nA single prompt generative search returns a Large Language Model generated response for each object in the query results. For single prompt generative searches, you must specify which object properties to use in the prompt.\n\nIn the below example, the query:\n\nRetrieves two JeopardyQuestion objects related to World history,\nPrepares a prompt for each object, based on the prompt \"Convert the following into a question for twitter. Include emojis for fun, but do not include the answer: {question}.\", where {question} is an object property, and\nRetrieves a generated text for each object (2 total), and\nReturns the generated text as a part of each object, along with the question property.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"World history\"]\n },\n limit: 2\n ) {\n question\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Convert the following into a question for twitter. Include emojis for fun, but do not include the answer: {question}.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n```\n\nIn the below example, the query:\n\nRetrieves two JeopardyQuestion objects related to World history,\nPrepares a prompt for each object, based on the prompt \"Convert this quiz question: {question} and answer: {answer} into a trivia tweet. where {question} and {answer} are object properties, and\nRetrieves a generated text for each object (2 total), and\nReturns the generated text as a part of each object.\nNote that the question and answer properties are not retrieved in the query, but are used in the prompt.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"World history\"]\n },\n limit: 2\n ) {\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Convert this quiz question: {question} and answer: {answer} into a trivia tweet.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-single-prompt.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}", "schemaPath": "nationalparks.json", "modelOutput": "{\n Get {\n NationalPark (\n limit: 10\n ) {\n parkName\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Here is a description of the national park {parkName}: {description}.\n Please explain why someone interested in wildlife photography would enjoy visiting this park.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}\n\n COMMAND:\n ```text\nPlease retrieve 10 non-profit organizations and generate an explanation of why someone interested in {focusArea} would support each organization. Use the mission statement of each organization to provide the explanation.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NonProfit(limit: 10) {\n name\n mission\n focusArea\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Here is the mission statement of {name}: {mission}.\n Please explain why someone interested in {focusArea} would support this non-profit organization.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease retrieve 10 non-profit organizations and generate an explanation of why someone interested in {focusArea} would support each organization. Use the mission statement of each organization to provide the explanation.\n```", "apiRef": "Single prompt\n\nA single prompt generative search returns a Large Language Model generated response for each object in the query results. For single prompt generative searches, you must specify which object properties to use in the prompt.\n\nIn the below example, the query:\n\nRetrieves two JeopardyQuestion objects related to World history,\nPrepares a prompt for each object, based on the prompt \"Convert the following into a question for twitter. Include emojis for fun, but do not include the answer: {question}.\", where {question} is an object property, and\nRetrieves a generated text for each object (2 total), and\nReturns the generated text as a part of each object, along with the question property.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"World history\"]\n },\n limit: 2\n ) {\n question\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Convert the following into a question for twitter. Include emojis for fun, but do not include the answer: {question}.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n```\n\nIn the below example, the query:\n\nRetrieves two JeopardyQuestion objects related to World history,\nPrepares a prompt for each object, based on the prompt \"Convert this quiz question: {question} and answer: {answer} into a trivia tweet. where {question} and {answer} are object properties, and\nRetrieves a generated text for each object (2 total), and\nReturns the generated text as a part of each object.\nNote that the question and answer properties are not retrieved in the query, but are used in the prompt.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"World history\"]\n },\n limit: 2\n ) {\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Convert this quiz question: {question} and answer: {answer} into a trivia tweet.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-single-prompt.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}", "schemaPath": "nonprofits.json", "modelOutput": "{\n Get {\n NonProfit (limit: 10) {\n name\n foundedYear\n focusArea\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Here is a brief description of the {name} organization: {foundedYear}.\n Please explain why someone interested in {focusArea} would support this organization.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}\n\n COMMAND:\n ```text\nPlease retrieve 10 AR applications and generate a description for each application. For each application, please explain why someone interested in {platform} would enjoy using this app. \n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ARApplication (\n limit: 10\n ) {\n appName\n description\n platform\n developer {\n ... on SoftwareCompany {\n companyName\n }\n }\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Here is an overview of the AR application {appName}: {description}.\n Please explain why someone interested in {platform} would enjoy using this app.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease retrieve 10 AR applications and generate a description for each application. For each application, please explain why someone interested in {platform} would enjoy using this app. \n```", "apiRef": "Single prompt\n\nA single prompt generative search returns a Large Language Model generated response for each object in the query results. For single prompt generative searches, you must specify which object properties to use in the prompt.\n\nIn the below example, the query:\n\nRetrieves two JeopardyQuestion objects related to World history,\nPrepares a prompt for each object, based on the prompt \"Convert the following into a question for twitter. Include emojis for fun, but do not include the answer: {question}.\", where {question} is an object property, and\nRetrieves a generated text for each object (2 total), and\nReturns the generated text as a part of each object, along with the question property.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"World history\"]\n },\n limit: 2\n ) {\n question\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Convert the following into a question for twitter. Include emojis for fun, but do not include the answer: {question}.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n```\n\nIn the below example, the query:\n\nRetrieves two JeopardyQuestion objects related to World history,\nPrepares a prompt for each object, based on the prompt \"Convert this quiz question: {question} and answer: {answer} into a trivia tweet. where {question} and {answer} are object properties, and\nRetrieves a generated text for each object (2 total), and\nReturns the generated text as a part of each object.\nNote that the question and answer properties are not retrieved in the query, but are used in the prompt.\n\n```graphql\n{\n Get {\n JeopardyQuestion (\n nearText: {\n concepts: [\"World history\"]\n },\n limit: 2\n ) {\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Convert this quiz question: {question} and answer: {answer} into a trivia tweet.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-single-prompt.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}", "schemaPath": "augmentedreality.json", "modelOutput": "{\n Get {\n ARApplication (\n limit: 10\n ) {\n appName\n description\n _additional {\n generate(\n singleResult: {\n prompt: \"\"\"\n Here is an overview of the {appName} AR application:\n {description}\n Please explain why someone interested in {platform} would enjoy using this app.\n \"\"\"\n }\n ) {\n singleResult\n error\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}\n\n COMMAND:\n ```text\nPlease show me the eventName and description of Historical Events with BM25 scoring to the query \"World War II\", please rerank with this same query on the eventName property and show the rerank score.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n HistoricalEvent(\n bm25: {\n query: \"paper\"\n },\n limit: 10\n ) {\n eventName\n description\n _additional {\n rerank(\n query: \"publication\",\n property: \"eventName\"\n ){\n score\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease show me the eventName and description of Historical Events with BM25 scoring to the query \"World War II\", please rerank with this same query on the eventName property and show the rerank score.\n```", "apiRef": "Reranking bm25 search results\n\nThe example below uses rerank in a bm25 query to sort the top results for the query \"paper\" towards \"publication\" to disambiguate from those related to other meanings, such as the material \"paper\".\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"paper\"\n },\n limit: 10\n ) {\n answer\n question\n _additional {\n distance\n rerank(\n property: \"question\"\n query: \"publication\"\n ) {\n score\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-reranking-bm25.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}", "schemaPath": "historicalevent.json", "modelOutput": "{\n Get {\n HistoricalEvent(\n bm25: {\n query: \"paper\"\n },\n limit: 10\n ) {\n eventName\n description\n _additional {\n rerank(\n query: \"publication\",\n property: \"eventName\"\n ) {\n score\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}\n\n COMMAND:\n ```text\nPlease show me the name and description of instruments with BM25 scoring to the query \"guitar\", please rerank with this same query on the name property and show the rerank score.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Instrument(\n bm25: {\n query: \"paper\"\n },\n limit: 10\n ) {\n name\n description\n _additional {\n rerank(\n query: \"publication\",\n property: \"description\"\n ) {\n score\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease show me the name and description of instruments with BM25 scoring to the query \"guitar\", please rerank with this same query on the name property and show the rerank score.\n```", "apiRef": "Reranking bm25 search results\n\nThe example below uses rerank in a bm25 query to sort the top results for the query \"paper\" towards \"publication\" to disambiguate from those related to other meanings, such as the material \"paper\".\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"paper\"\n },\n limit: 10\n ) {\n answer\n question\n _additional {\n distance\n rerank(\n property: \"question\"\n query: \"publication\"\n ) {\n score\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-reranking-bm25.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}", "schemaPath": "musicalinstrument.json", "modelOutput": "{\n Get {\n Instrument(\n bm25: {\n query: \"paper\"\n },\n limit: 10\n ) {\n name\n description\n _additional {\n rerank(\n query: \"publication\",\n property: \"name\"\n ) {\n score\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}\n\n COMMAND:\n ```text\nPlease show me the name and product of startups with BM25 scoring to the query \"tech company\", please rerank with this same query on the name property and show the rerank score.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Startup(\n bm25: {\n query: \"paper\"\n },\n limit: 10\n ) {\n name\n product\n _additional {\n rerank(\n query: \"publication\",\n property: \"name\"\n ) {\n score\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease show me the name and product of startups with BM25 scoring to the query \"tech company\", please rerank with this same query on the name property and show the rerank score.\n```", "apiRef": "Reranking bm25 search results\n\nThe example below uses rerank in a bm25 query to sort the top results for the query \"paper\" towards \"publication\" to disambiguate from those related to other meanings, such as the material \"paper\".\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"paper\"\n },\n limit: 10\n ) {\n answer\n question\n _additional {\n distance\n rerank(\n property: \"question\"\n query: \"publication\"\n ) {\n score\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-reranking-bm25.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}", "schemaPath": "startups.json", "modelOutput": "{\n Get {\n Startup(\n bm25: {\n query: \"paper\"\n },\n limit: 10\n ) {\n name\n product\n _additional {\n rerank(\n query: \"publication\",\n property: \"name\"\n ) {\n score\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nPlease show me the title and genre of games with BM25 scoring to the query \"action adventure\", please rerank with this same query on the title property and show the rerank score.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Game(\n bm25: {\n query: \"paper\"\n },\n limit: 10\n ) {\n title\n genre\n _additional {\n rerank(\n property: \"title\"\n query: \"publication\"\n ) {\n score\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease show me the title and genre of games with BM25 scoring to the query \"action adventure\", please rerank with this same query on the title property and show the rerank score.\n```", "apiRef": "Reranking bm25 search results\n\nThe example below uses rerank in a bm25 query to sort the top results for the query \"paper\" towards \"publication\" to disambiguate from those related to other meanings, such as the material \"paper\".\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"paper\"\n },\n limit: 10\n ) {\n answer\n question\n _additional {\n distance\n rerank(\n property: \"question\"\n query: \"publication\"\n ) {\n score\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-reranking-bm25.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}", "schemaPath": "videogame.json", "modelOutput": "{\n Get {\n Game(\n bm25: {\n query: \"paper\"\n },\n limit: 10\n ) {\n title\n genre\n _additional {\n rerank(\n query: \"publication\",\n property: \"title\"\n ) {\n score\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}\n\n COMMAND:\n ```text\nPlease show me the title and summary of books with BM25 scoring for the query \"robot police science fiction\". Additionally, please rerank the results based on the query \"robot police science fiction\" on the title property and display the rerank score.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Book(\n bm25: {\n query: \"paper\"\n },\n limit: 10\n ) {\n title\n summary\n _additional {\n rerank(\n query: \"publication\",\n property: \"title\"\n ) {\n score\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease show me the title and summary of books with BM25 scoring for the query \"robot police science fiction\". Additionally, please rerank the results based on the query \"robot police science fiction\" on the title property and display the rerank score.\n```", "apiRef": "Reranking bm25 search results\n\nThe example below uses rerank in a bm25 query to sort the top results for the query \"paper\" towards \"publication\" to disambiguate from those related to other meanings, such as the material \"paper\".\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"paper\"\n },\n limit: 10\n ) {\n answer\n question\n _additional {\n distance\n rerank(\n property: \"question\"\n query: \"publication\"\n ) {\n score\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-reranking-bm25.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Book\",\n\"description\": \"A book in the library.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the book.\"\n},\n{\n\"name\": \"summary\",\n\"dataType\": [\"text\"],\n\"description\": \"A summary of the book.\"\n},\n{\n\"name\": \"pageCount\",\n\"dataType\": [\"int\"],\n\"description\": \"The number of pages in the book.\"\n},\n{\n\"name\": \"isAvailable\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Availability of the book in the library.\"\n},\n{\n\"name\": \"author\",\n\"dataType\": [\"Author\"],\n\"description\": \"The author of the book.\"\n}{\n\"class\": \"Author\",\n\"description\": \"An author of books.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the author.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the author.\"\n}}}", "schemaPath": "books.json", "modelOutput": "{\n Get {\n Book(\n bm25: {\n query: \"paper\"\n },\n limit: 10\n ) {\n title\n summary\n _additional {\n rerank(\n query: \"publication\",\n property: \"title\"\n ) {\n score\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}\n\n COMMAND:\n ```text\nPlease show me the beer name and tasting notes for Craft Beers with BM25 scoring to the query \"IPA\", please rerank with this same query on the beer name property and show the rerank score.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n CraftBeer(\n bm25: {\n query: \"paper\"\n },\n limit: 10\n ) {\n beerName\n tastingNotes\n _additional {\n rerank(\n property: \"beerName\"\n query: \"publication\"\n ) {\n score\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease show me the beer name and tasting notes for Craft Beers with BM25 scoring to the query \"IPA\", please rerank with this same query on the beer name property and show the rerank score.\n```", "apiRef": "Reranking bm25 search results\n\nThe example below uses rerank in a bm25 query to sort the top results for the query \"paper\" towards \"publication\" to disambiguate from those related to other meanings, such as the material \"paper\".\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"paper\"\n },\n limit: 10\n ) {\n answer\n question\n _additional {\n distance\n rerank(\n property: \"question\"\n query: \"publication\"\n ) {\n score\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-reranking-bm25.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}", "schemaPath": "craftbeer.json", "modelOutput": "{\n Get {\n CraftBeer(\n bm25: {\n query: \"IPA\"\n }\n ) {\n beerName\n tastingNotes\n _additional {\n rerank(\n property: \"beerName\"\n query: \"IPA\"\n ){\n score\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}\n\n COMMAND:\n ```text\nPlease show me the event name and description of historical events that are semantically similar to \"World War II\". Please rerank the search results with the same query on the event name property and show the score.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n HistoricalEvent(\n nearText: {\n concepts: \"flying\"\n },\n limit: 10\n ) {\n eventName\n description\n _additional {\n rerank(\n query: \"floating\",\n property: \"description\"\n ){\n score\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease show me the event name and description of historical events that are semantically similar to \"World War II\". Please rerank the search results with the same query on the event name property and show the score.\n```", "apiRef": "Reranking vector search results\n\nUsing the JeopardyQuestions dataset, let's say we want to find Q&As about flying, and further sort towards the top those about floating. We can start with a nearText search for flying, limited to 10 results:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: \"flying\"\n },\n limit: 10\n ) {\n answer\n question\n _additional {\n distance\n rerank(\n property: \"answer\"\n query: \"floating\"\n ) {\n score\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-reranking-vector-search.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"HistoricalEvent\",\n\"description\": \"Information about historical events\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"eventName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the historical event\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Detailed description of the event\"\n},\n{\n\"name\": \"year\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the event occurred\"\n},\n{\n\"name\": \"hadSignificantImpact\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the event had a significant impact\"\n},\n{\n\"name\": \"involvedCountries\",\n\"dataType\": [\"Country\"],\n\"description\": \"Countries involved in the event\"\n}{\n\"class\": \"Country\",\n\"description\": \"Information about countries\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"countryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the country\"\n},\n{\n\"name\": \"population\",\n\"dataType\": [\"int\"],\n\"description\": \"Population of the country\"\n}}}", "schemaPath": "historicalevent.json", "modelOutput": "{\n Get {\n HistoricalEvent(\n nearText: {\n concepts: \"flying\"\n },\n limit: 10\n ) {\n eventName\n description\n _additional {\n rerank(\n query: \"floating\",\n property: \"description\"\n ) {\n score\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}\n\n COMMAND:\n ```text\nPlease show me the name and description of instruments that are semantically similar to \"guitar\". Please rerank the search results with the same query on the name property and show the score.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Instrument(\n nearText: {\n concepts: [\"flying\"]\n },\n limit: 10\n ) {\n name\n description\n _additional {\n rerank(\n query: \"floating\",\n property: \"description\"\n ){\n score\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease show me the name and description of instruments that are semantically similar to \"guitar\". Please rerank the search results with the same query on the name property and show the score.\n```", "apiRef": "Reranking vector search results\n\nUsing the JeopardyQuestions dataset, let's say we want to find Q&As about flying, and further sort towards the top those about floating. We can start with a nearText search for flying, limited to 10 results:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: \"flying\"\n },\n limit: 10\n ) {\n answer\n question\n _additional {\n distance\n rerank(\n property: \"answer\"\n query: \"floating\"\n ) {\n score\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-reranking-vector-search.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Instrument\",\n\"description\": \"A musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the instrument.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Description of the instrument.\"\n},\n{\n\"name\": \"yearIntroduced\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the instrument was introduced.\"\n},\n{\n\"name\": \"isString\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is it a string instrument?\"\n},\n{\n\"name\": \"playedBy\",\n\"dataType\": [\"Musician\"],\n\"description\": \"Musicians who play this instrument.\"\n}{\n\"class\": \"Musician\",\n\"description\": \"An individual who plays a musical instrument.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the musician.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"Genre of music the musician specializes in.\"\n},\n{\n\"name\": \"yearsActive\",\n\"dataType\": [\"int\"],\n\"description\": \"Years active in music.\"\n}}}", "schemaPath": "musicalinstrument.json", "modelOutput": "{\n Get {\n Instrument(\n nearText: {\n concepts: \"flying\"\n },\n limit: 10\n ) {\n name\n description\n _additional {\n rerank(\n query: \"floating\",\n property: \"description\"\n ){\n score\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}\n\n COMMAND:\n ```text\nPlease show me the location and equipment of weather stations that are semantically similar to \"weather monitoring\". Please rerank the search results with the same query on the location property and show the score.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n WeatherStation(\n nearText: {\n concepts: [\"weather monitoring\"]\n }\n ) {\n location\n equipment\n _additional {\n rerank(\n query: \"weather monitoring\",\n property: \"location\"\n ){\n score\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease show me the location and equipment of weather stations that are semantically similar to \"weather monitoring\". Please rerank the search results with the same query on the location property and show the score.\n```", "apiRef": "Reranking vector search results\n\nUsing the JeopardyQuestions dataset, let's say we want to find Q&As about flying, and further sort towards the top those about floating. We can start with a nearText search for flying, limited to 10 results:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: \"flying\"\n },\n limit: 10\n ) {\n answer\n question\n _additional {\n distance\n rerank(\n property: \"answer\"\n query: \"floating\"\n ) {\n score\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-reranking-vector-search.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"WeatherStation\",\n\"description\": \"A weather monitoring station.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the weather station.\"\n},\n{\n\"name\": \"equipment\",\n\"dataType\": [\"text\"],\n\"description\": \"Equipment used for weather monitoring.\"\n},\n{\n\"name\": \"altitude\",\n\"dataType\": [\"number\"],\n\"description\": \"Altitude of the weather station.\"\n},\n{\n\"name\": \"isActive\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the station currently active?\"\n},\n{\n\"name\": \"managedBy\",\n\"dataType\": [\"Meteorologist\"],\n\"description\": \"Meteorologist managing the station.\"\n}{\n\"class\": \"Meteorologist\",\n\"description\": \"A person specialized in meteorology.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the meteorologist.\"\n},\n{\n\"name\": \"yearsExperience\",\n\"dataType\": [\"int\"],\n\"description\": \"Years of experience in meteorology.\"\n}}}", "schemaPath": "weatherstation.json", "modelOutput": "{\n Get {\n WeatherStation(\n nearText: {\n concepts: [\"weather monitoring\"]\n }\n ) {\n location\n equipment\n _additional {\n rerank(\n query: \"weather monitoring\",\n property: \"location\"\n ){\n score\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}\n\n COMMAND:\n ```text\nPlease show me the names and products of startups that are semantically similar to \"tech startup\". Please rerank the search results with the same query on the name property and show the score.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Startup(\n nearText: {\n concepts: [\"flying\"]\n },\n limit: 10\n ) {\n name\n product\n _additional {\n rerank(\n query: \"floating\",\n property: \"product\"\n ){\n score\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease show me the names and products of startups that are semantically similar to \"tech startup\". Please rerank the search results with the same query on the name property and show the score.\n```", "apiRef": "Reranking vector search results\n\nUsing the JeopardyQuestions dataset, let's say we want to find Q&As about flying, and further sort towards the top those about floating. We can start with a nearText search for flying, limited to 10 results:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: \"flying\"\n },\n limit: 10\n ) {\n answer\n question\n _additional {\n distance\n rerank(\n property: \"answer\"\n query: \"floating\"\n ) {\n score\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-reranking-vector-search.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Startup\",\n\"description\": \"A tech startup company.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the startup.\"\n},\n{\n\"name\": \"product\",\n\"dataType\": [\"text\"],\n\"description\": \"Product or service offered.\"\n},\n{\n\"name\": \"funding\",\n\"dataType\": [\"number\"],\n\"description\": \"Funding received in USD.\"\n},\n{\n\"name\": \"isBootstrapped\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Is the startup bootstrapped?\"\n},\n{\n\"name\": \"founders\",\n\"dataType\": [\"Entrepreneur\"],\n\"description\": \"Founders of the startup.\"\n}{\n\"class\": \"Entrepreneur\",\n\"description\": \"An individual who starts businesses.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the entrepreneur.\"\n},\n{\n\"name\": \"biography\",\n\"dataType\": [\"text\"],\n\"description\": \"Biography of the entrepreneur.\"\n},\n{\n\"name\": \"successfulStartups\",\n\"dataType\": [\"int\"],\n\"description\": \"Number of successful startups founded.\"\n}}}", "schemaPath": "startups.json", "modelOutput": "{\n Get {\n Startup(\n nearText: {\n concepts: [\"flying\"]\n },\n limit: 10\n ) {\n name\n product\n _additional {\n rerank(\n query: \"floating\",\n property: \"product\"\n ) {\n score\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}\n\n COMMAND:\n ```text\nPlease show me the title and genre of games that are semantically similar to \"action adventure\". Please rerank the search results with the same query on the title property and show the score.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Game(\n nearText: {\n concepts: [\"flying\"]\n },\n limit: 10\n ) {\n title\n genre\n _additional {\n rerank(\n query: \"floating\",\n property: \"title\"\n ){\n score\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease show me the title and genre of games that are semantically similar to \"action adventure\". Please rerank the search results with the same query on the title property and show the score.\n```", "apiRef": "Reranking vector search results\n\nUsing the JeopardyQuestions dataset, let's say we want to find Q&As about flying, and further sort towards the top those about floating. We can start with a nearText search for flying, limited to 10 results:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: \"flying\"\n },\n limit: 10\n ) {\n answer\n question\n _additional {\n distance\n rerank(\n property: \"answer\"\n query: \"floating\"\n ) {\n score\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-reranking-vector-search.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Game\",\n\"description\": \"A video game.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"title\",\n\"dataType\": [\"text\"],\n\"description\": \"The title of the game.\"\n},\n{\n\"name\": \"genre\",\n\"dataType\": [\"text\"],\n\"description\": \"The genre of the game.\"\n},\n{\n\"name\": \"rating\",\n\"dataType\": [\"int\"],\n\"description\": \"The ESRB rating score.\"\n},\n{\n\"name\": \"isMultiplayer\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the game has multiplayer functionality.\"\n},\n{\n\"name\": \"developedBy\",\n\"dataType\": [\"Developer\"],\n\"description\": \"The developer of the game.\"\n}{\n\"class\": \"Developer\",\n\"description\": \"A video game developer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the developer.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the developer was founded.\"\n}}}", "schemaPath": "videogame.json", "modelOutput": "{\n Get {\n Game(\n nearText: {\n concepts: [\"flying\"]\n },\n limit: 10\n ) {\n title\n genre\n _additional {\n rerank(\n query: \"floating\",\n property: \"title\"\n ) {\n score\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}\n\n COMMAND:\n ```text\nPlease show me the beer name and tasting notes of craft beers that are semantically similar to \"IPA\". Please rerank the search results with the same query on the beer name property and show the score.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n CraftBeer(\n nearText: {\n concepts: [\"flying\"]\n },\n limit: 10\n ) {\n beerName\n tastingNotes\n _additional {\n rerank(\n query: \"floating\",\n property: \"tastingNotes\"\n ){\n score\n }\n }\n }\n }\n}\n```\n\nNote: In the custom database schema, the class name is \"CraftBeer\" and the property used for reranking is \"tastingNotes\".", "nlcommand": "```text\nPlease show me the beer name and tasting notes of craft beers that are semantically similar to \"IPA\". Please rerank the search results with the same query on the beer name property and show the score.\n```", "apiRef": "Reranking vector search results\n\nUsing the JeopardyQuestions dataset, let's say we want to find Q&As about flying, and further sort towards the top those about floating. We can start with a nearText search for flying, limited to 10 results:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: \"flying\"\n },\n limit: 10\n ) {\n answer\n question\n _additional {\n distance\n rerank(\n property: \"answer\"\n query: \"floating\"\n ) {\n score\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-reranking-vector-search.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"CraftBeer\",\n\"description\": \"A craft beer.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"beerName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the beer.\"\n},\n{\n\"name\": \"tastingNotes\",\n\"dataType\": [\"text\"],\n\"description\": \"Notes about the taste of the beer.\"\n},\n{\n\"name\": \"alcoholContent\",\n\"dataType\": [\"number\"],\n\"description\": \"Alcohol content in percentage.\"\n},\n{\n\"name\": \"isSeasonal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the beer is seasonal.\"\n},\n{\n\"name\": \"brewery\",\n\"dataType\": [\"Brewery\"],\n\"description\": \"The brewery that produces this beer.\"\n}{\n\"class\": \"Brewery\",\n\"description\": \"A brewery that produces craft beers.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"breweryName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the brewery.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the brewery was founded.\"\n}}}", "schemaPath": "craftbeer.json", "modelOutput": "{\n Get {\n CraftBeer(\n nearText: {\n concepts: [\"flying\"]\n },\n limit: 10\n ) {\n beerName\n tastingNotes\n _additional {\n rerank(\n query: \"floating\",\n property: \"beerName\"\n ){\n score\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}\n\n COMMAND:\n ```text\nPlease show me the compound name and formula of chemical compounds with BM25 scoring to the query \"water\", please rerank with this same query on the compound name property and show the rerank score.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ChemicalCompound(\n bm25: {\n query: \"water\"\n }\n ) {\n compoundName\n formula\n _additional {\n rerank(\n query: \"water\",\n property: \"compoundName\"\n ){\n score\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease show me the compound name and formula of chemical compounds with BM25 scoring to the query \"water\", please rerank with this same query on the compound name property and show the rerank score.\n```", "apiRef": "Reranking bm25 search results\n\nThe example below uses rerank in a bm25 query to sort the top results for the query \"paper\" towards \"publication\" to disambiguate from those related to other meanings, such as the material \"paper\".\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"paper\"\n },\n limit: 10\n ) {\n answer\n question\n _additional {\n distance\n rerank(\n property: \"question\"\n query: \"publication\"\n ) {\n score\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-reranking-bm25.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}", "schemaPath": "chemicals.json", "modelOutput": "{\n Get {\n ChemicalCompound(\n bm25: {\n query: \"paper\"\n },\n limit: 10\n ) {\n compoundName\n formula\n _additional {\n rerank(\n query: \"publication\",\n property: \"compoundName\"\n ) {\n score\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}\n\n COMMAND:\n ```text\nPlease show me the festival name and location of film festivals with BM25 scoring to the query \"Cannes Film Festival\", please rerank with this same query on the festival name property and show the rerank score.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n FilmFestival(\n bm25: {\n query: \"Cannes Film Festival\"\n }\n ) {\n festivalName\n location\n _additional {\n rerank(\n property: \"festivalName\",\n query: \"Cannes Film Festival\"\n ){\n score\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease show me the festival name and location of film festivals with BM25 scoring to the query \"Cannes Film Festival\", please rerank with this same query on the festival name property and show the rerank score.\n```", "apiRef": "Reranking bm25 search results\n\nThe example below uses rerank in a bm25 query to sort the top results for the query \"paper\" towards \"publication\" to disambiguate from those related to other meanings, such as the material \"paper\".\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"paper\"\n },\n limit: 10\n ) {\n answer\n question\n _additional {\n distance\n rerank(\n property: \"question\"\n query: \"publication\"\n ) {\n score\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-reranking-bm25.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"FilmFestival\",\n\"description\": \"Details about various international and regional film festivals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"festivalName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the film festival.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"City or location where the festival takes place.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description or history of the film festival.\"\n},\n{\n\"name\": \"featuredFilm\",\n\"dataType\": [\"Film\"],\n\"description\": \"A film that has been notably featured or awarded in the festival.\"\n}{\n\"class\": \"Film\",\n\"description\": \"Details about various films and movies.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"filmTitle\",\n\"dataType\": [\"text\"],\n\"description\": \"Title of the film.\"\n},\n{\n\"name\": \"director\",\n\"dataType\": [\"text\"],\n\"description\": \"Director of the film.\"\n}}}", "schemaPath": "filmfestivals.json", "modelOutput": "{\n Get {\n FilmFestival(\n bm25: {\n query: \"Cannes Film Festival\"\n }\n ) {\n festivalName\n location\n _additional {\n rerank(\n property: \"festivalName\",\n query: \"Cannes Film Festival\"\n ){\n score\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}\n\n COMMAND:\n ```text\nPlease show me the park name and description of the National Parks with BM25 scoring to the query \"Yellowstone National Park\", please rerank with this same query on the park name property and show the rerank score.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NationalPark(\n bm25: {\n query: \"Yellowstone National Park\"\n }\n ) {\n parkName\n description\n _additional {\n rerank(\n query: \"Yellowstone National Park\",\n property: \"parkName\"\n ){\n score\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease show me the park name and description of the National Parks with BM25 scoring to the query \"Yellowstone National Park\", please rerank with this same query on the park name property and show the rerank score.\n```", "apiRef": "Reranking bm25 search results\n\nThe example below uses rerank in a bm25 query to sort the top results for the query \"paper\" towards \"publication\" to disambiguate from those related to other meanings, such as the material \"paper\".\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"paper\"\n },\n limit: 10\n ) {\n answer\n question\n _additional {\n distance\n rerank(\n property: \"question\"\n query: \"publication\"\n ) {\n score\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-reranking-bm25.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NationalPark\",\n\"description\": \"Protected area of natural significance.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"parkName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the national park.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description about the park and its significance.\"\n},\n{\n\"name\": \"location\",\n\"dataType\": [\"text\"],\n\"description\": \"The geographic location of the park.\"\n},\n{\n\"name\": \"establishedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"The year the park was officially established.\"\n},\n{\n\"name\": \"isEntryFree\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether there's an entry fee for the park.\"\n},\n{\n\"name\": \"wildlife\",\n\"dataType\": [\"text\"],\n\"description\": \"Notable wildlife that can be spotted in the park.\"\n},\n{\n\"name\": \"facilities\",\n\"dataType\": [\"Facility\"],\n\"description\": \"Facilities available at the park.\"\n}{\n\"class\": \"Facility\",\n\"description\": \"A facility available in a national park.\",\n\"properties\": [\n{\n\"name\": \"facilityName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the facility.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Brief description of the facility.\"\n}}}", "schemaPath": "nationalparks.json", "modelOutput": "{\n Get {\n NationalPark(\n bm25: {\n query: \"Yellowstone National Park\"\n }\n ) {\n parkName\n description\n _additional {\n rerank(\n property: \"parkName\"\n query: \"Yellowstone National Park\"\n ){\n score\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}\n\n COMMAND:\n ```text\nPlease show me the pet name and species of pets with BM25 scoring to the query \"dog\", please rerank with this same query on the pet name property and show the rerank score.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Pet(\n bm25: {\n query: \"paper\"\n },\n limit: 10\n ) {\n petName\n species\n _additional {\n rerank(\n query: \"publication\",\n property: \"petName\"\n ) {\n score\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease show me the pet name and species of pets with BM25 scoring to the query \"dog\", please rerank with this same query on the pet name property and show the rerank score.\n```", "apiRef": "Reranking bm25 search results\n\nThe example below uses rerank in a bm25 query to sort the top results for the query \"paper\" towards \"publication\" to disambiguate from those related to other meanings, such as the material \"paper\".\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"paper\"\n },\n limit: 10\n ) {\n answer\n question\n _additional {\n distance\n rerank(\n property: \"question\"\n query: \"publication\"\n ) {\n score\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-reranking-bm25.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}", "schemaPath": "pets.json", "modelOutput": "{\n Get {\n Pet(\n bm25: {\n query: \"dog\"\n }\n ) {\n petName\n species\n _additional {\n rerank(\n property: \"petName\"\n query: \"dog\"\n ){\n score\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}\n\n COMMAND:\n ```text\nPlease show me the name and material of jewelry items with BM25 scoring to the query \"diamond necklace\", please rerank with this same query on the name property and show the rerank score.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n JewelryItem(\n bm25: {\n query: \"diamond necklace\"\n }\n ) {\n name\n material\n _additional {\n rerank(\n property: \"name\",\n query: \"diamond necklace\"\n ){\n score\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease show me the name and material of jewelry items with BM25 scoring to the query \"diamond necklace\", please rerank with this same query on the name property and show the rerank score.\n```", "apiRef": "Reranking bm25 search results\n\nThe example below uses rerank in a bm25 query to sort the top results for the query \"paper\" towards \"publication\" to disambiguate from those related to other meanings, such as the material \"paper\".\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"paper\"\n },\n limit: 10\n ) {\n answer\n question\n _additional {\n distance\n rerank(\n property: \"question\"\n query: \"publication\"\n ) {\n score\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-reranking-bm25.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}", "schemaPath": "jewelry.json", "modelOutput": "{\n Get {\n JewelryItem(\n bm25: {\n query: \"paper\"\n },\n limit: 10\n ) {\n name\n material\n _additional {\n rerank(\n query: \"publication\",\n property: \"name\"\n ) {\n score\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}\n\n COMMAND:\n ```text\nPlease show me the name and mission of non-profit organizations with BM25 scoring to the query \"education\", please rerank with this same query on the name property and show the rerank score.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NonProfit(\n bm25: {\n query: \"education\"\n }\n ) {\n name\n mission\n _additional {\n rerank(\n query: \"education\",\n property: \"name\"\n ){\n score\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease show me the name and mission of non-profit organizations with BM25 scoring to the query \"education\", please rerank with this same query on the name property and show the rerank score.\n```", "apiRef": "Reranking bm25 search results\n\nThe example below uses rerank in a bm25 query to sort the top results for the query \"paper\" towards \"publication\" to disambiguate from those related to other meanings, such as the material \"paper\".\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"paper\"\n },\n limit: 10\n ) {\n answer\n question\n _additional {\n distance\n rerank(\n property: \"question\"\n query: \"publication\"\n ) {\n score\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-reranking-bm25.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}", "schemaPath": "nonprofits.json", "modelOutput": "{\n Get {\n NonProfit(\n bm25: {\n query: \"paper\"\n },\n limit: 10\n ) {\n name\n mission\n _additional {\n rerank(\n property: \"name\"\n query: \"publication\"\n ) {\n score\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}\n\n COMMAND:\n ```text\nPlease show me the app name and description of AR applications with BM25 scoring to the query \"augmented reality game\", please rerank with this same query on the app name property and show the rerank score.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ARApplication(\n bm25: {\n query: \"paper\"\n },\n limit: 10\n ) {\n appName\n description\n _additional {\n rerank(\n query: \"publication\",\n property: \"description\"\n ) {\n score\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease show me the app name and description of AR applications with BM25 scoring to the query \"augmented reality game\", please rerank with this same query on the app name property and show the rerank score.\n```", "apiRef": "Reranking bm25 search results\n\nThe example below uses rerank in a bm25 query to sort the top results for the query \"paper\" towards \"publication\" to disambiguate from those related to other meanings, such as the material \"paper\".\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n bm25: {\n query: \"paper\"\n },\n limit: 10\n ) {\n answer\n question\n _additional {\n distance\n rerank(\n property: \"question\"\n query: \"publication\"\n ) {\n score\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-reranking-bm25.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}", "schemaPath": "augmentedreality.json", "modelOutput": "{\n Get {\n ARApplication(\n bm25: {\n query: \"paper\"\n },\n limit: 10\n ) {\n appName\n description\n _additional {\n rerank(\n query: \"publication\",\n property: \"description\"\n ) {\n score\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}\n\n COMMAND:\n ```text\nPlease show me the compound name and formula of chemical compounds that are semantically similar to \"organic chemistry\". Please rerank the search results with the same query on the compound name property and show the score.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ChemicalCompound(\n nearText: {\n concepts: [\"organic chemistry\"]\n }\n ) {\n compoundName\n formula\n _additional {\n rerank(\n query: \"organic chemistry\",\n property: \"compoundName\"\n ){\n score\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease show me the compound name and formula of chemical compounds that are semantically similar to \"organic chemistry\". Please rerank the search results with the same query on the compound name property and show the score.\n```", "apiRef": "Reranking vector search results\n\nUsing the JeopardyQuestions dataset, let's say we want to find Q&As about flying, and further sort towards the top those about floating. We can start with a nearText search for flying, limited to 10 results:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: \"flying\"\n },\n limit: 10\n ) {\n answer\n question\n _additional {\n distance\n rerank(\n property: \"answer\"\n query: \"floating\"\n ) {\n score\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-reranking-vector-search.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ChemicalElement\",\n\"description\": \"Basic chemical element from the periodic table.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"elementName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical element.\"\n},\n{\n\"name\": \"symbol\",\n\"dataType\": [\"text\"],\n\"description\": \"Symbol of the chemical element.\"\n},\n{\n\"name\": \"atomicNumber\",\n\"dataType\": [\"int\"],\n\"description\": \"The atomic number of the element.\"\n},\n{\n\"name\": \"isMetal\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the element is a metal or not.\"\n}{\n\"class\": \"ChemicalCompound\",\n\"description\": \"A compound formed by combining multiple chemical elements.\",\n\"properties\": [\n{\n\"name\": \"compoundName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the chemical compound.\"\n},\n{\n\"name\": \"formula\",\n\"dataType\": [\"text\"],\n\"description\": \"Chemical formula for the compound.\"\n},\n{\n\"name\": \"molarMass\",\n\"dataType\": [\"number\"],\n\"description\": \"The molar mass of the compound in g/mol.\"\n},\n{\n\"name\": \"containsElements\",\n\"dataType\": [\"ChemicalElement\"],\n\"description\": \"Elements that make up the compound.\"\n}}}", "schemaPath": "chemicals.json", "modelOutput": "{\n Get {\n ChemicalCompound(\n nearText: {\n concepts: \"flying\"\n },\n limit: 10\n ) {\n compoundName\n formula\n _additional {\n rerank(\n query: \"floating\",\n property: \"compoundName\"\n ){\n score\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}\n\n COMMAND:\n ```text\nPlease show me the boat name and type of sailboats. Rerank the search results with the same query on the boat name property and show the score.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Boat(\n nearText: {\n concepts: [\"flying\"]\n },\n limit: 10\n ) {\n boatName\n type\n _additional {\n rerank(\n query: \"floating\",\n property: \"boatName\"\n ){\n score\n }\n }\n }\n }\n}\n```\n\nNote: Please make sure to replace the class name \"Boat\" with the appropriate class name from your custom database schema.", "nlcommand": "```text\nPlease show me the boat name and type of sailboats. Rerank the search results with the same query on the boat name property and show the score.\n```", "apiRef": "Reranking vector search results\n\nUsing the JeopardyQuestions dataset, let's say we want to find Q&As about flying, and further sort towards the top those about floating. We can start with a nearText search for flying, limited to 10 results:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: \"flying\"\n },\n limit: 10\n ) {\n answer\n question\n _additional {\n distance\n rerank(\n property: \"answer\"\n query: \"floating\"\n ) {\n score\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-reranking-vector-search.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Boat\",\n\"description\": \"Different types of boats and their specifications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"boatName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or model of the boat.\"\n},\n{\n\"name\": \"type\",\n\"dataType\": [\"text\"],\n\"description\": \"Type of the boat like sailboat, yacht, etc.\"\n},\n{\n\"name\": \"capacity\",\n\"dataType\": [\"int\"],\n\"description\": \"Maximum number of passengers the boat can carry.\"\n},\n{\n\"name\": \"isMotorized\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Whether the boat is motorized or not.\"\n},\n{\n\"name\": \"manufacturer\",\n\"dataType\": [\"BoatManufacturer\"],\n\"description\": \"The manufacturer or company that produced the boat.\"\n}{\n\"class\": \"BoatManufacturer\",\n\"description\": \"Companies that manufacture boats.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the boat manufacturing company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was founded.\"\n}}}", "schemaPath": "boats.json", "modelOutput": "{\n Get {\n Boat {\n boatName\n type\n _additional {\n rerank(\n query: \"floating\",\n property: \"type\"\n ){\n score\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}\n\n COMMAND:\n ```text\nPlease show me the pet name and species of pets that are semantically similar to \"dog\". Please rerank the search results with the same query on the pet name property and show the score.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n Pet(\n nearText: {\n concepts: [\"flying\"]\n },\n limit: 10\n ) {\n petName\n species\n _additional {\n rerank(\n query: \"floating\",\n property: \"species\"\n ){\n score\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease show me the pet name and species of pets that are semantically similar to \"dog\". Please rerank the search results with the same query on the pet name property and show the score.\n```", "apiRef": "Reranking vector search results\n\nUsing the JeopardyQuestions dataset, let's say we want to find Q&As about flying, and further sort towards the top those about floating. We can start with a nearText search for flying, limited to 10 results:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: \"flying\"\n },\n limit: 10\n ) {\n answer\n question\n _additional {\n distance\n rerank(\n property: \"answer\"\n query: \"floating\"\n ) {\n score\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-reranking-vector-search.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"Pet\",\n\"description\": \"A domesticated animal kept for companionship.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"petName\",\n\"dataType\": [\"text\"],\n\"description\": \"The name of the pet.\"\n},\n{\n\"name\": \"species\",\n\"dataType\": [\"text\"],\n\"description\": \"The species of the pet (e.g., Dog, Cat, Fish).\"\n},\n{\n\"name\": \"breed\",\n\"dataType\": [\"text\"],\n\"description\": \"The specific breed or variant of the pet.\"\n},\n{\n\"name\": \"age\",\n\"dataType\": [\"int\"],\n\"description\": \"The age of the pet in years.\"\n},\n{\n\"name\": \"owner\",\n\"dataType\": [\"Person\"],\n\"description\": \"The owner of the pet.\"\n}{\n\"class\": \"Person\",\n\"description\": \"An individual or owner of the pet.\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"address\",\n\"dataType\": [\"text\"],\n\"description\": \"Residential address of the person.\"\n},\n{\n\"name\": \"contactNumber\",\n\"dataType\": [\"text\"],\n\"description\": \"Contact number of the person.\"\n}}}", "schemaPath": "pets.json", "modelOutput": "{\n Get {\n Pet(\n nearText: {\n concepts: [\"flying\"]\n },\n limit: 10\n ) {\n petName\n species\n _additional {\n rerank(\n query: \"floating\",\n property: \"species\"\n ){\n score\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}\n\n COMMAND:\n ```text\nPlease show me the name and material of jewelry items that are semantically similar to \"necklace\". Please rerank the search results with the query \"diamond\" on the \"gemstone.name\" property and show the score.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n JewelryItem(\n nearText: {\n concepts: [\"flying\"]\n },\n limit: 10\n ) {\n name\n material\n _additional {\n rerank(\n query: \"floating\",\n property: \"name\"\n ){\n score\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease show me the name and material of jewelry items that are semantically similar to \"necklace\". Please rerank the search results with the query \"diamond\" on the \"gemstone.name\" property and show the score.\n```", "apiRef": "Reranking vector search results\n\nUsing the JeopardyQuestions dataset, let's say we want to find Q&As about flying, and further sort towards the top those about floating. We can start with a nearText search for flying, limited to 10 results:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: \"flying\"\n },\n limit: 10\n ) {\n answer\n question\n _additional {\n distance\n rerank(\n property: \"answer\"\n query: \"floating\"\n ) {\n score\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-reranking-vector-search.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"JewelryItem\",\n\"description\": \"An item of personal adornment.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name or title of the jewelry item.\"\n},\n{\n\"name\": \"material\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary material used, e.g., gold, silver, platinum.\"\n},\n{\n\"name\": \"gemstone\",\n\"dataType\": [\"Gemstone\"],\n\"description\": \"Gemstone present in the jewelry.\"\n},\n{\n\"name\": \"price\",\n\"dataType\": [\"number\"],\n\"description\": \"Price of the jewelry item.\"\n},\n{\n\"name\": \"isHandmade\",\n\"dataType\": [\"boolean\"],\n\"description\": \"Indicates if the item is handmade.\"\n}{\n\"class\": \"Gemstone\",\n\"description\": \"A gemstone used in jewelry.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the gemstone, e.g., diamond, ruby.\"\n},\n{\n\"name\": \"hardness\",\n\"dataType\": [\"number\"],\n\"description\": \"Hardness of the gemstone on Mohs scale.\"\n}}}", "schemaPath": "jewelry.json", "modelOutput": "{\n Get {\n JewelryItem(\n nearText: {\n concepts: [\"flying\"]\n },\n limit: 10\n ) {\n name\n material\n _additional {\n rerank(\n query: \"floating\",\n property: \"name\"\n ) {\n score\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}\n\n COMMAND:\n ```text\nPlease show me the mission name and objective of space missions that are semantically similar to \"exploration outer space\". Please rerank the search results with the same query on the mission name property and show the score.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n SpaceMission(\n nearText: {\n concepts: [\"flying\"]\n },\n limit: 10\n ) {\n missionName\n objective\n _additional {\n rerank(\n query: \"floating\",\n property: \"objective\"\n ){\n score\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease show me the mission name and objective of space missions that are semantically similar to \"exploration outer space\". Please rerank the search results with the same query on the mission name property and show the score.\n```", "apiRef": "Reranking vector search results\n\nUsing the JeopardyQuestions dataset, let's say we want to find Q&As about flying, and further sort towards the top those about floating. We can start with a nearText search for flying, limited to 10 results:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: \"flying\"\n },\n limit: 10\n ) {\n answer\n question\n _additional {\n distance\n rerank(\n property: \"answer\"\n query: \"floating\"\n ) {\n score\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-reranking-vector-search.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"SpaceMission\",\n\"description\": \"A mission to explore outer space.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"missionName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space mission.\"\n},\n{\n\"name\": \"objective\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary objective or goal of the mission.\"\n},\n{\n\"name\": \"launchYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the mission was launched.\"\n},\n{\n\"name\": \"missionStatus\",\n\"dataType\": [\"text\"],\n\"description\": \"Current status, e.g., ongoing, completed.\"\n},\n{\n\"name\": \"spaceAgency\",\n\"dataType\": [\"SpaceAgency\"],\n\"description\": \"Space agency responsible for the mission.\"\n}{\n\"class\": \"SpaceAgency\",\n\"description\": \"Organizations responsible for space exploration activities.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"agencyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the space agency.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the agency was founded.\"\n},\n{\n\"name\": \"headquarters\",\n\"dataType\": [\"text\"],\n\"description\": \"Location of the agency's headquarters.\"\n}}}", "schemaPath": "spaceexploration.json", "modelOutput": "{\n Get {\n SpaceMission(\n nearText: {\n concepts: \"flying\"\n },\n limit: 10\n ) {\n missionName\n objective\n _additional {\n rerank(\n query: \"floating\",\n property: \"missionName\"\n ){\n score\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}\n\n COMMAND:\n ```text\nPlease show me the name and mission of non-profit organizations that are semantically similar to \"charitable cause\". Please rerank the search results with the same query on the name property and show the score.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n NonProfit(\n nearText: {\n concepts: \"charitable cause\"\n }\n ) {\n name\n mission\n _additional {\n rerank(\n query: \"charitable cause\",\n property: \"name\"\n ){\n score\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease show me the name and mission of non-profit organizations that are semantically similar to \"charitable cause\". Please rerank the search results with the same query on the name property and show the score.\n```", "apiRef": "Reranking vector search results\n\nUsing the JeopardyQuestions dataset, let's say we want to find Q&As about flying, and further sort towards the top those about floating. We can start with a nearText search for flying, limited to 10 results:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: \"flying\"\n },\n limit: 10\n ) {\n answer\n question\n _additional {\n distance\n rerank(\n property: \"answer\"\n query: \"floating\"\n ) {\n score\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-reranking-vector-search.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"NonProfit\",\n\"description\": \"An organization that operates for a charitable cause.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"name\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the non-profit organization.\"\n},\n{\n\"name\": \"mission\",\n\"dataType\": [\"text\"],\n\"description\": \"Mission statement of the organization.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the organization was founded.\"\n},\n{\n\"name\": \"focusArea\",\n\"dataType\": [\"text\"],\n\"description\": \"Primary area of focus, e.g., health, education.\"\n},\n{\n\"name\": \"founder\",\n\"dataType\": [\"Person\"],\n\"description\": \"Founder or key person of the organization.\"\n}{\n\"class\": \"Person\",\n\"description\": \"Information about individuals.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"fullName\",\n\"dataType\": [\"text\"],\n\"description\": \"Full name of the person.\"\n},\n{\n\"name\": \"bio\",\n\"dataType\": [\"text\"],\n\"description\": \"Short biography of the person.\"\n}}}", "schemaPath": "nonprofits.json", "modelOutput": "{\n Get {\n NonProfit(\n nearText: {\n concepts: \"flying\"\n },\n limit: 10\n ) {\n name\n mission\n _additional {\n rerank(\n query: \"floating\",\n property: \"name\"\n ){\n score\n }\n }\n }\n }\n}\n"} {"input": "\n Your task is to write an API request for a custom database schema based on the API reference provided.\n\n For guidance on how to correctly format this API request, consult the API reference here:\n Note: Please only use the API reference to understand the syntax of the request. Make sure your request is compliant with it.\n Here are some quick notes about the API syntax:\n - All queries should start with either `Get` or `Aggregate`. A common mistake is to begin the API request with `query`, please do not make this mistake.\n - All queries should begin with an open curly bracket, `{`\n\n CUSTOM SCHEMA:\n {\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}\n\n COMMAND:\n ```text\nPlease show me the app name and description of AR applications that are semantically similar to \"augmented reality\". Please rerank the search results with the same query on the app name property and show the score.\n```\n\n API Request:\n ", "output": "```graphql\n{\n Get {\n ARApplication(\n nearText: {\n concepts: [\"flying\"]\n },\n limit: 10\n ) {\n appName\n description\n _additional {\n rerank(\n query: \"floating\",\n property: \"description\"\n ){\n score\n }\n }\n }\n }\n}\n```", "nlcommand": "```text\nPlease show me the app name and description of AR applications that are semantically similar to \"augmented reality\". Please rerank the search results with the same query on the app name property and show the score.\n```", "apiRef": "Reranking vector search results\n\nUsing the JeopardyQuestions dataset, let's say we want to find Q&As about flying, and further sort towards the top those about floating. We can start with a nearText search for flying, limited to 10 results:\n\n```graphql\n{\n Get {\n JeopardyQuestion(\n nearText: {\n concepts: \"flying\"\n },\n limit: 10\n ) {\n answer\n question\n _additional {\n distance\n rerank(\n property: \"answer\"\n query: \"floating\"\n ) {\n score\n }\n }\n }\n }\n}\n```", "apiRefPath": "get-reranking-vector-search.txt", "schema": "{\n\"classes\": [\n{\n\"class\": \"ARApplication\",\n\"description\": \"An augmented reality application or experience.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"appName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the AR application.\"\n},\n{\n\"name\": \"description\",\n\"dataType\": [\"text\"],\n\"description\": \"Overview of the AR experience provided by the app.\"\n},\n{\n\"name\": \"platform\",\n\"dataType\": [\"text\"],\n\"description\": \"Platform the AR app is available on, e.g., iOS, Android.\"\n},\n{\n\"name\": \"developer\",\n\"dataType\": [\"SoftwareCompany\"],\n\"description\": \"Company or developer that created the AR app.\"\n}{\n\"class\": \"SoftwareCompany\",\n\"description\": \"A company that develops software applications.\",\n\"vectorIndexType\": \"hnsw\",\n\"vectorizer\": \"text2vec-transformers\",\n\"properties\": [\n{\n\"name\": \"companyName\",\n\"dataType\": [\"text\"],\n\"description\": \"Name of the software company.\"\n},\n{\n\"name\": \"foundedYear\",\n\"dataType\": [\"int\"],\n\"description\": \"Year the company was established.\"\n}}}", "schemaPath": "augmentedreality.json", "modelOutput": "{\n Get {\n ARApplication(\n nearText: {\n concepts: [\"flying\"]\n },\n limit: 10\n ) {\n appName\n description\n _additional {\n rerank(\n query: \"floating\",\n property: \"description\"\n ) {\n score\n }\n }\n }\n }\n}\n"}