lodc
KG_FORMAT_TERMS = {KGFormat.RDF: ['rdf'], KGFormat.TURTLE: ['turtle', 'ttl'], KGFormat.NTRIPLES: ['.nt', 'ntriples', 'n-triples'], KGFormat.NQUADS: ['nq', 'nquads', 'n-quads'], KGFormat.JSONLD: ['jsonld', 'json-ld'], KGFormat.OWL: ['owl']}
module-attribute
KG_TERMS = ['rdf', 'turtle', 'ntriples', 'n-triples', 'owl', 'nquads', 'n-quads', 'jsonld', 'json-ld', '.nt', '.ttl', '.rdf', '.nq', '.jsonld', '.json', '.owl']
module-attribute
KGFormat
Bases: Enum
Source code in datasets/views/lodc.py
11 12 13 14 15 16 17 |
|
JSONLD = 'jsonld'
class-attribute
NQUADS = 'nq'
class-attribute
NTRIPLES = 'nt'
class-attribute
OWL = 'owl'
class-attribute
RDF = 'rdf'
class-attribute
TURTLE = 'turtle'
class-attribute
preprocess_dataset(dataset)
Source code in datasets/views/lodc.py
60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 |
|
preprocess_download(download)
Source code in datasets/views/lodc.py
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
|
proxy_lodc_api(request)
Source code in datasets/views/lodc.py
93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 |
|