AKSW / OntoWiki

Semantic data wiki as well as Linked Data publishing engine
https://ontowiki.net
204 stars 51 forks source link

Can't delete certain property #358

Open shinobu opened 8 years ago

shinobu commented 8 years ago

while reparing the rdfa import, i stumbled upon the problem, that one of the properties imported from aksw.org/User can't be deleted. Even after deleting the resource the source still contains

# Exported with the Erfurt API - http://aksw.org/Projects/Erfurt

@base <http://localhost/OntoWiki/index.php/testeasy/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix sioc: <http://rdfs.org/sioc/ns#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

<http://aksw.org/NatanaelArndt> sioc:last_activity_date "2016-04-05T15:31:32+02:00"@en .

deleting the last property manually show a normal "1 property deleted" message, but the property still exists if you navigate back to the resource.

shinobu commented 8 years ago

another example would be this one, where I can't delete Literals

# Exported with the Erfurt API - http://aksw.org/Projects/Erfurt

@base <http://localhost/OntoWiki/index.php/easyrdf/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix ns0: <http://purl.org/ontology/bibo/> .
@prefix ns1: <http://www.w3.org/2001/02pd/rec54#> .

<https://www.w3.org/TR/xhtml-rdfa-primer/> dct:abstract """Abstract

                The last couple of years have witnessed a fascinating evolution: while the Web was initially
                built predominantly for human consumption, web content is increasingly consumed by machines
                which expect some amount of structured data. Sites have started to identify a page's title,
                content type, and preview image to provide appropriate information in a user's newsfeed when
                she clicks the \"Like\" button. Search engines have started to provide richer search results by
                extracting fine-grained structured details from the Web pages they crawl. In turn, web
                publishers are producing increasing amounts of structured data within their Web content to
                improve their standing with search engines.

                A key enabling technology behind these developments is the ability to add structured data to
                HTML pages directly. RDFa (Resource Description Framework in Attributes) is a technique that
                allows just that: it provides a set of markup attributes to augment the visual information on
                the Web with machine-readable hints. In this Primer, we show how to express data using RDFa
                in HTML, and in particular how to mark up existing human-readable Web page content to express
                machine-readable data.

                This document provides only a Primer to RDFa 1.1. The complete specification of RDFa, with
                further examples, can be found in the RDFa 1.1 Core [rdfa-core], RDFa Lite [rdfa-lite],
                XHTML+RDFa 1.1 [xhtml-rdfa], and the HTML5+RDFa 1.1 [html-rdfa] specifications.

        """@en ;
                                           dct:issued "2015-03-17"^^xsd:date ;
                                           dct:language "en" ;
                                           dct:references <http://creativecommons.org/about/licenses/>, <http://dublincore.org/documents/dcmi-terms/>, <http://ogp.me>, <http://schema.org>, <http://www.w3.org/TR/SVG11/>, <http://www.w3.org/TR/html-rdfa/>, <http://www.w3.org/TR/rdf11-primer/>, <http://www.w3.org/TR/rdfa-core/>, <http://www.w3.org/TR/rdfa-lite/>, <http://www.w3.org/TR/rdfa-syntax>, <http://www.w3.org/TR/sparql11-query/>, <http://www.w3.org/TR/turtle/>, <http://www.w3.org/TR/xhtml-rdfa/>, <http://www.w3.org/TR/xmlschema11-2/>, <http://xmlns.com/foaf/spec> ;
                                           dct:replaces <http://www.w3.org/TR/2013/NOTE-rdfa-primer-20130822/> ;
                                           dct:title "RDFa 1.1 Primer - Third Edition"@en ;
                                           ns0:hasPart <https://www.w3.org/TR/xhtml-rdfa-primer/#acknowledgments>, <https://www.w3.org/TR/xhtml-rdfa-primer/#introduction>, <https://www.w3.org/TR/xhtml-rdfa-primer/#rdfa-tools>, <https://www.w3.org/TR/xhtml-rdfa-primer/#references>, <https://www.w3.org/TR/xhtml-rdfa-primer/#using-rdfa>, <https://www.w3.org/TR/xhtml-rdfa-primer/#you-said-something-about-rdf> ;
                                           ns0:subtitle "Rich Structured Data Markup for Web Documents"@en ;
                                           a ns0:Document ;
                                           ns1:patentRules <http://www.w3.org/Consortium/Patent-Policy-20040205/> .
white-gecko commented 8 years ago

The second comment should be related to AKSW/Erfurt#108.

I could reproduce the first part, using the "Delete" button and the "Delete Resource" Entry from the Main menu. But deleting it from the "Source" tab works with Virtuoso 7.1.1-dev.3211-pthreads

shinobu commented 8 years ago

Deletion per "Source Tab" does not work with Virtuoso 06.01.3127 (Ubuntu Package Version)