Example #1
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.
 */
/**
 * Created by IntelliJ IDEA.
 * User: sschaffe
 * Date: 27.01.12
 * Time: 17:21
 * To change this template use File | Settings | File Templates.
 */
require_once 'autoload.php';
use MarmottaClient\ClientConfiguration;
use MarmottaClient\Clients\LDPathClient;
$config = new ClientConfiguration("http://*****:*****@en] | rdfs:label[@none] | <http://rdf.freebase.com/ns/type.object.name>[@en]) :: xsd:string;") as $field => $values) {
    echo "{$field}: ";
    foreach ($values as $value) {
        echo $value . ",";
    }
    echo "\n";
}