dice-group / deer

RDF Dataset Enrichment Framework
https://dice-group.github.io/deer/
GNU Affero General Public License v3.0
10 stars 7 forks source link

[webUI] MergeEnrichmentOperator not available #24

Open kvndrsslr opened 3 years ago

kvndrsslr commented 3 years ago
issue7

Need to investigate why the MergeEnrichmentOperator is not displayed. Could be a backend or frontend bug.

Tasks:

pskLana commented 3 years ago

@kvndrsslr , MergeEnrichmentOperator doesn't have Shape and properties triples in the SHACL file sent to the frontend. It has only this:

deer:MergeEnrichmentOperator
        rdfs:comment     "Merge two or more graphs" ;
        rdfs:seeAlso     <https://dice-group.github.io/deer/configuring_deer/enrichment_operators.html> ;
        rdfs:subClassOf  deer:EnrichmentOperator .
kvndrsslr commented 3 years ago

I will add more data then.

kvndrsslr commented 2 years ago

Despite adding more data, the MergeEnrichmentOperator still does not show up!

Current shape:

@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
@prefix sh: <http://www.w3.org/ns/shacl#>.
@prefix xsd: <http://www.w3.org/2001/XMLSchema#>.
@prefix deer: <https://w3id.org/deer/> .
@prefix fcage: <https://w3id.org/fcage/> .

# Node MergeEnrichmentOperator

deer:MergeEnrichmentOperatorShape
    a sh:NodeShape ;
    sh:targetClass deer:MergeEnrichmentOperator ;
  fcage:minInPorts 2 ;
  fcage:maxInPorts 10 ;
  fcage:minOutPorts 1 ;
  fcage:maxOutPorts 1 ;
.
pskLana commented 2 years ago

@kvndrsslr , I still don't see it in the response from the request "/shapes". Please, check what you send there.

kvndrsslr commented 2 years ago

This is indeed a backend problem. For a solution, I need to refactor it, will be in one of the next versions