This repository has been archived by the owner on Oct 12, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
/
aResource-Data.ttl
39 lines (35 loc) · 1.77 KB
/
aResource-Data.ttl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
##############################################################################
# Copyright (c) 2017 Yash Khatri.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# and Eclipse Distribution License v. 1.0 which accompanies this distribution.
#
# The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html
# and the Eclipse Distribution License is available at
# http://www.eclipse.org/org/documents/edl-v10.php.
#
# Contributors:
# Yash Khatri - initial API and implementation and/or initial documentation
##############################################################################
@prefix ex: <http://example.org/> .
@prefix oslc_data: <http://open-services.net/ns/servicemanagement/1.0/> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sam: <http://www.sampledomain.org/sam#> .
@prefix oslc: <http://open-services.net/ns/core#> .
@prefix : <http://example.org/> .
<http://localhost:8080/SampleAdaptor/services/serviceProviders/1/aResources/1>
a sam:AResource ;
sam:aReferenceProperty sam:AnotherResource ;
sam:aSetOfDates "2017-02-22T15:58:30.675Z"^^xsd:dateTime ;
sam:aStringProperty "Yash" ;
sam:anIntegerProperty "-1234"^^xsd:negativeInteger .
[ a rdf:Statement ;
rdf:object sam:AnotherResource ;
rdf:predicate sam:aReferenceProperty ;
rdf:subject <http://localhost:8080/SampleAdaptor/services/serviceProviders/1/aResources/1>
] .