{ 'Accept' => 'text/turtle, application/ld+json, application/rdf+xml, text/xhtml+xml, application/n3, application/rdf+n3, application/turtle, application/x-turtle, text/n3, text/turtle, text/rdf+n3, text/rdf+turtle, application/n-triples' }
{'Accept' => '*/*'}
- TEXT_FORMATS =
{
'text' => ['text/plain']
}
- RDF_FORMATS =
{
'jsonld' => ['application/ld+json','application/x-ld+json', 'application/vnd.schemaorg.ld+json'], 'turtle' => ['text/turtle', 'application/n3', 'application/rdf+n3',
'application/turtle', 'application/x-turtle', 'text/n3', 'text/turtle',
'text/rdf+n3', 'text/rdf+turtle'],
'rdfxml' => ['application/rdf+xml'],
'ntriples' => ['application/n-triples', 'application/trig'],
'nquads' => ['application/n-quads']
}
- XML_FORMATS =
{
'xml' => ['text/xhtml', 'text/xml']
}
- HTML_FORMATS =
{
'html' => ['text/html', 'text/xhtml+xml', 'application/xhtml+xml']
}
- JSON_FORMATS =
{
'json' => ['application/json']
}
- DATA_PREDICATES =
[
'http://www.w3.org/ns/ldp#contains',
'http://xmlns.com/foaf/0.1/primaryTopic',
'http://purl.obolibrary.org/obo/IAO_0000136', 'http://purl.obolibrary.org/obo/IAO:0000136', 'https://www.w3.org/ns/ldp#contains',
'https://xmlns.com/foaf/0.1/primaryTopic',
'http://schema.org/mainEntity',
'http://schema.org/codeRepository',
'http://schema.org/distribution',
'https://schema.org/mainEntity',
'https://schema.org/codeRepository',
'https://schema.org/distribution',
'http://www.w3.org/ns/dcat#distribution',
'https://www.w3.org/ns/dcat#distribution',
'http://www.w3.org/ns/dcat#dataset',
'https://www.w3.org/ns/dcat#dataset',
'http://www.w3.org/ns/dcat#downloadURL',
'https://www.w3.org/ns/dcat#downloadURL',
'http://www.w3.org/ns/dcat#accessURL',
'https://www.w3.org/ns/dcat#accessURL',
'http://semanticscience.org/resource/SIO_000332', 'http://semanticscience.org/resource/is-about', 'https://semanticscience.org/resource/SIO_000332', 'https://semanticscience.org/resource/is-about', 'https://purl.obolibrary.org/obo/IAO_0000136' ]
- SELF_IDENTIFIER_PREDICATES =
[
'http://purl.org/dc/elements/1.1/identifier',
'https://purl.org/dc/elements/1.1/identifier',
'http://purl.org/dc/terms/identifier',
'http://schema.org/identifier',
'https://purl.org/dc/terms/identifier',
'https://schema.org/identifier'
]
- GUID_TYPES =
{
'inchi' => Regexp.new(/^\w{14}-\w{10}-\w$/),
'doi' => Regexp.new(%r{^10.\d{4,9}/[-._;()/:A-Z0-9]+$}i),
'handle1' => Regexp.new(%r{^[^/]+/[^/]+$}i),
'handle2' => Regexp.new(%r{^\d{4,5}/[-._;()/:A-Z0-9]+$}i), 'uri' => Regexp.new(%r{^\w+:/?/?[^\s]+$}),
'ark' => Regexp.new(%r{^ark:/[^\s]+$})
}
- EXTRUCT_COMMAND =
extruct
- RDF_COMMAND =
rdf_command
- TIKA_COMMAND =
tika_command
- VERSION =
"0.1.30"