Skip to content

Instantly share code, notes, and snippets.

@stain
Last active February 14, 2018 14:57
Show Gist options
  • Save stain/da4d347d5bd78948d41d7103b826268a to your computer and use it in GitHub Desktop.
Save stain/da4d347d5bd78948d41d7103b826268a to your computer and use it in GitHub Desktop.
@prefix as: <http://www.w3.org/ns/activitystreams#>.
@prefix prov: <http://www.w3.org/ns/prov#>.
@prefix dct: <http://purl.org/dc/terms/>.
@prefix schema: <http://schema.org/>.
@prefix foaf: <http://xmlns.com/foaf/0.1/>.
@prefix xsd: <http://www.w3.org/2001/XMLSchema#>.
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
<>
a as:Announce ;
as:updated "2018-02-14T13:24:39Z"^^xsd:dateTime ;
schema:license <https://creativecommons.org/publicdomain/zero/1.0/> ;
as:object <https://arxiv.org/abs/1801.09788v1> ;
as:actor <http://orcid.org/0000-0001-9842-9718> .
<https://arxiv.org/abs/1801.09788v1>
a schema:ScholarlyArticle ;
as:inReplyTo <http://events.linkeddata.org/ldow2018/> ;
rdfs:label "Evaluating approaches for supervised semantic labeling"@en ;
dct:title "Evaluating approaches for supervised semantic labeling"@en ;
schema:name "Evaluating approaches for supervised semantic labeling"@en ;
schema:creator _:natalia, _:yuriy, _:alex ;
prov:wasGeneratedBy _:natalia, _:yuriy, _:alex ;
schema:about <http://github.com/NICTA/serene-benchmark> ;
schema:license <http://arxiv.org/licenses/nonexclusive-distrib/1.0/> .
<http://events.linkeddata.org/ldow2018/>
a schema:Event ;
rdfs:label "Linked Data on the Web (LDOW2018)"@en;
schema:name "Linked Data on the Web (LDOW2018)"@en;
schema:superEvent <https://www2018.thewebconf.org/> ;
schema:location <http://sws.geonames.org/2996944/> .
<https://www2018.thewebconf.org/>
a schema:Event ;
rdfs:label "TheWebConf 2018: The Web Conference in Lyon"@en ;
schema:name "TheWebConf 2018: The Web Conference in Lyon"@en ;
schema:location <http://sws.geonames.org/2996944/> .
<http://github.com/NICTA/serene-benchmark>
a schema:Code ;
schema:name "serene-benchmark" ;
rdfs:label "serene-benchmark" ;
rdfs:comment "Benchmark to evaluate schema matching approaches" ;
schema:license <http://www.apache.org/licenses/LICENSE-2.0> .
_:data61 a schema:Organization ;
rdfs:label "Data61, CSIRO" ;
schema:name "Data61, CSIRO" ;
schema:url <http://data61.csiro.au/> .
_:csiro a schema:Organization ;
rdfs:label "CSIRO";
schema:name "CSIRO";
schema:url <http://www.csiro.au/> ;
schema:department _:data61 .
_:siemens a schema:Organization ;
rdfs:label "Siemens" ;
schema:name "Siemens" ;
schema:url <https://www.siemens.com/> .
_:natalia a schema:Person, prov:Person, foaf:Person ;
schema:name "Natalia Ruemmele" ;
rdfs:label "Natalia Ruemmele" ;
schema:alumniOf _:data61 ;
schema:affiliation _:siemens .
_:yuriy a schema:Person, prov:Person, foaf:Person ;
schema:name "Yuriy Tyshetskiy";
rdfs:label "Yuriy Tyshetskiy" ;
schema:affiliation _:siemens .
_:alex a schema:Person, prov:Person, foaf:Person ;
schema:name "Alex Collins";
rdfs:label "Alex Collins" ;
schema:affiliation _:siemens .
@prefix as: <http://www.w3.org/ns/activitystreams#>.
@prefix prov: <http://www.w3.org/ns/prov#>.
@prefix dct: <http://purl.org/dc/terms/>.
@prefix schema: <http://schema.org/>.
@prefix foaf: <http://xmlns.com/foaf/0.1/>.
@prefix xsd: <http://www.w3.org/2001/XMLSchema#>.
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
@prefix oa: <http://www.w3.org/ns/oa#>.
<>
a as:Announce ;
as:updated "2018-02-14T13:58:27Z"^^xsd:dateTime ;
schema:license <https://creativecommons.org/publicdomain/zero/1.0/> ;
as:object <https://gist.github.com/stain/7c74026d8741b4ab74da34b1eca0e9bc#ann> ;
as:target <https://arxiv.org/abs/1801.09788v1> ;
as:actor <http://orcid.org/0000-0001-9842-9718> .
<https://gist.github.com/stain/7c74026d8741b4ab74da34b1eca0e9bc#ann> a oa:Annotation ;
oa:motivatedBy oa:assessing ;
dct:creator <http://orcid.org/0000-0001-9842-9718> ;
prov:wasGeneratedBy <http://orcid.org/0000-0001-9842-9718> ;
dct:created "2018-02-14T13:58:27Z"^^xsd:dateTime ;
oa:hasTarget <https://arxiv.org/abs/1801.09788v1> ;
oa:hasBody <https://gist.github.com/stain/7c74026d8741b4ab74da34b1eca0e9bc> ;
schema:license <https://creativecommons.org/licenses/by/4.0/> .
<https://gist.github.com/stain/7c74026d8741b4ab74da34b1eca0e9bc>
a schema:Review ;
dct:created "2018-02-14T13:58:27Z"^^xsd:dateTime ;
rdfs:label "Review: LDOW2016 manuscript 6"@en ;
dct:title "Review: LDOW2016 manuscript 6"@en ;
schema:name "Review: LDOW2016 manuscript 6"@en ;
schema:creator <http://orcid.org/0000-0001-9842-9718> ;
prov:wasGeneratedBy <http://orcid.org/0000-0001-9842-9718> ;
schema:about <https://arxiv.org/abs/1801.09788v1> ;
schema:itemReviewed <https://arxiv.org/abs/1801.09788v1> ;
schema:reviewRating [
a schema:Rating;
schema:name "Weak Accept" ;
schema:author <http://orcid.org/0000-0001-9842-9718> ;
schema:ratingValue 1 ;
schema:bestRating 3;
schema:worstRating -3;
] ;
schema:license <https://creativecommons.org/licenses/by/4.0/> .
curl -v -i -X POST -H'Content-Type: text/turtle' https://linkedresearch.org/inbox/linkedresearch.org/cloud/ --data @paper.ttl
curl -v -i -X POST -H'Content-Type: text/turtle' https://linkedresearch.org/inbox/linkedresearch.org/cloud/ --data @review.ttl
@stain
Copy link
Author

stain commented Feb 14, 2018

Fails with 400 Bad Request:

HTTP/1.1 100 Continue

HTTP/1.1 400 Bad Request
Date: Wed, 14 Feb 2018 14:23:14 GMT
Server: Apache/2.4.25 (Ubuntu)
X-Powered-By: https://github.com/csarven/mayktso
Access-Control-Allow-Methods: GET, HEAD, OPTIONS, POST, PUT
Access-Control-Allow-Origin: *
Access-Control-Allow-Credentials: true
Access-Control-Allow-Headers: Content-Length, Content-Type, If-None-Match, Link, Location, Origin, Slug, X-Requested-With
Access-Control-Expose-Headers: Accept-Post, Access-Control-Allow-Headers, Access-Control-Allow-Methods, Access-Control-Allow-Origin, Allow, Content-Length, Content-Type, ETag, Last-Modified, Link, Location, Updates-Via, Vary
Vary: Origin,Accept-Encoding
Content-Length: 0
Connection: close

@stain
Copy link
Author

stain commented Feb 14, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment