Update web-platform-tests to revision 3b3585e368841b77caea8576fa56cef91c3fbdf0

This commit is contained in:
Ms2ger 2016-09-26 10:52:50 +02:00
parent d00639c55f
commit 3b4f0ec0bb
541 changed files with 14609 additions and 3288 deletions

View file

@ -0,0 +1,7 @@
{
"@context": "http://www.w3.org/ns/anno.jsonld",
"id": "http://example.org/anno1",
"type": "Annotation",
"body": "http://example.org/post1",
"target": "http://example.com/page1"
}

View file

@ -0,0 +1,11 @@
{
"@context": "http://www.w3.org/ns/anno.jsonld",
"id": "/annotations/anno1.jsonld",
"type": "Annotation",
"created": "2015-01-31T12:03:45Z",
"body": {
"type": "TextualBody",
"value": "I like this page!"
},
"target": "/index.html"
}

View file

@ -0,0 +1,19 @@
{
"@context": "http://www.w3.org/ns/anno.jsonld",
"id": "http://example.org/anno10",
"type": "Annotation",
"body": {
"type": "Choice",
"items": [
{
"id": "http://example.org/note1",
"language": "en"
},
{
"id": "http://example.org/note2",
"language": "fr"
}
]
},
"target": "http://example.org/website1"
}

View file

@ -0,0 +1,18 @@
{
"@context": "http://www.w3.org/ns/anno.jsonld",
"id": "http://example.org/anno11",
"type": "Annotation",
"motivation": "commenting",
"body": {
"type": "TextualBody",
"value": "These pages together provide evidence of the conspiracy"
},
"target": {
"type": "Composite",
"items": [
"http://example.com/page1",
"http://example.org/page6",
"http://example.net/page4"
]
}
}

View file

@ -0,0 +1,19 @@
{
"@context": "http://www.w3.org/ns/anno.jsonld",
"id": "http://example.org/anno12",
"type": "Annotation",
"motivation": "tagging",
"body": {
"type": "TextualBody",
"value": "important"
},
"target": {
"type": "List",
"items": [
"http://example.com/book/page1",
"http://example.com/book/page2",
"http://example.com/book/page3",
"http://example.com/book/page4"
]
}
}

View file

@ -0,0 +1,16 @@
{
"@context": "http://www.w3.org/ns/anno.jsonld",
"id": "http://example.org/anno13",
"type": "Annotation",
"motivation": "classifying",
"body": "http://example.org/vocab/art/portrait",
"target": {
"type": "Independents",
"items": [
"http://example.com/image1",
"http://example.net/image2",
"http://example.com/image4",
"http://example.org/image9"
]
}
}

View file

@ -0,0 +1,16 @@
{
"@context": "http://www.w3.org/ns/anno.jsonld",
"id": "http://example.org/anno14",
"type": "Annotation",
"creator": "http://example.org/user1",
"created": "2015-01-28T12:00:00Z",
"modified": "2015-01-29T09:00:00Z",
"generator": "http://example.org/client1",
"generated": "2015-02-04T12:00:00Z",
"body": {
"id": "http://example.net/review1",
"creator": "http://example.net/user2",
"created": "2014-06-02T17:00:00Z"
},
"target": "http://example.com/restaurant1"
}

View file

@ -0,0 +1,20 @@
{
"@context": "http://www.w3.org/ns/anno.jsonld",
"id": "http://example.org/anno15",
"type": "Annotation",
"creator": {
"id": "http://example.org/user1",
"type": "Person",
"name": "My Pseudonym",
"nickname": "pseudo",
"email_sha1": "58bad08927902ff9307b621c54716dcc5083e339"
},
"generator": {
"id": "http://example.org/client1",
"type": "Software",
"name": "Code v2.1",
"homepage": "http://example.org/client1/homepage1"
},
"body": "http://example.net/review1",
"target": "http://example.com/restaurant1"
}

View file

@ -0,0 +1,12 @@
{
"@context": "http://www.w3.org/ns/anno.jsonld",
"id": "http://example.org/anno16",
"type": "Annotation",
"audience": {
"id": "http://example.edu/roles/teacher",
"type": "schema:EducationalAudience",
"schema:educationalRole": "teacher"
},
"body": "http://example.net/classnotes1",
"target": "http://example.com/textbook1"
}

View file

@ -0,0 +1,12 @@
{
"@context": "http://www.w3.org/ns/anno.jsonld",
"id": "http://example.org/anno17",
"type": "Annotation",
"motivation": "commenting",
"body": "http://example.net/comment1",
"target": {
"id": "http://example.com/video1",
"type": "Video",
"accessibility": "captions"
}
}

View file

@ -0,0 +1,19 @@
{
"@context": "http://www.w3.org/ns/anno.jsonld",
"id": "http://example.org/anno18",
"type": "Annotation",
"motivation": "bookmarking",
"body": [
{
"type": "TextualBody",
"value": "readme",
"purpose": "tagging"
},
{
"type": "TextualBody",
"value": "A good description of the topic that bears further investigation",
"purpose": "describing"
}
],
"target": "http://example.com/page1"
}

View file

@ -0,0 +1,11 @@
{
"@context": "http://www.w3.org/ns/anno.jsonld",
"id": "http://example.org/anno19",
"type": "Annotation",
"rights": "https://creativecommons.org/publicdomain/zero/1.0/",
"body": {
"id": "http://example.net/review1",
"rights": "http://creativecommons.org/licenses/by-nc/4.0/"
},
"target": "http://example.com/product1"
}

View file

@ -0,0 +1,17 @@
{
"@context": "http://www.w3.org/ns/anno.jsonld",
"id": "http://example.org/anno2",
"type": "Annotation",
"body": {
"id": "http://example.org/analysis1.mp3",
"format": "audio/mpeg",
"language": "fr"
},
"target": {
"id": "http://example.gov/patent1.pdf",
"format": "application/pdf",
"language": ["en", "ar"],
"textDirection": "ltr",
"processingLanguage": "en"
}
}

View file

@ -0,0 +1,11 @@
{
"@context": "http://www.w3.org/ns/anno.jsonld",
"id": "/annotations/anno2.jsonld",
"type": "Annotation",
"created": "2015-02-31T12:03:45Z",
"body": {
"type": "TextualBody",
"value": "Great resource!"
},
"target": "http://www.w3c.org/"
}

View file

@ -0,0 +1,12 @@
{
"@context": "http://www.w3.org/ns/anno.jsonld",
"id": "http://example.org/anno20",
"type": "Annotation",
"canonical": "urn:uuid:dbfb1861-0ecf-41ad-be94-a584e5c4f1df",
"via": "http://other.example.org/anno1",
"body": {
"id": "http://example.net/review1",
"rights": "http://creativecommons.org/licenses/by/4.0/"
},
"target": "http://example.com/product1"
}

View file

@ -0,0 +1,14 @@
{
"@context": "http://www.w3.org/ns/anno.jsonld",
"id": "http://example.org/anno21",
"type": "Annotation",
"body": {
"type": "SpecificResource",
"purpose": "tagging",
"source": "http://example.org/city1"
},
"target": {
"id": "http://example.org/photo1",
"type": "Image"
}
}

View file

@ -0,0 +1,13 @@
{
"@context": "http://www.w3.org/ns/anno.jsonld",
"id": "http://example.org/anno22",
"type": "Annotation",
"body": {
"source": "http://example.org/page1",
"selector": "http://example.org/paraselector1"
},
"target": {
"source": "http://example.com/dataset1",
"selector": "http://example.org/dataselector1"
}
}

View file

@ -0,0 +1,15 @@
{
"@context": "http://www.w3.org/ns/anno.jsonld",
"id": "http://example.org/anno23",
"type": "Annotation",
"body": {
"source": "http://example.org/video1",
"purpose": "describing",
"selector": {
"type": "FragmentSelector",
"conformsTo": "http://www.w3.org/TR/media-frags/",
"value": "t=30,60"
}
},
"target": "http://example.org/image1"
}

View file

@ -0,0 +1,13 @@
{
"@context": "http://www.w3.org/ns/anno.jsonld",
"id": "http://example.org/anno24",
"type": "Annotation",
"body": "http://example.org/note1",
"target": {
"source": "http://example.org/page1.html",
"selector": {
"type": "CssSelector",
"value": "#elemid > .elemclass + p"
}
}
}

View file

@ -0,0 +1,13 @@
{
"@context": "http://www.w3.org/ns/anno.jsonld",
"id": "http://example.org/anno25",
"type": "Annotation",
"body": "http://example.org/note1",
"target": {
"source": "http://example.org/page1.html",
"selector": {
"type": "XPathSelector",
"value": "/html/body/p[2]/table/tr[2]/td[3]/span"
}
}
}

View file

@ -0,0 +1,15 @@
{
"@context": "http://www.w3.org/ns/anno.jsonld",
"id": "http://example.org/anno26",
"type": "Annotation",
"body": "http://example.org/comment1",
"target": {
"source": "http://example.org/page1",
"selector": {
"type": "TextQuoteSelector",
"exact": "anotation",
"prefix": "this is an ",
"suffix": " that has some"
}
}
}

View file

@ -0,0 +1,14 @@
{
"@context": "http://www.w3.org/ns/anno.jsonld",
"id": "http://example.org/anno27",
"type": "Annotation",
"body": "http://example.org/review1",
"target": {
"source": "http://example.org/ebook1",
"selector": {
"type": "TextPositionSelector",
"start": 412,
"end": 795
}
}
}

View file

@ -0,0 +1,14 @@
{
"@context": "http://www.w3.org/ns/anno.jsonld",
"id": "http://example.org/anno28",
"type": "Annotation",
"body": "http://example.org/note1",
"target": {
"source": "http://example.org/diskimg1",
"selector": {
"type": "DataPositionSelector",
"start": 4096,
"end": 4104
}
}
}

View file

@ -0,0 +1,13 @@
{
"@context": "http://www.w3.org/ns/anno.jsonld",
"id": "http://example.org/anno29",
"type": "Annotation",
"body": "http://example.org/road1",
"target": {
"source": "http://example.org/map1",
"selector": {
"id": "http://example.org/svg1",
"type": "SvgSelector"
}
}
}

View file

@ -0,0 +1,13 @@
{
"@context": "http://www.w3.org/ns/anno.jsonld",
"id": "http://example.org/anno3",
"type": "Annotation",
"body": {
"id": "http://example.org/video1",
"type": "Video"
},
"target": {
"id": "http://example.org/website1",
"type": "Text"
}
}

View file

@ -0,0 +1,8 @@
{
"@context": "http://www.w3.org/ns/anno.jsonld",
"id": "/annotations/anno3.jsonld",
"type": "Annotation",
"target": "http://w3c.org/",
"body": "https://en.wikipedia.org/wiki/World_Wide_Web_Consortium",
"movivation": "describing"
}

View file

@ -0,0 +1,13 @@
{
"@context": "http://www.w3.org/ns/anno.jsonld",
"id": "http://example.org/anno30",
"type": "Annotation",
"body": "http://example.org/road1",
"target": {
"source": "http://example.org/map1",
"selector": {
"type": "SvgSelector",
"value": "<svg:svg> ... </svg:svg>"
}
}
}

View file

@ -0,0 +1,20 @@
{
"@context": "http://www.w3.org/ns/anno.jsonld",
"id": "http://example.org/anno31",
"type": "Annotation",
"body": "http://example.org/comment1",
"target": {
"source": "http://example.org/page1.html",
"selector": {
"type": "RangeSelector",
"startSelector": {
"type": "XPathSelector",
"value": "//table[1]/tr[1]/td[2]"
},
"endSelector": {
"type": "XPathSelector",
"value": "//table[1]/tr[1]/td[4]"
}
}
}
}

View file

@ -0,0 +1,19 @@
{
"@context": "http://www.w3.org/ns/anno.jsonld",
"id": "http://example.org/anno32",
"type": "Annotation",
"body": "http://example.org/comment1",
"target": {
"source": "http://example.org/page1",
"selector": {
"type": "FragmentSelector",
"value": "para5",
"refinedBy": {
"type": "TextQuoteSelector",
"exact": "Selected Text",
"prefix": "text before the ",
"suffix": " and text after it"
}
}
}
}

View file

@ -0,0 +1,12 @@
{
"@context": "http://www.w3.org/ns/anno.jsonld",
"id": "http://example.org/anno33",
"type": "Annotation",
"body": "http://example.org/note1",
"target": {
"source": "http://example.org/page1",
"state": {
"id": "http://example.org/state1"
}
}
}

View file

@ -0,0 +1,14 @@
{
"@context": "http://www.w3.org/ns/anno.jsonld",
"id": "http://example.org/anno34",
"type": "Annotation",
"body": "http://example.org/note1",
"target": {
"source": "http://example.org/page1",
"state": {
"type": "TimeState",
"cached": "http://archive.example.org/copy1",
"sourceDate": "2015-07-20T13:30:00Z"
}
}
}

View file

@ -0,0 +1,13 @@
{
"@context": "http://www.w3.org/ns/anno.jsonld",
"id": "http://example.org/anno35",
"type": "Annotation",
"body": "http://example.org/description1",
"target": {
"source": "http://example.org/resource1",
"state": {
"type": "HttpRequestState",
"value": "Accept: application/pdf"
}
}
}

View file

@ -0,0 +1,22 @@
{
"@context": "http://www.w3.org/ns/anno.jsonld",
"id": "http://example.org/anno36",
"type": "Annotation",
"body": "http://example.org/comment1",
"target": {
"source": "http://example.org/ebook1",
"state": {
"type": "TimeState",
"sourceDate": "2016-02-01T12:05:23Z",
"refinedBy": {
"type": "HttpRequestState",
"value": "Accept: application/pdf",
"refinedBy": {
"type": "FragmentSelector",
"value": "page=10",
"conformsTo": "http://tools.ietf.org/rfc/rfc3778"
}
}
}
}
}

View file

@ -0,0 +1,11 @@
{
"@context": "http://www.w3.org/ns/anno.jsonld",
"id": "http://example.org/anno37",
"type": "Annotation",
"stylesheet": "http://example.org/style1",
"body": "http://example.org/comment1",
"target": {
"source": "http://example.org/document1",
"styleClass": "red"
}
}

View file

@ -0,0 +1,14 @@
{
"@context": "http://www.w3.org/ns/anno.jsonld",
"id": "http://example.org/anno38",
"type": "Annotation",
"stylesheet": {
"type": "CssStylesheet",
"value": ".red { color: red }"
},
"body": "http://example.org/body1",
"target": {
"source": "http://example.org/target1",
"styleClass": "red"
}
}

View file

@ -0,0 +1,15 @@
{
"@context": "http://www.w3.org/ns/anno.jsonld",
"id": "http://example.org/anno39",
"type": "Annotation",
"body": "http://example.org/comment1",
"target": {
"source": "http://example.edu/article.pdf",
"selector": "http://example.org/selectors/html-selector1",
"renderedVia": {
"id": "http://example.com/pdf-to-html-library",
"type": "Software",
"schema:softwareVersion": "2.5"
}
}
}

View file

@ -0,0 +1,11 @@
{
"@context": "http://www.w3.org/ns/anno.jsonld",
"id": "http://example.org/anno4",
"type": "Annotation",
"body": "http://example.org/description1",
"target": {
"id": "http://example.com/image1#xywh=100,100,300,300",
"type": "Image",
"format": "image/jpeg"
}
}

View file

@ -0,0 +1,10 @@
{
"@context": "http://www.w3.org/ns/anno.jsonld",
"id": "http://example.org/anno40",
"type": "Annotation",
"body": "http://example.org/note1",
"target": {
"source": "http://example.org/image1",
"scope": "http://example.org/page1"
}
}

View file

@ -0,0 +1,82 @@
{
"@context": "http://www.w3.org/ns/anno.jsonld",
"id": "http://example.org/anno41",
"type": "Annotation",
"motivation": "commenting",
"creator": {
"id": "http://example.org/user1",
"type": "Person",
"name": "A. Person",
"nickname": "user1"
},
"created": "2015-10-13T13:00:00Z",
"generator": {
"id": "http://example.org/client1",
"type": "Software",
"name": "Code v2.1",
"homepage": "http://example.org/homepage1"
},
"generated": "2015-10-14T15:13:28Z",
"stylesheet": {
"id": "http://example.org/stylesheet1",
"type": "CssStylesheet"
},
"body": [
{
"type": "TextualBody",
"purpose": "tagging",
"value": "love"
},
{
"type": "Choice",
"items": [
{
"type": "TextualBody",
"purpose": "describing",
"value": "I really love this particular bit of text in this XML. No really.",
"format": "text/plain",
"language": "en",
"creator": "http://example.org/user1"
},
{
"type": "SpecificResource",
"purpose": "describing",
"source": {
"id": "http://example.org/comment1",
"type": "Audio",
"format": "audio/mpeg",
"language": "de",
"creator": {
"id": "http://example.org/user2",
"type": "Person"
}
}
}
]
}
],
"target": {
"type": "SpecificResource",
"styleClass": "mystyle",
"source": "http://example.com/document1",
"state": [
{
"type": "HttpRequestState",
"value": "Accept: application/xml",
"refinedBy": {
"type": "TimeState",
"sourceDate": "2015-09-25T12:00:00Z"
}
}
],
"selector": {
"type": "FragmentSelector",
"value": "xpointer(/doc/body/section[2]/para[1])",
"refinedBy": {
"type": "TextPositionSelector",
"start": 6,
"end": 27
}
}
}
}

View file

@ -0,0 +1,12 @@
{
"@context": "http://www.w3.org/ns/anno.jsonld",
"id": "http://example.org/anno5",
"type":"Annotation",
"body": {
"type" : "TextualBody",
"value" : "<p>j'adore !</p>",
"format" : "text/html",
"language" : "fr"
},
"target": "http://example.org/photo1"
}

View file

@ -0,0 +1,7 @@
{
"@context": "http://www.w3.org/ns/anno.jsonld",
"id": "http://example.org/anno6",
"type":"Annotation",
"bodyValue": "Comment text",
"target": "http://example.org/target1"
}

View file

@ -0,0 +1,11 @@
{
"@context": "http://www.w3.org/ns/anno.jsonld",
"id": "http://example.org/anno7",
"type":"Annotation",
"body": {
"type": "TextualBody",
"value": "Comment text",
"format": "text/plain"
},
"target": "http://example.org/target1"
}

View file

@ -0,0 +1,6 @@
{
"@context": "http://www.w3.org/ns/anno.jsonld",
"id": "http://example.org/anno8",
"type": "Annotation",
"target": "http://example.org/ebook1"
}

View file

@ -0,0 +1,16 @@
{
"@context": "http://www.w3.org/ns/anno.jsonld",
"id": "http://example.org/anno9",
"type": "Annotation",
"body": [
"http://example.org/description1",
{
"type": "TextualBody",
"value": "tag1"
}
],
"target": [
"http://example.org/image1",
"http://example.org/image2"
]
}

View file

@ -0,0 +1,4 @@
Content-Type: application/ld+json; profile="http://www.w3.org/ns/anno.jsonld"
Link: <http://www.w3.org/ns/ldp#Resource>; rel="type"
Allow: GET,HEAD,OPTIONS,DELETE,PUT
Vary: Accept

View file

@ -0,0 +1,3 @@
Content-Type: text/plain
Allow: GET,HEAD,OPTIONS,DELETE,PUT
Vary: Accept

View file

@ -0,0 +1,5 @@
Content-Type: application/ld+json; profile="http://www.w3.org/ns/anno.jsonld"
Link: <http://www.w3.org/ns/ldp#BasicContainer>; rel="type"
Link: <http://www.w3.org/TR/annotation-protocol/>; rel="http://www.w3.org/ns/ldp#constrainedBy"
Allow: POST,GET,OPTIONS,HEAD
Vary: Accept, Prefer

View file

@ -0,0 +1,3 @@
Content-Type: text/plain
Allow: POST,GET,OPTIONS,HEAD,DELETE,PUT
Vary: Accept, Prefer

View file

@ -0,0 +1,4 @@
Access-Control-Allow-Headers: Content-Type, Prefer
Access-Control-Allow-Methods: GET,HEAD,OPTIONS,DELETE,PUT
Access-Control-Allow-Origin: *
Access-Control-Expose-Headers: ETag, Allow, Vary, Link, Content-Type, Location, Content-Location, Prefer

View file

@ -0,0 +1,3 @@
Content-Type: application/ld+json; profile="http://www.w3.org/ns/anno.jsonld"
Allow: GET,OPTIONS,HEAD
Vary: Accept, Prefer