[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XML to graph

  • From: Ihe Onwuka <ihe.onwuka@gmail.com>
  • To: daniela florescu <dflorescu@me.com>
  • Date: Wed, 1 Jul 2015 16:06:30 -0400

Re:  XML to graph

On Wed, Jul 1, 2015 at 2:54 PM, daniela florescu <dflorescu@me.com> wrote:
Ihe,

before you load anything anywhere, you need to do data cleaning on this data
if you do integration from the Web and data has no unique ids…..


The  data does have a unique id -  title and year. Actually actually it's something that represents a year rather than an actual year such that title and year always give a unique movie (so it might be something like 1998/I etc). The  year attribute is normalised to appear on a parent element containing all the other movies of that year. 

This particular data is not scraped from the web. I constructed it by integrating  20 or so text dumps each holding a facet of movie data (i.e a  directors text dump, an actors text dump etc) where title and year were used to join across data sets.

Unfortunately the unique id is not that useful because  it's meaningful and unwieldly and other movie data silos use different identifiers and will not necessarily carry the  movie and title here as a foreign key. Thus the id here cannot be relied upon to match other movie data sets. If it could the problem I am trying to solve would not exist. Although this is not data scraped from the web it will be matched against data that was, so in effect there is no real primary key here since what I have can't be used as one.

Similar problem exists in music. You have the same song released under different titles - Billy Ocean Carribean Queen/European Queen or  Rap music where you may have a real song title featuring profanity and a sanitised title that can be used for radio airplay. 

 
In particular entity resolution…

Literature is full of data cleaning and entity resolution algorithms.

One that you will find familiar (because it looks very much like XQuery :-) is here:



Ok. I'll let you know my thoughts on it and if feasible might even try it out. Although I have a solution it is particular to movies and reliant on the availability of alias information so something less tightly coupled to the movie domain that performs just as well would be of interest. 

People have written papers on the challenges of constructing movie databases, mostly centred around the problems I've articulated here, I hadn't read them before I attacked this myself but their approach entailed trying to construct a normalised relational database - something I avoided. Here is one such paper detailing the entity resolution heuristics they used


When I embarked on this I didn't realise it had been the object of research so I did something different and I think better because it took advantage of XML technology.


 



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.