Simple Question (Direct)
Simple Question
Q3288931
P21
Q290
USER
Which sex does Marcel Espiau have ?
(Q3288931,P21,c(Q290))
action filter_type
action find
entity Q3288931
relation P21
type Q290
['Q3288931', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q290 . resource:Q3288931 property:P21 ?v }
Marcel Espiau
action filter_type
action find
entity Marcel Espiau
relation gender
type sex
['Marcel Espiau', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:sex . resource:Marcel_Espiau property:gender ?v }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3288931,P21,c(Q290))
action filter_type
action find
entity Q3288931
relation P21
type Q290
Marcel Espiau has 1 [ANSWER]
['Q3288931', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q290 . resource:Q3288931 property:P21 ?v }
male
Marcel Espiau has 1 male
male
action filter_type
action find
entity Marcel Espiau
relation gender
type sex
['Marcel Espiau', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:sex . resource:Marcel_Espiau property:gender ?v }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q6581097
P21
Q51805 Q3343211
USER
How many characters from Star Wars and zoological nomenclatures have the gender as male ?
(c(Q51805),P21,Q6581097) (c(Q3343211),P21,Q6581097)
action count
action union
action filter_type
action find_reverse
entity Q6581097
relation P21
type Q51805
action filter_type
action find_reverse
entity Q6581097
relation P21
type Q3343211
[{'concept': 'Q51805'}, 'P21', 'Q6581097'] [{'concept': 'Q3343211'}, 'P21', 'Q6581097']
SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { { ?y property:P21 resource:Q6581097 . ?y rdf:type ontology:Q51805 } UNION { ?y property:P21 resource:Q6581097 . ?y rdf:type ontology:Q3343211 } }
male
action count
action union
action filter_type
action find_reverse
entity male
relation gender
type character from Star Wars
action filter_type
action find_reverse
entity male
relation gender
type zoological nomenclature
[{'concept': 'character from Star Wars'}, 'gender', 'male'] [{'concept': 'zoological nomenclature'}, 'gender', 'male']
SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { { ?y property:gender resource:male . ?y rdf:type ontology:character_from_Star_Wars } UNION { ?y property:gender resource:male . ?y rdf:type ontology:zoological_nomenclature } }
[]
character from Star Wars zoological nomenclature
SYSTEM
14 characters from Star Wars and 1 zoological nomenclatures
Q10382624 Q3273056 Q2564474 Q2526049 Q51793 Q6135489 Q51730 Q12206942 Q51802 Q6315462 Q21515016 Q1043 Q51787 Q51803 Q51792
(c(Q51805),P21,Q6581097) (c(Q3343211),P21,Q6581097)
action count
action union
action filter_type
action find_reverse
entity Q6581097
relation P21
type Q51805
action filter_type
action find_reverse
entity Q6581097
relation P21
type Q3343211
[ANSWER]
[{'concept': 'Q51805'}, 'P21', 'Q6581097'] [{'concept': 'Q3343211'}, 'P21', 'Q6581097']
SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { { ?y property:P21 resource:Q6581097 . ?y rdf:type ontology:Q51805 } UNION { ?y property:P21 resource:Q6581097 . ?y rdf:type ontology:Q3343211 } }
Tion Medon Biggs Darklighter Commander Cody Nien Nunb Jar Jar Binks Captain Typho Yoda Darth Vader Han Solo Bail Organa Kylo Ren Carl Linnaeus C-3PO Chewbacca General Grievous
14 characters from Star Wars and 1 zoological nomenclatures
action count
action union
action filter_type
action find_reverse
entity male
relation gender
type character from Star Wars
action filter_type
action find_reverse
entity male
relation gender
type zoological nomenclature
[{'concept': 'character from Star Wars'}, 'gender', 'male'] [{'concept': 'zoological nomenclature'}, 'gender', 'male']
SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { { ?y property:gender resource:male . ?y rdf:type ontology:character_from_Star_Wars } UNION { ?y property:gender resource:male . ?y rdf:type ontology:zoological_nomenclature } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments can atleast 2111 people perform with ?
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2111
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?b ) AS ?m ) WHERE { ?b property:P1303 ?x . ?b rdf:type ontology:Q502895 . ?x rdf:type ontology:Q34379 } GROUP BY ?x } . FILTER ( ?m >= 2111 ) }
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2111
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?b ) AS ?m ) WHERE { ?b property:instrument ?x . ?b rdf:type ontology:common_name . ?x rdf:type ontology:musical_instrument } GROUP BY ?x } . FILTER ( ?m >= 2111 ) }
[]
musical instrument common name
SYSTEM
4
Q5994 Q8355 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2111
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?b ) AS ?m ) WHERE { ?b property:P1303 ?x . ?b rdf:type ontology:Q502895 . ?x rdf:type ontology:Q34379 } GROUP BY ?x } . FILTER ( ?m >= 2111 ) }
piano violin organ drum kit
4
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2111
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?b ) AS ?m ) WHERE { ?b property:instrument ?x . ?b rdf:type ontology:common_name . ?x rdf:type ontology:musical_instrument } GROUP BY ?x } . FILTER ( ?m >= 2111 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3288931
P108
Q11032
USER
Which newspaper does Marcel Espiau work for ?
(Q3288931,P108,c(Q11032))
action filter_type
action find
entity Q3288931
relation P108
type Q11032
['Q3288931', 'P108', {'concept': 'Q11032'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q11032 . resource:Q3288931 property:P108 ?h }
Marcel Espiau
action filter_type
action find
entity Marcel Espiau
relation employer
type newspaper
['Marcel Espiau', 'employer', {'concept': 'newspaper'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:newspaper . resource:Marcel_Espiau property:employer ?h }
[]
newspaper
Q216047
SYSTEM
Le Figaro
Q216047
(Q3288931,P108,c(Q11032))
action filter_type
action find
entity Q3288931
relation P108
type Q11032
Marcel Espiau works in [ANSWER]
['Q3288931', 'P108', {'concept': 'Q11032'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q11032 . resource:Q3288931 property:P108 ?h }
Le Figaro
Marcel Espiau works in Le Figaro
Le Figaro
action filter_type
action find
entity Marcel Espiau
relation employer
type newspaper
['Marcel Espiau', 'employer', {'concept': 'newspaper'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:newspaper . resource:Marcel_Espiau property:employer ?h }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q216047
P17
Q15617994
USER
Which administrative territory is that newspaper situated in ?
(Q216047,P17,c(Q15617994))
action filter_type
action find
entity Q216047
relation P17
type Q15617994
['Q216047', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q216047 property:P17 ?i . ?i rdf:type ontology:Q15617994 }
Le Figaro
action filter_type
action find
entity Le Figaro
relation country
type designation for an administrative territorial entity
['Le Figaro', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Le_Figaro property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q216047,P17,c(Q15617994))
action filter_type
action find
entity Q216047
relation P17
type Q15617994
That newspaper is situated in [ANSWER]
['Q216047', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q216047 property:P17 ?i . ?i rdf:type ontology:Q15617994 }
France
That newspaper is situated in France
France
action filter_type
action find
entity Le Figaro
relation country
type designation for an administrative territorial entity
['Le Figaro', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Le_Figaro property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q216047
P488
Q502895
USER
Who chaired that newspaper ?
(Q142,P488,c(Q502895))
action filter_type
action find
entity Q216047
relation P488
type Q502895
['Q142', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q216047 property:P488 ?l . ?l rdf:type ontology:Q502895 }
Le Figaro
action filter_type
action find
entity Le Figaro
relation chairperson
type common name
['France', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Le_Figaro property:chairperson ?l . ?l rdf:type ontology:common_name }
[]
common name
Q981270
SYSTEM
Serge Dassault
Q981270
(Q142,P488,c(Q502895))
action filter_type
action find
entity Q216047
relation P488
type Q502895
[ANSWER] chaired that newspaper
['Q142', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q216047 property:P488 ?l . ?l rdf:type ontology:Q502895 }
Serge Dassault
Serge Dassault chaired that newspaper
Serge Dassault
action filter_type
action find
entity Le Figaro
relation chairperson
type common name
['France', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Le_Figaro property:chairperson ?l . ?l rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q216047
P291
Q56061
USER
Which administrative territory is the place of publication of that newspaper ?
(Q981270,P291,c(Q56061))
action filter_type
action find
entity Q216047
relation P291
type Q56061
['Q981270', 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q216047 property:P291 ?o . ?o rdf:type ontology:Q56061 }
Le Figaro
action filter_type
action find
entity Le Figaro
relation place of publication
type administrative territorial entity
['Serge Dassault', 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Le_Figaro property:place_of_publication ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q981270,P291,c(Q56061))
action filter_type
action find
entity Q216047
relation P291
type Q56061
[ANSWER] is the place of publication of that newspaper
['Q981270', 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q216047 property:P291 ?o . ?o rdf:type ontology:Q56061 }
Paris
Paris is the place of publication of that newspaper
Paris
action filter_type
action find
entity Le Figaro
relation place of publication
type administrative territorial entity
['Serge Dassault', 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Le_Figaro property:place_of_publication ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]