W3C home > Mailing lists > Public > public-rww@w3.org > March 2016

Best practices for linking two ldp servers

From: Brent Shambaugh <brent.shambaugh@gmail.com>
Date: Fri, 18 Mar 2016 20:30:09 -0400
Message-ID: <CACvcBVrf5SfWMUihwikAgkEBrKRKXwq9oGgXVWPRkFmU_jnJwQ@mail.gmail.com>
To: public-rww <public-rww@w3.org>
I just found it was wicked cool that I could link another linked data
platform server from another. I was messing around and I inserted
owl:sameAs. Is there a best practice? Please ignore my other nonsensical
triples :)

curl -iX POST -H "Content-Type: text/turtle"     -H "Slug: BrentsRWW"
--data @/var/www/data/brentrww.ttl   http://localhost:8080/marmotta/ldp/

with

HTTP/1.1 201 Created
Server: Apache Marmotta/3.3.0 (build 0)
ETag: W/"1458340352000"
Last-Modified: Fri, 18 Mar 2016 22:32:32 GMT
Link: <http://wiki.apache.org/marmotta/LDPImplementationReport/2014-09-16>;
rel="http://www.w3.org/ns/ldp#constrainedBy"
Link: <http://www.w3.org/ns/ldp#Resource>; rel="type"
Link: <http://www.w3.org/ns/ldp#RDFSource>; rel="type"
Link: <http://www.w3.org/ns/ldp#Container>; rel="type"
Link: <http://www.w3.org/ns/ldp#BasicContainer>; rel="type"
Location: http://localhost:8080/marmotta/ldp/BrentsRWW-1
Content-Length: 0
Date: Fri, 18 Mar 2016 22:32:32 GMT

cat brentrww.ttl

@prefix dc: <http://purl.org/dc/terms/> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .

<> a foaf:PersonalProfileDocument;
    foaf:primaryTopic <#me> ;
    dc:title 'Brent Files' .

<#me> a foaf:Person;
    foaf:name 'Brent Shambaugh Files'  ;
    owl:sameAs <http://bshambaugh.rww.io> .




-Brent Shambaugh

Website: bshambaugh.org
Received on Saturday, 19 March 2016 00:30:37 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:10:52 UTC