You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2016/07/14 13:56:20 UTC
[04/10] jena git commit: Added ROV Signed-off-by:Bart Hanssens
Added ROV
Signed-off-by:Bart Hanssens <ba...@fedict.be>
Project: http://git-wip-us.apache.org/repos/asf/jena/repo
Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/f831a2ef
Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/f831a2ef
Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/f831a2ef
Branch: refs/heads/master
Commit: f831a2ef526676f8d04458e625c058f406385588
Parents: 3714e41
Author: Bart Hanssens <ba...@fedict.be>
Authored: Wed Jul 6 10:56:37 2016 +0100
Committer: Bart Hanssens <ba...@fedict.be>
Committed: Wed Jul 6 10:56:37 2016 +0100
----------------------------------------------------------------------
.../java/org/apache/jena/vocabulary/ROV.java | 55 ++++++++++++++++++++
1 file changed, 55 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/jena/blob/f831a2ef/jena-core/src/main/java/org/apache/jena/vocabulary/ROV.java
----------------------------------------------------------------------
diff --git a/jena-core/src/main/java/org/apache/jena/vocabulary/ROV.java b/jena-core/src/main/java/org/apache/jena/vocabulary/ROV.java
new file mode 100644
index 0000000..c48f97b
--- /dev/null
+++ b/jena-core/src/main/java/org/apache/jena/vocabulary/ROV.java
@@ -0,0 +1,55 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.jena.vocabulary;
+
+import org.apache.jena.rdf.model.Model;
+import org.apache.jena.rdf.model.ModelFactory;
+import org.apache.jena.rdf.model.Property;
+import org.apache.jena.rdf.model.Resource;
+
+/**
+ * Constants for the W3C Registered Organization Vocabulary.
+ *
+ * @see <a href="https://www.w3.org/TR/vocab-regorg/">Registered Organization Vocabulary</a>
+ */
+public class ROV {
+ private static final Model m = ModelFactory.createDefaultModel();
+
+ public static final String NS = "http://www.w3.org/ns/regorg#";
+ public static final Resource NAMESPACE = m.createResource(NS);
+
+ /**
+ * Returns the URI for this schema
+ * @return URI
+ */
+ public static String getURI() {
+ return NS;
+ }
+
+ // Classes
+ public static final Resource RegisteredOrganization = m.createResource(NS + "RegisteredOrganization");
+
+ // Properties
+ public static final Property hasRegisteredOrganization = m.createProperty(NS + "hasRegisteredOrganization");
+ public static final Property legalName = m.createProperty(NS + "legalName");
+ public static final Property orgActivity = m.createProperty(NS + "orgActivity");
+ public static final Property orgStatus = m.createProperty(NS + "orgStatus");
+ public static final Property orgType = m.createProperty(NS + "orgType");
+ public static final Property registration = m.createProperty(NS + "registration");
+}