jump to navigation

A simple demonstration of the power of semantic web using SPARQL January 24, 2013

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

I want to find the actors of the movies in which two popular male actors of South India acted together.
The task is to find movies in which Mammootty and Mohanlal worked together and other actors in each of the movies.

Try googling it.

Now click on the link here
The link points to a SPARQL query to do the same! And look at the results on the bottom of the page!
Welcome to Semantic Web!
Now graph search is invented by Facebook, or is it?

For more info Check out : dbpedia.org

Semantic Web "Layercake" (2006)

Semantic Web “Layercake” (2006) (Photo credit: Wikipedia)

Enhanced by Zemanta
Related Posts:

Videos on Semantic Web and Linked data July 25, 2010

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

TED talks – Tim Berners Lee On the Next Web

TED -Talks – Tim Berners-Lee: The year open data went worldwide

TED Talks – Hans Rosling on HIV: New facts and stunning data visuals – A use-case of Linkeddata

Tim Berners lee talking about at Gov 2.0 Expo 2010

The Semantic Web of Data Tim Berners-Lee

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

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

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#


    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;
    <void:Dataset rdf:about=”http://cb.semsol.org/”&gt;
    <foaf:homepage rdf:resource=”http://cb.semsol.org/&#8221; />
    <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; />

  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;
    <void:Dataset rdf:about=”http://cb.semsol.org/”&gt;

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

  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 )

Semantic Web bookmarks collection December 11, 2009

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

Semantic Web

Twine – Organize, Share, Discover Information Around Your Interests | Twine
W3C Semantic Web Section
jaanix – tune the web
wiki.dbpedia.org : About
JavaScript Visual Wordnet
Distributed Object Computing Research Group Overview
SenseBot – semantic search engine that finds sense on the Web
Cognition :: Giving Technologies New Meaning
ProgrammableWeb – Mashups, APIs, and the Web as Platform
Planning a Semantic Web site
SPARQL Calendar Demo: Step-by-step Example – TechnicaLee Speaking
The Twitter Times: semanticwebnews

Data sources

Data Sets | Linked Data – Connect Distributed Data across the Web

The Map of Data – Sindice
Some Datasets Available on the Web » Data Wrangling Blog
Dapper: The Data Mapper


Why RDFa is the only Web scaleable metadata format for next-generation search engines
Semantic Web set for critical mass | Applications – InfoWorld
The Semantic Web in Action – Scientific American – December 2007
SitePoint » Obama’s Groundbreaking use of the Semantic Web
Cultivate Interactive Issue 7: Challenges for a Semantic Web
The original proposal of the WWW, HTMLized
The Semantic Web: opportunities and challenges for next-generation Web applications
4 New APIs: US Congress, Semantic Search, Fashion Search Engine, Read-Write Mapping
Tim Berners-Lee and the Semantic Web, Linked Data, RDF and a Worldwide Database « ResourceShelf
Official Google Blog: World Bank public data, now in search
When Linked Data Rules Fail at Frederick Giasson’s Weblog
The new smarter web – The Irish Times – Fri, Dec 04, 2009


Magpie – a tool for Semantic Web
Flex SPARQL Query Viewer
Create – Dorthy.com Alpha
HitCompanies | Find companies and export lists for free – Search Results
IYOUIT Portal – Share Life Blog Play
DailyPerfect, predictively personalized news, behavioral targeting technology
SearchMonkey – YDN
QDOS – measure your internet status
Visual Modeling Forum – Visual OWL
WikiProfessional Concept Web
Welcome to the Mulgara Project!
Neverspace : Main
OpenLink Data Explorer
OpenLink iSPARQL
Sindice data inspector



SPARQL By Example
OpenLink AJAX Toolkit (OAT) Wiki : Interactive Sparql Query Builder Basic Tutorial
SPARQL tutorial
The Semantic Web and Challenges – Slide list
Tutorial on OWL
Semantic Puzzle


Zitgist – Quality Linked Data Products and Services
semsol – semantic web solutions
TriviumRLG LLC | Strategic Development of Information Assets
The Semantic Puzzle | Open World Assumptions
Ontotext – Semantic Technology Developer
Semantic Technologies Center
FrontPage – The Open Knowledge Foundation


Home | OpenCalais
TaskForces/CommunityProjects/LinkingOpenData/SemWebClients – ESW Wiki
The Transducer
Tom Heath – Home
Semantic Agent – Programming Multi Agent Systems in SWRL
ebSemantics – enabling Semantic Web based E-Commerce
8th International Semantic Web Conference (ISWC 2009)
Seminal resources on general semantics and ontologies ? – Semantic Overflow
Semantic Overflow
The Cambridge Semantic Web Meetup Group (Cambridge, MA) – Meetup.com
Tones – Home
BBC – Music – Home
backstage.bbc.co.uk :: Front Page :: |BBC’s developer network to encourage innovation and support new talent
Events/BONyConference – STLab
Linked Open Data Around-The-Clock
CKAN – Comprehensive Knowledge Archive Network
SchemaWeb – RDF schema directory
Linkeddata research centre at DERI
New York Times
Ordnance Survey – UK
Linked data at Guardian

The semantic web – the rise of the omniscient December 3, 2008

Posted by Anand Mallaya in internet, technology, web.
Tags: , , ,
1 comment so far

Semantic(defenition:related to meaning) web is a term given to identify a new pattern of development of the Internet. The semantic web also known as the data web is an initiative to give meaning to the data hidden in the web and give the ability for knowledge discovery. The proposal is to add meta data with the actual data so that the data can be processed by machines. Which will enable to discover hidden association that is hardly visible in the current framework. The semantic web is based on a set of frameworks to structure data, query and process it.
The Semantic web stack consists mainly the data representation frameworks like RDF framework, OWL framework and the SPARQL query language. These are in draft phase at the W3 consortium.
To understand how the semantic web will be, try to recollect the “people you may know” suggestions made by your social networking site like Orkut or Facebook. These web application processes your friends list and your friends’ friends lists and guesses whom you may be knowing. You save time to search each friends long friends list and gets useful informations effortlessly. This is how you can imagine about Semantic web. In this case the processing is done by the web application on the data you provided to that application only. In semantic web the processing can be applied to the entire web provided they conform to the standards.
These experts says is one step forward to the direction of an Artificial Intelligent web. Something we have heard only in the Science fiction like the Skynet in Terminator series. Already a lot of web companies are busy creating the next big thing on the Internet after Google. A list of sites are given below to guide your imagination.

  1. Twine.com
  2. Powerset.com
  3. Hakia.com-the semantic searchengine
  4. Swoogle-another
  5. Twine.com
  6. Another possibility is the natural language querry processing. You may be able to serch using plain english rather than keywords.

  7. Trueknowledge

To know more about the technology that may change the future of the web and our life here are some useful links.

  1. semantic web wikipedia ariticle
  2. semantic web activity on w3.org
  3. SIMILE project at MIT

Thus the emergence of the semantic web may be the rise of the omniscient machines.