Constructor and Description |
---|
FoxJena() |
FoxJena(org.apache.jena.rdf.model.Model graph) |
Modifier and Type | Method and Description |
---|---|
Set<String> |
_addRelations(Set<Relation> relations,
org.apache.jena.rdf.model.Model graph)
Expects NE resources used in relations been already added to the graph.
|
protected void |
addActivity(Set<String> uris,
String start,
String end,
org.apache.jena.rdf.model.Property propertyActivity,
String toolUri)
Adds an activity.
|
void |
addEntities(Set<Entity> entities,
String start,
String end,
String toolName,
String version)
Entities from an activity.
|
void |
addInput(String input,
String uri)
Creates document uri
createDocUri(String, int, int) for the input and adds a
resource with the uri and input to the graph. |
void |
addRelations(Set<Relation> relations,
String start,
String end,
String toolName,
String version) |
protected String |
addSoftwareAgent(String toolName,
String version)
Adds an agent and returns it's uri.
|
String |
createDocUri(String baseuri,
int start,
int end) |
String |
getDefaultDocumentURI() |
static void |
main(String[] args) |
public FoxJena()
public FoxJena(org.apache.jena.rdf.model.Model graph)
public static void main(String[] args)
protected String addSoftwareAgent(String toolName, String version)
name
- verion
- protected void addActivity(Set<String> uris, String start, String end, org.apache.jena.rdf.model.Property propertyActivity, String toolUri)
uris
- URIs the activity generatedstart
- time the activity startedend
- time the activity endedpropertyActivity
- the Property for the activitytoolUri
- URI the activity usedpublic void addEntities(Set<Entity> entities, String start, String end, String toolName, String version)
addEntities
in interface IFoxJena
public void addRelations(Set<Relation> relations, String start, String end, String toolName, String version)
addRelations
in interface IFoxJena
public Set<String> _addRelations(Set<Relation> relations, org.apache.jena.rdf.model.Model graph)
relations
- public void addInput(String input, String uri)
createDocUri(String, int, int)
for the input and adds a
resource with the uri and input to the graph.public String getDefaultDocumentURI()
Copyright © 2024. All rights reserved.