Skip to content

Test dataset #36

@AdrienLemaire

Description

@AdrienLemaire

Hi @keski @evabl444 @maike95, and thank you for you work on this DPPO repo.
Can you share the test data you used to build this ontology, for me to run the sparql queries against ?

When I try to generate some test data

Fake Jewel
@prefix dpp: <http://w3id.org/dppo/ontology/dpp-odp/> .
@prefix dpp-info: <http://w3id.org/dppo/ontology/dpp-info/> .
@prefix dpp-prov: <http://w3id.org/dppo/ontology/dpp-prov/> .
@prefix ceon: <http://w3id.org/CEON/ontology/core#> .
@prefix ceon-prod: <http://w3id.org/CEON/ontology/product#> .
@prefix ceon-mat: <http://w3id.org/CEON/ontology/material#> . 
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# Define the fake jewel product
<http://example.org/product/fake-jewel> a ceon-prod:Product ;
    rdfs:label "Fake Jewel"@en ;
    dpp-info:hasCompositionInformation <http://example.org/composition/fake-jewel> ;
    dpp-info:containsInformation <http://example.org/information/fake-jewel> ;
    dpp-prov:dppOwner <http://example.org/actor/jewel-manufacturer> .

# Define the composition information
<http://example.org/composition/fake-jewel> a dpp-info:CompositionInformation ;
    dpp-info:isAbout <http://example.org/product/fake-jewel> ;
    dpp-info:aboutPart <http://example.org/material/fake-diamond> ;
    dpp-info:aboutWhole <http://example.org/product/fake-jewel> .

# Define the material (fake diamond)
<http://example.org/material/fake-diamond> a ceon-mat:Material ;
    rdfs:label "Fake Diamond"@en ;
    dpp-info:hasCompositionInformation <http://example.org/composition/fake-diamond> .

# Define the composition information for the fake diamond
<http://example.org/composition/fake-diamond> a dpp-info:CompositionInformation ;
    dpp-info:isAbout <http://example.org/material/fake-diamond> ;
    dpp-info:aboutPart <http://example.org/substance/cubic-zirconia> ;
    dpp-info:aboutWhole <http://example.org/material/fake-diamond> .

# Define the substance (cubic zirconia)
<http://example.org/substance/cubic-zirconia> a ceon:PhysicalObject ;
    rdfs:label "Cubic Zirconia"@en .

# Define the information about the fake jewel
<http://example.org/information/fake-jewel> a dpp-info:DPPInformation ;
    dpp-info:isAbout <http://example.org/product/fake-jewel> ;
    dpp-info:quality <http://example.org/quality/high-quality> ;
    dpp-info:characteristic <http://example.org/characteristic/shiny> ;
    dpp-prov:creationTimeStamp "2023-11-27T00:00:00Z"^^xsd:dateTime ;
    dpp-prov:responsibleActor <http://example.org/actor/jewel-manufacturer> .

# Define the quality
<http://example.org/quality/high-quality> a dpp-info:ProductQuality ;
    rdfs:label "High Quality"@en ;
    dpp-info:value "High"@en .

# Define the characteristic
<http://example.org/characteristic/shiny> a dpp-info:ProductCharacteristic ;
    rdfs:label "Shiny"@en ;
    dpp-info:value "Very Shiny"@en .

# Define the actor (manufacturer)
<http://example.org/actor/jewel-manufacturer> a dpp-prov:ValueChainActor ;
    rdfs:label "Jewel Manufacturer"@en .

And load it in neo4j with the neosemantics plugin, I get this result:

Image

I need to fix several issues such as the naming of properties in the nodes and relationships. But I'm unsure about the quality of my test data to begin with, and having dpp-compliant test data to compare it with would help tremendously 🙏

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions