The fundamental group of a knot $K$ (otherwise known as the knot group) is the fundamental group of the knot complement $S^{3} \backslash K $ in $S^{3} $.
In "Virtual Knots: The State of the Art" (http://books.google.com.au/books?id=WaCJ_-MpdBYC) on page 7, it says that the fundamental group of a knot recognizes prime knots. Does this mean that the knot group of a prime knot cannot be isomorphic to the amalgamated free product of two non-trivial knot groups- and in general can the knot group of a prime knot be an amalgamated free product?