rdf_qa/commit
misc improvements to object only heur
author | Jacco van Ossenbruggen |
---|---|
Tue May 28 21:17:02 2013 +0200 | |
committer | Jacco van Ossenbruggen |
Tue May 28 21:17:02 2013 +0200 | |
commit | 2f93aba6912b28e866b5867e5fc7fe3cf26a0669 |
tree | 0d9ea7d76ad21cf39d44fc209e3dcd0583f2f6a5 |
parent | 116f3818735e705615cfacea2dbcc43f366b7aee |
Diff style: patch stat
diff --git a/components/qa_object_only.pl b/components/qa_object_only.pl index bd952de..394871e 100644 --- a/components/qa_object_only.pl +++ b/components/qa_object_only.pl @@ -7,7 +7,10 @@ qa:rdf_warning(object_only, rdf(S,P,O)) :- rdf(S, P, O), + \+ rdf_equal(rdfs:isDefinedBy, P), + \+ rdf_equal(rdfs:seeAlso, P), \+ O = literal(_), - \+ rdf_subject(O). + \+ rdf_subject(O), + \+ qa:rdf_qa_ok(object_only, O). qa:class_label(object_only) --> html(['Triples with ', i('Object that is never a Subject')]).