Skip to content
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

Property Matching step timout on loading the properties when they don't have type rdf:Property #19

Open
KonradHoeffner opened this issue Oct 16, 2012 · 3 comments

Comments

@KonradHoeffner
Copy link
Contributor

SPARQL endpoints like http://linkedgeodata.org/sparql who don't have ":myproperty a rdf:Property" assignments make it very slow to query them for properties and can cause timeouts in the property matching step.

@ghost ghost assigned KonradHoeffner Oct 16, 2012
@KonradHoeffner
Copy link
Contributor Author

I now changed it by using code from the old saim project and integrating it. The idea now is that it takes some instances (10 atm) of the chosen class and uses the most used properties from this sample. Still needs to be tested however and if you have any idea feel free to suggest better methodologies, look at the code (SPARQLHelper.properties()) and improve it.

@KonradHoeffner
Copy link
Contributor Author

I also added a blacklist (you can change it by changing SPARQLHelper.blackset) and I also added all properties that have domain of the chosen class.

@KonradHoeffner
Copy link
Contributor Author

Properties now use the EHCache and are thus way faster when queried an additional time.
Still not closing it however, because there are always ways for improvement.

P.S.: The EH Cache also has the tendency to corrupt when I use it so feel free to update the EHCache using code if you know better how to do it :-)

@KonradHoeffner KonradHoeffner removed their assignment Apr 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant