请求协助编写SPARQL查询:获取以Michael Jordan为subject的DBpedia资源
Query to Fetch All DBpedia Triples with Michael Jordan as Subject
Got it! Since you want all entries where Michael Jordan is the subject in DBpedia, here's the SPARQL query you can drop right into your online editor:
SELECT ?predicate ?object WHERE { <http://dbpedia.org/resource/Michael_Jordan> ?predicate ?object . }
Quick tweaks if needed:
- If you only care about other DBpedia resources (not literal values like dates or strings), add a filter to target IRIs:
SELECT ?predicate ?object WHERE { <http://dbpedia.org/resource/Michael_Jordan> ?predicate ?object . FILTER(isIRI(?object)) } - This query will return every property linked to Michael Jordan—from his birth location to his NBA teams, awards, and more. Just execute it in your editor, and you'll get the full list of related data.
内容的提问来源于stack exchange,提问作者Bahadar Ali
相关产品推荐
相关产品推荐

