每當我嘗試添加到三倍使用下面的代碼它給我下面的錯誤店裏。在這方面你能幫助我嗎?提前致謝。問題增加三倍於rdflib.store.IOMemory
store = plugin.get('IOMemory',Store)()
store.add((abc, FOAF['knows'],def))
Error:
Traceback (most recent call last):
File "C:\Python27\internetcode.py", line 114, in <module>
store.add((abc, FOAF['knows'],def))
TypeError: add() takes at least 3 arguments (2 given)
非常感謝。它現在沒有錯誤。 –