-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
70 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
s-pipes-core/src/main/java/cz/cvut/spipes/constants/KBSS_CSVW.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
package cz.cvut.spipes.constants; | ||
|
||
import org.apache.jena.rdf.model.Property; | ||
import org.apache.jena.rdf.model.Resource; | ||
import org.apache.jena.rdf.model.ResourceFactory; | ||
|
||
public class KBSS_CSVW { | ||
|
||
private KBSS_CSVW() { | ||
} | ||
|
||
/** | ||
* The namespace of the vocabulary as a string | ||
*/ | ||
public static final String uri = "https://onto.fel.cvut.cz/ontologies/extension/csvw"; | ||
|
||
protected static Resource resource(String local ) | ||
{ return ResourceFactory.createResource( uri + local ); } | ||
|
||
protected static Property property(String local ) | ||
{ return ResourceFactory.createProperty( uri, local ); } | ||
|
||
public static final String propertyUri = uri + "propertyUri"; | ||
|
||
public static final Property property = ResourceFactory.createProperty(propertyUri); | ||
|
||
/** | ||
returns the URI for this schema | ||
@return the URI for this schema | ||
*/ | ||
public static String getURI() { | ||
return uri; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters