-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need to be able to address the subject URI as a field in the SQL table. #1
Comments
To avoid creating a pseudo-column one could support a SQL inner join Select * from People inner join College using almaMater Of course this means that a simple join across the FK-PK would not be supported, but perhaps a SQL 'inner join' is closer to the intent of a OWL objectProperty |
If you think about it, all the columns are pseudo columns. There is nothing in the driver that requires that tables be based on classes and properties, that is just the simplest implementation. It is possible to create a schema builder that is hard coded, or uses specific values of certain properties, or uses some other algorithmic process to group resources. Adding a column that contains the subject property in the current schema builder mechanism is equivalent to providing a primary key for each table. I believe that it makes the most sense and may improve performance. |
Indeed, and as we go further it would be good to create an RDF-to-Entity BTW is 'NameUtils' missing from GitHub; I have only looked briefly but it Peter On Sun, Mar 17, 2013 at 7:02 PM, Claude Warren [email protected]:
Peter J. Lawrence Mobile: +1 330 631 3772 | Phone: +1 330 342 0582 | Skype: |
A good start on a mapping ontology (albeit from relational to RDF) is http://www.w3.org/2001/sw/rdb2rdf/ Please open an enhancement to pursue the ontology discussion further. |
Yes, the NameUtil was missing along with 2 test files. Fixed now. |
Need to be able to present the subject URI as a field in the table.
Select *
from People, College
where People.almaMater = College.?
alamaMater is an objectProperty with a range of College. However what is the property of College that I would use because in SPARQL terms I really want to use
Select *
{?people :almaMater ?college .
?people a :Person .
?college a :College }
The text was updated successfully, but these errors were encountered: