Help:DivePixels: Difference between revisions

From artserver wiki
No edit summary
Line 37: Line 37:
Note that in this Ask request uses an [https://www.semantic-mediawiki.org/wiki/Help:Inverse_properties Inverse property].
Note that in this Ask request uses an [https://www.semantic-mediawiki.org/wiki/Help:Inverse_properties Inverse property].
to ask for all the '''items(pages) which are dive sites of a given location''' <nowiki>[[-Location::+]]</nowiki>
to ask for all the '''items(pages) which are dive sites of a given location''' <nowiki>[[-Location::+]]</nowiki>
For a simple explanation of Inverse properties in https://www.semanticarts.com/blog/named-property-inverses/




Line 60: Line 62:




=To Write=
=To Do=
template: for [[Dive sites]] values. Should include
* property: Type of Dive Site (template)
* property Location (template)
* Country: by asking: what is the country of the location
* Free text
* printout with ast


[[Dive sites]]
 
template: for [[Species]] values. Should include
* property: Portuguese name  (template) if given
* property: latin name  (template) if given
* External link: wikipedia
* External link: wikidata
* External link: http://www.fishbase.org/
* Free text
* printout with ast


See [https://www.semantic-mediawiki.org/wiki/Help:Inverse_properties Inverse_properties documentation]
See [https://www.semantic-mediawiki.org/wiki/Help:Inverse_properties Inverse_properties documentation]
Each dive site includes
<pre>{{#set:
Type of Dive Site= shipwreck }}</pre>
Might become template:Divesite

Revision as of 22:29, 30 July 2018

DivePixels Documentation

DivePixels is centered around the semantic annotation of images, using Page Forms.

Image's Annotations

At the heart of the DivePixels' section are File: pages, dedicated to pictures taking scuba diving.

Each of the DivePixels' File: pages includes option to Edit with Form: Form:Image (enabled in the Project:File. The form asks for the semantic properties of:

  • Section
  • Date
  • Dive Site - each Dive Site value is a page dedicated to the Dive site, bearing the page name
  • Species - each Species value is a page dedicated to the Species, bearing the page name

Species pages

Are dedicate to information about the Species, bearing the page name

By adding the Template:Species: {{Species}} a list of all the wiki pages tagged with [[Species::thatspieces]] will be printed


Dive Site pages

Are dedicate to information about the Dive Site, bearing the page name

Printing results

DivePixels uses an Semantic Ask to printout tables of "Dive Sites According to Location"

{{#ask: [[-Location::+]]
 |format=table
 |link=all
 |mainlabel=Location
 |?Country
 |?Dive Site
 |class=sortable wikitable smwtable
}}

Note that in this Ask request uses an Inverse property. to ask for all the items(pages) which are dive sites of a given location [[-Location::+]]

For a simple explanation of Inverse properties in https://www.semanticarts.com/blog/named-property-inverses/


And all the DivePixels' photos ( File: pages tagged with [[Section::DivePixels]] )

{{#ask: [[Section::DivePixels]]
 |format=table
 |link=all
 |?Dive Site 
 |?Date
 |?Species
 |sort= Dive Site 
 |order=descending
 |headers=show
 |searchlabel=... further results
 |class=sortable wikitable smwtable
}}

Things: Species, Dive Sites

Use the {{Species}} and {{Dive Site}} in order to create image galleries in the value pages of these properties.


To Do

template: for Dive sites values. Should include

  • property: Type of Dive Site (template)
  • property Location (template)
  • Country: by asking: what is the country of the location
  • Free text
  • printout with ast


template: for Species values. Should include

  • property: Portuguese name (template) if given
  • property: latin name (template) if given
  • External link: wikipedia
  • External link: wikidata
  • External link: http://www.fishbase.org/
  • Free text
  • printout with ast

See Inverse_properties documentation