axiothOntology Hub

Ontologies / sql

SQL Abstract Syntax Trees Vocabulary

Original text (English), from: LOV catalogueThe SQL AST Vocabulary allows SQL code abstract syntax trees to be published in RDF.

Namespace IRI
http://ns.inria.fr/ast/sql#
Type
Vocabulary
Field
Services and APIs
Version
0.3
Licence statement
creativecommons.org/licenses/by/1.0/ (definition file)
Standard or contact
Not registered
Definition file check
File parsed · Nov 30, 2026 UTC
Collected from
Linked Open Vocabularies (LOV)

At a glance

Derived from the parsed definition file, not written by an editor.

Classes
104
Properties
11
Triples in file
583
Connections
5
Papers and standards
0

Counted as stated directly in the definition file, within its own namespace, without imports or inference. The file also declares 0 terms from other namespaces.

Central classes

The classes with the most subclass and property links.

Database Catalog ObjectDatabase Catalog Object IdentifierStatementGeneric AST NodeOperatorAggregate Function

Top of the hierarchy

Classes with subclasses but no parent inside this file.

Generic AST Node

What it lets you say

Properties read as domain, property, range.

  • StatementClauseGeneric AST Node

Class hierarchy

Open a class to follow its subclasses downward. The number is how many direct subclasses it has.

  • Generic AST Node7
    • Database Catalog Object9
      • Relational Column
      • Relational Index
      • Relational Procedure
      • Relational Role
      • Relational Schema
      • Relational Sequence
      • Relational Table
      • Relational User
      • Relational View
    • Database Catalog Object Identifier9
      • Column Identifier
      • Identifier
      • Index Identifier
      • Procedure Identifier
      • Role Identifier
      • Schema Identifier
      • Table Identifier
      • User Identifier
      • View Identifier
    • Operator7
      • Comparison Operator6
        • Difference comparison
        • Equality comparison
        • Greater than comparison
        • Greater than or equal to comparison
        • Less than comparison
        • Less than or equal to comparison
      • Arithmetic Operator5
        • Addition
        • Division
        • Multiplication
        • Negation
        • Subtraction
      • Set Operator4
        • Exclusion
        • Intersection
        • Union
        • Union All
      • Logical Operator3
        • Logical Conjunction
        • Logical Disjunction
        • Logical Negation
      • String Operator1
        • Concatenation
      • Alias
      • All
    • Statement7
      • Data Manipulation Statement4
        • Delete Statement
        • Insert Statement
        • Select Statement
        • Update Statement
      • Data Definition Statement3
        • Alter Statement
        • Create Statement
        • Drop Statement
      • Transaction Management Statement3
        • Commit Statement
        • Lock Table Statement
        • Rollback Statement
      • Access Control Statement2
        • Grant Statement
        • Revoke Statement
      • Session Management Statement2
        • Connect Statement
        • Set Statement
      • Procedural Statement1
        • Call Statement
      • Import / Export Statement
    • Predicate6
      • Join Predicate3
        • Outer Join Predicate3
          • Full Outer Join Predicate
          • Left Outer Join Predicate
          • Right Outer Join Predicate
        • Cross Join Predicate
        • Inner Join Predicate
      • Exists predicate
      • In predicate
      • Is Null predicate
      • Like predicate
      • Range predicate
    • Expression3
      • Aggregation Expression
      • Case Expression
      • Function Expression
    • Function3
      • Aggregate Function7
        • Average
        • Count
        • Maximum
        • Minimum
        • Standard Deviation
        • Sum
        • Variance
      • Scalar Function3
        • Data Type Conversion Function1
          • Cast
        • Date Time Computation Function1
          • Now
        • Number Function
      • Table Function

Class graph

Select a class to read its original definition and the properties attached to it. Drag to move, scroll to zoom.

subclass of (child to parent)property (domain to range)

All 104 classes
TermOriginal definition
Database Catalog Object
sql:CatalogObject
A database catalog object reference.
Database Catalog Object Identifier
sql:ObjectIdentifier
A database catalog object identifier, qualified or not.
Generic AST Node
sql:ASTNode
Abstract class subsumed by all AST node classes.
Statement
sql:Statement
A SQL statement.
Operator
sql:Operator
A SQL operator used to perform arithmetic calculations, comparisons or value assignments.
Aggregate Function
sql:AggregateFunction
A SQL aggregate function returns a single value given the values of multiple rows from a column.
Predicate
sql:Predicate
Represents a collection of one or more expressions or subqueries, that may be combined with logical operators, and when evaluated returns one of the TRUE / FALSE / UNKNOWN truth values.
Comparison Operator
sql:ComparisonOperator
A binary operator used to compare two values, and when evaluated returns one of the TRUE / FALSE / UNKNOWN truth values.
Arithmetic Operator
sql:ArithmeticOperator
A SQL arithmetic operator used to perform arithmetic calculation.
Select Statement
sql:SelectStatement
A SQL SELECT statement.
Set Operator
sql:SetOperator
A SQL set operator used to perform set operation on the results of two or more queries.
Data Manipulation Statement
sql:DataManipulationStatement
A SQL data manipulation statement.
Join Predicate
sql:JoinPredicate
Binary predicate used join two or more tables.
Outer Join Predicate
sql:OuterJoin
Not registered
Logical Operator
sql:LogicalOperator
A SQL logical connective used to perform logical calculation.
Expression
sql:Expression
A SQL expression denotes any clause that when evaluated returns values.
Function
sql:Function
A SQL built-in function that performs calculation and returns a value. May be vendor-specific.
Scalar Function
sql:ScalarFunction
A SQL scalar function returns a single value given the input values. The input value is of a SQL primitive data type.
Data Definition Statement
sql:DataDefinitionStatement
A SQL data definition statement.
Transaction Management Statement
sql:TransactionManagementStatement
A SQL transaction management statement.
Session Management Statement
sql:SessionManagementStatement
A SQL session management statement.
Access Control Statement
sql:AccessControlStatement
A SQL access control statement.
String Operator
sql:StringOperator
Not registered
Data Type Conversion Function
sql:DataTypeConversionFunction
A SQL scalar function.
Date Time Computation Function
sql:DateTimeFunction
A SQL date time function returns a date or time value or performs a specific date or time value computation.
Procedural Statement
sql:ProceduralStatement
A SQL procedural statement.
Insert Statement
sql:InsertStatement
A SQL INSERT statement.
Relational Table
sql:Table
A reference or declarative statement for a catalog table.
Cross Join Predicate
sql:CrossJoin
Join predicate used to perform the cross-product of two tables.
Inner Join Predicate
sql:InnerJoin
Not registered
Right Outer Join Predicate
sql:RightOuterJoin
Not registered
Left Outer Join Predicate
sql:LeftOuterJoin
Not registered
Full Outer Join Predicate
sql:FullOuterJoin
Not registered
Is Null predicate
sql:IsNull
Unary predicate that compares the evaluated expression's value with NULL
Range predicate
sql:Between
Ternary predicate used to assert whether a provided expression's value is within the range specified by two other expressions' values.
In predicate
sql:In
Variadic predicate used to assert whether the first provided expression's value is within the set of following provided expressions' values.
Exists predicate
sql:Exists
Unary predicate that returns one of the TRUE or FALSE truth values depending on whether the evaluated subquery returns an empty result set.
Like predicate
sql:Like
Binary predicate that returns one of the TRUE or FALSE truth values depending on whether the string resulting in the evaluation of the first expression matches the lightweight regular expression described in the second expression.
Alias
sql:Alias
The SQL AS operator used to give an identifier to an expression.
All
sql:All
The SQL '*' wildcard operator, substitutes to all the columns of the tables in the FROM clause.
Negation
sql:Negate
A unary arithmetic operator used to produce the negative of its operand.
Addition
sql:Plus
Not registered
Subtraction
sql:Minus
Not registered
Multiplication
sql:Mult
Not registered
Division
sql:Div
Not registered
Greater than comparison
sql:GreaterThan
Not registered
Less than comparison
sql:LessThan
Not registered
Equality comparison
sql:Equals
Not registered
Difference comparison
sql:NotEquals
Not registered
Greater than or equal to comparison
sql:GreaterEquals
Not registered
Less than or equal to comparison
sql:LessEquals
Not registered
Logical Conjunction
sql:And
Not registered
Logical Disjunction
sql:Or
Not registered
Logical Negation
sql:Not
A SQL logical negation that can be used to negate any condition.
Union
sql:Union
A SQL union operator used to return the combination of the result sets of two or more queries.
Union All
sql:UnionAll
A SQL union operator used to return the combination of the result sets of two or more queries, including duplicate result rows.
Intersection
sql:Intersect
A SQL intersection operator used to return the common result rows of the combination of the result sets of two or more queries.
Exclusion
sql:Except
A SQL exclusion operator used to return the result set produced by removing the result rows of the second query that appear in the result set of the first query.
Concatenation
sql:Concatenation
A SQL concatenation operator that returns the combination of two strings, expressions or values.
Case Expression
sql:CaseExpression
A SQL case expression enables the use of the IF <condition> THEN <consequent> ELSE <alternative> logic within SQL statements.
Function Expression
sql:FunctionExpression
A SQL function expressions consists in the use of any built-in SQL function.
Aggregation Expression
sql:AggregationExpression
A SQL aggregation expression consists in the use of an aggregate function.
Sum
sql:Sum
The SQL aggregate function that returns the sum of the given expression.
Average
sql:Avg
The SQL aggregate function that returns the mean of the given expression.
Count
sql:Count
The SQL aggregate function that returns the number of rows or non NULL values from the result set.
Minimum
sql:Min
The SQL aggregate function that returns the minimum value of the given expression.
Maximum
sql:Max
The SQL aggregate function that returns the maximum value of the given expression.
Variance
sql:Var
The SQL aggregate function that returns the variance of the given expression.
Standard Deviation
sql:StdDev
The SQL aggregate function that returns the standard deviation (square root of the variance) of the given expression.
Cast
sql:Cast
A SQL scalar function that converts an expression to a target data type
Now
sql:Now
A SQL now function is a nullary function that returns the current timestamp.
Table Function
sql:TableFunction
A SQL function that returns a virtual table.
Number Function
sql:NumberFunction
A SQL number function that returns a numeric value and reads numeric values or string with numeric characters.
Import / Export Statement
sql:IOStatement
A SQL import or export statement.
Alter Statement
sql:AlterStatement
A SQL ALTER statement.
Create Statement
sql:CreateStatement
A SQL CREATE statement.
Drop Statement
sql:DropStatement
A SQL DROP statement.
Delete Statement
sql:DeleteStatement
A SQL DELETE statement.
Update Statement
sql:UpdateStatement
A SQL UPDATE statement.
Call Statement
sql:CallStatement
A SQL CALL statement.
Commit Statement
sql:CommitStatement
A SQL COMMIT statement.
Rollback Statement
sql:RollbackStatement
A SQL ROLLBACK statement.
Lock Table Statement
sql:LockTableStatement
A SQL LOCK TABLE statement.
Connect Statement
sql:ConnectStatement
A SQL CONNECT statement.
Set Statement
sql:SetStatement
Assigns a value to a session variable identifier.
Grant Statement
sql:Grant
A SQL GRANT statement used to give a set of privileges or roles to specified users that are actionable on specified database objects.
Revoke Statement
sql:Revoke
A SQL REVOKE statement used to revoke a set of privileges or roles to specified users from specified database objects.
Relational Schema
sql:Schema
A reference or declarative statement for a catalog schema.
Relational Column
sql:Column
A reference or declarative statement for a catalog column.
Relational Index
sql:Index
A reference or declarative statement for a catalog index.
Relational Procedure
sql:Procedure
A reference or declarative statement for a catalog procedure.
Relational User
sql:User
A reference or declarative statement for a catalog user.
Relational Role
sql:Role
A reference or declarative statement for a catalog role.
Relational View
sql:View
A reference or declarative statement for a catalog view.
Relational Sequence
sql:Sequence
A reference or declarative statement for a catalog sequence.
Schema Identifier
sql:SchemaIdentifier
A valid identifier for a catalog schema.
Table Identifier
sql:TableIdentifier
A valid identifier for a catalog table.
Column Identifier
sql:ColumnIdentifier
A valid identifier for a catalog column.
Index Identifier
sql:IndexIdentifier
A valid identifier for a catalog index.
Procedure Identifier
sql:ProcedureIdentifier
A valid identifier for a catalog procedure.
User Identifier
sql:UserIdentifier
A valid identifier for a catalog user.
Role Identifier
sql:RoleIdentifier
A valid identifier for a catalog role.
View Identifier
sql:ViewIdentifier
A valid identifier for a catalog view.
Identifier
sql:SequenceIdentifier
A valid identifier for a catalog sequence.
All 11 properties
TermOriginal definition
AST Node Arguments
sql:args
The generic predicate used to attach an ordered list of children to any AST node.
Clause
sql:clause
A SQL clause is a part of a statement.
SELECT clause
sql:select
The SQL clause that specifies the projected tables of a SELECT statement.
FROM clause
sql:from
The SQL clause that specifies the target sources (tables, views, subqueries) of a SELECT statement.
WHERE clause
sql:where
The SQL clause that specifies the filtering predicates to apply on the inputs of the FROM clause.
GROUP BY clause
sql:groupBy
The SQL clause that specifies the columns whose values will be considered to cluster the result set of selected rows.
HAVING clause
sql:having
The SQL clause that specifies the filtering predicates to apply on the clustered result set resulting of a GROUP BY clause.
ORDER BY clause
sql:orderBy
The SQL clause that specifies how to order the result set's records according to given expressions.
LIMIT clause
sql:limit
The SQL clause that limits the number of records from the result set that should be returned.
INTO target table clause
sql:into
The SQL clause that specifies into which table the following values or select statement's result set are to be inserted into.
VALUES list Clause
sql:values
The SQL clause that specifies a list of values or expressions evaluating to values.

Connections

Relations stated in a definition file or an official registry. Each row shows where the statement comes from.

What this ontology builds on 5

What builds on this ontology 0

None

rdfvsdctermsvannxsdrrd2rqspppodsdsql

Ontology with a stated relationPaper or standardRepositorySimilarity candidate (computed)

Show the evidence table (5 rows)
DirectionOntologyRelationEvidence
This → otherThe RDF Concepts Vocabularyreuses terms (3 terms)definition file
type, Property, List
This → otherSemWeb Vocab Status ontologyreuses terms (1 term)definition file
term_status
This → otherDCMI Metadata Termsreuses terms (6 terms)definition file
description, created, modified
This → otherVANN: A vocabulary for annotating vocabulary descriptionsreuses terms (2 terms)definition file
preferredNamespacePrefix, preferredNamespaceUri
This → otherXML Schemareuses terms (1 term)definition file
integer

Similarity candidates

Candidates are ranked by shared words in descriptions and term labels. They are a starting point for your own check, not a statement of equivalence, compatibility or official relation.

Similar ontologies

Similar papers and standards

Papers and standards

No paper or standard is linked yet. A missing paper is not a defect: an official specification can serve as evidence.

Files and repository

Check record

  1. Fetch fileDone
  2. Parse RDFDone
  3. Extract termsDone

A parsed file means it could be read. It does not vouch for logical consistency or modelling quality.

Definition file check
File parsed
Checked at
Nov 30, 2026 UTC
Format
Turtle
Parser
n3
Size
28,303 B
SHA-256
7f8070bbbece45c83db8224cf759a5c0761143bbdbeb8fe8745d8117ced139b1
Note
This is the latest version archived by LOV, not a file fetched from the publisher.

LOV page for this vocabulary