Q1 In welche Sprachen wurde Johann Wolfgang von Goethe’s Faust übersetzt und wieviele Publikationen gibt es pro Sprache ?
(Die Ergebnisse wirken etwas wenig, das hat aber mit unserer Katalogisierung zu tun. Vielleicht finde ich noch eine bessere Lösung)
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX dcterms: <http://purl.org/dc/terms/> PREFIX dc: <http://purl.org/dc/elements/1.1/> PREFIX gnd: <https://d-nb.info/gnd/> PREFIX bibo: <http://purl.org/ontology/bibo/> PREFIX schema: <http://schema.org/> SELECT DISTINCT ?lang (COUNT(?lang) AS ?count) WHERE { ?work schema:exampleOfWork <https://d-nb.info/gnd/4128140-8> ; optional { ?work dcterms:language ?lang . } } group by ?lang
Q2 Welche Publikationen von anderen Autoren gehören zur gleichen literarischen Bewegung wie Friedrich Schiller?
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX dct: <http://purl.org/dc/terms/> PREFIX dbc: <http://dbpedia.org/resource/Category:> PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX foaf: <http://xmlns.com/foaf/0.1/> PREFIX dcterms: <http://purl.org/dc/terms/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX gndo: <https://d-nb.info/standards/elementset/gnd#> PREFIX dc: <http://purl.org/dc/elements/1.1/> SELECT DISTINCT ?otherAuthors ?otherAuthorsId ?title ?dnbitem WHERE { SERVICE <https://dbpedia.org/sparql> { ?s rdfs:label "Friedrich Schiller"@de . ?s dbo:movement ?movement . ?other dbo:movement ?othermovement . ?other owl:sameAs ?otherAuthorsId . ?other rdfs:label ?otherAuthors FILTER (LANG(?otherAuthors)="de") . FILTER regex(?otherAuthorsId, "^http://viaf", "i") FILTER ((?movement = ?othermovement) && (?other != ?s)) } ?dnbitem dc:title ?title ; dcterms:creator ?creator . ?creator owl:sameAs ?otherAuthorsId . }
Q3 Welche Berufe sind wie oft von Personen vertreten, die mit dem Ort Frankfurt in irgendeiner Weise verbunden sind?
PREFIX gnd: <https://d-nb.info/gnd/> PREFIX gndo: <https://d-nb.info/standards/elementset/gnd#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> SELECT ?job (COUNT(?job) AS ?count) (GROUP_CONCAT(DISTINCT ?jobAlternative; SEPARATOR=", ") AS ?alternatives) WHERE { ?person ?georef gnd:4018118-2 ; # Person mit irgendeinem geografischem Bezug zu Frankfurt gndo:professionOrOccupation ?jobnode . ?jobnode (rdf:_1|rdf:_2|rdf:_3|rdf:_4|rdf:_5|rdf:_6|rdf:_7|rdf:_8) ?jobId . ?jobId gndo:preferredNameForTheSubjectHeading ?job . OPTIONAL { ?jobId gndo:variantNameForTheSubjectHeading ?jobAlternative . } } GROUP BY ?job ORDER BY DESC(?count)
Q4 Welche Berufe gab es Nürnberg im 17. Jahrhundert?
PREFIX gnd: <https://d-nb.info/gnd/> PREFIX gndo: <https://d-nb.info/standards/elementset/gnd#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> SELECT ?job (COUNT(?job) AS ?count) (GROUP_CONCAT(DISTINCT ?jobAlternative; SEPARATOR=", ") AS ?alternatives) WHERE { ?person ?georef gnd:4042742-0 ; # Person mit irgendeinem geografischem Bezug zu Nürnberg gndo:professionOrOccupation ?jobnode . ?jobnode (rdf:_1|rdf:_2|rdf:_3|rdf:_4|rdf:_5|rdf:_6|rdf:_7|rdf:_8) ?jobId . ?jobId gndo:preferredNameForTheSubjectHeading ?job . OPTIONAL { ?jobId gndo:variantNameForTheSubjectHeading ?jobAlternative . } OPTIONAL { ?person gndo:dateOfBirth ?birthDay . } OPTIONAL { ?person gndo:dateOfDeath ?deathDay . } FILTER ( bound(?birthDay) || bound(?deathDay) ) . FILTER ( bound(?birthDay) && ?birthDay >= "1501-01-01"^^xsd:date && ?birthDay < "1701-01-01"^^xsd:date ) . FILTER ( bound(?deathDay) && ?deathDay >= "1601-01-01"^^xsd:date && ?deathDay < "1801-01-01"^^xsd:date ) . } GROUP BY ?job
Q5 Literaturlisten zu konkreten Themen z.B . Nenne mir drei Publikationen zur Geschichte des Bibliothekswesens in Deutschland)
keine genaue Suche mit Schlagworten möglich, da keine Formschlagwörter wie „Geschichte“ ausgeliefert werden – deshalb über Dewey Klassifikation „Klassifiziere Geschichte und Biografien bezogen auf Bibliotheken in 027.009 „ [aktuell Spezialwissen]
enthält nur gedruckte Werke, da elektronisch nicht mit Dewey Klassifikation erschlossen wird
PREFIX dc: <http://purl.org/dc/elements/1.1/> PREFIX dcterms: <http://purl.org/dc/terms/> SELECT ?work ?title WHERE { ?work dc:title ?title . ?work dcterms:subject ?deweyclass . filter( regex( str(?deweyclass), "^http://dewey.info/class/027.009" ) ) }
Q6 Mit welchen Schlagworten kann ich Literatur zum Ausbruch der Französischen Revolution finden?
(siehe Q5 -> Weg über Dewey Klassifikation)
PREFIX gndo: <https://d-nb.info/standards/elementset/gnd#> PREFIX dc: <http://purl.org/dc/elements/1.1/> PREFIX dcterms: <http://purl.org/dc/terms/> SELECT distinct ?SWname (COUNT(?SWname) AS ?count) WHERE { ?work dc:title ?title . ?work dcterms:subject ?deweyclass . filter( regex( str(?deweyclass), "^http://dewey.info/class/944.04" ) ) ?work dcterms:subject ?gndSW . ?gndSW gndo:preferredNameForTheSubjectHeading ?SWname . } GROUP BY ?SWname ORDER BY DESC(?count)
Q7 Welche Autoren sind bekannt dafür, dass sie „Italien“ in ihren Werken thematisieren?
PREFIX gndo: <https://d-nb.info/standards/elementset/gnd#> PREFIX dc: <http://purl.org/dc/elements/1.1/> PREFIX dcterms: <http://purl.org/dc/terms/> PREFIX gnd: <https://d-nb.info/gnd/> SELECT distinct ?creator ?name WHERE { ?gnd gndo:geographicAreaCode <https://d-nb.info/standards/vocab/gnd/geographic-area-code#XA-IT> . ?work dcterms:subject ?gnd . ?work dcterms:creator ?creator . ?creator gndo:preferredNameForThePerson ?name . }
Q8 Welche Wissenschaftler oder Künstler waren Teil der Bewegung „Romantik“?
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX dct: <http://purl.org/dc/terms/> PREFIX dbc: <http://dbpedia.org/resource/Category:> PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX foaf: <http://xmlns.com/foaf/0.1/> PREFIX dcterms: <http://purl.org/dc/terms/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX gndo: <https://d-nb.info/standards/elementset/gnd#> PREFIX dc: <http://purl.org/dc/elements/1.1/> PREFIX gnd: <https://d-nb.info/gnd/> SELECT DISTINCT ?gnd ?name WHERE { SERVICE <https://dbpedia.org/sparql> { ?movement rdfs:label "Romantik"@de . ?person dbo:movement ?movement . ?person owl:sameAs ?personId . FILTER regex(?personId, "^http://viaf", "i") } ?gnd owl:sameAs ?personId . ?gnd gndo:professionOrOccupation ?jobnode . ?jobnode (rdf:_1|rdf:_2|rdf:_3|rdf:_4|rdf:_5|rdf:_6|rdf:_7|rdf:_8) ?job . ?gnd gndo:preferredNameForThePerson ?name . FILTER (?job = gnd:4033423-5 || ?job = gnd:4033430-2 || ?job = gnd:4066567-7 || ?job = gnd:4136652-9) }
Beispielstruktur der Daten