dice-group / SAIM

LIMES GUI
GNU Affero General Public License v3.0
3 stars 3 forks source link

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

Open KonradHoeffner opened 11 years ago

KonradHoeffner commented 11 years ago

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.

KonradHoeffner commented 11 years ago

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 commented 11 years ago

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 commented 11 years ago

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 :-)