LiUSemWeb / LiUSemWeb/DPPO

Test dataset

Open
#36 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
9
Forks
0
PR merge metrics
No merged PRs in 30d

Description

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

```rdf
@prefix dpp: .
@prefix dpp-info: .
@prefix dpp-prov: .
@prefix ceon: .
@prefix ceon-prod: .
@prefix ceon-mat: .
@prefix xsd: .

# Define the fake jewel product
a ceon-prod:Product ;
rdfs:label "Fake Jewel"@en ;
dpp-info:hasCompositionInformation ;
dpp-info:containsInformation ;
dpp-prov:dppOwner .

# Define the composition information
a dpp-info:CompositionInformation ;
dpp-info:isAbout ;
dpp-info:aboutPart ;
dpp-info:aboutWhole .

# Define the material (fake diamond)
a ceon-mat:Material ;
rdfs:label "Fake Diamond"@en ;
dpp-info:hasCompositionInformation .

# Define the composition information for the fake diamond
a dpp-info:CompositionInformation ;
dpp-info:isAbout ;
dpp-info:aboutPart ;
dpp-info:aboutWhole .

# Define the substance (cubic zirconia)
a ceon:PhysicalObject ;
rdfs:label "Cubic Zirconia"@en .

# Define the information about the fake jewel
a dpp-info:DPPInformation ;
dpp-info:isAbout ;
dpp-info:quality ;
dpp-info:characteristic ;
dpp-prov:creationTimeStamp "2023-11-27T00:00:00Z"^^xsd:dateTime ;
dpp-prov:responsibleActor .

# Define the quality
a dpp-info:ProductQuality ;
rdfs:label "High Quality"@en ;
dpp-info:value "High"@en .

# Define the characteristic
a dpp-info:ProductCharacteristic ;
rdfs:label "Shiny"@en ;
dpp-info:value "Very Shiny"@en .

# Define the actor (manufacturer)
a dpp-prov:ValueChainActor ;
rdfs:label "Jewel Manufacturer"@en .
```

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

![Image](https://github.com/user-attachments/assets/c3b5c49e-c0a9-4577-b96f-f3cf331721f5)

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 🙏

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the DPPO ontology and the supplied RDF example, then compare how it loads through Neo4j with the neosemantics plugin. Done means a DPP-compliant reference dataset is available, with enough expected structure to validate the resulting nodes, relationships, and SPARQL queries.

Written by the indexing model from the issue text.

Assessment

Domain
databases, testing-qa
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.