axiothOntology Hub

本体 / woc.ontology

Code Ontology

原文(英语),来源:BioregistryAn ontology that represents object-oriented programming languages

命名空间 IRI
http://rdf.webofcode.org/woc/
类型
本体
领域
工程、材料与能源
版本
未核实
许可证声明
GPL-3.0-only (Bioregistry)
标准或联系人
未登记
定义文件检查
文件已解析 · 2026年11月30日 UTC
采集来源
Bioregistry
同时收录于
TIB Terminology Service

速览

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

类
65
属性
100
文件中的三元组
1,616
关联
3
论文与标准
0

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

核心类

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

ExpressionStatementClassCode ElementTypeExecutable

层级顶端

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

Code ElementProject

可以表达的内容

按“主体—属性→对象”读取的属性,取自定义域、值域和类约束。

  • Expressionhas subexpressionExpression
  • Expressionis subexpression ofStatement
  • Expressionhas typeType
  • Typeis type ofExpression
  • StatementnextStatement
  • For Statementhas conditionExpression
  • Expressionis condition ofFor Statement
  • Variable Declarationhas initializerExpression

类层级

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

  • Code Element9
    • Statement8
      • Block Statement3
        • Labeled Block2
          • Case Labeled Block
          • Default Labeled Block
        • Catch Block
        • Finally Block
      • Control Flow Statement3
        • Loop Statement4
          • Do Statement
          • For Statement
          • ForEach Statement
          • While Statement
        • Branching Statement3
          • Break Statement
          • Continue Statement
          • Return Statement
        • Decision Making Statement2
          • If-then-else statement
          • Switch Statement
      • Declaration statement2
        • Variable Declaration2
          • Field Declaration
          • Local Variable Declaration Statement
        • Class Declaration Statement
      • Assert Statement
      • Expression statement
      • Synchronized Statement
      • Throw Statement
      • Try Statement
    • Type7
      • Complex Type3
        • Class1
          • Anonymous Class
        • Enum
        • Interface
      • Annotation
      • Array Type
      • Parameterized Type
      • Primitive Type
      • Type Variable
      • Wildcard
    • Expression3
      • Executable invocation expression2
        • Class Instance Creation Expression
        • Method Invocation Expression
      • Actual Argument
      • Assignment Expression
    • Modifiable3
      • Complex Type3
        • Class1
          • Anonymous Class
        • Enum
        • Interface
      • Executable2
        • Constructor
        • Method
      • Field
    • Variable3
      • Field
      • Local Variable
      • Parameter
    • Executable2
      • Constructor
      • Method
    • Modifier1
      • Access Modifier
    • Package
    • Type Argument
  • Project2
    • Gradle Project
    • Maven Project

类图

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

子类关系(子类指向父类)属性(定义域指向值域,或类约束)

全部 65 个类
术语原文定义
Expression
woc.ontology:Expression
A generic expression
Statement
woc.ontology:Statement
A generic statement
Code Element
woc.ontology:CodeElement
A generic element in source code
Executable
woc.ontology:Executable
An executable block of code, namely a Method or a Constructor
Class
woc.ontology:Class
A class
Complex Type
woc.ontology:ComplexType
A class or an enumeration or an interface
Method
woc.ontology:Method
A Method
Type
woc.ontology:Type
A type
Project
woc.ontology:Project
A project
Variable
woc.ontology:Variable
A variable
Interface
woc.ontology:Interface
An interface
Try Statement
woc.ontology:TryStatement
A try statement
Block Statement
woc.ontology:BlockStatement
A block
For Statement
woc.ontology:ForStatement
A for statement
If-then-else statement
woc.ontology:IfThenElseStatement
A If-then-else statement
Loop Statement
woc.ontology:LoopStatement
A loop statement.
Annotation
woc.ontology:AnnotationType
An annotation
Modifiable
woc.ontology:Modifiable
An element that can have a modifier
Type Variable
woc.ontology:TypeVariable
A type variable is an unqualified identifier used as a type. It is introduced by the declaration of a generic class, interface, method, or constructor
Variable Declaration
woc.ontology:VariableDeclarationStatement
A statement that represents the declaration of a variable
Executable invocation expression
woc.ontology:ExecutableInvocationExpression
An invocation of either a method or a constructor.
Labeled Block
woc.ontology:LabeledBlock
A labeled block of code, namely a case-labeled block or a default-labeled block
Package
woc.ontology:Package
A Package
Wildcard
woc.ontology:Wildcard
A wildcard
Branching Statement
woc.ontology:BranchingStatement
A branching statement, namely a break statement, a continue statement or a return statement
Catch Block
woc.ontology:CatchBlock
A catch block
Control Flow Statement
woc.ontology:ControlFlowStatement
A control flow statement, that is a statement that regulates the order in which statements are executed. Control Flow Statements break up the flow of execution by employing decision making, looping, o
Enum
woc.ontology:Enum
An enumeration
Field
woc.ontology:Field
A class field
Modifier
woc.ontology:Modifier
A modifier
Parameterized Type
woc.ontology:ParameterizedType
A parameterized type is a particular parameterization of a generic type denoted by a specified list of type arguments
Array Type
woc.ontology:ArrayType
An array type
Assert Statement
woc.ontology:AssertStatement
An assert statement
Assignment Expression
woc.ontology:AssignmentExpression
An assignment expression. It involves one of the following operators: =, *=, /=, %=, +=, -=, <<=, >>=, >>>=, &=, ^=, |=
Constructor
woc.ontology:Constructor
A constructor of a Class
Decision Making Statement
woc.ontology:DecisionMakingStatement
A Decision Making Statement, that is a statement that break up the flow of execution by employing decision making. It can either be a if-then-else statement or a switch statement.
Declaration statement
woc.ontology:DeclarationStatement
A statement that holds a declaration
Do Statement
woc.ontology:DoStatement
A do-while statement
Finally Block
woc.ontology:FinallyBlock
A finally block
Library
woc.ontology:Library
A library
Local Variable
woc.ontology:LocalVariable
A local variable
Method Invocation Expression
woc.ontology:MethodInvocationExpression
A method call
Parameter
woc.ontology:Parameter
A formal parameter
Return Statement
woc.ontology:ReturnStatement
A return statement
Switch Statement
woc.ontology:SwitchStatement
A switch statement
Throw Statement
woc.ontology:ThrowStatement
A throw statement, that is a statement that causes an exception to be thrown
While Statement
woc.ontology:WhileStatement
A while statement
Actual Argument
woc.ontology:ActualArgument
The actual argument of a method
Break Statement
woc.ontology:BreakStatement
The BreakStatement class represents a break statement. The break statement has two forms: labeled and unlabeled. In case a break statement is labeled, the label is defined through the targetedLabel pr
Continue Statement
woc.ontology:ContinueStatement
A continue statement
ForEach Statement
woc.ontology:ForEachStatement
A for-each statement, also known as enhanced for statement
Type Argument
woc.ontology:TypeArgument
This class defines the actual type argument of a parameterized type
Access Modifier
woc.ontology:AccessModifier
An access modifier
Anonymous Class
woc.ontology:AnonymousClass
An anonymous class
Case Labeled Block
woc.ontology:CaseLabeledBlock
A case-labeled list of statements
Class Declaration Statement
woc.ontology:ClassDeclarationStatement
A statement that corresponds to the declaration of a local class
Class Instance Creation Expression
woc.ontology:ClassInstanceCreationExpression
An expression that creates a class instance, in other words a constructor call
Default Labeled Block
woc.ontology:DefaultLabeledBlock
A default-labeled block
Expression statement
woc.ontology:ExpressionStatement
An expression statement. that is a statement that wraps an expression
Field Declaration
woc.ontology:FieldDeclarationStatement
The declaration of a field
Gradle Project
woc.ontology:GradleProject
A gradle project
Local Variable Declaration Statement
woc.ontology:LocalVariableDeclarationStatement
A local variable declaration
Maven Project
woc.ontology:MavenProject
A maven project
Primitive Type
woc.ontology:PrimitiveType
A primitive type
Synchronized Statement
woc.ontology:SynchronizedStatement
A synchronized statement, that is a statement that acquires a mutual-exclusion lock on behalf of the executiing-thread, executes a block, then release the lock. In java it is of the form: synchronized
全部 100 个属性
术语原文定义
constructs
woc.ontology:constructs
The constructs property relates an executable to the classes it constructs.
declares
woc.ontology:declares
The declares property relates a code element to the elements it declares. For instance, a class is linked to its fields, methods and constructors.
extends
woc.ontology:extends
The extends property relates a class, an interface, a type variable or a wildacard to the types it extends.
has actual type argument
woc.ontology:hasActualTypeArgument
The hasActualTypeArgument property relates a parameterized type to each of its actual type arguments
has annotation
woc.ontology:hasAnnotation
The hasAnnotation property relates a code element to its annotations
has argument
woc.ontology:hasArgument
The hasArgument property relates an executable invocation to each of its actual arguments.
has assert expression
woc.ontology:hasAssertExpression
The hasAssertExpression property relates an assert statement to the boolean expression asserted to be true
has body
woc.ontology:hasBody
The hasBody property relates an executable or a statement to its body.
has catch clause
woc.ontology:hasCatchClause
The hasCatchClause property relates a try statement to the relative catch clauses.
has catch formal parameter
woc.ontology:hasCatchFormalParameter
The hasCatchFormalParameter property relates a catch clause to its formal parameters, namely the throwable objects it caughts
has condition
woc.ontology:hasCondition
The hasCondition property specifies a condition for a statement to be executed.
has constructor
woc.ontology:hasConstructor
The hasConstructor property relates a class to its constructors.
has declaration
woc.ontology:hasDeclaration
The hasDeclaration property relates a variable to the statement it was declared by.
has dependency
woc.ontology:hasDependency
The hasDependency property relates a project to its dependencies.
has else branch
woc.ontology:hasElseBranch
The hasElseBranch property relates a if-then-else statement to the statement in the else branch.
has field
woc.ontology:hasField
The hasField property relates a class to its fields
has finally clause
woc.ontology:hasFinallyClause
The hasFinallyClause property relates a try statemet to its finally clause.
has for init
woc.ontology:hasForInit
The hasForInit property relates a basic for statement to each statement expression executed as initialization code, before the first iteration step is performed
has for update
woc.ontology:hasForUpdate
The hasForUpdate property relates a basic for statement to each expression evaluated as update code at the end of every iteration
has formal type parameter
woc.ontology:hasFormalTypeParameter
The hasFormalTypeParameter property relates a class, an interface, an enumeration, a constructor or a method to the formal type parameters it declares
has generic type
woc.ontology:hasGenericType
The hasGenericType property relates a parameterized type to the generic type it is a parameterization of
has initializer
woc.ontology:hasInitializer
The hasInitializer property relates a variable declaration to the expression assigned to the declared variable
has left hand side
woc.ontology:hasLeftHandSide
The hasLeftHandSide property relates a assignement expression to the left hand side expression it contains
has method
woc.ontology:hasMethod
The ihasMehtod property relates a class to its methods.
has modifier
woc.ontology:hasModifier
The hasGenericType property relates a modifiable element to its modifiers
next
woc.ontology:hasNextStatement
The hasNextStatement property relates a statement to the next statement to be executed.
has package
woc.ontology:hasPackage
The hasPackage property relates a class, interface, enum or annotation to the package it is declared by.
has parameter
woc.ontology:hasParameter
The hasParameter property relates a constructor or a method to the formal parameters it declares
has previous statement
woc.ontology:hasPreviousStatement
The hasPreviousStatement property relates a statement to the previous one.
has project
woc.ontology:hasProject
The hasProject property relates a package to the project it belongs to.
has resource
woc.ontology:hasResource
The hasResource property relates a try statement to each local variable declared to act as resource for the try statement
has return type
woc.ontology:hasReturnType
The hasReturnType property relates a method to its return type.
has returned expression
woc.ontology:hasReturnedExpression
The hasReturnedExpression property relates a return statement to the returned expression
has subclass
woc.ontology:hasSubClass
The hasSubClass property relates a class to its direct sub-classes
has subexpression
woc.ontology:hasSubExpression
The hasSubExpression property relates a statement or expression to the expressions it contains.
has subproject
woc.ontology:hasSubProject
The hasSubProject property relates a project to its subprojects
has substatement
woc.ontology:hasSubStatement
The hasSubStatement property relates a statment to its sub-statements.
has super bound
woc.ontology:hasSuperBound
The hasSuperBound property relates a lower bounded wildcard to its bouds.
has switch label
woc.ontology:hasSwitchLabel
The hasSwitchLabel property relates a switch statement to its cases.
has target
woc.ontology:hasTarget
The hasTarget property relates a method invocation expression to its target.
has then branch
woc.ontology:hasThenBranch
The hasThenBranch property relates a if-then-else statement to the statement declared in the "then" branch
has thrown expression
woc.ontology:hasThrownExpression
The hasThrownExpression property relates a thrown statement to the expression it throws
has type
woc.ontology:hasType
The hasType property relates an expression, a variable or a method to its type.
has variable
woc.ontology:hasVariable
The hasVariable property relates a for-each statement to the local variable it declares.
implements
woc.ontology:implements
The implements property relates a class to each implemented interface.
invokes
woc.ontology:invokes
The invokes property relates a invocation expression to the invoked executable.
is annotation of
woc.ontology:isAnnotationOf
The isAnnotationOf property relates an annotation to the annotated code element.
is array of
woc.ontology:isArrayOf
The isArrayOf property relates an arrray to the type of its elements at the finest grain. For instance, an array of type "int[][][]" is linked to the type "int". The number of dimensions of the array
is subexpression of
woc.ontology:isAssertExpressionOf
The isAssertExpressionOf property relates a boolean expression to the assert statement it is contained in.
is body of
woc.ontology:isBodyOf
The isBodyOf property relates a block to the exexcutable or statement it is the body of.
is catch clause of
woc.ontology:isCatchClauseOf
The isCatchClauseOf property relates a catch clause to the corresponding try statement.
is condition of
woc.ontology:isConditionOf
The isConditionOf property relates a if-then-else statement or a loop to its condition.
is constructed by
woc.ontology:isConstructedBy
The isConstructedBy property relates a class to the executables that instantiates objects of that class.
is constructor of
woc.ontology:isConstructorOf
The isConstructorOf property relates a constructor to the class it is declared by.
is declared by
woc.ontology:isDeclaredBy
The isDeclaredBy property relates a code element to the element it is declared by.
is dependency of
woc.ontology:isDependencyOf
The isDependencyOf property relates a library to the projects that depend on this library.
is else branch of
woc.ontology:isElseBranchOf
The isElseBranchOf property relates the statement in an else branch to the corresponding If-then-else statement
is field of
woc.ontology:isFieldOf
The isFieldOf property relates a field to the class, interface or enum it is declared by.
is finally clause of
woc.ontology:isFinallyClauseOf
The isFinallyClauseOf property relates the statement enclosed in a finally clause to the corresponding try statement.
is for init of
woc.ontology:isForInitOf
The isForInitOf property relates an expression executed as initialization code of a basic for statement to the relative for statement.
is for update of
woc.ontology:isForUpdateOf
The isForUpdateOf property relates an expression evaluated as update code of a for statement at the end of every iteration, to the corresponding for statement.
is implemented by
woc.ontology:isImplementedBy
The isImplementedBy property relates an interface to the classes implementig that interface
is initializer of
woc.ontology:isInitializerOf
The isInitializerOf property relates an expression used to initialize a variable, to the statement it is contained in.
is left hand side of
woc.ontology:isLeftHandSideOf
The isLeftHandSideOf property relates an expression that is used as left hand side expression of an assignemnt, to the corresponding assignment expression
is method of
woc.ontology:isMethodOf
The isMethodOf property relates a method to the class, enum or interface it is declared by.
is modifier of
woc.ontology:isModifierOf
The isModifierOf property relates a modifier to the corresponding modifiable element.
is overridden by
woc.ontology:isOverriddenBy
The isOverridenBy property relates a method to the ones it is overridden by.
is package of
woc.ontology:isPackageOf
The isPackageOf property relates a package to the types it declares.
is parameter of
woc.ontology:isParameterOf
The isParameterOf property relates a parameter to the corresponding executable.
is project of
woc.ontology:isProjectOf
The isProjectOf property relates a project to the packages it contains.
is referenced by
woc.ontology:isReferencedBy
The isReferencedBy property relates a code element to the elements it is referenced by.
is return type of
woc.ontology:isReturnTypeOf
The isReturnTypeOf property relates a type to the methods that return objects of that type.
is returned by
woc.ontology:isReturnedBy
The isReturnedBy property relates a variable to the methods that return that variable.
is returned expression of
woc.ontology:isReturnedExpressionOf
The isReturnedExpressionOf property relates an expression returned by a method to the return statement it is contained in.
is subexpression of
woc.ontology:isSubExpressionOf
The isSubExpressionOf property relates an expression to its parent expression.
is subproject of
woc.ontology:isSubProjectOf
The isSubProjectOf property relates a project to its parent project.
is substatement of
woc.ontology:isSubStatementOf
The isSubStatementOf property relates a statement to the method, constructor or statement it is contained in.
is switch label of
woc.ontology:isSwitchLabelOf
The isSwitchLabelOf property relates a case labeled block or a default block to the corresponding switch statement.
is target of
woc.ontology:isTargetOf
The isTargetOf property relates an expression used as target of a method invocation, to the corresponding method invocation.
is then branch of
woc.ontology:isThenBranchOf
The isThenBranchOf property relates a statement enclosed in a then branch to the corresponding If-then-else statement
is thrown by
woc.ontology:isThrownBy
The isThrownBy property relates an exception to the executables it is thrown by.
is thrown expression of
woc.ontology:isThrownExpressionOf
The isThrownExpressionOf property relates a thrown expression, to the throw statement it is contained in.
is type of
woc.ontology:isTypeOf
The isTypeOf property relates a type to the elements of that type.
overrides
woc.ontology:overrides
The overrides property relates a method to the method it overrides.
references
woc.ontology:references
The references property relates a method or a constructor to the types, methods, constructors and fields it references.
returns
woc.ontology:returns
The returns property relates a method to the variable it returns, if any.
throws
woc.ontology:throws
The throws property relates a method or a constructor to the exceptions it declares to throw.
build file
woc.ontology:hasBuildFile
Links a project to the content of its build file.
has canonical name
woc.ontology:hasCanonicalName
Links a class, enum or interface to its canonical name. For instance, the class Java.lang.String is linked to the string "java.lang.string"
dimensions
woc.ontology:hasDimensions
Links an array to the number of its dimensions. As an example, an array of type "int[][][]" has a dimensions count of 3
end line
woc.ontology:hasEndLine
Links a statement to the number of the last line it covers
label
woc.ontology:hasLabel
Links a labeled statement to its label
line
woc.ontology:hasLine
Links a statement to the line it starts in
name
woc.ontology:hasName
Links a element to its name
position
woc.ontology:hasPosition
Links a element to its position
has return description
woc.ontology:hasReturnDescription
the hasReturnDescriptionProperty relates a method to a description of its return value
has simple name
woc.ontology:hasSimpleName
Links a class, enum or interface to its simple name. For instance, the simple name of the class java.lang.String is "String"
source code
woc.ontology:hasSourceCode
Links a element to its source code
targeted label
woc.ontology:hasTargetedLabel
Links a break statement or a continue statement to the label it targets, if any
is var args
woc.ontology:isVarArgs
True if an executable accepts a variable number of parameters, false otherwise

关联

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

此本体所依托的本体 3

依托此本体的本体 0

无

rdfxkosxsdgithub.com/codeontology/p…spinshwf-invocspsqlwoc.ontology

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

查看依据表(3 行)
方向本体关系依据
本项 → 对方The RDF Concepts Vocabulary复用术语 (4 个术语)定义文件
type, first, rest
本项 → 对方XKOS复用术语 (6 个术语)定义文件
hasPart, specializes, next
本项 → 对方XML Schema复用术语 (3 个术语)定义文件
string, int, boolean

相似候选

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

相似本体

论文与标准

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

文件与代码仓库

检查记录

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

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

定义文件检查
文件已解析
检查时间
2026年11月30日 UTC
格式
RDF/XML
解析器
rdfxml-streaming-parser
大小
141,681 B
SHA-256
7772aec91d0a0be79b633668795fe3a3984c4d76d9a9880af283b2fdd4472fac

此资源的 Bioregistry 页面