[Developers] Creating your own types (or mapping PAD format to Freebase)

Tim Sturge tsturge at metaweb.com
Fri Jul 27 22:02:06 UTC 2007


Sebastian, you can create your own type to model the PAD format. It 
would have properties like "application_icon_url" 
"application_order_url" and "download_url" (which could be an ordered 
list rather than having "secondary_download_url" as well).

To get started in this process, go to the Domain page:

http://www.freebase.com/view/allDomains

and click the link labelled "Types you've created 
<http://www.freebase.com/api/metaweb/view?id=%2Fuser%2Ftsturge%2Fdefault_domain&typeId=%2Ftype%2Fdomain>". 
 From there, click on the "Types" list and it will prompt you to enter 
the name of a new type. You may wish to experiment in our sandox 
(http://sandbox.freebase.com/) which is a scratch area where you can add 
test data which is automatically deleted at the start of each week. When 
you are comfortable, you can create the type on www.freebase.com itself.

This is a quite involved process; so feel free to ask the developers 
list if you have any questions along the way.

Tim

Sebastian R. Wain wrote:
> Hi Aseem,
>
> I think there can be some confusion: I would not like to add PAD just 
> as a "file format" but as a reusable structure for software.
> For example having software A, B & C with pad information (program 
> cost, brief description, extended description, requirements, etc) I 
> want to add all of them following that structure.
>
> This is a section of the format:
>
>     ...
>     ...
>     ...
>         <Web_Info>
>             <Application_URLs>
>                
>     <Application_Info_URL>http://www.nektra.com/products/oeapi/</Application_Info_URL>
>                
>     <Application_Order_URL>http://www.nektra.com/products/oeapi/purchase.php</Application_Order_URL>
>                
>     <Application_Screenshot_URL>http://www.nektra.com/products/oeapi/screenshots/oeapi.jpg</Application_Screenshot_URL>
>                
>     <Application_Icon_URL>http://www.nektra.com/images/nektra_oeapi.gif</Application_Icon_URL>
>                
>     <Application_XML_File_URL>http://www.nektra.com/products/oeapi/pad/pad_file.xml</Application_XML_File_URL>
>             </Application_URLs>
>             <Download_URLs>
>                
>     <Primary_Download_URL>http://www.nektra.com/products/oeapi/oeapi_eval.zip</Primary_Download_URL>
>                 <Secondary_Download_URL />
>                 <Additional_Download_URL_1 />
>                 <Additional_Download_URL_2 />
>             </Download_URLs>
>         </Web_Info>
>     ...
>     ...
>     ...
>
>
> Regards,
> Sebastian
> -- 
> Sebastian R. Wain
> Nektra Advanced Computing
> http://www.nektra.com
>
>
> Aseem Mohanty wrote:
>> Hi Sebastian,
>>
>> You don't really need to create a type 
>> (http://www.freebase.com/view/helptopic?id=%239202a8c04000641f8000000004ff9406) 
>> for the format. PAD is a file format, for which freebase already has 
>> a type defined in the Computers domain 
>> (http://www.freebase.com/view/domain?id=%2Fcomputer).
>>
>> All you would need to do is to create a topic called PAD by going to 
>> the file format type page 
>> (http://www.freebase.com/view/filter?id=/computer/file_format) and 
>> clicking on the 'Add new File Format' link at the top left.
>>
>> Incidentally there appears to be a file format called PAD in freebase 
>> (http://www.freebase.com/view/?id=%239202a8c04000641f8000000005202459) 
>> however I am not sure it is the same file format as the one you 
>> mentioned. I this case once you click on the 'Add new File Format' 
>> link in the edit box that shows up, you may see the existing 'pad' 
>> file format as oen of the items in the drop down. Just ignore it and 
>> select the 'Create new File Format' option at the bottom.
>>
>> HTH
>> AM
>>
>> Sebastian R. Wain wrote:
>>> Hi,
>>>
>>> I would like to have the possibility to create a type for PAD format 
>>> (http://198.63.208.118/pad/) on Freebase.
>>> PAD format is an 'standard' for describing software applications in 
>>> a XML and is used for many software directories.
>>> Since many thousands of PADs are available I would like to upload 
>>> part of the contents to Freebase to visualize them, like Cinespin 
>>> but for software.
>>> I have found the 'Software' type but a type related with PAD will be 
>>> more transparent to upload current software base.
>>>
>>> My questions are: Is it possible to create a type? or do I need some 
>>> permissions?
>>>
>>>
>>> Thanks,
>>> Sebastian
>>>
>>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Developers mailing list
> Developers at freebase.com
> http://lists.freebase.com/mailman/listinfo/developers
>   



More information about the Developers mailing list