RDF in Semantic Mediawiki: Difference between revisions

From artserver wiki
No edit summary
Line 7: Line 7:


==MediaWiki:Smw_import==
==MediaWiki:Smw_import==
SMW manual mentions the following ontologies, some of which are already present in SMW instances, others which need to be create from the examples provided by the SMW manual:  
To import existing Semantic Web ontologies SMW uses the <nowiki>MediaWiki:Smw_import_ONTOGOLOGYNAME</nowiki> pages, such as [[MediaWiki:Smw_import_foaf]] for the Friend Of A Friend ontology.
 
SMW manual mentions the following ontologies, some of which are already present in SMW instances, others need to be create from the examples provided by the SMW manual:  


* [[MediaWiki:Smw_import_foaf|foaf]] Friend Of A Friend [https://www.semantic-mediawiki.org/wiki/MediaWiki:Smw_import_foaf Smw_import_foaf example]
* [[MediaWiki:Smw_import_foaf|foaf]] Friend Of A Friend [https://www.semantic-mediawiki.org/wiki/MediaWiki:Smw_import_foaf Smw_import_foaf example]
Line 17: Line 19:
* [[MediaWiki:Smw_import_bibo|bibo]] Bibliographic Ontology [https://www.semantic-mediawiki.org/wiki/MediaWiki:Smw_import_bibo Smw_import_bibo example]
* [[MediaWiki:Smw_import_bibo|bibo]] Bibliographic Ontology [https://www.semantic-mediawiki.org/wiki/MediaWiki:Smw_import_bibo Smw_import_bibo example]
* [[MediaWiki:Smw_import_frbr|frbr]] Functional Requirements for Bibliographic Records [https://www.semantic-mediawiki.org/wiki/MediaWiki:Smw_import_frbr Smw_import_frbr example]
* [[MediaWiki:Smw_import_frbr|frbr]] Functional Requirements for Bibliographic Records [https://www.semantic-mediawiki.org/wiki/MediaWiki:Smw_import_frbr Smw_import_frbr example]
<nowiki>MediaWiki:Smw_import_dcterm</nowiki>
at page <nowiki>MediaWiki:Smw_import_dcterm</nowiki>


==Property pages==
==Property pages==

Revision as of 12:05, 30 April 2020

Notes on importing ontologies to SMW

How to importing ontology?

The documentation on importing existing ontologies to SMW in its Manual Section Help:Import_vocabulary

MediaWiki:Smw_import

To import existing Semantic Web ontologies SMW uses the MediaWiki:Smw_import_ONTOGOLOGYNAME pages, such as MediaWiki:Smw_import_foaf for the Friend Of A Friend ontology.

SMW manual mentions the following ontologies, some of which are already present in SMW instances, others need to be create from the examples provided by the SMW manual:

Property pages

Create Property pages for each one of the ontology properties

Following the template: ...

Classes

Create category pages for the properties containing the Datatype Category

Containing the Property::value pair

[[Imported from::foaf:Person]]


Desambiguation

Classes in RDF and SMW

An RDF class is defined as the set of its instances. Consider the class of abstract ideas. Members – instances – of that set include love, honour, duty, pi, evolution, etc. This view of a class is a mathematical concept, so the set of abstract ideas is both an idea and quite abstract, so therefore is itself an instance, or member, of the class abstract ideas. More prosaically, if a class is a set of things, then RDFS classes both denote sets of things, and are themselves instances of the set of all classes, aka rdfs:Class.[1]

In SMW a class is page It is a thing.