Probably most imports would not need to use the caption. Let's say
you are importing stock pricing data. If the table has 1 row per
stock, then you simply specify a subject of StockPrice, which has:
* these identifiers: a company, a ticker symbol
* these row data: a stock price, a date
Say however you were importing a table of different structure. The
entire table is about company ABE Dielectrics. Each row is a
different date, and you specify a date column. Each column represents
things like stock price, # of employees, daily income.
Originally I thought I needed the concept of a caption to handle this
but it occurs to me that we could probably get by using subjects
exclusively as follows:
The subject again is Company. This time you use a static URI as the
ID value. You handle the data attributes as in the first case.
So maybe Captions are redundant or not needed! Certainly it will
simplify the process. Great stuff. Do you concur that I should
streamline the importer, removing captions?
Dave
> Say I am importing my daily appointments, here the subject could be
> appointment and attributes may be
> date, time, task description, person to meet.
> how does the data get saved. I guess the system generates an URI for each
> instance of the subject ( i.e each row).
Yes, each row has a URI. When the entire table relates to the same
instance (e.g. entire table is various data about company ABC), then
each row has the identical URI.
> Let us assume, already there is a subject Person, and its instance is Me and
> I have a URI. How do I link the list of appointments to myself.
Great question. Yes, and there are standards for personal URIs (e.g.
vcard). Formerly this was handled by the caption. I think we will
replace the caption with a list of static values, which apply to each
row. So you could have the static value "hasPerson" or
"pertainsToPerson" with a value of your URI.
> Next, I am uploading my contacts, where the rows are instances of the
> subject "Person" again, how do I link
> the person to meet in the appointment list to the instances in my contact
> list?
Um using the URI of the person. So importing your appointment list,
you might produce the statement
my:appointment_127 event:hasAttendee <http://me.daviddonohue.com>
And importing the contacts list you would produce the statement
<http://venki.name> foaf:knows <http://me.daviddonohue.com>
> Does Jena TDB already offer features to create such links?
Sure. The Jena API and its various back-end model structures (RDB,
SDB, TDB, in-memory models) support doing most anything with RDF.
> If we start
> linking data as user uploads the data or
> provide a wizard to user through which he can link data. I think we can do
> more exciting data mining stuff.
Yes. And we could have other means of importing RDF, e.g. a forms or
survey module.
> I am not sure If I have put it clearly so that it makes sense. Please let
> me know your view points
Very clear! I hope my responses are clear.
So my to do list:
* Remove captions
* Add a page for subject imports, to import static values
* Make sure we are accurately identifying URI values when the static
or dynamic value of a URI rather than a literal.
* Improve instructions and flow in the wizard to be more intuitive.
* Change documentation on the importation process.
* Capture location info as well in the wizard
* Screencast of the importation process
* Finish a new semantic wiki module, to permit better faceted
browsing of the data. Each semantic subject/object is an editable
wiki page, with links to its associated objects.
* etc.
* etc.
Keep the great questions & ideas coming!
Best,
Dave
> do u use Linux or windows for setting up the development environment?Windows XP
Sorry! I need more explicit instructions.
> I think I would need more detailed steps on setting up the environment. I
> run windows vista in my Laptop and I also have a virtual box of fedora which
> use for Linux needs.
>
> Should i first check out all the bundles listed as read only and setup the
> environment?
We recommend you use Eclipse 3.4 or above, with the Subclipse plug-in.
This has problems working behind a firewall. Check out each of the
required bundles as follows:
In Eclipse, go to File -> New -> Project... ->
Checkout projects from SVN ->
Create a new repository location ->
Enter INQLE's subversion location
https://inqle.googlecode.com/svn/trunk/
From here not sure whether you must check out each project
individually or whether you can do multiple at a time. I cannot test
from behind firewall. But you should get 1 project per bundle.
yes. But need each bundle to be a separate project in Eclipse.
> I am downloading the entire source code by using the command
> svn checkout http://inqle.googlecode.com/svn/trunk/
>
> Does this get me all the source code required for development?
See Eclipse RAP getting started:
> Also provide the steps to configure eclipse for RAP
http://www.eclipse.org/rap/gettingstarted.php
Not that hard really. They have screencasts.
Dave
persister.getInternalDatasets();