Hi

 i am having some problems using a jupyter notebook to query a fuseki 
localhost, can you help me?

my fist error was puting <> in the endpoint.

but for
SELECT * WHERE {
  ?sub ?pred ?obj .
} limit 10

i get:

Error: Unexpected response format: text/html (requested: json)

i have use the

# Request whatever format is appropriate for the query type
%format default


-----------------------------------------------------------------------------------------------------------


# define the endpoint
%endpoint http://localhost:3030/#/dataset/Trabalho/sparql

# Don't show more than 80 results (event if more are fetched)
%show 80

# Request whatever format is appropriate for the query type
%format default

# Activate table output
%display table withtypes

%prefix rdf <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
%prefix owl <http://www.w3.org/2002/07/owl#>
%prefix rdfs <http://www.w3.org/2000/01/rdf-schema#>
%prefix xsd <http://www.w3.org/2001/XMLSchema#>
%prefix dev <http://www.semanticweb.org/hugob/ontologies/2024/10/devedores#>



SELECT * WHERE {
  ?sub ?pred ?obj .
} limit 10


Error: Unexpected response format: text/html (requested: json)

Reply via email to