次の sparql クエリから始めることができます。名前が Apple Inc. であるサブジェクトのすべてのトリプルを取得します。".
select distinct ?subject ?predicate ?object where {
?subject ?predicate ?object .
?subject <http://xmlns.com/foaf/0.1/name> "Apple Inc."@en .
}
SPARQL の結果
subject predicate object
http://dbpedia.org/resource/Apple_Inc. http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://www.w3.org/2002/07/owl#Thing
http://dbpedia.org/resource/Apple_Inc. http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://dbpedia.org/ontology/Company
http://dbpedia.org/resource/Apple_Inc. http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://www.opengis.net/gml/_Feature
http://dbpedia.org/resource/Apple_Inc. http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://dbpedia.org/ontology/Organisation
http://dbpedia.org/resource/Apple_Inc. http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://dbpedia.org/ontology/Agent
http://dbpedia.org/resource/Apple_Inc. http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://schema.org/Organization
http://dbpedia.org/resource/Apple_Inc. http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://dbpedia.org/class/yago/ComputerCompaniesOfTheUnitedStates
http://dbpedia.org/resource/Apple_Inc. http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://dbpedia.org/class/yago/SoftwareCompaniesOfTheUnitedStates
http://dbpedia.org/resource/Apple_Inc. http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://dbpedia.org/class/yago/RetailCompaniesOfTheUnitedStates
http://dbpedia.org/resource/Apple_Inc. http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://dbpedia.org/class/yago/CompaniesEstablishedIn1976
http://dbpedia.org/resource/Apple_Inc. http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://dbpedia.org/class/yago/ComputerHardwareCompanies
http://dbpedia.org/resource/Apple_Inc. http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://umbel.org/umbel/rc/Organization
http://dbpedia.org/resource/Apple_Inc. http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://dbpedia.org/class/yago/Company108058098
http://dbpedia.org/resource/Apple_Inc. http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://dbpedia.org/class/yago/HomeComputerHardwareCompanies
http://dbpedia.org/resource/Apple_Inc. http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://dbpedia.org/class/yago/CompaniesBasedInCupertino,California
http://dbpedia.org/resource/Apple_Inc. http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://dbpedia.org/class/yago/MobilePhoneManuFACturers