From: Frank S. <fs...@in...> - 2014-11-28 16:08:56
|
Hello Rob, I get a really strange UriFormatException (Ungültiger URI: Das URI-Format konnte nicht bestimmt werden.) when calling SparqlRemoteEndpoint.QueryWithResultSet with the following query: PREFIX mbo: <http://creativeartefact.org/ontology/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT DISTINCT ?uri ?label ?dis ?ann WHERE {?uri a mbo:Artist. ?uri rdfs:label ?label. OPTIONAL {?uri mbo:disambiguation ?dis}. OPTIONAL {?uri mbo:annotation ?ann}. } With a similar query, I don't get any error: PREFIX mbo: <http://creativeartefact.org/ontology/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT DISTINCT * WHERE {?uri a mbo:Organiser. ?uri rdfs:label ?label. OPTIONAL {?uri mbo:city ?city}. OPTIONAL {?uri mbo:street ?street}. OPTIONAL {?uri mbo:postalcode ?postalcode}. } When running the problematic query in the browser-frontend of my sparql-endpoint, I get the results as expected. Any idea, where the problem might be? Ciao, Frank -- ************************************************ * Universität Leipzig, Institut für Informatik * * Abteilung Betriebliche Informationssysteme * * http://bis.informatik.uni-leipzig.de * * Tel.: 0341 / 97 32 256 * * * * ========== Opera Metal: molllust =========== * * http://www.molllust.com * * M'era Luna Newcomer 2013! * ************************************************ |