-
CASE WHEN - Nested Conditional Logic in AGS
Standard SPARQL 1.1 only supports simple IF() expressions. AGS extends this with full CASE WHEN syntax for cleaner nested logic. Syntax BIND( CASE WHEN <condition1> THEN <value1> WHEN <condition2> THEN <value2> ELSE <defaultValue> END AS ?resultVar) Example 1 - Labeling status values BIND( CASE WHEN ?status = "active" THEN…
-
Reusable Parameterized Queries in AGS
Parameterized Template Query [info callout] 🧩 All examples on this page use the sample movie dataset introduced in SPARQL in AGS – Developer’s Overview Reusable parameterized templates make logical filters configurable without modifying query logic. This is the preferred approach for Named Queries and automated workflows…
-
Property Paths in SPARQL (AGS Implementation Guide)
What Are Property Paths? In SPARQL, property paths let you express chains or patterns of relationships between resources, without manually specifying each join. Example idea: Movie → Director → foaf:name Instead of multiple triple lines, a single property path can express it: ?movie ex:director/foaf:name ?directorName It’s…
-
Logical Conditions in SPARQL - OR, AND, and DIFFERENCE
Concept Overview In SPARQL, logical combinations (OR, AND, DIFFERENCE) aren’t special operators — they’re implemented through query structure. Logic Typical Use Case SPARQL Technique OR Include entities matching any attribute VALUES or UNION AND Require all attributes to be present Subquery + HAVING(COUNT(...)) DIFFERENCE…
-
Query Optimization in AGS: The WITH Clause
Quick Optimization Reminders Most AGS developers know these already, but here’s a quick refresher checklist: ✅ Use VALUES instead of multiple FILTER conditions ✅ Apply LIMIT and OFFSET for iterative testing ✅ Avoid unbound joins that cause Cartesian products ✅ Aggregate using subqueries to reduce load These small…
-
SPARQL in AGS - Developer's Overview
The Sample DatasetWe’ll use a tiny dataset of 5 movies, small enough to test in AGS but just enough to illustrate SPARQL features. Movie ID Title Year Rating Genre Director Actor M1 The Shawshank Redemption 1994 9.3 Drama Frank Darabont Tim Robbins M2 The Godfather 1972 9.2 Crime Francis Ford Coppola Marlon Brando M3…
-
Querying using GDI
This document explains how to use the Graph Data Interface (GDI) to onboard relational data into Graph Studio. It covers writing GDI queries, securing credentials, optimizing performance, and leveraging ontology-driven mappings to transform tabular data into a structured knowledge graph. Contents Developer Checklist…
-
Querying using GDI - Part 2
This document builds on the basics of GDI queries covered in Part 1. It focuses on optimizing query performance, leveraging ontology awareness for smarter filtering, and providing practical examples that demonstrate advanced GDI properties in action. Contents Leveraging the Ontology for Query Optimization Further Examples…
-
Querying Using GDI - Part 1
This discussion introduces the basics of GDI queries - how to connect to a database, define generators, and follow best practices for secure and efficient data onboarding. Contents Developer Checklist Understanding the Dataset GDI Query Structure Best Practices for Developers Troubleshooting Tips References…
-
AGS Network Navigator Demonstration
The Network Navigator Dashboard in Altair Graph Studio is an interactive tool for advanced data visualization and exploration within knowledge graphs. It enables users to visually represent relationships and links between nodes in the knowledge graph, making complex data structures more intuitive to analyze. Integrated…
-
Creating Migration Packages Programmatically with GraphStudio APIs
This article outlines migration package operations using GraphStudio’s APIs, including details on request structure, endpoint usage, URL encoding, and error handling. The APIs allow us to automate common tasks such as importing and exporting migration packages. Overview Export a Migration Package Prepare Migration Package…
-
Authentication and Token Management with GraphStudio APIs
This article outlines the essential authentication methods used by GraphStudio APIs, explains how to programmatically acquire and manage Bearer tokens using Graph Data Interface (GDI) patterns, and highlights best practices for secure and automated API access. Overview Authentication Methods in GraphStudio APIs Bearer…
-
Connecting Graph Studio to External Databases
This document walks through the steps to configure a relational data source in Graph Studio using the Graph Data Interface (GDI). It covers creating the source, setting connection parameters, validating connectivity, defining schemas, and preparing data for ingestion into the knowledge graph. Contents Developer Checklist…
-
Pre-Requisites for Database Connectivity
This document provides a practical checklist and best practices for configuring Graph Data Interface (GDI) connections in Graph Studio. It covers driver setup, network access, credentials, and validation steps to ensure reliable connectivity between Graph Lakehouse and external databases. Terminology Alignment Please note…
-
Altair is a 2X Leader in the 2025 Gartner® Magic Quadrant™ for Data Science and Machine Learning
We are pleased to share that Altair have been recognized as Leaders for the 2nd year in a row in the Gartner(r) Magic Quadrant(tm) for Data Science and Machine Learning Platforms! In the words of Altair CTO Sam Mahalingham: 'We think being recognized as a Leader for the second consecutive year further validates Altair’s…
-
Integrate Knowledge Graphs into Patient Safety Workflows
The Altair® RapidMiner® data analytics and artificial intelligence (AI) platform offers the ability to transform all relevant data into a common format using shared concepts and relationships. Data engineers, working collaboratively with safety experts, can set up robust automated pipelines that integrate all available…
-
Knowledge Graph Applications in Manufacturing
Manufacturing environments generate vast amounts of data from disparate sources, including sensors, machines, and enterprise systems. Knowledge graphs can integrate all that data and provide a unified view that supports insightful, fully informed decision-making to reduce costs, increase efficiency, and improve quality. By…