forked from semiodesk/trinity-rdf
-
Notifications
You must be signed in to change notification settings - Fork 0
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
25 changed files
with
367 additions
and
18 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
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,20 @@ | ||
**/.dockerignore | ||
**/.env | ||
**/.git | ||
**/.gitignore | ||
**/.vs | ||
**/.vscode | ||
**/*.*proj.user | ||
**/azds.yaml | ||
**/charts | ||
**/bin | ||
**/obj | ||
**/Dockerfile | ||
**/docker-compose.yml | ||
**/docker-compose.*.yml | ||
**/*.dbmdl | ||
**/*.jfm | ||
**/secrets.dev.yaml | ||
**/values.dev.yaml | ||
**/.toolstarget | ||
**/node_modules/** |
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
FROM mcr.microsoft.com/dotnet/core/aspnet:3.1 AS base | ||
WORKDIR /app | ||
EXPOSE 80 | ||
EXPOSE 443 | ||
|
||
FROM mcr.microsoft.com/dotnet/core/sdk:3.1 AS build | ||
WORKDIR /src | ||
COPY [".", "./core-example"] | ||
WORKDIR /src/core-example | ||
RUN dotnet publish "core-example.csproj" -v n --configuration Release -o /app | ||
COPY wait-for-it.sh /app | ||
COPY Ontologies /app/ontologies | ||
|
||
|
||
FROM base AS final | ||
COPY --from=build /app . | ||
WORKDIR /app | ||
ENTRYPOINT ["dotnet", "core-example.dll"] |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...t Core Example/Ontologies/Ontologies.g.cs → ...s/core-example/Ontologies/Ontologies.g.cs
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
File renamed without changes.
File renamed without changes.
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,109 @@ | ||
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
@prefix dc: <http://purl.org/dc/elements/1.1/> . | ||
|
||
<http://www.w3.org/2000/01/rdf-schema#> a owl:Ontology ; | ||
dc:title "The RDF Schema vocabulary (RDFS)" . | ||
|
||
rdfs:Resource a rdfs:Class ; | ||
rdfs:isDefinedBy <http://www.w3.org/2000/01/rdf-schema#> ; | ||
rdfs:label "Resource" ; | ||
rdfs:comment "The class resource, everything." . | ||
|
||
rdfs:Class a rdfs:Class ; | ||
rdfs:isDefinedBy <http://www.w3.org/2000/01/rdf-schema#> ; | ||
rdfs:label "Class" ; | ||
rdfs:comment "The class of classes." ; | ||
rdfs:subClassOf rdfs:Resource . | ||
|
||
rdfs:subClassOf a rdf:Property ; | ||
rdfs:isDefinedBy <http://www.w3.org/2000/01/rdf-schema#> ; | ||
rdfs:label "subClassOf" ; | ||
rdfs:comment "The subject is a subclass of a class." ; | ||
rdfs:range rdfs:Class ; | ||
rdfs:domain rdfs:Class . | ||
|
||
rdfs:subPropertyOf a rdf:Property ; | ||
rdfs:isDefinedBy <http://www.w3.org/2000/01/rdf-schema#> ; | ||
rdfs:label "subPropertyOf" ; | ||
rdfs:comment "The subject is a subproperty of a property." ; | ||
rdfs:range rdf:Property ; | ||
rdfs:domain rdf:Property . | ||
|
||
rdfs:comment a rdf:Property ; | ||
rdfs:isDefinedBy <http://www.w3.org/2000/01/rdf-schema#> ; | ||
rdfs:label "comment" ; | ||
rdfs:comment "A description of the subject resource." ; | ||
rdfs:domain rdfs:Resource ; | ||
rdfs:range rdfs:Literal . | ||
|
||
rdfs:label a rdf:Property ; | ||
rdfs:isDefinedBy <http://www.w3.org/2000/01/rdf-schema#> ; | ||
rdfs:label "label" ; | ||
rdfs:comment "A human-readable name for the subject." ; | ||
rdfs:domain rdfs:Resource ; | ||
rdfs:range rdfs:Literal . | ||
|
||
rdfs:domain a rdf:Property ; | ||
rdfs:isDefinedBy <http://www.w3.org/2000/01/rdf-schema#> ; | ||
rdfs:label "domain" ; | ||
rdfs:comment "A domain of the subject property." ; | ||
rdfs:range rdfs:Class ; | ||
rdfs:domain rdf:Property . | ||
|
||
rdfs:range a rdf:Property ; | ||
rdfs:isDefinedBy <http://www.w3.org/2000/01/rdf-schema#> ; | ||
rdfs:label "range" ; | ||
rdfs:comment "A range of the subject property." ; | ||
rdfs:range rdfs:Class ; | ||
rdfs:domain rdf:Property . | ||
|
||
rdfs:seeAlso a rdf:Property ; | ||
rdfs:isDefinedBy <http://www.w3.org/2000/01/rdf-schema#> ; | ||
rdfs:label "seeAlso" ; | ||
rdfs:comment "Further information about the subject resource." ; | ||
rdfs:range rdfs:Resource ; | ||
rdfs:domain rdfs:Resource . | ||
|
||
rdfs:isDefinedBy a rdf:Property ; | ||
rdfs:isDefinedBy <http://www.w3.org/2000/01/rdf-schema#> ; | ||
rdfs:subPropertyOf rdfs:seeAlso ; | ||
rdfs:label "isDefinedBy" ; | ||
rdfs:comment "The defininition of the subject resource." ; | ||
rdfs:range rdfs:Resource ; | ||
rdfs:domain rdfs:Resource . | ||
|
||
rdfs:Literal a rdfs:Class ; | ||
rdfs:isDefinedBy <http://www.w3.org/2000/01/rdf-schema#> ; | ||
rdfs:label "Literal" ; | ||
rdfs:comment "The class of literal values, eg. textual strings and integers." ; | ||
rdfs:subClassOf rdfs:Resource . | ||
|
||
rdfs:Container a rdfs:Class ; | ||
rdfs:isDefinedBy <http://www.w3.org/2000/01/rdf-schema#> ; | ||
rdfs:label "Container" ; | ||
rdfs:subClassOf rdfs:Resource ; | ||
rdfs:comment "The class of RDF containers." . | ||
|
||
rdfs:ContainerMembershipProperty a rdfs:Class ; | ||
rdfs:isDefinedBy <http://www.w3.org/2000/01/rdf-schema#> ; | ||
rdfs:label "ContainerMembershipProperty" ; | ||
rdfs:comment """The class of container membership properties, rdf:_1, rdf:_2, ..., | ||
all of which are sub-properties of 'member'.""" ; | ||
rdfs:subClassOf rdf:Property . | ||
|
||
rdfs:member a rdf:Property ; | ||
rdfs:isDefinedBy <http://www.w3.org/2000/01/rdf-schema#> ; | ||
rdfs:label "member" ; | ||
rdfs:comment "A member of the subject resource." ; | ||
rdfs:domain rdfs:Resource ; | ||
rdfs:range rdfs:Resource . | ||
|
||
rdfs:Datatype a rdfs:Class ; | ||
rdfs:isDefinedBy <http://www.w3.org/2000/01/rdf-schema#> ; | ||
rdfs:label "Datatype" ; | ||
rdfs:comment "The class of RDF datatypes." ; | ||
rdfs:subClassOf rdfs:Class . | ||
|
||
<http://www.w3.org/2000/01/rdf-schema#> rdfs:seeAlso <http://www.w3.org/2000/01/rdf-schema-more> . |
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,2 @@ | ||
|
||
docker build -t core-example:latest . |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
version: '3.4' | ||
|
||
services: | ||
modom-io: | ||
image: "core-example:latest" | ||
ports: | ||
- "8000:80" | ||
- "8443:443" | ||
depends_on: | ||
- store | ||
entrypoint: ["./wait-for-it.sh", "store:1111", "--", "dotnet", "core-example.dll"] | ||
|
||
store: | ||
image: "tenforce/virtuoso:virtuoso7.2.5" | ||
ports: | ||
- "8890:8890" | ||
environment: | ||
DBA_PASSWORD: "dba" # Change to something more secure if you want. | ||
SPARQL_UPDATE: "true" | ||
DEFAULT_GRAPH: "http://example.com/" | ||
volumes: | ||
- .\core-example-store-data:/data |
File renamed without changes.
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 @@ | ||
docker-compose up |
Oops, something went wrong.