❓ Question
I am trying to connect to the endpoint of the Graph Library
https://semopenalex.org/sparql
and trying to define the literals in this way:
knowledge=KG(
"https://semopenalex.org/sparql",
skip_predicates={"http://www.w3.org/1999/02/22-rdf-syntax-ns#type"},
literals=[
[
"http://purl.org/spar/cito/cites",
"https://semopenalex.org/property/hasConcept",
"https://semopenalex.org/property/hasRelatedWork",
"http://www.w3.org/2004/02/skos/core#prefLabel",
],
[
"http://xmlns.com/foaf/0.1/name",
],
[
"http://www.w3.org/2004/02/skos/core#related",
"http://www.w3.org/2004/02/skos/core#broader",
"http://www.w3.org/2004/02/skos/core#Concept",
],
[
"http://www.w3.org/2004/02/skos/core#prefLabel",
],
],
)
I get the error either ( ...
We could not find that page. Please go back and try again.
: 0)
or with
knowledge=KG(
"https://semopenalex.org/sparql",
skip_predicates={"http://www.w3.org/1999/02/22-rdf-syntax-ns#type"},
literals=[
[
"http://purl.org/spar/cito/cites",
"https://semopenalex.org/property/hasConcept",
"https://semopenalex.org/property/hasRelatedWork",
"http://www.w3.org/2004/02/skos/core#prefLabel",
],
[
"http://xmlns.com/foaf/0.1/name",
],
[
"http://www.w3.org/2004/02/skos/core#related",
"http://www.w3.org/2004/02/skos/core#broader",
"http://www.w3.org/2004/02/skos/core#Concept",
],
[
"http://www.w3.org/2004/02/skos/core#prefLabel",
],
],
),
the error (AttributeError: 'tuple' object has no attribute 'skip_verify')
if you could help with that?
❓ Question
I am trying to connect to the endpoint of the Graph Library
https://semopenalex.org/sparql
and trying to define the literals in this way:
knowledge=KG(
"https://semopenalex.org/sparql",
skip_predicates={"http://www.w3.org/1999/02/22-rdf-syntax-ns#type"},
literals=[
[
)
: 0) or with knowledge=KG( "https://semopenalex.org/sparql", skip_predicates={"http://www.w3.org/1999/02/22-rdf-syntax-ns#type"}, literals=[ [I get the error either ( ...
We could not find that page. Please go back and try again.
),
the error (AttributeError: 'tuple' object has no attribute 'skip_verify')
if you could help with that?