Discuss RDF export

From semantic-mediawiki.org

Talk pages on this wiki should primarily be used to address possible mistakes as well as missing and superseded information in the documentation.
In case you are seeking support concerning individual questions, please have a look at this page. The Semantic MediaWiki user mailing list is always a good idea for seeking help.

Categories and rdf:type[edit]

Is there a way to alter the default assignment of rdf:type to pages of a category? I have pages which are Classes in the sense of rdf and therefore rdfs:SubClassOf would be more appropriate.

Is it possible to achieve this?

How convert the RDF export to N3 format ?[edit]

In the RDF, I can see the variables like &wiki;

 <!DOCTYPE rdf:RDF[
        <!ENTITY rdf 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'>
        <!ENTITY rdfs 'http://www.w3.org/2000/01/rdf-schema#'>
        <!ENTITY owl 'http://www.w3.org/2002/07/owl#'>
        <!ENTITY swivt 'http://semantic-mediawiki.org/swivt/1.0#'>
        <!ENTITY wiki 'http://www.toto.com/wiki/index.php/Sp%C3%A9cial:URIResolver/'>
        <!ENTITY property 'http://www.toto.com/wiki/index.php/Sp%C3%A9cial:URIResolver/Attribut-3A'>
        <!ENTITY wikiurl 'http://localhost/wiki/index.php/'>

]>
...
        <swivt:Subject rdf:about="&wiki;Accueil">
                <rdfs:label>Accueil</rdfs:label>
        </swivt:Subject>

But I need of :

<http://www.toto.com/wiki/a#Accueil> <http://www.w3.org/1999/02/22-rdf-syntax-ns#label> "Accueil".

How can I do that ? XSLT ? probably someone has already done ? Thanks,

Cool URIs for the Semantic Web[edit]

I read the very good document http://www.w3.org/TR/cooluris/#examples where it spoke of semantic mediawiki. There is someone who is building yet this solution ? in the roadmap ? ie :

http://ontoworld.org/data/Karlsruhe

Thanks --Karima Rafes 14:15, 17 July 2010 (UTC)

Contents

Thread titleRepliesLast modified
Not a valid URI in Special:ExportRDF321:12, 8 June 2017
How restrict any export in rdf format ?015:51, 22 September 2012

Not a valid URI in Special:ExportRDF

  • VERSION:
    • MediaWiki 1.28.0
    • PHP 5.6.30 (cgi-fcgi)
    • MySQL 5.6.36-82.0-log
    • ICU 4.8.1.1
    • SMW: 2.4.5

Using Special:ExportRDF on my site I got this error message:

This page contains the following errors: - error on line 18 at column 21: xmlns:wiki: 'http://http://tunearch.org/w/wiki/Special:URIResolver/' is not a valid URI error on line 19 at column 29: xmlns:category: 'http://http://tunearch.org/w/wiki/Special:URIResolver/Category-3A' is not a valid URI Below is a rendering of the page up to the first error. - 2017-05-19T10:59:16+00:00 Frisky 0 Frisky

.

13:05, 19 May 2017

> Using Special:ExportRDF on my site I got this error message:

For the following [0, 1] examples I cannot verify your report, please provide a link where the description of yours can be observed.

[0] view-source:http://tunearch.org/w/index.php?title=Special:ExportRDF/TTA&syntax=rdf

[1] view-source:http://tunearch.org/w/index.php?title=Special:ExportRDF/Frisky_%281%29&syntax=rdf

02:05, 20 May 2017

This is what I got at :
http://tunearch.org/w/index.php?title=Special:ExportRDF/Blue_Eyed_Stranger_(4)_(The)&syntax=rdf

This page contains the following errors:
error on line 18 at column 21: xmlns:wiki: 'http://http://tunearch.org/w/wiki/Special:URIResolver/' is not a valid URI
error on line 19 at column 29: xmlns:category: 'http://http://tunearch.org/w/wiki/Special:URIResolver/Category-3A' is not a valid URI

And every time I use the RDF icon on the right-top of the BrowseProperties Form: http://tunearch.org/wiki/Special:Browse/:Blue_Eyed_Stranger_(4)_(The)
Now if you click of the examples above [0,1], you'll get the same.
Perhaps I did not understand your request.

Ciao.

09:54, 8 June 2017
 
 

How restrict any export in rdf format ?

Nicolas NALLET (domotiki)

15:51, 22 September 2012