Commit 08a43c9a authored by Jay Jay Billings's avatar Jay Jay Billings
Browse files

Renamed data OWL file. Added workflows project.



Handled a file clean up and rename. Also added the workflow project
stub.
Signed-off-by: default avatarJay Jay Billings <billingsjj@ornl.gov>
parent 10cb55fa
......@@ -37,7 +37,7 @@ public class ICEModelFactory {
* factory.
*/
public ICEModelFactory() {
Model baseModel = FileManager.get().loadModel("data/ice-owl.ttl", null, "TURTLE");
Model baseModel = FileManager.get().loadModel("data/org.eclipse.ice.data.owl.ttl", null, "TURTLE");
// No need for an inferencer... yet.
iceOntModel = ModelFactory.createOntologyModel(OntModelSpec.OWL_MEM, baseModel);
}
......
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix dc11: <http://purl.org/dc/elements/1.1/> .
@prefix co: <http://purl.org/co> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix ice: <https://www.eclipse.org/ice#> .
<https://www.eclipse.org/ice#Identifiable>
a owl:Class ;
rdfs:comment """This class describes objects that
are identifiable to ICE."""@en ;
rdfs:label "Identifiable"@en ;
rdfs:subClassOf owl:Thing .
<https://www.eclipse.org/ice#context>
a owl:ObjectProperty ;
rdfs:comment """The context can be thought of as
an additional clue that can be provided with the object to allow
clients to interpret its contents in a slightly different way."""@en ;
rdfs:domain <https://www.eclipse.org/ice#Identifiable> ;
rdfs:label "context"@en ;
rdfs:range owl:AnnotationProperty .
<https://www.eclipse.org/ice#identifier>
a owl:ObjectProperty ;
rdfs:comment """A unique identifier for the
object."""@en ;
rdfs:domain <https://www.eclipse.org/ice#Identifiable> ;
rdfs:label "id"@en ;
rdfs:range xsd:long .
<https://www.eclipse.org/ice#name>
a owl:ObjectProperty ;
rdfs:comment """The name that should be given to
the Identifiable entity."""@en ;
rdfs:domain <https://www.eclipse.org/ice#Identifiable> ;
rdfs:label "name"@en ;
rdfs:range xsd:string .
<https://www.eclipse.org/ice#desc>
a owl:ObjectProperty ;
rdfs:comment """The description that should be
given to the Identifiable entity."""@en ;
rdfs:domain <https://www.eclipse.org/ice#Identifiable> ;
rdfs:label "description"@en ;
rdfs:range xsd:string .
<https://www.eclipse.org/ice#Component>
a owl:Class ;
rdfs:comment """Components are special types of
Identifiables that manage or share data, and which act as nodes in
the Form (a tree)."""@en ;
rdfs:label "Component"@en ;
rdfs:subClassOf <https://www.eclipse.org/ice#Identifiable> .
<https://www.eclipse.org/ice#Composite>
a owl:Class ;
rdfs:comment """Composites hold collections of
Components to store data and are the root and parent nodes in the
Form data tree."""@en ;
rdfs:label "Composite"@en ;
rdfs:subClassOf <https://www.eclipse.org/ice#Component> .
<https://www.eclipse.org/ice#ComponentList>
a owl:Class ;
rdfs:comment """The list of components associated
with the composite."""@en ;
rdfs:label "ComponentList"@en ;
rdfs:subClassOf <http://purl.org/co#Set>.
<https://www.eclipse.org/ice#ComponentListShape>
a sh:NodeShape ;
sh:targetClass <https://www.eclipse.org/ice#ComponentList> ;
sh:property [
sh:path co:element ;
sh:class <https://www.eclipse.org/ice#Component> ;
sh:nodeKind sh:IRI ;
] ;
sh:closed true ;
sh:ignoredProperties (rdf:type) .
<https://www.eclipse.org/ice#componentListProperty>
a owl:ObjectProperty ;
rdfs:comment """The link between the Composite and
ComponentList."""@en ;
rdfs:domain <https://www.eclipse.org/ice#Composite> ;
rdfs:label "componentListProperty"@en ;
rdfs:range <https://www.eclipse.org/ice#ComponentList> .
[]
a owl:Ontology ;
owl:versionInfo "1.0"^^xsd:string ;
dc11:date "January 19, 2019"^^xsd:string ;
dc11:contributor "Jay Jay Billings"^^xsd:string ;
dc11:format "application/rdf+xml"^^xsd:string ;
dc11:language "en" ;
dc11:title """The Eclipse Integrated Environment Data
Ontology"""@en ;
dc11:creator <https://www.eclipse.org/ice> ;
owl:imports <http://www.w3.org/2004/02/skos/core>, <http://purl.org/co> .
......@@ -49,7 +49,7 @@ public class ComponentBuilderTest {
@BeforeClass
public static void setUpBeforeClass() throws Exception {
// Load the ontology
Model baseModel = FileManager.get().loadModel("data/ice-owl.ttl", null, "TURTLE");
Model baseModel = FileManager.get().loadModel("data/org.eclipse.ice.data.owl.ttl", null, "TURTLE");
// No need for a complicated inferencer
ICEOntModel = ModelFactory.createOntologyModel(OntModelSpec.OWL_MEM, baseModel);
// Setup the builder that is used for *all* the tests. Note that the ontology is
......
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src/main/resources"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="target/classes"/>
</classpath>
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.eclipse.ice.workflow</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.8
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
org.eclipse.jdt.core.compiler.release=disabled
org.eclipse.jdt.core.compiler.source=1.8
activeProfiles=
eclipse.preferences.version=1
resolveWorkspaceProjects=true
version=1
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.eclipse.ice</groupId>
<artifactId>org.eclipse.ice.workflow</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>org.eclipse.ice.workflow</name>
<build>
<sourceDirectory>src</sourceDirectory>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
</plugins>
</build>
</project>
\ No newline at end of file
Manifest-Version: 1.0
Built-By: bkj
Build-Jdk: 11.0.2
Created-By: Maven Integration for Eclipse
#Generated by Maven Integration for Eclipse
#Tue Mar 26 13:00:14 EDT 2019
m2e.projectLocation=/home/bkj/ICEIII/workspace/org.eclipse.ice.workflow
m2e.projectName=org.eclipse.ice.workflow
groupId=org.eclipse.ice
artifactId=org.eclipse.ice.workflow
version=0.0.1-SNAPSHOT
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.eclipse.ice</groupId>
<artifactId>org.eclipse.ice.workflow</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>org.eclipse.ice.workflow</name>
<build>
<sourceDirectory>src</sourceDirectory>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
</plugins>
</build>
</project>
\ No newline at end of file
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix dc11: <http://purl.org/dc/elements/1.1/> .
@prefix co: <http://purl.org/co> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix ex: <http://example.com/ns#> .
@prefix ice: <https://www.eclipse.org/ice#> .
<https://www.eclipse.org/ice#Identifiable>
a owl:Class ;
rdfs:comment """This class describes objects that
are identifiable to ICE."""@en ;
rdfs:label "Identifiable"@en ;
rdfs:subClassOf owl:Thing .
<https://www.eclipse.org/ice#context>
a owl:ObjectProperty ;
rdfs:comment """The context can be thought of as
an additional clue that can be provided with the object to allow
clients to interpret its contents in a slightly different way."""@en ;
rdfs:domain <https://www.eclipse.org/ice#Identifiable> ;
rdfs:label "context"@en ;
rdfs:range owl:AnnotationProperty .
<https://www.eclipse.org/ice#identifier>
a owl:ObjectProperty ;
rdfs:comment """A unique identifier for the
object."""@en ;
rdfs:domain <https://www.eclipse.org/ice#Identifiable> ;
rdfs:label "id"@en ;
rdfs:range xsd:long .
<https://www.eclipse.org/ice#name>
a owl:ObjectProperty ;
rdfs:comment """The name that should be given to
the Identifiable entity."""@en ;
rdfs:domain <https://www.eclipse.org/ice#Identifiable> ;
rdfs:label "name"@en ;
rdfs:range xsd:string .
<https://www.eclipse.org/ice#desc>
a owl:ObjectProperty ;
rdfs:comment """The description that should be
given to the Identifiable entity."""@en ;
rdfs:domain <https://www.eclipse.org/ice#Identifiable> ;
rdfs:label "description"@en ;
rdfs:range xsd:string .
<https://www.eclipse.org/ice#Component>
a owl:Class ;
rdfs:comment """Components are special types of
Identifiables that manage or share data, and which act as nodes in
the Form (a tree)."""@en ;
rdfs:label "Component"@en ;
rdfs:subClassOf <https://www.eclipse.org/ice#Identifiable> .
<https://www.eclipse.org/ice#Composite>
a owl:Class ;
rdfs:comment """Composites hold collections of
Components to store data and are the root and parent nodes in the
Form data tree."""@en ;
rdfs:label "Composite"@en ;
rdfs:subClassOf <https://www.eclipse.org/ice#Component> .
<https://www.eclipse.org/ice#ComponentList>
a owl:Class ;
rdfs:comment """The list of components associated
with the composite."""@en ;
rdfs:label "ComponentList"@en ;
rdfs:subClassOf <http://purl.org/co#Set>.
<https://www.eclipse.org/ice#ComponentListShape>
a sh:NodeShape ;
sh:targetClass <https://www.eclipse.org/ice#ComponentList> ;
sh:property [
sh:path co:element ;
sh:class <https://www.eclipse.org/ice#Component> ;
sh:nodeKind sh:IRI ;
] ;
sh:closed true ;
sh:ignoredProperties (rdf:type) .
<https://www.eclipse.org/ice#componentListProperty>
a owl:ObjectProperty ;
rdfs:comment """The link between the Composite and
ComponentList."""@en ;
rdfs:domain <https://www.eclipse.org/ice#Composite> ;
rdfs:label "componentListProperty"@en ;
rdfs:range <https://www.eclipse.org/ice#ComponentList> .
[]
a owl:Ontology ;
owl:versionInfo "1.0"^^xsd:string ;
dc11:date "January 19, 2019"^^xsd:string ;
dc11:contributor "Jay Jay Billings"^^xsd:string ;
dc11:format "application/rdf+xml"^^xsd:string ;
dc11:language "en" ;
dc11:title """The Eclipse Integrated Environment Data
Ontology"""@en ;
dc11:creator <https://www.eclipse.org/ice> ;
owl:imports <http://www.w3.org/2004/02/skos/core>, <http://purl.org/co> .
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment