waisda/commit
rename
author | Michiel Hildebrand |
---|---|
Mon Aug 22 13:51:00 2011 +0200 | |
committer | Michiel Hildebrand |
Mon Aug 22 13:51:00 2011 +0200 | |
commit | 46967ac7c643a729d235ceb84ea8e24ef78eced1 |
tree | 815a7866a61135b31b5f31d676ceb48e0f6efe90 |
parent | 556b0c133589a6ec0450fa880f9af7056c490c81 |
Diff style: patch stat
diff --git a/config-available/waisda.pl b/config-available/waisda.pl index 156b41f..1885d4e 100755 --- a/config-available/waisda.pl +++ b/config-available/waisda.pl @@ -9,12 +9,13 @@ :- use_module(library(semweb/rdf_library)). :- use_module(config_available(skos)). :- use_module(config_available(yaz)). -:- use_module(applications(yaz_user)). +:- use_module(applications(yaz_home)). /** <module> Management of user-generated metadata for Waisda video labeling game */ :- rdf_register_ns(gtaa, 'http://data.beeldengeluid.nl/gtaa/'). +:- rdf_register_ns(cornetto, 'http://purl.org/vocabularies/cornetto/'). /* RDF data We assume the Waisda rdf is available at ../rdf @@ -53,7 +54,9 @@ yaz:tag_type(person, R) :- rdf(R, skos:inScheme, gtaa:'Namen'). yaz:tag_type(location, R) :- rdf(R, skos:inScheme, gtaa:'GeografischeNamen'). +yaz:tag_type(subject, R) :- + rdf(R, skos:inScheme, gtaa:'OnderwerpenBenG'). yaz:tag_type(subject, R) :- rdf(R, skos:inScheme, gtaa:'Subjects'). -%yaz:tag_type(subject, Tag) :- -% rdfs_individual_of(Tag, skos:'Concept'). +yaz:tag_type(subject, Tag) :- + rdfs_individual_of(Tag, cornetto:'Synset').