Commit 5e1cfb62 authored by Mathias Goebel's avatar Mathias Goebel 🎠
Browse files

typo

parent 492b6e54
...@@ -334,7 +334,7 @@ declare function ixp:wikidata-wikipedia($wikidata-id as xs:string) ...@@ -334,7 +334,7 @@ declare function ixp:wikidata-wikipedia($wikidata-id as xs:string)
as xs:string?{ as xs:string?{
let $query := escape-uri("SELECT ?s WHERE{?s schema:about wd:" || $wikidata-id || ".}", true()) let $query := escape-uri("SELECT ?s WHERE{?s schema:about wd:" || $wikidata-id || ".}", true())
let $url := "https://query.wikidata.org/sparql?query=" || $query let $url := "https://query.wikidata.org/sparql?query=" || $query
let $request := <hc:reqeust method="get" href="{$url}" /> let $request := <hc:request method="get" href="{$url}" />
let $uris := hc:send-request($request)[2]//*:uri/string() let $uris := hc:send-request($request)[2]//*:uri/string()
return ( return (
$uris[matches(., "de\.wikipedia")], $uris[matches(., "de\.wikipedia")],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment