Feature request for EDG spreadsheet imports

14 views
Skip to first unread message

Steve Ray

unread,
Nov 18, 2020, 7:36:33 PM11/18/20
to TopBraid Suite Users
I started to try importing some classes and data from a spreadsheet recently, and used Irene's very helpful walk-through from the October User Group meeting (https://www.topquadrant.com/project/topquadrant-user-group-meeting/). Things went fairly well after I fixed up the header rows, except for one thing:

My spreadsheet contained the first column which corresponded to new instance URIs, which I was able to import (Class A). However, another column contained the localnames for instances of another class (Class B). I was able to tell the import pattern that it was a relation, but the wizard only offers matching by the properties of the class (Class B), such as the label, etc., but not by the localname. I was forced to temporarily create a throwaway property that contained the localname, for each of the Class B instances, so that the wizard could match on that property.

It would sure be helpful if the localname was also offered as a field to match on. What do you think?

Steve


Holger Knublauch

unread,
Nov 18, 2020, 7:42:05 PM11/18/20
to topbrai...@googlegroups.com

Hi Steve,

I don't see an efficient algorithm that could do such matches. Finding all resources with a given local name would require walking through all subjects in the graph. And we would have to do this for each row in the spreadsheet. You'll end up with combinatorial explosion and many unhappy users if we offer this feature. However, directly matching certain values would be much easier, because that's a simple ?s ?p $value look-up.

Holger

--
You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to topbraid-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/CAGUep84XyuGQGSzHs%3DhTAtB-At%3D%2B8T9de59uaGr9cE8PP9WB5g%40mail.gmail.com.

Steve Ray

unread,
Nov 18, 2020, 8:01:37 PM11/18/20
to TopBraid Suite Users
How about matching for the full URI? That would still support my use case.

Steve




Holger Knublauch

unread,
Nov 18, 2020, 8:36:30 PM11/18/20
to topbrai...@googlegroups.com

Yes that's already supported. If all values of a column can be parsed into URIs then you'll see something like

Holger

Reply all
Reply to author
Forward
0 new messages