Skip to content
This repository was archived by the owner on Jun 16, 2025. It is now read-only.
This repository was archived by the owner on Jun 16, 2025. It is now read-only.

urllib.error.URLError #16

Open
Open
@FuHan77

Description

@FuHan77
    PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    PREFIX : <http://rdf.freebase.com/ns/> 
    SELECT (?x0 AS ?label) WHERE {
    SELECT DISTINCT ?x0  WHERE {
    :m.03_r3 rdfs:label ?x0 . 
                        FILTER (langMatches( lang(?x0), "EN" ) )
                         }
                         }

Reading: 0%|

except urllib.error.URLError:
    print(query)
    exit(0)

After throwing this exception, the program will exit directly. These three websites seem to be inaccessible. What is the situation? Is there an alternative if it is not accessible?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions