Wikivoyage:RDF Expedition/Article status

From Wikivoyage
Jump to navigation Jump to search

We have a nice 1-5 measurement of article status on Wikivoyage, which we use for evaluating the maturity of an article. If we represented this status in RDF, we could query article status, if we could query.

Representation[edit]

There's not a clear vocabulary for representing document's development stage, so we'll probably have to make up our own in the Wikivoyage schema. Something like wts:stage, with either literals ("stub") or resources (wts:Stub) as the range.

We will use the following representations

Stub[edit]

 <> wts:stage wts:Stub .
 

Outline[edit]

 <> wts:stage wts:Outline .
 

Usable[edit]

 <> wts:stage wts:Usable .
 

Guide[edit]

 <> wts:stage wts:GuideStage .
 

Star[edit]

 <> wts:stage wts:Star .
 

Though we use different templates to indicate the article status for different types of articles (city, country, travel topics, etc.) we will not do the same in our RDF representation, as we don't wish to repeat what Project:RDF Expedition/Article type will be doing.

Examples[edit]

For Lausanne,

 <> wts:stage wts:Star .
 

Templates[edit]

It should be easy and expedient to add this code to the existing article status templates.