CDiGallo / GovTech-Hackathon

In this Repo there is the pre-built-code for the Hackathon.
0 stars 3 forks source link

some cool links to look into #1

Open CDiGallo opened 1 year ago

CDiGallo commented 1 year ago

Here some links that might interest you

tree of archivplan https://www.recherche.bar.admin.ch/recherche/#/de/suche/archivplan

The sparql query api console:

https://lindas.admin.ch/sparql/#

some queries: count by recordsettype

PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT distinct ?p ((count(?sub)) as ?Sub) 
WHERE {
 ?sub <https://www.ica.org/standards/RiC/ontology#hasRecordSetType> ?p

 # ?sub <https://www.ica.org/standards/RiC/ontology#hasRecordSetType> <https://culture.ld.admin.ch/ais/vocabularies/recordSetTypes/10003> .
} 

group by ?p

LIMIT 100000000000

all the top level entries with title:

PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT * WHERE {
   ?sub_1 <https://www.ica.org/standards/RiC/ontology#hasRecordSetType> ?all .
   VALUES ?all {<https://culture.ld.admin.ch/ais/vocabularies/recordSetTypes/1> <https://culture.ld.admin.ch/ais/vocabularies/recordSetTypes/10001> <https://culture.ld.admin.ch/ais/vocabularies/recordSetTypes/10003>}

  ?sub_1 <https://www.ica.org/standards/RiC/ontology#title> ?title.
  ?sub_1 <https://www.ica.org/standards/RiC/ontology#hasRecordSetType> ?level.

} LIMIT 1000000

The graph explorer: lets you explore the graph (only kinda usefull) Click on link then search for class "record set type" and then choose one of the classes (select then one of the numbers).

https://culture.ld.admin.ch/graph-explorer/

CDiGallo commented 1 year ago

How to find an entry from online-Zugang:

example: image

click on it. Copy the title and paste the title in the lindas query below

?s ?p "title".

(that means: give me all subjects, all properties which have the value "title".)

image

you can then click on the link below <https//culture.ld.admin.ch/ais/5691871> then you see the entry in LINDAS:

image