Commit b03c4050 authored by Élodie Thiéblin's avatar Élodie Thiéblin
Browse files

[DublinCore] Add http or https alias to target uri

parent 83187f1d0bbd
......@@ -31,6 +31,7 @@ import * as $rdf from "rdflib";
import { DublinCoreElementComponent } from "./DublinCoreImpl";
import { ONTOLOGY } from "../common/schema";
import { loadDublinCoreElement } from "./dcschema";
import { httpsAlias } from "../common/aliases";
/**
* The descriptor for the default blog post view
......@@ -63,9 +64,11 @@ class DCElementRendering implements implementation.ViewImplementation {
}
priorityFor(store: $rdf.Formula, target: application.Resource): number {
const storeAliases = ONTOLOGY.aliases;
storeAliases.push(httpsAlias(target.uri));
let repo = new rdfEntities.RdfEntityStore(
store,
ONTOLOGY.aliases,
storeAliases,
ONTOLOGY.inverses
);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment