Question: In which catalog there is a code of 086 referring to a dog whose subreddit is Yorkies, with 2394 subscribers ?
Choices:
journalist
vice-county
Toulouse by night with Basilique Saint-Sernin.jpg
Marvel Database
Arkitekter verksamma i Sverige
Encyclopedia Galactica
Statistical Classification of Economic Activities in the European Community
Federation Cynologique Internationale
artist list of the National Museum of Sweden
Fédération Cynologique Internationale Groups
Answer: Federation Cynologique Internationale
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "dog" . ?e <subreddit> ?pv_1 . ?pv_1 <pred:value> "Yorkies" . [ <pred:fact_h> ?e ; <pred:fact_r> <subreddit> ; <pred:fact_t> ?pv_1 ] <number_of_subscribers> ?qpv_1 . ?qpv_1 <pred:unit> "1" . ?qpv_1 <pred:value> "2394"^^xsd:double . ?e <catalog_code> ?pv . ?pv <pred:value> "086" . [ <pred:fact_h> ?e ; <pred:fact_r> <catalog_code> ; <pred:fact_t> ?pv ] <catalog> ?qpv .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: subreddit
Yorkies
function: QFilterNum
dependencies: 1
inputs: number of subscribers
2394
=
function: FilterConcept
dependencies: 2
inputs: dog
function: QueryAttrQualifier
dependencies: 3
inputs: catalog code
086
catalog