Update fromRdf algorithm to not emit nodes having only @id.
This is for part of http://json-ld.org/minutes/2013-07-16/#resolution-2 which should be in issue #258.
--- a/spec/latest/json-ld-api/index.html Sat Jul 20 18:00:59 2013 -0400
+++ b/spec/latest/json-ld-api/index.html Sat Jul 20 15:22:38 2013 -0700
@@ -3549,11 +3549,13 @@
<li>For each key-value pair <i>s</i>-<i>n</i> in the the <i>subject</i>
member of <i>graph map</i> ordered by <i>s</i>, append <i>n</i>
to the <code>@graph</code> member of <i>node</i> after
- removing its <code>usages</code> member.</li>
+ removing its <code>usages</code> member, unless <i>n</i>
+ contains only an <code>@id</code> member.</li>
</ol>
</li>
<li>Append <i>node</i> to <i>result</i> after removing its
- <code>usages</code> member.</li>
+ <code>usages</code> member, unless <i>node</i>
+ contains only an <code>@id</code> member.</li>
</ol>
</li>
<li>Return <i>result</i>.</li>