Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries. Thanks for all your past and future contributions.
Mobile Device Specifications Database Access
This document provides instructions for accessing the Nokia Developer Device Profile specifications for the purpose of tracking new and updated Nokia specifications for mobile devices.
Nokia device specifications and properties are described using RDF/XML metadata. An OWL (Web Ontology Language) schema defines the available properties, values and labels. This schema is updated regularly as the ontology evolves.
How to find the most recent version of the Device Profile Ontology schema
- Download the root Nokia Developer ontology schema http://sw.nokia.com/schemas/nokia/ForumNokia.owl
- Look for the line matching the pattern '''http://sw.nokia.com/schemas/nokia/DP-1.##.owl''' . This is the URI of the latest version of the Device Profile Ontology schema.
How to download the latest device profiles
The complete set of device profiles can be obtained via the following RSS 1.0 (RDF/XML) feed: http://www.developer.nokia.com/gen/all_devices.rss
Extracting the mobile device specifications from RDF/XML
RDF/XML encoded metadata is not intended to be displayed in it native format. In order to present the information on web pages it needs to be parsed. Parsing can be used to reformat the device specifications as HTML or CSV.
Device property ^
RDF/XML device data <- parser -> OWL schema
Finding new properties and values
New properties and values are added monthly. The spelling/case for the label can be obtained or parsed from the label in the OWL schema.
<rdfs:label>JSR 211 Content Handler API</rdfs:label>
- If a new value can be added under an existing property such as a new JSR then it can be handled automatically
- Check to see if a new property is added in the DP-1 ontology.
There can be new values only or both properties and values.
dp:property_something_new dp:property_something_new/new_value dp:property_something_old/new_value
Example: Flash Lite Property Ontology Definition
Version of Flash Lite supported by the device.
Example: Flash Lite 2.1 Ontology Definition
<rdfs:label>Flash Lite 2.1</rdfs:label>
Parsing for updates or new devices
XML parsers will get properties that are text strings (between tags) from the FN devices. In order to get all information that is included in a URI path string additional programming or text processing is needed.
- Get properties and property values as Key Value pairs for each device.
- Get properties and <rdfs:label>Flash Lite</rdfs:label> from the OWL file in step
- Get key and label (last part of the URI string)
- Get the key and its value(s)
- Check against previous for new properties (key) and value(s).
How to access ontology labels online
The ontology presentation labels can be accessed online either by human or machine.
See the article Help:Working with Nokia Developer Website Metadata and Ontologies for details on how to access the ontologies and obtain presentation labels for the metadata properties, controlled values, and other terms.
Miscellaneous additional examples
To get a simple listing of only the URI's of all published devices:
To get the metadata about a single device based on its URI: http://sw.nokia.com/uriqa?uri=[DEVICE URI] where [DEVICE URI] is the URL encoded URI of the device.