Give me {baseball league} that contains the word {professional} in their name
Let me know baseball alliance whose title has the word proficient in it.
Tell me baseball league whose name has the word professional in it.
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:baseball_league . FILTER ( CONTAINS ( LCASE ( ?f ) , 'professional' ) ) }
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/Q6631808>. ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'professional')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:P31 wd:Q6631808 . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'professional')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 
Dominican Professional Baseball League Dominican Professional Baseball League American Association of Professional Baseball American Association of Professional Baseball International Association for Professional Base Ball Players International Association for Professional Base Ball Players Nippon Professional Baseball Nippon Professional Baseball National Association of Professional Base Ball Players National Association of Professional Base Ball Players Canadian American Association of Professional Baseball Canadian American Association of Professional Baseball Pacific Association of Professional Baseball Clubs Pacific Association of Professional Baseball Clubs