How i can convert "• Robbery No. 1 occurred on Johnny's person on Tuesday in the park" to prolog rule/fact?
How i can convert "• Robbery No. 1 occurred on Johnny's person on Tuesday in the park" to prolog rule/fact?
How about:
robbery(1, johnny, tuesday, park).
... as 1 of many ways, depending on how you want to use the info.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.