Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Wikibase
Create new item
Create new property
All items
All properties
QuickStatements
SPARQL Query Service
Federated Objects
Search
Search
English
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
UseCases/Software
(section)
Page
Discussion
English
Read
Edit
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Edit source
View history
General
What links here
Related changes
Page information
In other projects
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
= Use Case: Software (CodeMeta) = Two research-software items β '''SPARQLing Unicorn QGIS Plugin''' ([[Item:Q6|Q6]]) and '''Academic Meta Tool''' ([[Item:Q7|Q7]]) β modelled with a '''CodeMeta β Wikidata crosswalk'''. == What we mean by federation here == This is the Task Force's '''"reference source / reference ontology"''' case: reuse Wikidata's ontology for everything generic, and keep your own vocabulary only where the domain needs it. * '''Reuse Wikidata''' (8 fields): instance of, developer, programmed in, license, version, DOI, source repository, website β mapped to wd:P31 / P178 / P277 / P275 / P348 / P356 / P1324 / P856. * '''Own properties''' (5 fields with '''no Wikidata equivalent'''): development status, continuous integration, README, build instructions, code sample type β taken from '''CodeMeta'''. == Why a Wikibase ecosystem, not Wikidata alone == * CodeMeta captures software metadata that '''Wikidata has no property for'''. In the Task Force's own words this is a "driver for a split": ''extra data on an item where no relevant property is in Wikidata.'' * Instead of forking silently, we create local properties '''and record their Wikidata equivalent''' (<code>equivalent Wikidata property = P178</code>). The local vocabulary stays '''aligned''' with Wikidata and does not drift. * Result: Wikidata's shared ontology '''plus''' your domain extension, in one queryable graph. == How it works technically == * Predicates are '''local properties''' β the model works on any Wikibase, even '''without''' the Federated Properties feature. * A switch (<code>PROPERTY_MODE</code>) writes each mapped fact '''local''', '''federated''' (wd:Pβ¦), or '''both side by side''' β the direct "with vs. without federation" comparison, on the same item. * Item values reference Wikidata concepts (value federation): ''developer'' β wd:Qβ¦, ''programmed in'' β wd:Q28865 (Python). == What to watch out for == * '''Prevent drift / splits.''' Always map a local property to its Wikidata equivalent (we use a string property "equivalent Wikidata property"). This is the Task Force's anti-drift point made concrete. * '''Label conflicts.''' A local ''instance of'' collides with the built-in P1 β reuse the existing property, do not create a duplicate. * '''url datatype is blocked''' β repository / website are stored as string (not clickable until url is unblocked). * '''Identifier discipline.''' Full URIs for Wikidata values; local Q/P numbers stay local (no collision with Wikidata). == TODOs == * '''[Flo]''' Replace illustrative CodeMeta values (development status, README, CI) with real ones. * '''[Flo/devs]''' Unblock url so repository / website / CI become proper links and IRIs. * '''[Flo]''' Decide the policy per instance: local-only vs. local+federated. * '''[Flo]''' Extend the crosswalk to more CodeMeta fields as needed. == What would matter most for federation == * An '''official localβWikidata mapping property''' (equivalent property) that the software honours in queries and RDF would make this pattern first-class. * Reuse of the Wikidata ontology with '''short lag''' and completion, to keep instances aligned and prevent drift. ''See also: [[UseCases/Ogham]] β the "statements on entities from another Wikibase" case.''
Summary:
Please note that all contributions to Federated Objects may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Federated Objects:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
UseCases/Software
(section)
Add languages
Add topic