rdf_qa/commit

missing file

authorJacco van Ossenbruggen
Tue May 28 22:23:02 2013 +0200
committerJacco van Ossenbruggen
Tue May 28 22:23:02 2013 +0200
commit17aecd507d933e52e387985d38cc6bf1152a60f4
treeeba333011b6f7f3ede4a780693a476626c8d2086
parent9c3311c027bca134a9005949c9c8df711508497c
Diff style: patch stat
diff --git a/components/qa_domain_whitelist.pl b/components/qa_domain_whitelist.pl
new file mode 100644
index 0000000..d4824cd
--- /dev/null
+++ b/components/qa_domain_whitelist.pl
@@ -0,0 +1,18 @@
+:- module(qa_domain_whitelist, []).
+
+:- use_module(qa_heuristics).
+
+%%	rdf_qa_ok(?ErrorClass, ?URI) is nondet.
+%
+%	True if URI should never be reported as being in class
+%	ErrorClass. This multifile predicate allows you to suppress
+%	warnings for certain URIs, for example for URIs that are known
+%	to contain errors that you cannot fix.
+
+
+qa:rdf_qa_ok(object_only, URI) :-
+	rdf_global_id(NS:'', URI),
+	member(NS, [rdf,rdfs]).
+qa:rdf_qa_ok(object_only, URI) :-
+	rdf_global_id(NS:_, URI),
+	member(NS, [xsd]).