Back to home

PyCoder's Weekly Issue #83: Programmers' Day

News

Discussions

Projects

将形如

python examples/dbpedia/main.py "Who is Tom Cruise?" 

转换为如下的Sparql查询

SELECT DISTINCT ?x1 WHERE {
    ?x0 rdf:type foaf:Person.
    ?x0 rdfs:label "Tom Cruise"@en.
    ?x0 rdfs:comment ?x1.
}

Thomas Cruise Mapother IV, widely known as Tom Cruise, is an…

Articles

88f3d727e38b439489c63b9b10579bf8.jpe