GitHub user johns0806 opened a pull request: https://github.com/apache/incubator-rya/pull/130
corrected errors in sample code in README.md <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> ## Description Corrected the three code snippets to be easier for new users to use. Fixed broken sample code that used non-existent methods. Made "rya_" prefix consistent between code snippets. Greatly simplified the sample code which writes to Rya by removing many lines of unneeded code while retaining the same capability. ### Links [Jira](https://issues.apache.org/jira/browse/RYA-229) You can merge this pull request into a Git repository by running: $ git pull https://github.com/johns0806/incubator-rya RYA-229-sample-code-in-readme-md-is-broken Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-rya/pull/130.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #130 ---- commit 863d0220399ed88a12f3e058ed33e53bb1549542 Author: John Smith <johns0...@gmail.com> Date: 2016-12-17T02:29:29Z corrected errors in sample code in README.md ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---