I want to select ?hasTitle and ?hasKeyword where ?hasTitle OR ?hasKeyword have value "communication".
How should I write this condition on SPARQL?
the result must show data that contain the value in ?hasTitle OR in ?hasKeyword.
I've try OPTIONAL {filter regex(?hasTitle, "communication", i)} . filter regex(?hasKeyword, "communication", "i").
the result: i get all ?hasKeyword with that value, and doesn't get all ??hasTitle with that value
I've also try OPTIONAL {filter regex(?hasKeyword, "communication", i)} . filter regex(?hasTitle, "communication", "i").
the result: i get all ?hasTitle with that value, and doesn't get all ??hasKeyword with that value
if I use UNION for both of them, it has no result found.
Please help me for that.
--
Thank You,
Dhira P. Yuga