Skip to content

Commit

Permalink
better tests
Browse files Browse the repository at this point in the history
  • Loading branch information
muddymudskipper committed Nov 11, 2024
1 parent c1062ab commit 079d8cd
Show file tree
Hide file tree
Showing 14 changed files with 604 additions and 9,930 deletions.
9,900 changes: 0 additions & 9,900 deletions tests/test.nt

Large diffs are not rendered by default.

40 changes: 40 additions & 0 deletions tests/test_files/test_lines_000000001.nt
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<http://purl.org/dc/terms/creator> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#AnnotationProperty> .
<http://purl.org/dc/terms/issued> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#AnnotationProperty> .
<http://purl.org/dc/terms/modified> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#AnnotationProperty> .
<http://purl.org/dc/terms/rights> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#AnnotationProperty> .
<http://purl.org/dc/terms/publisher> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#AnnotationProperty> .
<https://ns.eccenca.com/eccenca-GmbH> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://purl.org/dc/terms/Agent> .
<https://ns.eccenca.com/eccenca-GmbH> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Organization> .
<http://creativecommons.org/ns#license> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#AnnotationProperty> .
<http://purl.org/vocab/vann/preferredNamespacePrefix> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#AnnotationProperty> .
<http://purl.org/vocab/vann/preferredNamespaceUri> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#AnnotationProperty> .
<http://ld.company.org/prod-instances/hw-Z249-1364492> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/Hardware> .
<http://ld.company.org/prod-vocab/Hardware> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
<http://ld.company.org/prod-instances/hw-O184-6903943> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/Hardware> .
<http://ld.company.org/prod-instances/hw-V404-9975399> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/Hardware> .
<http://ld.company.org/prod-instances/hw-F344-7012314> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/Hardware> .
<http://ld.company.org/prod-instances/hw-N463-8050264> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/Hardware> .
<http://ld.company.org/prod-instances/hw-M605-5951566> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/Hardware> .
<http://ld.company.org/prod-instances/hw-N733-1946687> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/Hardware> .
<http://ld.company.org/prod-instances/hw-H274-5987347> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/Hardware> .
<http://ld.company.org/prod-instances/hw-T291-4144066> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/Hardware> .
<http://ld.company.org/prod-instances/hw-U836-7709298> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/Hardware> .
<http://ld.company.org/prod-instances/hw-O857-5463957> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/Hardware> .
<http://ld.company.org/prod-instances/hw-L316-4863597> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/Hardware> .
<http://ld.company.org/prod-instances/hw-W501-5990901> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/Hardware> .
<http://ld.company.org/prod-instances/hw-I980-1040313> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/Hardware> .
<http://ld.company.org/prod-instances/hw-G144-5498082> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/Hardware> .
<http://ld.company.org/prod-instances/hw-L128-5499058> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/Hardware> .
<http://ld.company.org/prod-instances/hw-Q774-7287508> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/Hardware> .
<http://ld.company.org/prod-instances/hw-L536-5185541> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/Hardware> .
<http://ld.company.org/prod-instances/hw-A688-6056899> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/Hardware> .
<http://ld.company.org/prod-instances/hw-Q986-9996088> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/Hardware> .
<http://ld.company.org/prod-instances/hw-Z272-2955088> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/Hardware> .
<http://ld.company.org/prod-instances/hw-D228-6993564> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/Hardware> .
<http://ld.company.org/prod-instances/hw-X375-4984404> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/Hardware> .
<http://ld.company.org/prod-instances/hw-D762-3837218> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/Hardware> .
<http://ld.company.org/prod-instances/hw-H609-2196524> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/Hardware> .
<http://ld.company.org/prod-instances/hw-O125-6715778> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/Hardware> .
<http://ld.company.org/prod-instances/hw-A145-1240844> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/Hardware> .
<http://ld.company.org/prod-instances/hw-M558-2275045> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/Hardware> .
<http://ld.company.org/prod-instances/hw-C697-6765940> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/Hardware> .
40 changes: 40 additions & 0 deletions tests/test_files/test_lines_000000002.nt
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<http://ld.company.org/prod-instances/hw-T782-3734983> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/Hardware> .
<http://ld.company.org/prod-instances/hw-O311-4466005> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/Hardware> .
<http://ld.company.org/prod-instances/hw-V450-8692412> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/Hardware> .
<http://ld.company.org/prod-instances/hw-U286-4664935> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/Hardware> .
<http://ld.company.org/prod-instances/hw-H173-1200706> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/Hardware> .
<http://ld.company.org/prod-instances/hw-Y968-9133870> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/Hardware> .
<http://ld.company.org/prod-instances/hw-R860-6284767> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/Hardware> .
<http://ld.company.org/prod-instances/hw-V654-5789502> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/Hardware> .
<http://ld.company.org/prod-instances/hw-D331-6211280> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/Hardware> .
<http://ld.company.org/prod-instances/hw-Z439-5790785> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/Hardware> .
<http://ld.company.org/prod-instances/hw-X716-6172862> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/Hardware> .
<http://ld.company.org/prod-instances/hw-R726-8194447> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/Hardware> .
<http://ld.company.org/prod-instances/hw-R771-3893828> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/Hardware> .
<http://ld.company.org/prod-instances/hw-Y299-9772513> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/Hardware> .
<http://ld.company.org/prod-instances/hw-L586-5133830> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/Hardware> .
<http://ld.company.org/prod-instances/hw-Q442-2123335> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/Hardware> .
<http://ld.company.org/prod-instances/hw-D844-3535311> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/Hardware> .
<http://ld.company.org/prod-instances/hw-C831-2580759> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/Hardware> .
<http://ld.company.org/prod-instances/hw-H402-6061531> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/Hardware> .
<http://ld.company.org/prod-instances/hw-G251-8414984> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/Hardware> .
<http://ld.company.org/prod-instances/hw-D334-6681399> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/Hardware> .
<http://ld.company.org/prod-instances/prod-cat-Memristor> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/ProductCategory> .
<http://ld.company.org/prod-vocab/ProductCategory> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
<http://ld.company.org/prod-instances/prod-cat-Gauge> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/ProductCategory> .
<http://ld.company.org/prod-instances/prod-cat-Encoder> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/ProductCategory> .
<http://ld.company.org/prod-instances/prod-cat-Inductor> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/ProductCategory> .
<http://ld.company.org/prod-instances/prod-cat-Coil> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/ProductCategory> .
<http://ld.company.org/prod-instances/prod-cat-Transistor> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/ProductCategory> .
<http://ld.company.org/prod-instances/prod-cat-Warp> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/ProductCategory> .
<http://ld.company.org/prod-instances/prod-cat-Oscillator> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/ProductCategory> .
<http://ld.company.org/prod-instances/prod-cat-Breaker> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/ProductCategory> .
<http://ld.company.org/prod-instances/prod-cat-Crystal> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/ProductCategory> .
<http://ld.company.org/prod-instances/prod-cat-Capacitor> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/ProductCategory> .
<http://ld.company.org/prod-instances/prod-cat-Sensor> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/ProductCategory> .
<http://ld.company.org/prod-instances/prod-cat-Compensator> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/ProductCategory> .
<http://ld.company.org/prod-instances/prod-cat-Resistor> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/ProductCategory> .
<http://ld.company.org/prod-instances/prod-cat-LCD> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/ProductCategory> .
<http://ld.company.org/prod-instances/prod-cat-Multiplexer> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/ProductCategory> .
<http://ld.company.org/prod-instances/prod-cat-Potentiometer> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/ProductCategory> .
<http://ld.company.org/prod-instances/prod-cat-Meter> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/ProductCategory> .
20 changes: 20 additions & 0 deletions tests/test_files/test_lines_000000003.nt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<http://ld.company.org/prod-instances/prod-cat-Switch> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/ProductCategory> .
<http://ld.company.org/prod-instances/prod-cat-Transducer> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/ProductCategory> .
<http://ld.company.org/prod-instances/prod-cat-Strain> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/ProductCategory> .
<http://ld.company.org/prod-instances/prod-cat-Network> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/ProductCategory> .
<http://ld.company.org/prod-instances/prod-cat-Resonator> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/ProductCategory> .
<http://ld.company.org/prod-instances/prod-cat-Driver> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/ProductCategory> .
<http://ld.company.org/prod-instances/prod-cat-Transformer> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/ProductCategory> .
<http://ld.company.org/prod-instances/prod-cat-Rheostat> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/ProductCategory> .
<http://ld.company.org/prod-instances/hw-I241-8776317> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/Hardware> .
<http://ld.company.org/prod-instances/price-hw-I241-8776317-EUR> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/Price> .
<http://ld.company.org/prod-vocab/Price> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
<urn:entity-products.xlsx> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/ns/prov#Entity> .
<http://ld.company.org/prod-instances/hw-D215-3449390> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/Hardware> .
<http://ld.company.org/prod-instances/price-hw-D215-3449390-EUR> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/Price> .
<http://ld.company.org/prod-instances/hw-P925-8919074> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/Hardware> .
<http://ld.company.org/prod-instances/price-hw-P925-8919074-EUR> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/Price> .
<http://ld.company.org/prod-instances/hw-P516-8211068> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/Hardware> .
<http://ld.company.org/prod-instances/price-hw-P516-8211068-EUR> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/Price> .
<http://ld.company.org/prod-instances/hw-N558-1730215> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/Hardware> .
<http://ld.company.org/prod-instances/price-hw-N558-1730215-EUR> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.company.org/prod-vocab/Price> .
Loading

0 comments on commit 079d8cd

Please sign in to comment.