舉例:people who had children born in Seattle
對應的
λ-算子:
λx.∃y.Chilren( x , y ) ∧ PlaceOfBirth( y , Seattle )
λ-DCS:
Chilren.PlaceOfBirth.Seattle
SPARQL:
prefix ns: <神馬神馬>
select ?s1
where {
?s1 ns: Chilren ?s2,
?s2 ns: PlaceOfBirth ns: Seattle ,
}
Cypher:
match (p)-[:Chilren]->(q)-[:PlaceOfBirth]->(:Place {name:'Seattle '}) return p
自己寫的,,如果有錯,請指正;如果覺得還行,請點贊!謝謝!