Simple Question (Direct)
Simple Question
Q497522
P136
Q151885
USER
Which concept is the genre for Emile Ford ?
(Q497522,P136,c(Q151885))
action filter_type
action find
entity Q497522
relation P136
type Q151885
['Q497522', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q151885 . resource:Q497522 property:P136 ?a }
Emile Ford
action filter_type
action find
entity Emile Ford
relation genre
type concept
['Emile Ford', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:concept . resource:Emile_Ford property:genre ?a }
[]
concept
Q7749
SYSTEM
rock and roll
Q7749
(Q497522,P136,c(Q151885))
action filter_type
action find
entity Q497522
relation P136
type Q151885
So [ANSWER] is the genre for Emile Ford
['Q497522', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q151885 . resource:Q497522 property:P136 ?a }
rock and roll
So rock and roll is the genre for Emile Ford
rock and roll
action filter_type
action find
entity Emile Ford
relation genre
type concept
['Emile Ford', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:concept . resource:Emile_Ford property:genre ?a }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q497522
P264
Q334453
USER
Which division is the record brand of Emile Ford ?
(Q497522,P264,c(Q334453))
action filter_type
action find
entity Q497522
relation P264
type Q334453
['Q497522', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q334453 . resource:Q497522 property:P264 ?c }
Emile Ford
action filter_type
action find
entity Emile Ford
relation record label
type division
['Emile Ford', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:division . resource:Emile_Ford property:record_label ?c }
[]
division
Q2117397
SYSTEM
Pye Records
Q2117397
(Q497522,P264,c(Q334453))
action filter_type
action find
entity Q497522
relation P264
type Q334453
[ANSWER] is the record brand of Emile Ford
['Q497522', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q334453 . resource:Q497522 property:P264 ?c }
Pye Records
Pye Records is the record brand of Emile Ford
Pye Records
action filter_type
action find
entity Emile Ford
relation record label
type division
['Emile Ford', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:division . resource:Emile_Ford property:record_label ?c }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q497522
P21
Q290
USER
Which sex does Emile Ford possess ?
(Q497522,P21,c(Q290))
action filter_type
action find
entity Q497522
relation P21
type Q290
['Q497522', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q497522 property:P21 ?s . ?s rdf:type ontology:Q290 }
Emile Ford
action filter_type
action find
entity Emile Ford
relation gender
type sex
['Emile Ford', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Emile_Ford property:gender ?s . ?s rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q497522,P21,c(Q290))
action filter_type
action find
entity Q497522
relation P21
type Q290
Emile Ford possesses a [ANSWER]
['Q497522', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q497522 property:P21 ?s . ?s rdf:type ontology:Q290 }
male
Emile Ford possesses a male
male
action filter_type
action find
entity Emile Ford
relation gender
type sex
['Emile Ford', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Emile_Ford property:gender ?s . ?s rdf:type ontology:sex }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P21
Q290 Q502895
USER
Which sexes are the sex of less number of people than that sex ?
(c(Q502895),P21,c(Q290))
action less
action find_reverse_tuple_counts
relation P21
type Q290
type Q502895
action count
action filter_type
action find_reverse
entity Q6581097
relation P21
type Q502895
[{'concept': 'Q502895'}, 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?j ) WHERE { ?x property:P21 ?a . ?a rdf:type ontology:Q290 . ?x rdf:type ontology:Q502895 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { ?q property:P21 resource:Q6581097 . ?q rdf:type ontology:Q502895 } } . FILTER ( ?j < ?g ) }
action less
action find_reverse_tuple_counts
relation gender
type sex
type common name
action count
action filter_type
action find_reverse
entity male
relation gender
type common name
[{'concept': 'common name'}, 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?j ) WHERE { ?x property:gender ?a . ?a rdf:type ontology:sex . ?x rdf:type ontology:common_name } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { ?q property:gender resource:male . ?q rdf:type ontology:common_name } } . FILTER ( ?j < ?g ) }
[]
sex common name
Q6581072
SYSTEM
female
Q6581072
(c(Q502895),P21,c(Q290))
action less
action find_reverse_tuple_counts
relation P21
type Q290
type Q502895
action count
action filter_type
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] is the sex of less number of people than that sex
[{'concept': 'Q502895'}, 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?j ) WHERE { ?x property:P21 ?a . ?a rdf:type ontology:Q290 . ?x rdf:type ontology:Q502895 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { ?q property:P21 resource:Q6581097 . ?q rdf:type ontology:Q502895 } } . FILTER ( ?j < ?g ) }
female
Female is the sex of less number of people than that sex
female
action less
action find_reverse_tuple_counts
relation gender
type sex
type common name
action count
action filter_type
action find_reverse
entity male
relation gender
type common name
[{'concept': 'common name'}, 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?j ) WHERE { ?x property:gender ?a . ?a rdf:type ontology:sex . ?x rdf:type ontology:common_name } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { ?q property:gender resource:male . ?q rdf:type ontology:common_name } } . FILTER ( ?j < ?g ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2117397
P17
Q15617994
USER
Which administrative territory is Pye Records present in ?
(Q2117397,P17,c(Q15617994))
action filter_type
action find
entity Q2117397
relation P17
type Q15617994
['Q2117397', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q2117397 property:P17 ?t . ?t rdf:type ontology:Q15617994 }
Pye Records
action filter_type
action find
entity Pye Records
relation country
type designation for an administrative territorial entity
['Pye Records', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Pye_Records property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q2117397,P17,c(Q15617994))
action filter_type
action find
entity Q2117397
relation P17
type Q15617994
Pye Records is the [ANSWER]
['Q2117397', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q2117397 property:P17 ?t . ?t rdf:type ontology:Q15617994 }
United Kingdom
Pye Records is the United Kingdom
United Kingdom
action filter_type
action find
entity Pye Records
relation country
type designation for an administrative territorial entity
['Pye Records', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Pye_Records property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q19200774
Q15617994
USER
And what about Havermaathoek?
(Q19200774,P17,c(Q15617994))
action filter_type
action find
entity Q19200774
relation P17
type Q15617994
['Q19200774', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q19200774 property:P17 ?s . ?s rdf:type ontology:Q15617994 }
Havermaathoek
action filter_type
action find
entity Havermaathoek
relation country
type designation for an administrative territorial entity
['Havermaathoek', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Havermaathoek property:country ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q55
SYSTEM
Netherlands
Q55
(Q19200774,P17,c(Q15617994))
action filter_type
action find
entity Q19200774
relation P17
type Q15617994
[ANSWER]
['Q19200774', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q19200774 property:P17 ?s . ?s rdf:type ontology:Q15617994 }
Netherlands
Netherlands
action filter_type
action find
entity Havermaathoek
relation country
type designation for an administrative territorial entity
['Havermaathoek', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Havermaathoek property:country ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P941
Q15617994 Q3895768
USER
Which administrative territories were more number of fictional locations inspired by than that administrative territory ?
(c(Q3895768),P941,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P941
type Q15617994
type Q3895768
action count
action filter_type
action find
entity Q55
relation P941
type Q15617994
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?h ) AS ?v ) WHERE { ?h property:P941 ?f . ?h rdf:type ontology:Q3895768 . ?f rdf:type ontology:Q15617994 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { resource:Q55 property:P941 ?p . ?p rdf:type ontology:Q15617994 } } . FILTER ( ?v > ?d ) }
action greater
action find_reverse_tuple_counts
relation inspired by
type designation for an administrative territorial entity
type fictional location
action count
action filter_type
action find
entity Netherlands
relation inspired by
type designation for an administrative territorial entity
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?h ) AS ?v ) WHERE { ?h property:inspired_by ?f . ?h rdf:type ontology:fictional_location . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { resource:Netherlands property:inspired_by ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?v > ?d ) }
[]
designation for an administrative territorial entity fictional location
Q668
SYSTEM
India
Q668
(c(Q3895768),P941,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P941
type Q15617994
type Q3895768
action count
action filter_type
action find
entity Q55
relation P941
type Q15617994
[ANSWER] was more number of fictional locations inspired by than that administrative territory
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?h ) AS ?v ) WHERE { ?h property:P941 ?f . ?h rdf:type ontology:Q3895768 . ?f rdf:type ontology:Q15617994 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { resource:Q55 property:P941 ?p . ?p rdf:type ontology:Q15617994 } } . FILTER ( ?v > ?d ) }
India
India was more number of fictional locations inspired by than that administrative territory
India
action greater
action find_reverse_tuple_counts
relation inspired by
type designation for an administrative territorial entity
type fictional location
action count
action filter_type
action find
entity Netherlands
relation inspired by
type designation for an administrative territorial entity
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?h ) AS ?v ) WHERE { ?h property:inspired_by ?f . ?h rdf:type ontology:fictional_location . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { resource:Netherlands property:inspired_by ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?v > ?d ) }
[]