Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Property does not work for adding rdfs:label #44

Open
seebi opened this issue Aug 26, 2014 · 4 comments
Open

Add Property does not work for adding rdfs:label #44

seebi opened this issue Aug 26, 2014 · 4 comments
Assignees

Comments

@seebi
Copy link
Member

seebi commented Aug 26, 2014

steps to see this issue:

  • create a new graph with SKOS ontology (LOV import does work)
  • click on class concept in the navigation module
  • click on add instance
  • click on Add Property and choose label

Problem: label widget is not inserted

@white-gecko
Copy link
Member

For me even the „Add Instance“-Button doesn't work (tested on http://develop.demo.ontowiki.eu/)

@splattater
Copy link

We can reproduce Natanael's problem. The error is thrown in rdfa.js, see console output after clicking "Add Instance" button.

We checked the HTML source of the resource list for Concept and got these triples from RDFa Distiller [1]. The base is missing, but used and the postfix of the object behind 'update:defaultGraph' is missing, too.

@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix update: <http://ns.aksw.org/update/> .

skos:Concept a rdfs:Class;
    rdfs:label "Concept" .

<> update:defaultGraph skos: .

<http://www.w3.org/2004/02/skos/core#Concept/test> a skos:Concept .

skos: update:queryEndpoint <http://develop.demo.ontowiki.eu/sparql/>;
    update:updateEndpoint <http://develop.demo.ontowiki.eu/update/> .

Do you have any idea when and where the wrong RDFa is written?

[1] http://www.w3.org/2012/pyRdfa/#distill_by_input

@white-gecko
Copy link
Member

Everything seams to work fine now.

I could follow all steps except for “click on Add Property and choose label” because the label widget was there already.

(Side note: if I remove a property with the “-” button, I can't re-add it with “Add Property”.)

@splattater
Copy link

I know. We are testing at the moment. What we've done so far was re-importing the knowledge base after analyzing the source. We deleted the @base statement and removed OntoWiki generated triples for owl:Ontology. Skos delivers 'http://www.w3.org/2004/02/skos/core' as URI. OntoWiki uses 'http://www.w3.org/2004/02/skos/core#' when importing via LOV.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants