Replies: 3 comments 3 replies
-
Hi! RDF 1.2 is still a Working Draft, and the exact interpretation of quoted triples (now called triple terms) is yet to be finalized. Thus it would be premature for RDFLib to support it at this stage. Experimental third party tools could do so, if they responsibly warn that this is not a standard and still subject to revisions. Rest assured that once we're getting closer to a definitive state this will be properly implemented to ensure future interoperability. Meanwhile, it would be great to know about your specific use case is (even if it is experimental), so that we can assess the applicability of the proposed semantics with such usage requirements. |
Beta Was this translation helpful? Give feedback.
-
Let's have a look at another example of neo4j:
The corresponding RDF data is as follows:
Both quantity and connection should be used as properties of "hasPart"(not part_1), because the part_1 of other models may be Screw-connected, and it's quantity is not necessarily 4. So, I need to use rdflib to generate the above rdf data exactly, not with blank nodes or some other means. Of course, there are many more other application examples. |
Beta Was this translation helpful? Give feedback.
-
I edited the example a bit before seeing your reply so that it more accurately conveys what I mean. |
Beta Was this translation helpful? Give feedback.
-
See example 19 of w3 rdf1.2 specification,
I want to use rdflib to generate an rdf turtle file with the following content:
I didn't find any reference to this in the documentation or examples. How should I write the corresponding python code? I'm just starting to learn and use rdflib, thanks for your help!
Beta Was this translation helpful? Give feedback.
All reactions