Help:DivePixels: Difference between revisions

From artserver wiki
 
(7 intermediate revisions by the same user not shown)
Line 3: Line 3:
DivePixels is centered around the semantic annotation of images, using Page Forms.
DivePixels is centered around the semantic annotation of images, using Page Forms.


==Annotation==
==Image's Annotations==
The page of a <code>File:</code> has the option to '''Edit with Form''', which is enabled by the [[Project:File]] to be the [[Form:Image]]


[[Form:Image]] defines the fields, input types, and allowed values of the Form
At the heart of the DivePixels' section are <code>File:</code> pages, dedicated to pictures taking scuba diving.
 
Each of the DivePixels' <code>File:</code> 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
 
=Pages=
 
== Species pages ==
 
Are dedicate to information about the '''Species''', bearing the page name
 
 
'''User: [[Template:Species]]''': which provides a list of all the wiki pages tagged with <nowiki>[[Species::thatspieces]]</nowiki> will be printed
 
 
== Dive Site pages ==
 
Are dedicate to information about the '''Dive Site''', bearing the page name
 
Uses [[Template:Dive Site]]
 
Existing Div Sites:
{{#ask: [[Location::+]]
|?Location=
|format=ul
|limit=5000
|offset=0
|link=all
|sort=Location
|order=asc
|mainlabel=
}}
 
== Location Pages ==
 
Show the '''Dive Sites of Location''' and '''Images take in the Dive Sites of that Location'''.
 
Uses [[Template:PicsFromLocation]]
 
Existing locations:
{{#ask: [[Category:Location]]
|format=list
|limit=50
|offset=0
|link=all
|sep=,&#32;
}}
 
----


== Printing results ==
== Printing results ==
Line 20: Line 70:
}}
}}
</pre>
</pre>
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>
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 <nowiki>[[Section::DivePixels]]</nowiki> )
And all the DivePixels' photos ( File: pages tagged with <nowiki>[[Section::DivePixels]]</nowiki> )
<pre>
<pre>
Line 41: Line 98:




=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 ask
 


[[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

Latest revision as of 12:18, 28 April 2020

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

Pages

Species pages

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


User: Template:Species: which provides 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

Uses Template:Dive Site

Existing Div Sites:

Location Pages

Show the Dive Sites of Location and Images take in the Dive Sites of that Location.

Uses Template:PicsFromLocation

Existing locations: Sesimbra


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 ask


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