jump to navigation

You can blog from Windows Live writer! August 29, 2010

Posted by Anand Mallaya in computers, internet.
Tags: , , , , ,
add a comment

This is actually a test as well as info. You can now blog from Windows Live Writer, a blogging platform for Windows. You can save locally,  can post to most of the popular blogging platform with xmlrpc support post draft to blog etc. One draw back I figured out is that it can not download wordpress free account theme. So you can’t see how your post actually looks in the blog while offline.

Some good editing features are : inserting table, map etc.

Advertisements

practical semantic web – creating a catalog of Linked data April 4, 2010

Posted by Anand Mallaya in computers, internet, technology, tutorial, web.
Tags: , , , , , , ,
6 comments

Today I am going to work on creating a semantic web document. I am going to make a catalog of linked data datasets listed under linkeddata.org. Here is the list I am going to publish in RDF.

  1. choose the correct vocabulary – there are different generic vocabularies like Dublin Core, FOAF etc and specialized vocabulary like Dcat, Void etc. for creating catalogs. Dcat is designed for government data catalogs, so I choose VoID vocabulary, which is designed for single dataset provider. It uses generic vocabularies lke FOAF and DC as well.
  2. Select suitable tools – Tools to edit the RDF document. There are plenty of them ,in this case and RDF editor, like the Rhodonite tool for RDF editing and browsing. But I couldn’t understand it well because of poor documentation and help. So I chose an online VoID editor from DERI Galway. Though the result is in Turtle format, there are tools to convert turtle document to RDF/XML format. Like this one online : RDF Validator/converter rdfabout.com
  3. Creating the semantic grpah – first I am going to choose a dataset and add it to my catalog. To start with, I chose CrunchBase entry listed in linkeddata.org.  Go to VoID editor and add the following details in it
  4. Dataset URI:  http://cb.semsol.org/

    Dataset Homepage URIhttp://cb.semsol.org/

    Dataset Name:  Crunchbase

    Dataset Description:  RDFized Crunchbase entries

    Example Resource:  http://cb.semsol.org/company/yahoo

    Dataset Topic : business, database

    Vocabulary URIhttp://www.w3.org/1999/02/22-rdf-syntax-ns# , http://www.w3.org/2003/01/geo/wgs84_pos#,  http://cb.semsol.org/ns#

    Publisherhttp://semsol.com

    SPARQL endpoint : http://cb.semsol.org/sparql

    Now the dataset entry for cruchbase dataset is ready in VoID vocabulary, in the right side textarea. It is in Turtle notation.

    @prefix dcterms: <http://purl.org/dc/terms/&gt; .
    @prefix void: <http://rdfs.org/ns/void#&gt; .
    @prefix : <#> .
    ## your dataset
    <http://cb.semsol.org/&gt; rdf:type void:Dataset ;
    foaf:homepage <http://cb.semsol.org/&gt; ;
    dcterms:title “Crunchbase” ;
    dcterms:description “RDFized Crunchbase entries” ;
    dcterms:publisher <http://semsol.com&gt; ;
    void:sparqlEndpoint <http://cb.semsol.org/sparql&gt; ;
    void:vocabulary <http://cb.semsol.org/ns#&gt; ;
    void:exampleResource <http://cb.semsol.org/company/yahoo&gt; ;

    @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt; .@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#&gt; .@prefix foaf: <http://xmlns.com/foaf/0.1/&gt; .@prefix dcterms: <http://purl.org/dc/terms/&gt; .@prefix void: <http://rdfs.org/ns/void#&gt; .@prefix : <#> .
    ## your dataset<http://cb.semsol.org/&gt; rdf:type void:Dataset ; foaf:homepage <http://cb.semsol.org/&gt; ; dcterms:title “Crunchbase” ; dcterms:description “RDFized Crunchbase entries” ; dcterms:publisher <http://semsol.com&gt; ; void:sparqlEndpoint <http://cb.semsol.org/sparql&gt; ; void:vocabulary <http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt; ; void:vocabulary <http://www.w3.org/2003/01/geo/wgs84_pos#&gt; ; void:vocabulary <http://cb.semsol.org/ns#&gt; ; void:exampleResource <http://cb.semsol.org/company/yahoo&gt; ; dcterms:subject <http://dbpedia.org/resource/Database&gt; ; dcterms:subject <http://dbpedia.org/resource/Business&gt; .

  5. Convert in to RDF/XML file(serialize) – copy the dataset details in turtle notation and go to RDF/XML converter tool. And paste the turtle notated content there and select input format as N-Triples/Turtle, and click validate. The result is given below.
  6. <?xml version=”1.0″?>
    <rdf:RDF xmlns:foaf=”http://xmlns.com/foaf/0.1/&#8221; xmlns:void=”http://rdfs.org/ns/void#&#8221;
    xmlns:rdf=”http://www.w3.org/1999/02/22-rdf-syntax-ns#&#8221;
    xmlns:dcterms=”http://purl.org/dc/terms/”&gt;
    <void:Dataset rdf:about=”http://cb.semsol.org/”&gt;
    <foaf:homepage rdf:resource=”http://cb.semsol.org/&#8221; />
    <dcterms:title>Crunchbase</dcterms:title>
    <dcterms:description>RDFized Crunchbase entries</dcterms:description>
    <dcterms:publisher rdf:resource=”http://semsol.com&#8221; />
    <void:sparqlEndpoint rdf:resource=”http://cb.semsol.org/sparql&#8221; />
    <void:vocabulary rdf:resource=”http://www.w3.org/1999/02/22-rdf-syntax-ns#&#8221; />
    <void:vocabulary rdf:resource=”http://www.w3.org/2003/01/geo/wgs84_pos#&#8221; />
    <void:vocabulary rdf:resource=”http://cb.semsol.org/ns#&#8221; />
    <void:exampleResource rdf:resource=”http://cb.semsol.org/company/yahoo&#8221; />
    <dcterms:subject rdf:resource=”http://dbpedia.org/resource/Database&#8221; />
    <dcterms:subject rdf:resource=”http://dbpedia.org/resource/Business&#8221; />
    </void:Dataset>
    </rdf:RDF>

  7. Now repeat the above process and create entries for all the datasets listed in the Linkeddata.org.
  8. Combine the RDF entries in to a single file, no need to copy all the tags but starting from <void:Dataset .. >only
    something like
    <?xml version=”1.0″?>
    <rdf:RDF xmlns:foaf=”http://xmlns.com/foaf/0.1/&#8221; xmlns:void=”http://rdfs.org/ns/void#&#8221;
    xmlns:rdf=”http://www.w3.org/1999/02/22-rdf-syntax-ns#&#8221;
    xmlns:dcterms=”http://purl.org/dc/terms/”&gt;
    <void:Dataset rdf:about=”http://cb.semsol.org/”&gt;


    </void:Dataset>
    <void:Dataset rdf:about=”http://dbpedia.org/”&gt;
    ….
    ….
    <void:Dataset>
    <void:Dataset rdf:about=”http://www.geonames.org/”&gt;


    <void:Dataset>
    </rdf:RDF>
  9. And the catalog is ready in RDF/XML with all the datasets added. Save it as a file with extension .rdf like Linked_data_catalog.rdf.  Now the machine can understand (if programmed wisely) to some extend what data are available there to convert in to meaningful information and then to  knowledge.
    You can find the catalog here: Linkeddata datasets catalog(note: not yet ready, comeback later )

Anatomy of a tweet – 140 character mystery August 15, 2009

Posted by Anand Mallaya in computers, internet, social media, technology.
Tags: , , , , , , ,
2 comments

Everybody tweets now-a-days. Even cats tweet(@sockongton). A tweet is a burst of 140 characters from all those interesting ‘characters’ around the globe, describing ‘what they are are doing’. I wonder why just 140 characters. why not 130 or 150. So I started digging and the search lead me to check the technical anatomy of a tweet. And it gave some interesting facts about twitter. I will put the tweet anatomy examination report.

  • Number of charactr in a tweet is 140
  • Total content length(XHR request) when a tweet is 140 exactly(maximum length) – 262
  • Minimum content length(XHR request) when a tweet is one char long – 107
  • Meaning XHR header content length is 106 byte- a constant

So I checked for an answer with twitter API response

We can check a users’ status using User/show APIhttp://twitter.com/users/show.xml?screen_name=anandcv

The response is an xml file( given below is the response of my user id @anandcv when my last tweet was 140 char long)

Twitter user/show API respone

Twitter user/show API respone

Ther response got an interesting field in the status – <truncated>false</truncated>.

Probably a remainder of early implementation, which allowed more than 140 characters. Currently twitter web interface allows only 140 chars.

The other fields are

<created_at></created_at> – the time stamp
<id></id>  – the unique message id
<text></text> – the tweet itself
<source></source> – source of the tweet (from web or other tools etc..)
<in_reply_to_status_id/> – Replying to some tweet?
<in_reply_to_user_id/> –  Replying to somebody user id?
<favorited>false</favorited> – favorited?
<in_reply_to_screen_name/> – screen name of the user.

No clues yet. The search continues…

Reblog this post [with Zemanta]

Zii StemCell computing revisited- Plazma and Android power August 7, 2009

Posted by Anand Mallaya in computers, computing, multimedia, technology.
Tags: , , , , , , , , , , ,
add a comment

Some time back we have seen the mystery of the Zii StemCell computing being unravelled.  After that many were wondering what Creative is up to with the chips. Now they have come back with Zii EGG Handheld StemCell Computer that Supports the Plaszma OS or Android™ OS . Good move !.  Android hmmm!

The platform boasts multi-gesture touch display(cool!) , Text-to-speech Feature, Hardware GPS Receiver, Wifi, 32GB of internal memory and up to 32GB of external memory, Bluetooth, USB 2.0 and accelrometer.
They are heard of iPhone.  No 3G? shame! Check dictionary for competence. Get USB 3.0 dudes.

Plazma OS, based on the linux 2.6 kernel is said to show some gimmicks like 3D grphics (‘ in a battery powered small handheld’),  advanced media and communication capabilities.  But they say it is not a phone but a computer! in 108 gms.  Hmmm! I wonder.

Also support a Zii optimized Android OS. Supposedly to harness the power of the StemCell computing technology of the ZMS-05 processor.

Added value – bulk prize of 199$ per piece price tag plus  lot of development support and  market ready design.

Gonna rock or bust?! Its all about the all-knowing crowd and the economy. 😉

Reblog this post [with Zemanta]

The Zii stemcell computing mystery finally solved January 8, 2009

Posted by Anand Mallaya in computers, computing, multimedia, technology.
Tags: , , , , , , , , ,
1 comment so far

After the specultions and hype campaigns Creative Technology Ltd. today revealed the mysterious- the so called “Stemcell computing” platform. It turns out to be an architecture for a new kind of multimedia SOCs(System-on-chip). There are two processors the ZMZ05 and DMS05. The name stemcell is used to represent the flexibility of the architecture to progammability. Stem cells are the embryonic cells which turnes in to all other kind of cells in a organism later. The device is based on programmable arrays called Processing Elements. These are said to be flexible and completely programmable and can be used to develop many type of applications with minimal additional hardware like stem cells.

– Flexibile Media-Rich SoC

– Software Defined Silicon acceleration

– Complete Platform Solutions

– Ready-for-Market Platform Solutions and Development Kits

– Advance Middleware

– A rich-suite of development tools and middleware

– Incredible Scalability – from 10 Gigaflops to Peta FLOPS

– Energy Efficient – High density processing architecture for reduced power consumption

For detailed specifications refer the link: ZMS05

After many speculations about the Stemcell computing, the hype is settled now. According to Creative:

“With an investment that spans over 10 years, over a billion dollars and over 10,000 man-years, the world is poised to experience a breakthrough that will better lives beyond our imagination.” 

The multimedia processor may be targetting from handheld devices to highend gaming consoles and boshes teraflops of scalable performance. Something that can be comaprable to supercomputers. We can expect some great stuff like the Nintendo Wii or Apple iphone like gadgets or like Sony playstation like consoles. Array of Playstation 3 processors already claimed of attaining supercomputing performance(story). Some application areas mentioned in the Zii website are

– PMP, PND and MID

– NetBook – Video Conferencing

– Video Surveillance

– Smartphone and PDA

– IP Media

– Medica

l – Embedded Systems

Let us wait and see what wonders the Zii will do to the world of computing.

Creating standalone desktop web applictions December 17, 2008

Posted by Anand Mallaya in computers, internet, technology, web.
Tags: , , , , ,
add a comment

This is the age of bowser based web applications. Browser like google Chrome provides a way to create webb application shortcuts to your desk top with out loading the actual browser. The interface will let you open an exclusive browser window only for your favourite application like Gmail or Facebook. No adress bars, no menus just your app. Cool eh!? Here are some tricks that will allow you to ceate standalone web applications. Sometimes these are called Rich Internet Applications or RIA 1. Firefox The feature is not built in, however there are add-ons avialable which will let you do the job.Prism is such an application. Prism allows you to run web applications (like Gmail or Facebook, for example) in a single browser window, separate from your main Firefox application. Prism is a standalone application. Now a firefox extension named Refractor is available, which does the function directly from Firefox. After installing the refractor add-on you can create applications right from ther firefox while you browse. An article on the Wired magazine:click here 2. Gogle Chrome. Google Chrome has this feature built in. You can make any webpage a desktop application by clicking on the ‘create application’ button. The standalone blogger application looks like this 3. Adobe Air Adobe AIR is used to make completely independent desktop web applications with out needing any web browser.Though this is not for novice users, it is aa good tools for web developers. Using Adobe AIR standalone desktop web applications can be developed. You need to install a AIR runtime on your operating system. Click here for Adobe AIR page You can get lot of applications by googling. Here are some popular links: http://www.adobe.com/products/air/showcase/ http://www.sizlopedia.com/2008/03/08/10-most-useful-adobe-air-applications/ http://www.readwriteweb.com/archives/some_adobe_air_apps_worth_a_look.php 4. Google gears Google gears is a software which enables offline functionality to web application.Once offline, Gears saves all work on local database on your computer, you can still work with out internet connection. The next time when you gets the connection, Gears syncs the changes to the server. This combined with the desktop app featrures, is creating the ways to the RIA (Rich Internet Applicaation}.

Add to Technorati Favorites