Files
kucherenko__jscpd/fixtures/turtle/file2.ttl
apk 64e471e2b0 test: raise coverage to 96%+ on @jscpd/finder and 98%+ on apps/jscpd
Adds 92 new tests (178 → 270 total) with zero source-file modifications:

- packages/finder: 13 new test files covering all reporters, subscribers,
  validators, hooks, utils, options, cloneFound, getFilesToDetect, and
  InFilesDetector; shared buildClone() factory helper
- apps/jscpd: 3 new test files (options-unit, print, store) plus extensions
  to formats, modes, and options integration tests
- vitest.config.ts added to both packages to restrict coverage.include
  to src/** only, eliminating bin/ and prism.js noise
- Fixes 3 tokenizer bugs (trailing space in format lookup, tokenization
  edge cases) uncovered by the new format fixture suite
- Adds fixture files for 40+ language formats to support formats.test.ts
2026-05-09 15:00:38 +02:00

46 lines
1.2 KiB
Turtle

@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix ex: <http://example.com/ontology#> .
ex:Person a owl:Class ;
rdfs:label "Person"@en ;
rdfs:comment "A human being"@en .
ex:Employee a owl:Class ;
rdfs:subClassOf ex:Person ;
rdfs:label "Employee"@en ;
rdfs:comment "A person employed by an organization"@en .
ex:hasName a owl:DatatypeProperty ;
rdfs:domain ex:Person ;
rdfs:range xsd:string ;
rdfs:label "has name"@en .
ex:hasEmail a owl:DatatypeProperty ;
rdfs:domain ex:Person ;
rdfs:range xsd:string ;
rdfs:label "has email"@en .
ex:hasAge a owl:DatatypeProperty ;
rdfs:domain ex:Person ;
rdfs:range xsd:integer ;
rdfs:label "has age"@en .
ex:worksFor a owl:ObjectProperty ;
rdfs:domain ex:Employee ;
rdfs:range ex:Organization ;
rdfs:label "works for"@en .
# File-specific: product instances
ex:Widget a ex:Product ;
ex:hasName "Widget Pro" ;
ex:hasPrice 99.99 ;
ex:inStock true .
ex:Gadget a ex:Product ;
ex:hasName "Super Gadget" ;
ex:hasPrice 149.99 ;
ex:inStock false .