"taught" and "research" are just strings , you need the real URI's between
<> .



2016-08-11 16:19 GMT+02:00 neha gupta <[email protected]>:

> I have query
>
> select ?student where {?student my:hasClass ?class FILTER (?class
> =''"+string+"}
>
> hasClass has two individuals: taught and research. I will take this from
> user as:
> String string=box1.getSelectedItem().toString(); (user will enter either
> taught or research).
>



-- 
Jean-Marc Vanel
Déductions SARL - Consulting, services, training,
Rule-based programming, Semantic Web
http://deductions-software.com/
+33 (0)6 89 16 29 52
Twitter: @jmvanel , @jmvanel_fr ; chat: irc://irc.freenode.net#eulergui

Reply via email to