/
This document is content-negotiated. If you request it with Accept: application\/x-turtle<\/code> you will get the description in Turtle. Also supported: application\/rdf+xml<\/code>, application\/json<\/code>, text\/plain<\/code><\/div><\/body>/'"); # Return NTriples (text/plain) } else if ($text_plain) { header("Content-Type: text/plain"); passthru("~/bin/rapper -q -i turtle -o ntriples ./$name.ttl"); # Return Turtle ontology by default } else { header("Content-Type: application/x-turtle"); passthru("cat ./$name.ttl"); } function accepts($type) { global $_SERVER; if (preg_match("/$type(;q=(\d+\.\d+))?/i", $_SERVER['HTTP_ACCEPT'], $matches)) { return isset($matches[2]) ? $matches[2] : 1; } else { return 0; } } ?> schemas/dcam.ttl'>
blob: 6ef5a5e7aae6382d152514e88af8de0c33bb6c30 (plain)
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