All files / rdf/tests/vocabularies multi.ts

28.57% Statements 4/14
0% Branches 0/40
0% Functions 0/10
30.76% Lines 4/13

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33      9x   9x                           9x   9x                      
import { NamedNode } from '@rdfjs/types';
 
/** Namespace URI of the MULTI vocabulary. */
export const _MULTI = 'http://www.example.org/';
 
export const MULTI = {
	'Class1': 'http://www.example.org/Class1',
	'Class2': 'http://www.example.org/Class2',
	'Class3': 'http://www.example.org/Class3',
	'Class4': 'http://www.example.org/Class4',
	/** This is an ontology file to test edge cases for class / property / individual retrieval. */
	'ontology': 'http://www.example.org/ontology',
	'ontology2': 'http://www.example.org/ontology2',
	'property1': 'http://www.example.org/property1',
	'property2': 'http://www.example.org/property2',
	'property3': 'http://www.example.org/property3',
}
 
/** Namespace URI of the multi vocabulary. */
export const _multi = { termType: 'NamedNode', value: 'http://www.example.org/', equals: (other: any) => other && (other.termType === 'NamedNode' || other.type === 'NamedNode') && other.value === 'http://www.example.org/' } as NamedNode;
 
export const multi = {
	'Class1': { termType: 'NamedNode', value: 'http://www.example.org/Class1', equals: (other: any) => other && (other.termType === 'NamedNode' || other.type === 'NamedNode') && other.value === 'http://www.example.org/Class1' } as NamedNode,
	'Class2': { termType: 'NamedNode', value: 'http://www.example.org/Class2', equals: (other: any) => other && (other.termType === 'NamedNode' || other.type === 'NamedNode') && other.value === 'http://www.example.org/Class2' } as NamedNode,
	'Class3': { termType: 'NamedNode', value: 'http://www.example.org/Class3', equals: (other: any) => other && (other.termType === 'NamedNode' || other.type === 'NamedNode') && other.value === 'http://www.example.org/Class3' } as NamedNode,
	'Class4': { termType: 'NamedNode', value: 'http://www.example.org/Class4', equals: (other: any) => other && (other.termType === 'NamedNode' || other.type === 'NamedNode') && other.value === 'http://www.example.org/Class4' } as NamedNode,
	/** This is an ontology file to test edge cases for class / property / individual retrieval. */
	'ontology': { termType: 'NamedNode', value: 'http://www.example.org/ontology', equals: (other: any) => other && (other.termType === 'NamedNode' || other.type === 'NamedNode') && other.value === 'http://www.example.org/ontology' } as NamedNode,
	'ontology2': { termType: 'NamedNode', value: 'http://www.example.org/ontology2', equals: (other: any) => other && (other.termType === 'NamedNode' || other.type === 'NamedNode') && other.value === 'http://www.example.org/ontology2' } as NamedNode,
	'property1': { termType: 'NamedNode', value: 'http://www.example.org/property1', equals: (other: any) => other && (other.termType === 'NamedNode' || other.type === 'NamedNode') && other.value === 'http://www.example.org/property1' } as NamedNode,
	'property2': { termType: 'NamedNode', value: 'http://www.example.org/property2', equals: (other: any) => other && (other.termType === 'NamedNode' || other.type === 'NamedNode') && other.value === 'http://www.example.org/property2' } as NamedNode,
	'property3': { termType: 'NamedNode', value: 'http://www.example.org/property3', equals: (other: any) => other && (other.termType === 'NamedNode' || other.type === 'NamedNode') && other.value === 'http://www.example.org/property3' } as NamedNode,
}