Groups
Conversations
All groups and messages
Send feedback to Google
Help
Training
Sign in
Groups
pyswip
Conversations
About
Groups keyboard shortcuts have been updated
Dismiss
See shortcuts
pyswip
1–30 of 76
Mark all as read
Report group
0 selected
Henry Schmitt
,
yuce
2
12/10/24
Asserting rule to specific module using Pythonic interface?
Hi, If you want to use the Pythonic interface you can use something like this: https://gist.github.
unread,
Asserting rule to specific module using Pythonic interface?
Hi, If you want to use the Pythonic interface you can use something like this: https://gist.github.
12/10/24
yuce
10/20/24
[ANN] PySwip v0.3.1
Hi all, PySwip v0.3.1 was released. Here is the release notes: https://pyswip.org/whats-new/v0.3.1.
unread,
[ANN] PySwip v0.3.1
Hi all, PySwip v0.3.1 was released. Here is the release notes: https://pyswip.org/whats-new/v0.3.1.
10/20/24
yuce
10/7/24
[ANN] PySwip v0.3.0
Hi All, PySwip v0.3.0 was released. Here's the release notes: https://github.com/yuce/pyswip/
unread,
[ANN] PySwip v0.3.0
Hi All, PySwip v0.3.0 was released. Here's the release notes: https://github.com/yuce/pyswip/
10/7/24
Ted
, …
yuce
8
10/7/24
ERROR: atom_chars/2: Arguments are not sufficiently instantiated
I've tested this with PySwip v0.3.0 using SWI-Prolog 9.0.4 and cannot reproduce it. >> from
unread,
ERROR: atom_chars/2: Arguments are not sufficiently instantiated
I've tested this with PySwip v0.3.0 using SWI-Prolog 9.0.4 and cannot reproduce it. >> from
10/7/24
Céline
12/4/21
Architecture incompatibility
Hi, I am having a mismatch of architecture when installing Pyswip as per the error message below:
unread,
Architecture incompatibility
Hi, I am having a mismatch of architecture when installing Pyswip as per the error message below:
12/4/21
SymonJory
3
5/26/21
Too many stacked strings
Solved the problem. For others who want to avoid this, the following code should run fine: from
unread,
Too many stacked strings
Solved the problem. For others who want to avoid this, the following code should run fine: from
5/26/21
Dany Varghese
3/8/21
Query returns Functor Value
Hi I am doing a learning function in pyswip. My query returns a functor value "[{'H': [
unread,
Query returns Functor Value
Hi I am doing a learning function in pyswip. My query returns a functor value "[{'H': [
3/8/21
Stuart Reynolds
, …
Stuart Reynolds
9
9/1/20
Prolog() is does not get a new prolog -- possible to create multiple independent instances?
You can assert facts into distinct modules though. That's one way of implementing multiple worlds
unread,
Prolog() is does not get a new prolog -- possible to create multiple independent instances?
You can assert facts into distinct modules though. That's one way of implementing multiple worlds
9/1/20
yuce
6/21/20
Announcement
[ANN] PySwip 0.2.10
Hi All, PySwip 0.2.10 was released. Release highlights: Support for Unicode characters and SWI Prolog
unread,
Announcement
[ANN] PySwip 0.2.10
Hi All, PySwip 0.2.10 was released. Release highlights: Support for Unicode characters and SWI Prolog
6/21/20
Luke Miller
,
Stuart Reynolds
2
3/17/20
load/consult a prolog fragment without loading from a file
For simple rule-bases, you can parse a .pl easily. The following will do it. If you have comments,
unread,
load/consult a prolog fragment without loading from a file
For simple rule-bases, you can parse a .pl easily. The following will do it. If you have comments,
3/17/20
Jackson Feng
3/10/20
Does pySwip support tabling?
I ran the following script in python3.7 In [1]: from pyswip import Prolog In [2]: prolog = Prolog()
unread,
Does pySwip support tabling?
I ran the following script in python3.7 In [1]: from pyswip import Prolog In [2]: prolog = Prolog()
3/10/20
yuce
2/18/20
Announcement
PySwip in 2020 Survey
Hello, Thanks for being a member of the PySwip community. We want to know more about you, your
unread,
Announcement
PySwip in 2020 Survey
Hello, Thanks for being a member of the PySwip community. We want to know more about you, your
2/18/20
Hakjin Kim
,
marceloXD978
2
9/25/19
pyswip broken
I had the same problem as you. You need to install the stable version of prolog, in this case is the
unread,
pyswip broken
I had the same problem as you. You need to install the stable version of prolog, in this case is the
9/25/19
Hefaist
,
Nicolas Gallinal
4
8/9/19
pyswip and utf8
Hi Nicolas, I am pleased that you are willing to solve this problem. I prepared everything here. Have
unread,
pyswip and utf8
Hi Nicolas, I am pleased that you are willing to solve this problem. I prepared everything here. Have
8/9/19
mraptor mraptor
8/1/19
Save the generated swipl DB to a file ?
Is there a way to save the fact/claluses-DB that are added during the python session to a file ?
unread,
Save the generated swipl DB to a file ?
Is there a way to save the fact/claluses-DB that are added during the python session to a file ?
8/1/19
Ольга Чебан
,
Nicolas Gallinal
2
7/24/19
Consult method doesn't work
I was experiencing the same issue just now using Visual Studio Code. If I run it directly saying
unread,
Consult method doesn't work
I was experiencing the same issue just now using Visual Studio Code. If I run it directly saying
7/24/19
Jibran Rasheed
,
Ольга Чебан
2
5/16/19
how to consult prolog file and store/print predicate result
Hello! Did you managed to do this? Could you share your experience, please? I'm using consult
unread,
how to consult prolog file and store/print predicate result
Hello! Did you managed to do this? Could you share your experience, please? I'm using consult
5/16/19
Hanzala Afzal
,
Ольга Чебан
2
5/16/19
Getting error on Consult() method
Hello! Did you managed to fix this problem? I have the same issue and have no idea how to fix it.
unread,
Getting error on Consult() method
Hello! Did you managed to fix this problem? I have the same issue and have no idea how to fix it.
5/16/19
pradip pramanick
4/22/19
How to make assertion in pyswip written to .pl file
I have a pre-populated '.pl' file that contains facts and rules. I open the file using
unread,
How to make assertion in pyswip written to .pl file
I have a pre-populated '.pl' file that contains facts and rules. I open the file using
4/22/19
sdafg sdafgag
10/1/18
pyswip on setting a variable on a variable
Hello, im trying to use pyswip to query gleich(A, B). from the database gleich(A, B):- A = B. and
unread,
pyswip on setting a variable on a variable
Hello, im trying to use pyswip to query gleich(A, B). from the database gleich(A, B):- A = B. and
10/1/18
Zichao Li
,
yuce
2
6/12/18
Right result on console output but wrong output with pyswip.query()
Hi, Can you open an issue for this at: https://github.com/yuce/pyswip/issues ? I'll fix that as
unread,
Right result on console output but wrong output with pyswip.query()
Hi, Can you open an issue for this at: https://github.com/yuce/pyswip/issues ? I'll fix that as
6/12/18
Tanisha Bhayani
,
Rodrigo Starr
3
4/3/17
pyswip showing existence error for no apparent reason.
Thank You for the answer, .pl is for perl on my pc. I did l = list(p.query('[questionmap]'))
unread,
pyswip showing existence error for no apparent reason.
Thank You for the answer, .pl is for perl on my pc. I did l = list(p.query('[questionmap]'))
4/3/17
y f
2
9/15/16
segmentation fault pyswip with swipl 6.6.4 on Ubuntu 14.04
Python version 2.7.6
unread,
segmentation fault pyswip with swipl 6.6.4 on Ubuntu 14.04
Python version 2.7.6
9/15/16
Sandeep
, …
NonDucor
4
7/5/15
pyswip query does'nt seem to properly return complex answers
The following patch may be useful. It improves the Functor class so its default "value"
unread,
pyswip query does'nt seem to properly return complex answers
The following patch may be useful. It improves the Functor class so its default "value"
7/5/15
riv...@gmail.com
4/29/15
instalacion de pyswip
quiero instalar pyswip como hago la comprobacion de que python ejecute prolog o como yose si ya se
unread,
instalacion de pyswip
quiero instalar pyswip como hago la comprobacion de que python ejecute prolog o como yose si ya se
4/29/15
swipro-learner
4/20/15
swi-prolog error due to single quote in assert
While trying to assert fact with single quote ' in input string, swi-prolog gives this error:
unread,
swi-prolog error due to single quote in assert
While trying to assert fact with single quote ' in input string, swi-prolog gives this error:
4/20/15
swipro-learner
2
4/8/15
swi-prolog function check for list and logical operation
I want to check multiple condition like these into swi-prolog if sub_link in links_list1: if ('
unread,
swi-prolog function check for list and logical operation
I want to check multiple condition like these into swi-prolog if sub_link in links_list1: if ('
4/8/15
Yoga Perdana Sasmita
,
Rodrigo Starr
2
2/9/15
How to match input text with rules in p.query?
Are you sure you are asserting the data you put in the text box? (also, I am considering your
unread,
How to match input text with rules in p.query?
Are you sure you are asserting the data you put in the text box? (also, I am considering your
2/9/15
Fred972
1/24/15
Django et SWI Prolog
Hi everybody, Is there anybody who try to use SWI-PROLOG with DJANGO via pyswip ? Thanks. Fred
unread,
Django et SWI Prolog
Hi everybody, Is there anybody who try to use SWI-PROLOG with DJANGO via pyswip ? Thanks. Fred
1/24/15
yangyu song
,
hyp3rv1p3r
2
5/21/14
libpl.so on swi 6.6.4?
On mac you must look for libswipl.dylib and libpl.dylib. Ciao Il giorno martedì 1 aprile 2014 15:59:
unread,
libpl.so on swi 6.6.4?
On mac you must look for libswipl.dylib and libpl.dylib. Ciao Il giorno martedì 1 aprile 2014 15:59:
5/21/14