基本的なSPARQLクエリすべてトリプルを取得select * where { ?s ?p ?o . } LIMIT 100 検索例(DBpedia日本語版) 「東京都を主語(Subject)に含む」トリプルの述語(?p)と目的語(?o)を取得するselect distinct ?p ?o where { <http://ja.dbpedia.org/resource/東京都> ?p ?o . } LIMIT 100 検索例(DBpedia日本語版) 「ラベルに“大阪”を含む」トリプルの主語(?s)select distinct ?s where { ?s <http://www.w3.org/2000/01/rdf-schema#label>? "大阪"@ja . }LIMIT 100 検索例(DBpedia日本語版) 「ラベルが“大阪”と一致する」トリプルの主語(?s)につながっている
![SPARQLクエリ集](https://cdn-ak-scissors.b.st-hatena.com/image/square/c2aae4f0f999d9918330e9902240723317b9a677/height=288;version=1;width=512/https%3A%2F%2Fwp.lodosaka.jp%2Fwp-content%2Fuploads%2F2015%2F01%2Flogo02.png)