python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
How to delete entry from rdf file in prolog
I want to write a program in Prolog where a menu is given to the users. They choose to either add data, see existing data based on surname or age, or/and delete data based on surname or age. I don't k...
Jamie
Votes: 0
Answers: 1
How can I fix sandbox error on SWI-Prolog
I'm trying this code on SWI-Prolog:
go :-
write('What is the patient''s name? '),
read(Patient),
hypothesis(Patient,Disease),
write_list([Patient,'probably has ',Disease,'.']),nl.
go ...
Laura González
Votes: 0
Answers: 1
How using upcase_atom/2 in Prolog?
Here is a minimal theorem prover in Prolog:
:- op(1110, xfy, =>). % conditional
% -----------------------------------------------------------------
provable(F,P):-
prove([]>[F],P).
% -...
Joseph Vidal-Rosset
Votes: 0
Answers: 0
Python: swiplserver load prolog file
Based on this post try to follow the hint with setup some swiplserver
from pyswip import Prolog, Functor, Query
from swiplserver import PrologMQI, PrologThread
prolog = Prolog()
prolog.consult("...

Martin Kunze
Votes: 0
Answers: 2