mmisw / orr-portal

ORR Frontend component
Apache License 2.0
8 stars 5 forks source link

Update YASGUI #128

Closed lewismc closed 4 years ago

lewismc commented 5 years ago

YASGUI version 2.7.29 is available and provides improved functionality, we should upgrade to improve the SPARQL results page.

lewismc commented 5 years ago

@veer11997 please scope this issue out and see if you can provide a fix.

carueda commented 4 years ago

@lewismc I'm noting misbehaviors related with SPARQL queries against COR. It seems the underlying sparql endpoint is pointing to dbpedia instead of COR's.

First I note a completely empty response for the following query even though that there's actually triples with the given subject:

SELECT * WHERE {
  <http://cor.esipfed.org/ont/~rduerr/ADO/> ?pred ?obj .
} 

Then, while trying to understand this, I tried the following query:

select distinct ?subject ?predicate ?object
where {
 ?subject ?predicate ?object.
 filter (regex(str(?subject), "http:\\/\\/cor\\.esipfed\\.org\\/ont\\/~rduerr\\/ADO\\/[^/#]*$", "i")
   || regex(str(?object), "http:\\/\\/cor\\.esipfed\\.org\\/ont\\/~rduerr\\/ADO\\/", "i"))
}
order by ?subject

which triggers error:

image

Of course we are not using Virtuoso, in fact, if I click the "try query in new browser window" it takes me to http://dbpedia.org/sparql?query=select+distinct+....

So, it does look like the YASGUI update to 2.7.29 from 2.3.1 is not backwards compatible.

I'll try to take a look and see how to fix this.

lewismc commented 4 years ago

Thanks Carlos --

Lewis Dr. Lewis J. McGibbney Ph.D, B.Sc Skype: lewis.john.mcgibbney

lewismc commented 4 years ago

Hi @carueda has this fix been pushed to cor.esipfed.org? Thanks

carueda commented 4 years ago

@lewismc yes, as part of 3.8.9.

lewismc commented 4 years ago

Verified on my end. This is excellent. We now have autocompletion in the SPARQL GUI... a really nice feature for anyone wanting to use it. I had to clear browser cache for it to work... but it's there. BTW, autocompletion is available due to the now complete data entry effort over on prefix.cc.