"I've updated, have a look and let me know if there are additional corrections. "
URI Templating is a way to create URL weblinks using substitution of a value from a literal property to create the URI. For example, in a catalog website, a URI template can be used to create an external URL weblink by inserting a product ID into a URL, like http://catalog.com/cameras/{SKU#}, where SKU# is a value of a literal property attached to each catalog item.
In Freebase, a literal property value or property enumeration (/type/rawstring, /type/integer, /type/enumeration) can be inserted into a URI template. The most common use of URI templating is with namespaces and enumerated properties.
This topic will take you through the process of creating a URI template for any property, enumerated or otherwise.
Creating a URI Template
1. Fill in this URL with information on the property you want to use for your URI template:2. In the admin view for the property, click Add a Type.
http://www.freebase.com/view/user/{your user name}/{domain name}/{type name}/{property name}?admin=1
3. Enter Foreign Key Property and click Save.
4. Edit the URI Template property of Foreign Key Property and enter the name of your newly created template, then click Save.
5. Click the name of your URI template to view its topic.
6. Add the type URI Template to your topic. You'll see it comes with three new properties:
- URI property
- Recognized Template
- Template - the template that will be used to generate links
http://www.someURL.com/{key}
Search Help Center
Related Help Topics
- Building Bases
- Creating Schemas
-
Developing Applications
- An Introduction to Freebase Application Development
- Playing in the Sandbox
- Freebase Programming Libraries and Tools
- Data Dump FAQ
- Using the Query Editor
- The Complete Metaweb Query Language (MQL) Reference Guide
- MQL Cheatsheet
- The MQL Cookbook
- Freebase API Reference
- Application Developer Tips
- The Acre Hosted Development Environment
- Introduction to the Metaweb Javascript Template Language (MJT)
- Freebase Community