axiothOntology Hub

本体 / sp

SPIN SPARQL Syntax

原文(英语),来源:LOV 目录An RDF Schema to syntactically represent SPARQL queries (including SPARQL UPDATE) as RDF triples.

命名空间 IRI
http://spinrdf.org/sp#
类型
词表
领域
语义网基础
版本
1.5.0
许可证声明
许可证尚未核实
标准或联系人
未登记
定义文件检查
文件已解析 · 2026年11月30日 UTC
采集来源
Linked Open Vocabularies (LOV)
LOV 统计的复用情况
0 个词表,2 个数据集

速览

由已解析的定义文件自动得出,非人工撰写。

类
56
属性
55
文件中的三元组
523
关联
6
论文与标准
0

按定义文件中在自身命名空间内直接声明的术语统计,不含导入和推理。文件另声明了 0 个其他命名空间的术语。

核心类

子类关系和属性连接最多的类。

UpdateElement groupAggregationElementQueryPath

层级顶端

有子类、但在本文件中没有父类的类。

SP System class

可以表达的内容

按“定义域—属性→值域”读取的属性。

  • Triple pathpathPath
  • QueryvaluesValues
  • Sub queryqueryQuery
  • BindvariableVariable

类层级

展开某个类即可逐层查看其子类。数字表示直接子类的数量。

  • SP System class7
    • Aggregation7
      • AVG
      • COUNT
      • GROUP_CONCAT
      • MAX
      • MIN
      • SAMPLE
      • SUM
    • Element7
      • Element group8
        • Element list
        • Exists
        • Minus
        • Named graph
        • Not exists
        • Optional
        • Service
        • Union
      • Bind1
        • Let
      • Filter
      • Sub query
      • Triple path
      • Triple pattern
      • Values
    • Path5
      • Alt path
      • Mod path
      • Reverse link path
      • Reverse path
      • Seq path
    • Command2
      • Update8
        • Modify2
          • Delete
          • Insert
        • Clear
        • Create
        • Delete data
        • Delete where
        • Drop
        • Insert data
        • Load
      • Query4
        • Ask
        • Construct
        • Describe
        • Select query
    • Order by condition2
      • Asc
      • Desc
    • Tuple2
      • Triple2
        • Triple pattern
        • Triple template
      • Triple path
    • Variable

类图

点击某个类可查看其原文定义和相关属性。拖动可平移,滚轮可缩放。

子类关系(子类指向父类)属性(定义域指向值域)

全部 56 个类
术语原文定义
Query
sp:Query
Abstract base class of the various types of supported queries. Common to all types of queries is that they can have a body ("WHERE clause").
Update
sp:Update
Abstract base class to group the various SPARQL UPDATE commands.
Path
sp:Path
The base class of SPARQL property path expressions. Paths are used by sp:TriplePath triple paths.
Element group
sp:ElementGroup
Abstract base class of group patterns.
SP System class
sp:SystemClass
An "artificial" root class that groups all SP classes. This makes them look much less overwhelming in UI tools. Typical end users don't need to see those classes anyway.
Aggregation
sp:Aggregation
Base class of aggregation types (not part of the SPARQL 1.0 standard but supported by ARQ and other engines).
Element
sp:Element
An abstract base class for all pattern elements.
Modify
sp:Modify
Represents a MODIFY (part of SPARQL UPDATE language). The graph IRIs are stored in sp:graphIRI. The template patterns are stored in sp:deletePattern and sp:insertPattern. The WHERE clause is represented using sp:where.
Select query
sp:Select
A SELECT-type query that returns variable bindings as its result.
Tuple
sp:Tuple
Abstract base class for things that have subject and object.
Triple
sp:Triple
A base class for TriplePattern and TripleTemplate. This basically specifies that subject, predicate and object must be present.
Element list
sp:ElementList
A list of Elements. This class is never instantiated directly as SPIN will use plain rdf:Lists to store element lists.
Variable
sp:Variable
A variable mentioned in a Triple or expression. Variables are often blank nodes with the variable name stored in ts:name. Variables can also be supplied with a URI in which case the system will attempt to reuse the same variable instance across multiple query definitions.
Values
sp:Values
A VALUES element. sp:varNames points to an rdf:List of strings for the variables, sp:values to an rdf:List of rdf:Lists with nodes for each variable, in the order defined by the variables list.
Order by condition
sp:OrderByCondition
An abstract base class for ascending or descending order conditions. Instances of this class (typically bnodes) must have a value for expression to point to the actual values.
Load
sp:Load
A LOAD Update operation. The document to load is specified using sp:document, and the (optional) target graph using sp:into.
Triple path
sp:TriplePath
Similar to a TriplePattern, but with a path expression as its predicate. For example, this can be used to express transitive sub-class relationships (?subClass rdfs:subClassOf* ?superClass).
Bind
sp:Bind
A BIND element.
Mod path
sp:ModPath
A modified path such as rdfs:subClassOf*.
Command
sp:Command
A shared superclass for sp:Query and sp:Update that can be used to specify that the range of property can be either one.
Triple pattern
sp:TriplePattern
A triple pattern used in the body of a query.
GROUP_CONCAT
sp:GroupConcat
Represents GROUP_CONCAT aggregations.
Sub query
sp:SubQuery
A nested SELECT query inside of an element list. The query is stored in sp:query.
Construct
sp:Construct
A CONSTRUCT-type query that can be used to construct new triples from template triples (head) that use variable bindings from the match patterns (body).
Named graph
sp:NamedGraph
A named Graph element such as GRAPH <uri> {...}.
Reverse link path
sp:ReverseLinkPath
未登记
Service
sp:Service
A SERVICE call that matches a nested sub-pattern against a SPARQL end point specified by a URI.
Describe
sp:Describe
A DESCRIBE-type Query.
Asc
sp:Asc
Marker to indicate ascending order.
SUM
sp:Sum
Represents sum aggregations, e.g. SELECT SUM(?varName)...
Union
sp:Union
A UNION group.
Delete data
sp:DeleteData
An Update operation to delete specific triples. The graph triples are represented using sp:data, which points to an rdf:List of sp:Triples or sp:NamedGraphs.
Desc
sp:Desc
Marker to indicate descending order.
Triple template
sp:TripleTemplate
A prototypical triple used as template in the head of a Construct query. May contain variables.
MAX
sp:Max
Represents MAX aggregations.
AVG
sp:Avg
Represents AVG aggregations.
MIN
sp:Min
Represents MIN aggregations.
Optional
sp:Optional
An optional element in a query.
Alt path
sp:AltPath
An alternative path with the union of sp:path1 and sp:path2.
COUNT
sp:Count
Counts the number of times a variable is used. The variable is stored in the variable property. This might be left blank to indicate COUNT(*).
Reverse path
sp:ReversePath
A path with reversed direction.
Ask
sp:Ask
An ASK query that returns true if the condition in the body is met by at least one result set.
Create
sp:Create
An Update operation that creates a new empty graph with a name specified by sp:graphIRI. May have sp:silent set to true.
Not exists
sp:NotExists
A NOT EXISTS element group.
Drop
sp:Drop
An Update operation that removes a specified graph from the Graph Store. Must specify the graph using sp:graphIRI, or sp:default, sp:named or sp:all. May have the SILENT flag, encoded using sp:silent.
Delete where
sp:DeleteWhere
An Update operation where the triples matched by the WHERE clause (sp:where) will be the triples deleted.
Insert data
sp:InsertData
An Update operation to insert specific triples. The graph triples are represented using sp:data, which points to an rdf:List of sp:Triples or sp:NamedGraphs.
Exists
sp:Exists
An EXISTS element group.
Filter
sp:Filter
A constraint element that evaluates a given expression to true or false.
Minus
sp:Minus
A MINUS element group.
Clear
sp:Clear
An Update operation that removes all triples from a specified graph. Must specify the graph using sp:graphIRI, or sp:default, sp:named or sp:all. May have the SILENT flag, encoded using sp:silent.
Seq path
sp:SeqPath
A sequence of multiple paths.
SAMPLE
sp:Sample
Represents SAMPLE aggregations
Delete
sp:Delete
Deprecated - use sp:Modify instead. Represents a DELETE FROM (part of SPARQL UPDATE language). The graph IRIs are stored in sp:graphIRI. The template patterns to delete are stored in sp:deletePattern. The WHERE clause is represented using sp:where.
Insert
sp:Insert
Deprecated - use sp:Modify instead. Represents a INSERT INTO (part of SPARQL UPDATE language). The graph IRIs are stored in sp:graphIRI. The template patterns to delete are stored in sp:insertPattern. The WHERE clause is represented using sp:where.
Let
sp:Let
Deprecated: use sp:Bind instead. A variable assignment (LET (?<varName> := <expression>)). Not part of the SPARQL 1.0 standard, but (for example) ARQ.
全部 55 个属性
术语原文定义
arg5
sp:arg5
The fifth argument of a function call. Further arguments are not common in SPARQL, therefore no sp:arg6, etc are defined here. However, they can be created if needed.
arg
sp:arg
Abstract superproperty for the enumerated arg1, arg2 etc.
path1
sp:path1
The first child path of a property path. Used by sp:AltPath and sp:SeqPath.
SP system property
sp:systemProperty
An abstract base proprerty that groups together the SP system properties. Users typically don't need to see them anyway.
arg1
sp:arg1
The first argument of a function call.
default
sp:default
Used in DROP and CLEAR.
values
sp:values
The VALUES block at the end of a query. The object may just be an untyped blank node, i.e. the sp:Values type triple is optional.
object
sp:object
An RDF Node or Variable describing the object of a triple.
graph name node
sp:graphNameNode
The name (URI or Variable) of a NamedGraph.
varName
sp:varName
The name of a Variable.
named
sp:named
Used in DROP and CLEAR.
as
sp:as
Points to a Variable used in an AS statement such as COUNT aggregates.
distinct
sp:distinct
A marker property to indicate that a Select query is of type SELECT DISTINCT.
path2
sp:path2
The second child path of a property path. Used by sp:AltPath and sp:SeqPath.
order by
sp:orderBy
Links a query with an ORDER BY clause where the values are rdf:List containing OrderByConditions or expressions. While the domain of this property is sp:Query, only Describe and Select queries can have values of it.
variable
sp:variable
The variable of a Bind element.
arg4
sp:arg4
The forth argument of a function call.
silent
sp:silent
未登记
having
sp:having
Points from a SELECT query to a list of HAVING expressions.
query
sp:query
Links a SubQuery resource with the nested Query.
group by
sp:groupBy
Points from a Query to the list of GROUP BY expressions.
graph IRI
sp:graphIRI
Points to graph names (IRIs) in various sp:Update operations.
limit
sp:limit
The LIMIT solution modifier of a Query.
using
sp:using
未登记
templates
sp:templates
Points to a list of TripleTemplates that form the head of a Construct query.
result nodes
sp:resultNodes
Contains the result nodes (URI resources or Variables) of a Describe query.
using named
sp:usingNamed
未登记
arg3
sp:arg3
The third argument of a function call.
reduced
sp:reduced
A property with true to indicate that a Select query has a REDUCED flag.
sub path
sp:subPath
The child path of a property path expression. This is used by ReversePath and ModPath.
into
sp:into
The (optional) target of a LOAD Update operation.
with
sp:with
未登记
service URI
sp:serviceURI
Used by sp:Service to specify the URI of the SPARQL end point to invoke. Must point to a URI node.
where
sp:where
The WHERE clause of a Query.
document
sp:document
The URI of the document to load using a LOAD Update operation.
result variables
sp:resultVariables
An rdf:List of variables that are returned by a Select query.
separator
sp:separator
Stores the separator="..." value of a GROUP_CONCAT (sp:GroupConcat) aggregation.
text
sp:text
Can be attached to sp:Queries to store a textual representation of the query. This can be useful for tools that do not have a complete SPIN Syntax parser available.
path
sp:path
Points from a TriplePath to its path.
mod max
sp:modMax
未登记
bindings
sp:bindings
The actual bindings of a sp:Values element.
elements
sp:elements
Points to an ElementList, for example in an Optional element.
predicate
sp:predicate
A resource or Variable describing the predicate of a triple.
node
sp:node
未登记
from named
sp:fromNamed
Specifies a named RDF Dataset used by a Query (FROM NAMED syntax in SPARQL). Values of this property must be URI resources.
arg2
sp:arg2
The second argument of a function call.
subject
sp:subject
A resource or Variable describing the subject of a triple.
delete pattern
sp:deletePattern
Points to a list of sp:TripleTemplates and sp:NamedGraphs in a modify operation.
expression
sp:expression
Points to an expression, for example in a Filter or Assignment.
all
sp:all
Used in DROP and CLEAR.
from
sp:from
Specifies an RDF Dataset used by a Query (FROM syntax in SPARQL). Values of this property must be URI resources.
offset
sp:offset
The OFFSET solution modifier of a Query.
var names
sp:varNames
The names of the variables (xsd:strings) of the variables declared for a VALUES element.
mod min
sp:modMin
未登记
insert pattern
sp:insertPattern
Points to a list of sp:TripleTemplates or sp:NamedGraphs in a modify command.

关联

定义文件或官方注册表中声明的关系。每行均标明依据。

rdfxsdatdspindqcs4acshsdrrapisqlsp

有明确关系的本体论文或标准代码仓库相似候选(自动计算)

查看依据表(6 行)
方向本体关系依据
本项 → 对方The RDF Concepts Vocabulary复用术语 (3 个术语)定义文件
type, List, Property
本项 → 对方XML Schema复用术语 (4 个术语)定义文件
boolean, string, long
对方 → 本项Air Traffic Data复用术语 (1 个术语)定义文件
arg
对方 → 本项SPIN Inferencing Vocabulary导入定义文件
owl:imports <http://spinrdf.org/sp>
对方 → 本项The Data Quality Constraints Library复用术语 (38 个术语)定义文件
varName, Construct, object
对方 → 本项Social Semantic SPARQL Security For Access Control Ontology复用术语 (12 个术语)定义文件
InsertData, Create, Load

相似候选

候选项按说明和术语标签中的共同词语排序,仅供进一步核查参考,不代表等价、兼容或官方关系。

相似本体

论文与标准

尚未关联论文或标准。没有论文并非缺陷,官方规范同样可以作为依据。

文件与代码仓库

检查记录

  1. 获取文件已完成
  2. 解析 RDF已完成
  3. 提取术语已完成

“已解析”仅表示文件可读,不保证逻辑一致性或建模质量。

定义文件检查
文件已解析
检查时间
2026年11月30日 UTC
格式
Turtle
解析器
n3
大小
25,163 B
SHA-256
b8e7540643741a29ba0c5c654a3e2ee3e3e8cf28aa9fbd5d0400cac3c5022497
备注
这是 LOV 存档的最新版本,并非直接从发布方获取的文件。

此词表的 LOV 页面