From: Rob V. <rv...@do...> - 2014-06-04 11:44:53
|
Diogo First off please do not email developers directly, if you have further questions please subscribe to the support mailing list at https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support and send questions to dot...@li... This allows all the project contributors opportunity to help (and shares the load of helping) as well as letting future users benefit from your questions. Without seeing your code/data it is hard to tell what is going on. It may be that you are trying to retrieve the wrong graph or retrieving a graph that genuinely is empty. Your Fuseki configuration file is slightly strange in that the TDB reasoning service is backed by a different TDB dataset then your non-reasoning service. Was this actually intentional? And are you sure you actually put data in the given TDB databases? It is possibly that the reasoning service returns an empty graph because the actual TDB database behind it is empty You can run Fuseki against a specific location without needing a configuration file like so: java -jar fuseki-server.jar --loc /path/to/db /ds You can then try the following query to verify whether the database actually contains any data: SELECT * WHERE { { ?s ?p ?o } UNION { GRAPH ?g { ?s ?p ?o } } } This will let you test each specified location to see if it actually has any data in it to start with. Unfortunately without further details I cannot help you any further, Best Regards, Rob On 31/05/2014 18:29, "Diogo Martinho" <dio...@gm...> wrote: >Dear Mr. Vesse >I am a student in Instituto Superior de Engenharia do Porto, Portugal, >and I am currently developing a C# web application for a school >project of that takes advantage of both Ontologies and Web Semantics. >In my project I am using a ".owl" ontology, which I have created in >Protege and I used Fuseki Server to upload the same ontology. >I needed an API that would allow me to load the information from my >ontology in my website and I found the dotnetrdf API. >I followed the tutorial and the information you have provided in your >website and I was able to load my ontolgy graph however I am only able >to do so if it is not configured with a reasoner mechanism. >I will need to use a reasoner mechanism that I have configured in my >config.ttl (sent in the attachment), and everytime I call the >LoadGraph() function, the resulting graph always returns empty for >some unknown reason. >I have no idea why this problem is happening and that is why I am >sending you this message in great hope that you will be able to help >me solve this issue. >I thank in advance for any further answers from you and I will be >looking forward for a response. >Thank you very much, >Diogo Martinho. |