-
[Paul is creating this discussion from an email question] I have a question. I have two ingestion node groups. One for the source code and one for the object code. They have a file in common. When I create the CSV file the file in common have the same identifier in both CVs. Therefore, I thought that the RACK will connect see that the identifier is the same and therefore. It should work. However, when we ask the query that queries everything. It seems that the common file is not common. I know that the data is there and the query is correct since I create another file and used the FILTER (?file0_identifier=?file1_identifier). How should be the ingestion query so that the rack makes the connection? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Great question. I see that the wiki page, Ingesting CSV Data, for this topic is correct, but not as easy-to-read as it should be. I'll fix it. By default, URI's created through ingestion are created with UUID's every time. I see from the samples that you sent that you are using this default process. So even when a FILE has the same identifier, a copy is created with a new UUID. You'll want to use URI look-ups. This is a two step process that starts on the "Map Input" tab of the SPARQLgraph page. First, click find the identifer you want to use as your unique key, and click the URI lookup button: You'll get a dialog that will allow you to pick the node, in this case ?FILE_0 is probably what you have in mind. After this selection is made, the URI lookup buttons on both ?objectcode_identifier and ?FILE_0 will become highlighted. Second, click on ?FILE_0's URI lookup button, and choose how you would like to create the URIs: This dialog shows you that ?FILE_0 is not being used to look up any URI's, but that it is being looked up by ?obectcode_identifier. You have three choices for the behavior:
I suspect you will use Create if missing, but consider these choices carefully for each ingestion nodegroup. |
Beta Was this translation helpful? Give feedback.
-
I have a lot ingestion node groups that use Entity for referencing (like polymorphism) . For example Analysis can analyze Requirements, Tests, etc. However, when I use what you mentioned before. The RACK creates an Entity with the given identifier. Although, there is already a Requirement with the same identifier, which should have been selected. Should I create multiple node groups that ingest analysis for every type of analyzed element? Or there is a smarter way to do it? |
Beta Was this translation helpful? Give feedback.
-
This new topic is being moved to Ingestion URI lookup ENTITY is not finding subclass REQUIREMENT #449. Let's use this current discussion for any follow-up on the original topic of linking objects across multiple ingestion runs using URI Lookup. |
Beta Was this translation helpful? Give feedback.
Great question. I see that the wiki page, Ingesting CSV Data, for this topic is correct, but not as easy-to-read as it should be. I'll fix it.
By default, URI's created through ingestion are created with UUID's every time. I see from the samples that you sent that you are using this default process. So even when a FILE has the same identifier, a copy is created with a new UUID.
You'll want to use URI look-ups. This is a two step process that starts on the "Map Input" tab of the SPARQLgraph page.
First, click find the identifer you want to use as your unique key, and click the URI lookup button:
You'll get a dialog that will allow you to pick the node, in this case ?FILE_0 is probably wha…