3 | e.preventDefault()">
11 | {{ copyMessage }}
12 |
13 |
14 | DOMAIN={{ apiBase() }}
15 |
22 |
23 | {{ JSON.stringify(result, null, 2).replace('"…"', '…') }}
24 |
25 |
26 |
27 |
28 |
29 |
95 |
96 |
101 |
--------------------------------------------------------------------------------
/components/DetailResults.vue:
--------------------------------------------------------------------------------
1 |
2 | 44 | 45 | 46 | {{ model.iriSplitA }} 47 | 48 |
49 |63 | {{ model.prefixedSplitA }}: 64 |
65 |12 | This service fills a gap between services like 13 | prefix.cc 14 | and 15 | LOV 16 | 17 | or looking up the original vocabulary specification. Not all 18 | vocabularies (or schema or ontology, whatever you want to call them) 19 | provide an HTML view. If you resolve some of the common prefixes all 20 | you get back is some RDF serialization which is not ideal. 21 |
22 | 23 |Use this service to
24 | 25 |36 | This service is opinionated, it is based on a curated list of 37 | vocabularies with prefixes maintained in 38 | a separate GitHub repository. 39 | If you would like to add additional vocabularies to the service, either create an 40 | issue and pull-request 41 | on the vocabulary repository or 42 | fork the service 43 | and run your own instance. 44 |
45 | 46 |47 | This service is created and maintained by 48 | Zazuko, 49 | your trusted partner for everything around knowledge graphs, linked data, and RDF. 50 |
51 | 52 |Made with ♥ in Europe. Pull requests are welcome!
53 |We provide the following API endpoints:
12 | 13 |/api/v1/expand?q=…
/api/v1/shrink?q=…
/api/v1/autocomplete?q=…
/api/v1/prefixes
25 | expanding means the following operation:
26 | 'xsd:dateTime'
→
27 | 'http://www.w3.org/2001/XMLSchema#dateTime'
.
28 |
29 | It is the opposite of /shrinking.
30 |
34 | Success: HTTP200
35 |
41 | Failure: HTTP404
42 |
52 | shrinking means the following operation:
53 | 'http://www.w3.org/2001/XMLSchema#dateTime'
54 | → 'xsd:dateTime'
.
55 |
56 | It is the opposite of /expanding.
57 |
60 | IRI containing a #fragment such as http://www.w3.org/2001/XMLSchema#dateTime
61 | will have to be URI encoded:
62 |
68 | Success: HTTP200
69 |
75 | Failure: HTTP404
76 |
86 | This endpoint lets you implement RDF terms autocompletion. 87 |
88 | 89 |
90 | By default, this endpoint is case-insensitive and responds with a list of prefixed terms.
91 | Use &case=true
to make it case-sensitive.
92 |
93 | Use &expand=true
to make it return full IRIs instead of prefixed terms.
94 |
99 | Autocomplete a prefix or find matching namespaces: 100 |
101 |106 | Autocomplete a prefix or find matching namespaces: 107 |
108 |113 | Autocomplete the content of a namespace: 114 |
115 |120 | Autocomplete a partial term: 121 |
122 |127 | Autocomplete a partial term, case-sensitive: 128 |
129 |134 | Autocomplete a partial term, case-sensitive and expanded: 135 |
136 |141 | Autocomplete a partial term or the content of a namespace, for a given RDF type: 142 |
143 |152 | This endpoint returns the list of all known prefixes. 153 | This can be used to implement a prefix selector. 154 |
155 | 156 |159 | How to get the list of all known prefixes: 160 |
161 |{{ prefix }}
RDF Prefix{{ metadata.namespace }}
namespace defines:
21 | |
25 |
26 | |
30 |
{{ prefixedType }}
41 | {{ namespace.prefix }}:
12 | {{ namespace.terms }} triples
13 |