Skip to content

Commit

Permalink
GH-5135 add NS to vocabulary files where NS was missing
Browse files Browse the repository at this point in the history
  • Loading branch information
hmottestad committed Sep 24, 2024
1 parent 7efff29 commit 851c9ca
Show file tree
Hide file tree
Showing 10 changed files with 32 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
package org.eclipse.rdf4j.model.vocabulary;

import org.eclipse.rdf4j.model.IRI;
import org.eclipse.rdf4j.model.Namespace;

/**
* http://jena.hpl.hp.com/ARQ/function#.
Expand All @@ -27,6 +28,8 @@ private AFN() {

public static final String PREFIX = "afn";

public static final Namespace NS = Vocabularies.createNamespace(PREFIX, NAMESPACE);

/**
* http://jena.hpl.hp.com/ARQ/function#localname The LocalName QueryModelNode as a SPARQL function.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
package org.eclipse.rdf4j.model.vocabulary;

import org.eclipse.rdf4j.model.IRI;
import org.eclipse.rdf4j.model.Namespace;

/**
* http://jena.hpl.hp.com/ARQ/property#.
Expand All @@ -27,6 +28,8 @@ private APF() {

public static final String PREFIX = "apf";

public static final Namespace NS = Vocabularies.createNamespace(PREFIX, NAMESPACE);

public static final IRI STR_SPLIT;

public static final IRI CONCAT;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
package org.eclipse.rdf4j.model.vocabulary;

import org.eclipse.rdf4j.model.IRI;
import org.eclipse.rdf4j.model.Namespace;

/**
* Constants for EARL primitives and for the EARL namespace.
Expand All @@ -27,6 +28,8 @@ public class EARL {
*/
public static final String PREFIX = "earl";

public static final Namespace NS = Vocabularies.createNamespace(PREFIX, NAMESPACE);

public final static IRI ASSERTOR;

public final static IRI ASSERTION;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
package org.eclipse.rdf4j.model.vocabulary;

import org.eclipse.rdf4j.model.IRI;
import org.eclipse.rdf4j.model.Namespace;

/**
* @see <a href=
Expand All @@ -20,6 +21,10 @@ public class GEOF {

public static final String NAMESPACE = "http://www.opengis.net/def/function/geosparql/";

public static final String PREFIX = "geof";

public static final Namespace NS = Vocabularies.createNamespace(PREFIX, NAMESPACE);

public static final IRI DISTANCE;

public static final IRI BUFFER;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
package org.eclipse.rdf4j.model.vocabulary;

import org.eclipse.rdf4j.model.IRI;
import org.eclipse.rdf4j.model.Namespace;

/**
* http://jena.hpl.hp.com/ARQ/list#.
Expand All @@ -27,6 +28,8 @@ private LIST() {

public static final String PREFIX = "list";

public static final Namespace NS = Vocabularies.createNamespace(PREFIX, NAMESPACE);

public static final IRI MEMBER;

public static final IRI INDEX;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
package org.eclipse.rdf4j.model.vocabulary;

import org.eclipse.rdf4j.model.IRI;
import org.eclipse.rdf4j.model.Namespace;

/**
* @version 1.4.0
Expand All @@ -25,6 +26,8 @@ public class SP {

public static final String PREFIX = "sp";

public static final Namespace NS = Vocabularies.createNamespace(PREFIX, NAMESPACE);

/**
* http://spinrdf.org/sp#Path The base class of SPARQL property path expressions. Paths are used by sp:TriplePath
* triple paths.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
package org.eclipse.rdf4j.model.vocabulary;

import org.eclipse.rdf4j.model.IRI;
import org.eclipse.rdf4j.model.Namespace;

/**
* http://spinrdf.org/spif#.
Expand All @@ -27,6 +28,8 @@ private SPIF() {

public static final String PREFIX = "spif";

public static final Namespace NS = Vocabularies.createNamespace(PREFIX, NAMESPACE);

public static final IRI MOD_FUNCTION;

public static final IRI PARSE_DATE_FUNCTION;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
package org.eclipse.rdf4j.model.vocabulary;

import org.eclipse.rdf4j.model.IRI;
import org.eclipse.rdf4j.model.Namespace;

/**
* @version 1.4.0
Expand All @@ -25,6 +26,8 @@ public class SPIN {

public static final String PREFIX = "spin";

public static final Namespace NS = Vocabularies.createNamespace(PREFIX, NAMESPACE);

/**
* http://spinrdf.org/spin#Function Metaclass for functions that can be used in SPARQL expressions (e.g. FILTER or
* BIND). The function themselves are classes that are instances of this metaclass. Function calls are instances of
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
package org.eclipse.rdf4j.model.vocabulary;

import org.eclipse.rdf4j.model.IRI;
import org.eclipse.rdf4j.model.Namespace;

/**
* http://spinrdf.org/spinx#.
Expand All @@ -27,6 +28,8 @@ private SPINX() {

public static final String PREFIX = "spinx";

public static final Namespace NS = Vocabularies.createNamespace(PREFIX, NAMESPACE);

public static final IRI JAVA_SCRIPT_CODE_PROPERTY;

public static final IRI JAVA_SCRIPT_FILE_PROPERTY;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
package org.eclipse.rdf4j.model.vocabulary;

import org.eclipse.rdf4j.model.IRI;
import org.eclipse.rdf4j.model.Namespace;

/**
* SPIN Standard Module library.
Expand All @@ -27,6 +28,8 @@ private SPL() {

public static final String PREFIX = "spl";

public static final Namespace NS = Vocabularies.createNamespace(PREFIX, NAMESPACE);

/**
* http://spinrdf.org/spl#Argument Provides metadata about an argument of a SPIN Function or Template.
*/
Expand Down

0 comments on commit 851c9ca

Please sign in to comment.