Help:DivePixels: Difference between revisions
(→To Do) |
|||
(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. | ||
== | ==Image's Annotations== | ||
[[Form:Image]] | 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=,  | |||
}} | |||
---- | |||
== 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 | =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 [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] | ||
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:
- Pedra do Meio (Sesimbra)
- Baleeira (Sesimbra)
- Paredes do Cabo (Sesimbra)
- River Gurara (Sesimbra)
- Jardim das Gorgónias (Sesimbra)
- Boca Do Tamboril (Sesimbra)
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