Give me {legal profession} that contains the word {solicitor} in their name
What are the criminal occupation which start with the letter solicitor
What are the legal profession which start with the letter solicitor
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:legal_profession . FILTER ( CONTAINS ( LCASE ( ?d ) , 'solicitor' ) ) }
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/Q15987302>. ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'solicitor')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:P31 wd:Q15987302 . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'solicitor')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 
solicitor solicitor