This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import json | |
| import re | |
| import time | |
| from random import choice, random | |
| from typing import TextIO, Callable, Sequence, Tuple, Optional | |
| import click | |
| NAME = DATE = str | |
| SPAN_OFFSET = Tuple[int, int] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SELECT ?PermID ?hasPermId ?rank ?prefLabel ?hasReportedTitle ?hasHolder ?hasPositionType ?hasPublicationStatus ?isPositionIn ?to ?familyName ?givenName ?holdsPosition ?hasTenureInOrganization ?additionalName ?hasGender ?bday ?honorificPrefix ?from ?hasQualification ?preferredName ?honorificSuffix ?withDegree ?fromInstitutionName ?inSubject ?isTenureIn ?dateOfDeath | |
| WHERE { OPTIONAL { ?PermID <http://permid.org/ontology/common/hasPermId> ?hasPermId } | |
| OPTIONAL { ?PermID <http://permid.org/ontology/person/rank> ?rank } | |
| OPTIONAL { ?PermID <http://www.w3.org/2004/02/skos/core#prefLabel> ?prefLabel } | |
| OPTIONAL { ?PermID <http://permid.org/ontology/person/hasReportedTitle> ?hasReportedTitle } | |
| OPTIONAL { ?PermID <http://permid.org/ontology/person/hasHolder> ?hasHolder } | |
| OPTIONAL { ?PermID <http://permid.org/ontology/person/hasPositionType> ?hasPositionType } | |
| OPTIONAL { ?PermID <http://permid.org/ontology/common/hasPublicationStatus> ?hasPublicationStatus } | |
| OPTIONA |