directory-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [directory-discuss] Free Software Directory Database


From: Marta Rogers
Subject: Re: [directory-discuss] Free Software Directory Database
Date: Thu, 19 Jan 2017 01:22:41 +0100

Yes I'm interested in the content of the page (in a machine readable format).
This software for example: https://directory.fsf.org/wiki/Archive if you go 
here https://directory.fsf.org/wiki/Special:ExportRDF and type "Archive" in the 
box, then click "Export", all the content of the page seems to be there. Unless 
I'm missing something.
 
 

Sent: Wednesday, January 18, 2017 at 10:01 PM
From: "Greg Rundlett (freephile)" <address@hidden>
To: "Marta Rogers" <address@hidden>
Cc: fsd <address@hidden>
Subject: Re: [directory-discuss] Free Software Directory Database

On Wed, Jan 18, 2017 at 3:05 PM, Marta Rogers <address@hidden:address@hidden> 
wrote:OK this seems to be interesting stuff.
I've found this page 
https://www.semantic-mediawiki.org/wiki/Help:RDF_export[https://www.semantic-mediawiki.org/wiki/Help:RDF_export]
 which seems to work (for a single page), here 
https://directory.fsf.org/wiki/Special:ExportRDF[https://directory.fsf.org/wiki/Special:ExportRDF]
To export everything, you should have a script called "dumpRDF.php" as 
mentioned here 
https://www.semantic-mediawiki.org/wiki/Help:RDF_export#Exporting_all_data[https://www.semantic-mediawiki.org/wiki/Help:RDF_export#Exporting_all_data]

Could you look for this script? It might be the right way to export all data in 
RDF.

 
 
It dumps only semantic data, not the page contents itself.  I believe your 
original request was for page content.
 
So for example, it will tell you about intrinsic properties like when the page 
was created or modified, and other "built-in" properties like the categories 
that the page is in.
 
compare this URL: 
https://freephile.org/wiki/QualityBox[https://freephile.org/wiki/QualityBox]
 
with this dump output:
php dumpRDF.php --page QualityBox
 

Writing OWL/RDF dump to  ...
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE rdf:RDF[
        <!ENTITY rdf 
'http://www.w3.org/1999/02/22-rdf-syntax-ns#[http://www.w3.org/1999/02/22-rdf-syntax-ns#]'>
        <!ENTITY rdfs 
'http://www.w3.org/2000/01/rdf-schema#[http://www.w3.org/2000/01/rdf-schema#]'>
        <!ENTITY owl 
'http://www.w3.org/2002/07/owl#[http://www.w3.org/2002/07/owl#]'>
        <!ENTITY swivt 
'http://semantic-mediawiki.org/swivt/1.0#[http://semantic-mediawiki.org/swivt/1.0#]'>
        <!ENTITY wiki 
'http://freephile.org/wiki/Special:URIResolver/[http://freephile.org/wiki/Special:URIResolver/]'>
        <!ENTITY category 
'http://freephile.org/wiki/Special:URIResolver/Category-3A[http://freephile.org/wiki/Special:URIResolver/Category-3A]'>
        <!ENTITY property 
'http://freephile.org/wiki/Special:URIResolver/Property-3A[http://freephile.org/wiki/Special:URIResolver/Property-3A]'>
        <!ENTITY wikiurl 'http://localhost/wiki/[http://localhost/wiki/]'>
]>
 
<rdf:RDF
        xmlns:rdf="&rdf;"
        xmlns:rdfs="&rdfs;"
        xmlns:owl ="&owl;"
        xmlns:swivt="&swivt;"
        xmlns:wiki="&wiki;"
        xmlns:category="&category;"
        xmlns:property="&property;">
 
        <owl:Ontology 
rdf:about="http://localhost/wiki/Special:ExportRDF/QualityBox[http://localhost/wiki/Special:ExportRDF/QualityBox]";>
                <swivt:creationDate 
rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime[http://www.w3.org/2001/XMLSchema#dateTime]";>2017-01-18T15:54:15-05:00</swivt:creationDate>
                <owl:imports 
rdf:resource="http://semantic-mediawiki.org/swivt/1.0[http://semantic-mediawiki.org/swivt/1.0]"/>
        </owl:Ontology>
        <swivt:Subject 
rdf:about="http://freephile.org/wiki/Special:URIResolver/QualityBox[http://freephile.org/wiki/Special:URIResolver/QualityBox]";>
                <rdf:type 
rdf:resource="http://freephile.org/wiki/Special:URIResolver/Category-3ACompany[http://freephile.org/wiki/Special:URIResolver/Category-3ACompany]"/>
                <rdf:type 
rdf:resource="http://freephile.org/wiki/Special:URIResolver/Category-3AQualityBox[http://freephile.org/wiki/Special:URIResolver/Category-3AQualityBox]"/>
                <rdf:type 
rdf:resource="http://freephile.org/wiki/Special:URIResolver/Category-3AWiki[http://freephile.org/wiki/Special:URIResolver/Category-3AWiki]"/>
                <rdfs:label>QualityBox</rdfs:label>
                <swivt:page 
rdf:resource="http://localhost/wiki/QualityBox[http://localhost/wiki/QualityBox]"/>
                <rdfs:isDefinedBy 
rdf:resource="http://localhost/wiki/Special:ExportRDF/QualityBox[http://localhost/wiki/Special:ExportRDF/QualityBox]"/>
                <swivt:wikiNamespace 
rdf:datatype="http://www.w3.org/2001/XMLSchema#integer[http://www.w3.org/2001/XMLSchema#integer]";>0</swivt:wikiNamespace>
                <swivt:wikiPageModificationDate 
rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime[http://www.w3.org/2001/XMLSchema#dateTime]";>2016-12-07T16:23:56Z</swivt:wikiPageModificationDate>
                <property:Modification_date-23aux 
rdf:datatype="http://www.w3.org/2001/XMLSchema#double[http://www.w3.org/2001/XMLSchema#double]";>2457730.183287</property:Modification_date-23aux>
                <swivt:wikiPageSortKey 
rdf:datatype="http://www.w3.org/2001/XMLSchema#string[http://www.w3.org/2001/XMLSchema#string]";>QualityBox</swivt:wikiPageSortKey>
        </swivt:Subject>
        <owl:DatatypeProperty 
rdf:about="http://semantic-mediawiki.org/swivt/1.0#creationDate[http://semantic-mediawiki.org/swivt/1.0#creationDate]";
 />
        <owl:Class 
rdf:about="http://freephile.org/wiki/Special:URIResolver/Category-3ACompany[http://freephile.org/wiki/Special:URIResolver/Category-3ACompany]";
 />
        <owl:Class 
rdf:about="http://freephile.org/wiki/Special:URIResolver/Category-3AQualityBox[http://freephile.org/wiki/Special:URIResolver/Category-3AQualityBox]";
 />
        <owl:Class 
rdf:about="http://freephile.org/wiki/Special:URIResolver/Category-3AWiki[http://freephile.org/wiki/Special:URIResolver/Category-3AWiki]";
 />
        <owl:ObjectProperty 
rdf:about="http://semantic-mediawiki.org/swivt/1.0#page[http://semantic-mediawiki.org/swivt/1.0#page]";
 />
        <owl:DatatypeProperty 
rdf:about="http://semantic-mediawiki.org/swivt/1.0#wikiNamespace[http://semantic-mediawiki.org/swivt/1.0#wikiNamespace]";
 />
        <owl:DatatypeProperty 
rdf:about="http://semantic-mediawiki.org/swivt/1.0#wikiPageModificationDate[http://semantic-mediawiki.org/swivt/1.0#wikiPageModificationDate]";
 />
        <owl:DatatypeProperty 
rdf:about="http://freephile.org/wiki/Special:URIResolver/Property-3AModification_date-23aux[http://freephile.org/wiki/Special:URIResolver/Property-3AModification_date-23aux]";
 />
        <owl:DatatypeProperty 
rdf:about="http://semantic-mediawiki.org/swivt/1.0#wikiPageSortKey[http://semantic-mediawiki.org/swivt/1.0#wikiPageSortKey]";
 />
        <!-- Created by Semantic MediaWiki, 
https://www.semantic-mediawiki.org/[https://www.semantic-mediawiki.org/] -->
 
Best regards,
 
Greg
 

Greg Rundlett
https://eQuality-Tech.com[https://equality-tech.com/]
https://freephile.org[https://freephile.org/]
 
 
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]