Comments (5)
What is the reason to avoid SPARUL queries? Performance?
Although it might be difficult, is it an option to use PDO and directly write into the database?
CC @semsol
from arc2.
The idea is to be able to post rdf data through an endpoint, and save it directly to the database.
By the way it might be an option to use PDO, also maybe the code in ARC2_StoreRDFXMLLoader could be a good starting point ?
from arc2.
I am not that familiar with ARC2_StoreRDFXMLLoader
, but its method addT
seems promising.
from arc2.
Alright, do you want me to propose some class name / structure to include in the project ?
Or develop it as a plugin ?
Btw have you think to add comments on the database fields ?
For now the one single letter names are quite esoteric for a newbie like me ;)
I can help too on some documentation effort in this direction
from arc2.
Hi, sorry for the late response.
Btw have you think to add comments on the database fields ?
Not yet, but you can suggest something as PR and we can discuss details there.
For now the one single letter names are quite esoteric for a newbie like me ;) I can help too on some documentation effort in this direction
Yeah, that makes it sometimes hard to understand what is going on. Efforts regarding documentation in general should be done as file and not in the Wiki, if possible. Makes it easier to keep track of changes.
Alright, do you want me to propose some class name / structure to include in the project? Or develop it as a plugin ?
I am not sure what do you want to achieve for your project. Code contributions are welcome in general, but new code must have test coverage to some extend. Also some sound documentation.
From a performance perspective: ARC2 doesn't scale very good, which means you will eventually run into problems. It depends on your data, there is no definite point. AFAIK it doesn't matter how fast you can include data in the store, at some point querying it will be slow no matter what (also depended on your data). When I wrote the adapter layer to allow mysqli and PDO, I saw a lot of MySQL 4 related "optimizations". Also table type MyISAM was used for a long time, which is not fully ACID compliant (good stackoverflow post about MyISAM vs. InnoDb: https://stackoverflow.com/a/15678615/5301527). Using a stand alone solution like Virutoso might worth a shot.
If you describe your use case in a little more detail, I may help. But in general I would say it doesn't worth the effort. Thank you for suggesting it though!
from arc2.
Related Issues (20)
- Add cache HOT 1
- Bug: ARC2 creates the same triple multiple times in the DB
- COUNT doesn't work with local endpoint HOT 4
- Multiple LOAD statements - some data not returned in subsequent SELECT queries
- Port repeating himself on localhost (with custom port) HOT 2
- Fix failing tests HOT 4
- Need SSL config advice for SPARQL endpoint
- Fatal error: Class 'ARC2\Store\Adapter\AbstractAdapter' not found HOT 4
- Problem with function fetchRow() ARC2_Store.php on line 761 HOT 4
- Update wiki and README to reflect new way of setting up ARC2
- Fatal error: Class 'ARC2\Store\Adapter\AbstractAdapter' not found in /Applications/MAMP/htdocs/1semantic/vendor/semsol/arc2/src/ARC2/Store/Adapter/mysqliAdapter.php on line 17 HOT 5
- Any reason SELECTing on a predicate wouldn't be working? HOT 6
- fetchRow() returns false, not null, resulting in false positive for hasHashColumn() HOT 2
- Turtle parser can not parse decimals
- FILTER subject in an array of values HOT 1
- Problem finding AbstractAdapter in mysqliAdapter HOT 3
- preg_match error in PHP 7.4 HOT 1
- Problem querying PhySH subject headings using SPARQL: not all rows are returned
- SPARQL + Endpoint HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arc2.