You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
1.0 KiB
18 lines
1.0 KiB
import type { TestData } from "./testData.js";
|
|
|
|
export const propertyCollision: TestData = {
|
|
name: "property collision",
|
|
shexc: `
|
|
PREFIX ex: <http://ex/>
|
|
PREFIX ex2: <http://ex2/>
|
|
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
|
PREFIX v1: <http://example.com/v1#>
|
|
PREFIX ver: <http://api.example.com/v2.1:>
|
|
ex:C { ex:label . ; ex2:label . ; foaf:label . ; v1:label . ; ver:label . }
|
|
`,
|
|
sampleTurtle: ``,
|
|
baseNode: "http://ex/c1",
|
|
successfulContext: {} as any,
|
|
successfulTypings: "",
|
|
successfulCompactTypings: `export type IRI = string;\n\nexport interface C {\n id?: IRI;\n /**\n * Original IRI: http://ex/label\n */\n ex_label: any;\n /**\n * Original IRI: http://ex2/label\n */\n ex2_label: any;\n /**\n * Original IRI: http://xmlns.com/foaf/0.1/label\n */\n "0.1_label": any;\n /**\n * Original IRI: http://example.com/v1#label\n */\n v1_label: any;\n /**\n * Original IRI: http://api.example.com/v2.1:label\n */\n "v2.1:label": any;\n}\n\n`,
|
|
};
|
|
|