diff --git a/src/main/resources/framework-configuration-template.ttl b/src/main/resources/framework-configuration-template.ttl index 0239eac..c1e0ff6 100644 --- a/src/main/resources/framework-configuration-template.ttl +++ b/src/main/resources/framework-configuration-template.ttl @@ -11,7 +11,7 @@ @prefix void: . @prefix xsd: . @prefix foaf: . -@prefix gkg: . +@prefix gkg: . ########### ABOUT THIS FILE ############################################################# @@ -24,12 +24,12 @@ :GeoKnowGenerator a lds:StackComponent ; rdfs:comment "This resource contains all the configuration required by the application"^^xsd:string ; - rdfs:label "GeoKnowGeneator"^^xsd:string ; + rdfs:label "LDWorkbench"^^xsd:string ; # DO NOT CHANGE THIS LABEL dcterms:hasVersion "2.0"^^xsd:string ; + lds:integrates :Virtuoso, :Facete, :Limes, :Sparqlify, :TripleGeo, :GeoLift, :OntoWiki, :Mappify, :FagiGis ; gkg:publicEndpoint :VirtuosoEndpoint ; gkg:authEndpoint :VirtuosoAuthSPARQLEndpoint ; - lds:integrates :Virtuoso ; - foaf:homepage . # require IP for external access + foaf:homepage . :Virtuoso a lds:StackComponent ; @@ -40,24 +40,24 @@ :VirtuosoConductor a lds:StorageService ; - lds:password "***REMOVED***"^^xsd:string ; - lds:serviceUrl ; - lds:connectionString "jdbc:virtuoso://***REMOVED***:1111/"^^xsd:string; - lds:user "***REMOVED***"^^xsd:string . + lds:password "dba"^^xsd:string ; + lds:serviceUrl ; + lds:connectionString "jdbc:virtuoso://localhost:1111/"^^xsd:string; + lds:user "dba"^^xsd:string . :VirtuosoAuthSPARQLEndpoint a lds:SecuredSPARQLEndPointService, void:Dataset , gkg:SPARQLEndpoint , gkg:DataSource ; rdfs:label "Workbench Authenticated Endpoint" ; - lds:password "***REMOVED***"^^xsd:string ; - void:sparqlEndpoint ; - lds:serviceUrl ; - lds:user "***REMOVED***"^^xsd:string . + lds:password "generator"^^xsd:string ; + lds:serviceUrl ; + void:sparqlEndpoint ; + lds:user "generator"^^xsd:string . :VirtuosoEndpoint a lds:SPARQLEndPointService, void:Dataset , gkg:SPARQLEndpoint , gkg:DataSource ; rdfs:label "Workbench public Endpoint" ; - lds:serviceUrl ; - void:sparqlEndpoint . + lds:serviceUrl ; + void:sparqlEndpoint . # ####################################################################################### @@ -75,11 +75,11 @@ rdfs:label "Default dataset"; dcterms:description "This is the endpoint default dataset"^^xsd:string; sd:defaultGraph :defaultNamedGraph; - sd:namedGraph :settingsNamedGraph, :initialSettingsNamedGraph, :accountsNamedGraph, :groupsNamedGraph, :jobsNamedGraph, :sessionsNamedGraph + sd:namedGraph :settingsNamedGraph, :initialSettingsNamedGraph, :accountsNamedGraph, :groupsNamedGraph, :jobsGraph, :sessionsGraph . :defaultNamedGraph - sd:name ; + sd:name ; sd:graph [ a sd:Graph, void:Dataset; rdfs:label "default"^^xsd:string; @@ -96,7 +96,7 @@ dcterms:description "GeoKnow Generator settings and configurations"^^xsd:string; dcterms:modified "2013-09-12"^^xsd:date; dcterms:created "2013-09-12"^^xsd:date; - void:sparqlEndpoint ] + void:sparqlEndpoint ] . :initialSettingsNamedGraph @@ -108,7 +108,7 @@ dcterms:description "Initial configuration of components in the framework"^^xsd:string; dcterms:modified "2013-09-12"^^xsd:date; dcterms:created "2013-09-12"^^xsd:date; - void:sparqlEndpoint ] + void:sparqlEndpoint ] . :accountsNamedGraph @@ -120,22 +120,10 @@ dcterms:description "A graph to store the users accounts"^^xsd:string; dcterms:modified "2014-04-12"^^xsd:date; dcterms:created "2014-04-12"^^xsd:date; - void:sparqlEndpoint ] + void:sparqlEndpoint ] . -:groupsNamedGraph - a sd:NamedGraph ; - sd:name :groupsGraph; - sd:graph [ - a sd:Graph, void:Dataset; - rdfs:label "groups"^^xsd:string; - dcterms:description "A graph for groups of graphs"^^xsd:string; - dcterms:modified "2014-04-12"^^xsd:date; - dcterms:created "2014-04-12"^^xsd:date; - void:sparqlEndpoint ] - . - -:jobsNamedGraph +:jobsGraph a sd:NamedGraph ; sd:name :jobsGraph; sd:graph [ @@ -144,10 +132,10 @@ dcterms:description "Graph to store batch jobs owners"^^xsd:string; dcterms:modified "2014-10-12"^^xsd:date; dcterms:created "2014-10-12"^^xsd:date; - void:sparqlEndpoint ] + void:sparqlEndpoint ] . -:sessionsNamedGraph +:sessionsGraph a sd:NamedGraph ; sd:name :sessionsGraph; sd:graph [ @@ -156,14 +144,35 @@ dcterms:description "Graph to store authorised sessions"^^xsd:string; dcterms:modified "2014-11-12"^^xsd:date; dcterms:created "2014-11-12"^^xsd:date; - void:sparqlEndpoint ] + void:sparqlEndpoint ] + . + +:groupsNamedGraph + a sd:NamedGraph ; + sd:name :groupsGraph; + sd:graph [ + a sd:Graph, void:Dataset; + rdfs:label "groups"^^xsd:string; + dcterms:description "A graph for groups of graphs"^^xsd:string; + dcterms:modified "2014-04-12"^^xsd:date; + dcterms:created "2014-04-12"^^xsd:date; + void:sparqlEndpoint ] + . + +:test + a gkg:Account; + foaf:accountName "test"^^xsd:string; + lds:password "test"^^xsd:string; + foaf:mbox ; + gkg:Role gkg:Administrator . :admin a gkg:Account; foaf:accountName "admin"^^xsd:string; lds:password "admin"^^xsd:string; - foaf:mbox ; - gkg:Role gkg:Administrator. + foaf:mbox ; + gkg:Role gkg:Administrator + .