# A true virtual graph for Excel and CSV hosted remotely

**URL:** <https://community.stardog.com/t/a-true-virtual-graph-for-excel-and-csv-hosted-remotely/2495>\
**Category:** Feature Request\
**Created:** [June 2, 2020, 4:18pm UTC](https://community.stardog.com/t/a-true-virtual-graph-for-excel-and-csv-hosted-remotely/2495 "2020-06-02T16:18:29Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![R3000](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/r3000/32/358_2.png) [@R3000](https://community.stardog.com/u/R3000)\
**Post date:** [June 2, 2020, 4:18pm UTC](https://community.stardog.com/t/a-true-virtual-graph-for-excel-and-csv-hosted-remotely/2495/1 "2020-06-02T16:18:29Z")

</div>

I know one can do virtual graph import of CSV - which really does not produce a virtual graph but rather a materialized graph.

What if Excel and CSV files are maintained by domain experts and available on some file content repository? Instead of downloading and re-importing it every time:

- Can Stardog leverage an ODBC driver for a given Excel or CSV and create a truly virtual graph representation of an Excel or CSV subset?

Thanks,  
Radu

---

<div class="post-metadata">

**Author:** ![jess](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/jess/32/10_2.png) [@jess](https://community.stardog.com/u/jess)\
**Post date:** [June 2, 2020, 8:35pm UTC](https://community.stardog.com/t/a-true-virtual-graph-for-excel-and-csv-hosted-remotely/2495/2 "2020-06-02T20:35:07Z")

</div>

Hey Radu,

We have contemplated implementing something like this but have no immediate plans to do it. Perhaps you can setup a script to load the CSV into Stardog at a regular interval?

Jess

---

<div class="post-metadata">

**Author:** ![R3000](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/r3000/32/358_2.png) [@R3000](https://community.stardog.com/u/R3000)\
**Post date:** [June 4, 2020, 7:20pm UTC](https://community.stardog.com/t/a-true-virtual-graph-for-excel-and-csv-hosted-remotely/2495/3 "2020-06-04T19:20:51Z")

</div>

Jess,

Thanks for your reply. Yes such old approach - cron enabled pull script - can be used. It will require custom E(TL) code to be developed - which I tried to avoid by using virtual/material graph import from Excel and or CSV. I bet the generic E part is already done by some open source tools. That involves:

1. Periodically checking if the file changed
2. Finding delta
3. Loading delta per SMS2 mapping

As much as we would like not to be the case - Business Users are in love with Excel.

Looking forward to when this feature will be on Stardog roadmap.

Regards,  
Radu

---

<div class="post-metadata">

**Author:** ![jess](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/jess/32/10_2.png) [@jess](https://community.stardog.com/u/jess)\
**Post date:** [June 9, 2020, 8:33pm UTC](https://community.stardog.com/t/a-true-virtual-graph-for-excel-and-csv-hosted-remotely/2495/4 "2020-06-09T20:33:02Z")

</div>

Radu,  
How do you suppose a "true" virtual graph would be any better here? It's required to scan the whole file to compute changes. It's easier to just reload the whole thing at this point.  
Jess

---

<div class="post-metadata">

**Author:** ![R3000](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/r3000/32/358_2.png) [@R3000](https://community.stardog.com/u/R3000)\
**Post date:** [June 9, 2020, 9:40pm UTC](https://community.stardog.com/t/a-true-virtual-graph-for-excel-and-csv-hosted-remotely/2495/5 "2020-06-09T21:40:53Z")

</div>

Jess,

This should provide a good enough abstraction layer [Excel JDBC Driver: JDBC Driver for Excel - CData Software](https://www.cdata.com/drivers/excel/jdbc/)

I suppose you already can do virtual graph against MS SQL Server so it shouldn't be that different ... I hope. I haven't tried though...

Regards,  
Radu

---

<div class="post-metadata">

**Author:** ![jess](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/jess/32/10_2.png) [@jess](https://community.stardog.com/u/jess)\
**Post date:** [June 10, 2020, 1:19am UTC](https://community.stardog.com/t/a-true-virtual-graph-for-excel-and-csv-hosted-remotely/2495/6 "2020-06-10T01:19:23Z")

</div>

Sure, you can create a virtual graph using this JDBC driver. Let us know if you need any help customizing the settings.
