Give me {sexual orientation} that contains the word {sex} in their name
Tell me the sexual orientation of the word ' sex '
tell me sexual orientation that name has the word sex in it
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:sexual_orientation . FILTER ( CONTAINS ( LCASE ( ?i ) , 'sex' ) ) }
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/Q17888>. ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'sex')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:P31 wd:Q17888 . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'sex')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 
heterosexuality heterosexuality pansexuality pansexuality asexuality asexuality male homosexuality male homosexuality pomosexuality pomosexuality monosexuality monosexuality polysexuality polysexuality non-heterosexuality non-heterosexuality gray asexuality gray asexuality demisexuality demisexuality gynesexuality gynesexuality androsexuality androsexuality allosexuality allosexuality fictosexuality fictosexuality bisexuality bisexuality homosexuality homosexuality skoliosexuality skoliosexuality lithsexuality lithsexuality omnisexuality omnisexuality male bisexuality male bisexuality female bisexuality female bisexuality multisexuality multisexuality