Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
cmungall committed Jul 18, 2009
1 parent 2cbc282 commit 1d23037
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions owl2_to_progol.pl
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -42,7 +42,10 @@
% writes: % writes:
% =|has_disease_type(human1,alzheimers). ... disease_type(alzheimers)|= % =|has_disease_type(human1,alzheimers). ... disease_type(alzheimers)|=
write_progol_facts(Head,Goal,TypeDecl) :- write_progol_facts(Head,Goal,TypeDecl) :-
format('% Type declarations:~n'),
setof(TypeDecl,Goal^Goal,TypeDecls), setof(TypeDecl,Goal^Goal,TypeDecls),
nl,
format('% Facts:~n'),
forall(member(TypeDecl,TypeDecls), forall(member(TypeDecl,TypeDecls),
format('~q.~n',[TypeDecl])), format('~q.~n',[TypeDecl])),
forall(Goal,format('~q.~n',[Head])). forall(Goal,format('~q.~n',[Head])).
Expand Down

0 comments on commit 1d23037

Please sign in to comment.