{"action":"created","issue":{"url":"https://api.github.com/repos/danicadamljanovic/freya/issues/5","labels_url":"https://api.github.com/repos/danicadamljanovic/freya/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/danicadamljanovic/freya/issues/5/comments","events_url":"https://api.github.com/repos/danicadamljanovic/freya/issues/5/events","html_url":"https://github.com/danicadamljanovic/freya/issues/5","id":116159744,"number":5,"title":"Issue reindexing DBPedia","user":{"login":"KshitizSethia","id":4375768,"avatar_url":"https://avatars.githubusercontent.com/u/4375768?v=3","gravatar_id":"","url":"https://api.github.com/users/KshitizSethia","html_url":"https://github.com/KshitizSethia","followers_url":"https://api.github.com/users/KshitizSethia/followers","following_url":"https://api.github.com/users/KshitizSethia/following{/other_user}","gists_url":"https://api.github.com/users/KshitizSethia/gists{/gist_id}","starred_url":"https://api.github.com/users/KshitizSethia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KshitizSethia/subscriptions","organizations_url":"https://api.github.com/users/KshitizSethia/orgs","repos_url":"https://api.github.com/users/KshitizSethia/repos","events_url":"https://api.github.com/users/KshitizSethia/events{/privacy}","received_events_url":"https://api.github.com/users/KshitizSethia/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-10T17:35:29Z","updated_at":"2015-11-10T21:35:07Z","closed_at":null,"body":"I'm getting an error reindexing the DBPedia proxy through FREyA. I did the following steps:\r\n\r\n1) create dbpedia proxy endpoint in sesame-workbench.Verified it is working\r\n2) made freya.war after changing the endpoint to dbpedia, placed it in webapps. The web page is showing up.\r\n3) got solr running  on 8983 after taking schema.xml from freya.\r\n4) clicked reindex option on freya homepage\r\n\r\nI get the following error:\r\n\r\norg.openrdf.repository.http.HTTPQueryEvaluationException: Query evaluation error: dbpedia.org: unknown error\r\n\r\n\r\nUpon seeing the logs in freya.log I suspect this query is causing the error:\r\n\r\nPREFIX sesame: <http://www.openrdf.org/schema/sesame#>\r\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\r\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\r\nPREFIX owl: <http://www.w3.org/2002/07/owl#>\r\nSELECT DISTINCT ?E ?L ?P\r\nWHERE\r\n{\r\n  ?E rdf:type <http://www.w3.org/2002/07/owl#Class> .\r\n    OPTIONAL {\r\n        ?E rdfs:label ?L .\r\n    }\r\n}\r\n\r\nThis query has an error that P used, but never assigned."},"comment":{"url":"https://api.github.com/repos/danicadamljanovic/freya/issues/comments/155574149","html_url":"https://github.com/danicadamljanovic/freya/issues/5#issuecomment-155574149","issue_url":"https://api.github.com/repos/danicadamljanovic/freya/issues/5","id":155574149,"user":{"login":"danicadamljanovic","id":6527106,"avatar_url":"https://avatars.githubusercontent.com/u/6527106?v=3","gravatar_id":"","url":"https://api.github.com/users/danicadamljanovic","html_url":"https://github.com/danicadamljanovic","followers_url":"https://api.github.com/users/danicadamljanovic/followers","following_url":"https://api.github.com/users/danicadamljanovic/following{/other_user}","gists_url":"https://api.github.com/users/danicadamljanovic/gists{/gist_id}","starred_url":"https://api.github.com/users/danicadamljanovic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danicadamljanovic/subscriptions","organizations_url":"https://api.github.com/users/danicadamljanovic/orgs","repos_url":"https://api.github.com/users/danicadamljanovic/repos","events_url":"https://api.github.com/users/danicadamljanovic/events{/privacy}","received_events_url":"https://api.github.com/users/danicadamljanovic/received_events","type":"User","site_admin":false},"created_at":"2015-11-10T21:35:07Z","updated_at":"2015-11-10T21:35:07Z","body":"thanks Kshitiz I will have a look.\n\nI assume you've already updated freya.properties to repositoryURL to be\nhttp://localhost:8080/openrdf-sesame\nand the id to be dbpedia.\n\nAlso looks like there is an issue with the repository - are you sure you\ncan execute a sparql query using sesame-workbench and get a result back?\n\nOn Tue, Nov 10, 2015 at 7:15 PM, Kshitiz Sethia <notifications@github.com>\nwrote:\n\n> Hi Danica,\n>\n> I'm getting the error when trying to reindex FREyA using the button on the\n> homepage (therefore, query generated by FREyA).\n>\n> freya.properties points to the dbpedia proxy.\n>\n> Here's the steps for creating the proxy (steps at\n> http://stackoverflow.com/questions/30495427/how-do-i-query-a-sparql-endpoint-such-as-dbpedia-with-sesame\n> ):\n>\n> [image: image]\n> <https://cloud.githubusercontent.com/assets/4375768/11072417/bd1c09fa-87b3-11e5-8ea1-48f6b8c4b460.png>\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/danicadamljanovic/freya/issues/5#issuecomment-155535683>\n> .\n>\n"}}