Give me {aqueous solution} that {fabrication method} {fermentation} and which contains the word {vinegar} in their name
Tell me which is the aqueous solution that has fermentation as fabrication approach and contains the phrase vinegar in it's name?
Tell me which is the aqueous solution that has fermentation as fabrication method and contains the word vinegar in it's name?
SELECT DISTINCT ?j WHERE { ?j property:fabrication_method resource:fermentation . ?j rdf:type ontology:aqueous_solution . FILTER ( CONTAINS ( LCASE ( ?j ) , 'vinegar' ) ) }
SELECT DISTINCT ?sbj ?sbj_label { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?sbj . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P31> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q906356>. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?sbj . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P2079> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q41760>. ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'vinegar')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:P31 wd:Q906356 . ?sbj wdt:P2079 wd:Q41760 . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'vinegar')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 
vinegar vinegar