own-pt / wql

WQL query language
BSD 3-Clause "New" or "Revised" License
1 stars 1 forks source link

Querying with wildcard character is not working #13

Open yfaria opened 3 years ago

yfaria commented 3 years ago

The query [* x] is not working properly. As can be seen in #12, this is converted to SPARQL to PREFIX mrs: <http://www.delph-in.net/schema/mrs#> PREFIX delph: <http://www.delph-in.net/schema/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT ?x0 ?x2 WHERE { ?x1 mrs:role ?x2 . ?x0 mrs:hasEP ?x1 . ?x0 rdf:type mrs:MRS . }; and delphin-rdf produces RDFs that doesn't use mrs:role directly; but it uses subproperties of it like ARG1 or RSTR.