SPARQL Query tab in Protege doesn't show anything

Viewed 5370

I open the SPARQL Query tab in Protege but the result is this:

enter image description here

How can I write my query?

4 Answers

For Protege 5.5.0, you may also need to add query view from menu:

Window--> View-> Query View-> SPARQL Query

And drop it into the SPARQL Query tab.

try to enlarge the heap size for Protégé. I have had the same problem for SPARQL Query and others. Plugin update never worked for me and each time I just delete the new plugins and Protégé works as If nothing happens.

So the solution I have found till now is to not update plugins but to enlarge heap size.

How to do it?

There is a wiki for Protégé 3 and 4 here: https://protegewiki.stanford.edu/wiki/Setting_Heap_Size but not for Protégé 5 so I was supposed to figure it myself.

Well, you should just open the Protege.l4j.ini file and change the heap size limits from {200,500} to {2000,5000} (I am not sure If your computer will stand that, you must read the wiki above to know more about it).

It should be like this:

    -Xms2000M
    -Xmx5000M
    -Xss16M

Hope this can help someone there. Best regards, AmelieSpark.

Another way around is downloading the "Snap SPARQL Query" plugin and adding the view on the SPARQL tab.

Related