Selected fields in a CFQ entry. questionWithBrackets is the full English question with entities surrounded by brackets. questionPatternModEntities is the question with entites replaced by placeholders. In questionWithMids, the entity codes (Freebase machine IDs; MIDs) are given instead of their labels. sparql is the fully executable SPARQL query for the question, and in sparqlPatternModEntities the entity codes are replaced by placeholders.
CFQ field . | Content . |
---|---|
questionWithBrackets | Did [‘Murder’ Legendre]’s male actor marry [Lillian Lugosi] |
questionPatternModEntities | Did M0 ’s male actor marry M2 |
questionWithMids | Did m.0h4y854 ’s male actor marry m.0hpnx3b |
sparql | SELECT count(*) WHERE { ?x0 ns:film.actor.film/ns:film.performance .character ns:m.0h4y854 . ?x0 ns:people.person.gender ns:m.05zppz . ?x0 ns:people.person.spouse_s/ns:fictional_universe.marriage_of_fictional_characters.spouses ns:m.0hpnx3b . FILTER (?x0 != ns:m.0hpnx3b )} |
sparqlPatternModEntities | SELECT count(*) WHERE { ?x0 ns:film.actor.film/ns:film.performance .character M0 . ?x0 ns:people.person.gender ns:m.05zppz . ?x0 ns:people.person.spouse_s /ns:fictional_universe.marriage_of_fictional_characters.spouses M2 . FILTER (?x0 != M2 )} |
CFQ field . | Content . |
---|---|
questionWithBrackets | Did [‘Murder’ Legendre]’s male actor marry [Lillian Lugosi] |
questionPatternModEntities | Did M0 ’s male actor marry M2 |
questionWithMids | Did m.0h4y854 ’s male actor marry m.0hpnx3b |
sparql | SELECT count(*) WHERE { ?x0 ns:film.actor.film/ns:film.performance .character ns:m.0h4y854 . ?x0 ns:people.person.gender ns:m.05zppz . ?x0 ns:people.person.spouse_s/ns:fictional_universe.marriage_of_fictional_characters.spouses ns:m.0hpnx3b . FILTER (?x0 != ns:m.0hpnx3b )} |
sparqlPatternModEntities | SELECT count(*) WHERE { ?x0 ns:film.actor.film/ns:film.performance .character M0 . ?x0 ns:people.person.gender ns:m.05zppz . ?x0 ns:people.person.spouse_s /ns:fictional_universe.marriage_of_fictional_characters.spouses M2 . FILTER (?x0 != M2 )} |