seems ok… except i get all those warnings …
How can skip the assert(), thing … its just compiled, but not installed, right, thats why i have to use use_module(pack(ape)) ?
?- assert(user:file_search_path(pack, '/home/xxxxx/.local/share/swi-prolog/pack/APE/prolog/')).
true.
?- use_module(pack(ape)).
Warning: /home/xxxxx/.local/share/swi-prolog/pack/APE/prolog/utils/drs_to_coreace.pl:168:
Warning: Invalid mode declaration in PlDoc comment: post_process//0
Warning: /home/xxxxx/.local/share/swi-prolog/pack/APE/prolog/utils/drs_to_coreace.pl:1563:
Warning: Invalid mode declaration in PlDoc comment: get_sentence_id('SId'/'_TId','SId')
Warning: /home/xxxxx/.local/share/swi-prolog/pack/APE/prolog/utils/implication_turn.pl:45:
Warning: Invalid mode declaration in PlDoc comment: implication_turn(+ ('Implication':term),- ('ImplicationTurned':term))is undet
Warning: /home/xxxxx/.local/share/swi-prolog/pack/APE/prolog/utils/implication_turn.pl:54:
Warning: Invalid mode declaration in PlDoc comment: drs_turn(+ ('Level':functor),+ ('Subject':functor),+ ('CondsIn':list),- ('CondsTurned':list))is undet
Warning: /home/xxxxx/.local/share/swi-prolog/pack/APE/prolog/utils/owlswrl/drs_to_owlswrl_core.pl:793:
Warning: Invalid mode declaration in PlDoc comment: get_entity(+iri('Name':atom),- ('Individual':term))is semidet
Warning: /home/xxxxx/.local/share/swi-prolog/pack/APE/prolog/utils/owlswrl/owlswrl_to_xml.pl:173:
Warning: Invalid mode declaration in PlDoc comment: e_to_xml(ce,'CE','Prefix','CEx')
Warning: /home/xxxxx/.local/share/swi-prolog/pack/APE/prolog/utils/owlswrl/owlswrl_to_xml.pl:182:
Warning: Invalid mode declaration in PlDoc comment: ce_to_xml('ObjectSomeValuesFrom'('OPE','CE'),'_Prefix','Class'('CE'))
true.
?- get_ape_results([text='John waits.', solo=drs], ContentType, Content).
ContentType = 'text/plain',
Content = 'drs([A],[predicate(A,wait,named(\'John\'))-1/2])'.