{"action":"created","issue":{"url":"https://api.github.com/repos/ALIADA/aliada-tool/issues/36","labels_url":"https://api.github.com/repos/ALIADA/aliada-tool/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/ALIADA/aliada-tool/issues/36/comments","events_url":"https://api.github.com/repos/ALIADA/aliada-tool/issues/36/events","html_url":"https://github.com/ALIADA/aliada-tool/issues/36","id":41638729,"number":36,"title":"RDFizer output validation","user":{"login":"idoiamurua","id":7601333,"avatar_url":"https://avatars.githubusercontent.com/u/7601333?v=3","gravatar_id":"","url":"https://api.github.com/users/idoiamurua","html_url":"https://github.com/idoiamurua","followers_url":"https://api.github.com/users/idoiamurua/followers","following_url":"https://api.github.com/users/idoiamurua/following{/other_user}","gists_url":"https://api.github.com/users/idoiamurua/gists{/gist_id}","starred_url":"https://api.github.com/users/idoiamurua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idoiamurua/subscriptions","organizations_url":"https://api.github.com/users/idoiamurua/orgs","repos_url":"https://api.github.com/users/idoiamurua/repos","events_url":"https://api.github.com/users/idoiamurua/events{/privacy}","received_events_url":"https://api.github.com/users/idoiamurua/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ALIADA/aliada-tool/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/ALIADA/aliada-tool/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":{"login":"agazzarini","id":7569632,"avatar_url":"https://avatars.githubusercontent.com/u/7569632?v=3","gravatar_id":"","url":"https://api.github.com/users/agazzarini","html_url":"https://github.com/agazzarini","followers_url":"https://api.github.com/users/agazzarini/followers","following_url":"https://api.github.com/users/agazzarini/following{/other_user}","gists_url":"https://api.github.com/users/agazzarini/gists{/gist_id}","starred_url":"https://api.github.com/users/agazzarini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agazzarini/subscriptions","organizations_url":"https://api.github.com/users/agazzarini/orgs","repos_url":"https://api.github.com/users/agazzarini/repos","events_url":"https://api.github.com/users/agazzarini/events{/privacy}","received_events_url":"https://api.github.com/users/agazzarini/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/ALIADA/aliada-tool/milestones/1","labels_url":"https://api.github.com/repos/ALIADA/aliada-tool/milestones/1/labels","id":729987,"number":1,"title":"1.0 (1st prototype)","description":"","creator":{"login":"agazzarini","id":7569632,"avatar_url":"https://avatars.githubusercontent.com/u/7569632?v=3","gravatar_id":"","url":"https://api.github.com/users/agazzarini","html_url":"https://github.com/agazzarini","followers_url":"https://api.github.com/users/agazzarini/followers","following_url":"https://api.github.com/users/agazzarini/following{/other_user}","gists_url":"https://api.github.com/users/agazzarini/gists{/gist_id}","starred_url":"https://api.github.com/users/agazzarini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agazzarini/subscriptions","organizations_url":"https://api.github.com/users/agazzarini/orgs","repos_url":"https://api.github.com/users/agazzarini/repos","events_url":"https://api.github.com/users/agazzarini/events{/privacy}","received_events_url":"https://api.github.com/users/agazzarini/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":27,"state":"open","created_at":"2014-07-23T17:41:04Z","updated_at":"2015-01-30T11:29:29Z","due_on":"2014-08-31T07:00:00Z","closed_at":null},"comments":37,"created_at":"2014-09-01T13:46:07Z","updated_at":"2015-02-23T09:40:21Z","closed_at":null,"body":"The following validations must be carried out, according to D1.1 Requirements:\r\n\r\n\"The system shall provide some preconfigured SPARQL queries to check the generated\r\nstatements in the dataset to be published in the Linked Open Data cloud. Along with\r\na SPARQL end‐point to such dataset in order to executed the preconfigured queries.\r\nThe system shall check that the dataset contains at least 1000 triples.\"\t\r\n\r\n@scanbit @tpossemato Which type of queries are the most interesting?\r\nE.g.: Give me all the authors\r\nGive me all the manifestations\r\nGive me the manifestations written by author X\r\n"},"comment":{"url":"https://api.github.com/repos/ALIADA/aliada-tool/issues/comments/75512791","html_url":"https://github.com/ALIADA/aliada-tool/issues/36#issuecomment-75512791","issue_url":"https://api.github.com/repos/ALIADA/aliada-tool/issues/36","id":75512791,"user":{"login":"idoiamurua","id":7601333,"avatar_url":"https://avatars.githubusercontent.com/u/7601333?v=3","gravatar_id":"","url":"https://api.github.com/users/idoiamurua","html_url":"https://github.com/idoiamurua","followers_url":"https://api.github.com/users/idoiamurua/followers","following_url":"https://api.github.com/users/idoiamurua/following{/other_user}","gists_url":"https://api.github.com/users/idoiamurua/gists{/gist_id}","starred_url":"https://api.github.com/users/idoiamurua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idoiamurua/subscriptions","organizations_url":"https://api.github.com/users/idoiamurua/orgs","repos_url":"https://api.github.com/users/idoiamurua/repos","events_url":"https://api.github.com/users/idoiamurua/events{/privacy}","received_events_url":"https://api.github.com/users/idoiamurua/received_events","type":"User","site_admin":false},"created_at":"2015-02-23T09:40:21Z","updated_at":"2015-02-23T09:40:21Z","body":"And if you change the code specifying to use the RDFS_FULL reasoner:\r\n\r\n```\r\n\tpublic static void main(String[] args) {\r\n\t\tPelletOptions.USE_TRACING = true;\r\n\t\tModel schema = RDFDataMgr.loadModel(\"file:///work/workspaces/aliada/aliada-tool/aliada/aliada-rdfizer/src/test/resources/aliada-ontology.owl\") ;\r\n\t\tRDFDataMgr.read(schema, \"file:///work/workspaces/aliada/aliada-tool/aliada/aliada-rdfizer/src/test/resources/efrbroo.owl\") ;\r\n\t\tRDFDataMgr.read(schema, \"file:///work/workspaces/aliada/aliada-tool/aliada/aliada-rdfizer/src/test/resources/ecrm.owl\") ;\r\n\t\tRDFDataMgr.read(schema, \"http://www.w3.org/2003/01/geo/wgs84_pos\");\r\n\t\tRDFDataMgr.read(schema, \"http://www.w3.org/2006/time\");\r\n\t\tRDFDataMgr.read(schema, \"http://www.w3.org/2008/05/skos-xl\");\r\n\t\tRDFDataMgr.read(schema, \"http://xmlns.com/foaf/0.1/\");\r\n\t\t\t\t \r\n\t\t //Load generated RDF\r\n\t\t Model data = RDFDataMgr.loadModel(\"file:///work/workspaces/aliada/aliada-tool/aliada/aliada-rdfizer/src/test/resources/invalid.nt\", Lang.NT) ;\r\n\r\n\t\t //Apply reasoner\r\n\t\t Reasoner reasoner = ReasonerRegistry.getRDFSReasoner();\r\n\t\t reasoner.setParameter(ReasonerVocabulary.PROPsetRDFSLevel,\r\n                      ReasonerVocabulary.RDFS_FULL);\r\n\t\t reasoner = reasoner.bindSchema(schema);\r\n\t\t InfModel infmodel = ModelFactory.createInfModel(reasoner, data);\r\n\t\t ValidityReport validity = infmodel.validate();\r\n\t\t if (validity.isValid()) {\r\n\t\t     System.out.println(\"OK\");\r\n\t\t } else {\r\n\t\t     System.out.println(\"Conflicts\");\r\n\t\t     for (Iterator i = validity.getReports(); i.hasNext(); ) {\r\n\t\t         ValidityReport.Report report = (ValidityReport.Report)i.next();\r\n\t\t         System.out.println(\" - \" + report);\r\n\t\t     }\r\n\t\t }\t\t\r\n\t} \r\n```"}}