Simple Question (Direct)
Simple Question
Q16232956
P21
Q290
USER
Which sex does Matt Symons belong to ?
(Q16232956,P21,c(Q290))
action filter_type
action find
entity Q16232956
relation P21
type Q290
['Q16232956', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q290 . resource:Q16232956 property:P21 ?s }
Matt Symons
action filter_type
action find
entity Matt Symons
relation gender
type sex
['Matt Symons', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:sex . resource:Matt_Symons property:gender ?s }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q16232956,P21,c(Q290))
action filter_type
action find
entity Q16232956
relation P21
type Q290
Matt Symons belongs to [ANSWER]
['Q16232956', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q290 . resource:Q16232956 property:P21 ?s }
male
Matt Symons belongs to male
male
action filter_type
action find
entity Matt Symons
relation gender
type sex
['Matt Symons', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:sex . resource:Matt_Symons property:gender ?s }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16232956
P54
Q12973014
USER
Which sports teams are that person a member of ?
(Q6581097,P54,c(Q12973014))
action filter_type
action find
entity Q16232956
relation P54
type Q12973014
['Q6581097', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q12973014 . resource:Q16232956 property:P54 ?y }
Matt Symons
action filter_type
action find
entity Matt Symons
relation member of sports team
type sports team
['male', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:sports_team . resource:Matt_Symons property:member_of_sports_team ?y }
[]
sports team
Q5397827 Q1193020
SYSTEM
Esher RFC, London Irish
Q5397827 Q1193020
(Q6581097,P54,c(Q12973014))
action filter_type
action find
entity Q16232956
relation P54
type Q12973014
[ANSWERS] are that person a member of
['Q6581097', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q12973014 . resource:Q16232956 property:P54 ?y }
Esher RFC London Irish
Esher RFC and London Irish are that person a member of
Esher RFC London Irish
action filter_type
action find
entity Matt Symons
relation member of sports team
type sports team
['male', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:sports_team . resource:Matt_Symons property:member_of_sports_team ?y }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P641
Q349 Q12973014
USER
How many sports did around 220 sports teams participate in ?
(c(Q12973014),P641,c(Q349))
action count
action approx
action find_reverse_tuple_counts
relation P641
type Q349
type Q12973014
value 220
[{'concept': 'Q12973014'}, 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?q ) AS ?c ) WHERE { ?q property:P641 ?v . ?q rdf:type ontology:Q12973014 . ?v rdf:type ontology:Q349 } GROUP BY ?v } . FILTER ( ?c = 220 ) }
action count
action approx
action find_reverse_tuple_counts
relation sport
type sport
type sports team
value 220
[{'concept': 'sports team'}, 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?q ) AS ?c ) WHERE { ?q property:sport ?v . ?q rdf:type ontology:sports_team . ?v rdf:type ontology:sport } GROUP BY ?v } . FILTER ( ?c = 220 ) }
[]
sport sports team
SYSTEM
8
Q847 Q7291 Q136851 Q5375 Q1455 Q1734 Q2736 Q210778
(c(Q12973014),P641,c(Q349))
action count
action approx
action find_reverse_tuple_counts
relation P641
type Q349
type Q12973014
value 220
[ANSWER]
[{'concept': 'Q12973014'}, 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?q ) AS ?c ) WHERE { ?q property:P641 ?v . ?q rdf:type ontology:Q12973014 . ?v rdf:type ontology:Q349 } GROUP BY ?v } . FILTER ( ?c = 220 ) }
tennis badminton curling cricket field hockey volleyball association football beach soccer
8
action count
action approx
action find_reverse_tuple_counts
relation sport
type sport
type sports team
value 220
[{'concept': 'sports team'}, 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?q ) AS ?c ) WHERE { ?q property:sport ?v . ?q rdf:type ontology:sports_team . ?v rdf:type ontology:sport } GROUP BY ?v } . FILTER ( ?c = 220 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1193020
P466
Q811979
USER
Which architectural structure is inhabited by London Irish ?
(c(Q811979),P466,Q1193020)
action filter_type
action find_reverse
entity Q1193020
relation P466
type Q811979
[{'concept': 'Q811979'}, 'P466', 'Q1193020']
SELECT DISTINCT ?r WHERE { ?r property:P466 resource:Q1193020 . ?r rdf:type ontology:Q811979 }
London Irish
action filter_type
action find_reverse
entity London Irish
relation occupant
type architectural structure
[{'concept': 'architectural structure'}, 'occupant', 'London Irish']
SELECT DISTINCT ?r WHERE { ?r property:occupant resource:London_Irish . ?r rdf:type ontology:architectural_structure }
[]
architectural structure
Q7715019
SYSTEM
The Avenue
Q7715019
(c(Q811979),P466,Q1193020)
action filter_type
action find_reverse
entity Q1193020
relation P466
type Q811979
[ANSWER] is inhabited by London Irish
[{'concept': 'Q811979'}, 'P466', 'Q1193020']
SELECT DISTINCT ?r WHERE { ?r property:P466 resource:Q1193020 . ?r rdf:type ontology:Q811979 }
The Avenue
The Avenue is inhabited by London Irish
The Avenue
action filter_type
action find_reverse
entity London Irish
relation occupant
type architectural structure
[{'concept': 'architectural structure'}, 'occupant', 'London Irish']
SELECT DISTINCT ?r WHERE { ?r property:occupant resource:London_Irish . ?r rdf:type ontology:architectural_structure }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7715019
P17
Q15617994
USER
Which administrative territory is that architectural structure present in ?
(Q7715019,P17,c(Q15617994))
action filter_type
action find
entity Q7715019
relation P17
type Q15617994
['Q7715019', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . resource:Q7715019 property:P17 ?u }
The Avenue
action filter_type
action find
entity The Avenue
relation country
type designation for an administrative territorial entity
['The Avenue', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:The_Avenue property:country ?u }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q7715019,P17,c(Q15617994))
action filter_type
action find
entity Q7715019
relation P17
type Q15617994
That architectural structure is the [ANSWER]
['Q7715019', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . resource:Q7715019 property:P17 ?u }
United Kingdom
That architectural structure is the United Kingdom
United Kingdom
action filter_type
action find
entity The Avenue
relation country
type designation for an administrative territorial entity
['The Avenue', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:The_Avenue property:country ?u }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P921
Q2342494 Q223393
USER
How many collectables and literary genres have that administrative territory as their main topic ?
(c(Q2342494),P921,Q145) (c(Q223393),P921,Q145) (c(Q2342494),P921,Q145) (c(Q223393),P921,Q145)
action count
action union
action filter_type
action find_reverse
entity Q145
relation P921
type Q2342494
action filter_type
action find_reverse
entity Q145
relation P921
type Q223393
[{'concept': 'Q2342494'}, 'P921', 'Q145'] [{'concept': 'Q223393'}, 'P921', 'Q145'] [{'concept': 'Q2342494'}, 'P921', 'Q145'] [{'concept': 'Q223393'}, 'P921', 'Q145']
SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { { ?y property:P921 resource:Q145 . ?y rdf:type ontology:Q2342494 } UNION { ?y property:P921 resource:Q145 . ?y rdf:type ontology:Q223393 } }
action count
action union
action filter_type
action find_reverse
entity United Kingdom
relation main subject
type collectable
action filter_type
action find_reverse
entity United Kingdom
relation main subject
type literary genre
[{'concept': 'collectable'}, 'main subject', 'United Kingdom'] [{'concept': 'literary genre'}, 'main subject', 'United Kingdom'] [{'concept': 'collectable'}, 'main subject', 'United Kingdom'] [{'concept': 'literary genre'}, 'main subject', 'United Kingdom']
SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { { ?y property:main_subject resource:United_Kingdom . ?y rdf:type ontology:collectable } UNION { ?y property:main_subject resource:United_Kingdom . ?y rdf:type ontology:literary_genre } }
[]
collectable literary genre
SYSTEM
1 collectables and 2 literary genres
Q27063814 Q4834807 Q26207101
(c(Q2342494),P921,Q145) (c(Q223393),P921,Q145) (c(Q2342494),P921,Q145) (c(Q223393),P921,Q145)
action count
action union
action filter_type
action find_reverse
entity Q145
relation P921
type Q2342494
action filter_type
action find_reverse
entity Q145
relation P921
type Q223393
[ANSWER]
[{'concept': 'Q2342494'}, 'P921', 'Q145'] [{'concept': 'Q223393'}, 'P921', 'Q145'] [{'concept': 'Q2342494'}, 'P921', 'Q145'] [{'concept': 'Q223393'}, 'P921', 'Q145']
SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { { ?y property:P921 resource:Q145 . ?y rdf:type ontology:Q2342494 } UNION { ?y property:P921 resource:Q145 . ?y rdf:type ontology:Q223393 } }
Introduction to Administrative Law BBC Domesday Project Dictionary of British cartoonists and caricaturists
1 collectables and 2 literary genres
action count
action union
action filter_type
action find_reverse
entity United Kingdom
relation main subject
type collectable
action filter_type
action find_reverse
entity United Kingdom
relation main subject
type literary genre
[{'concept': 'collectable'}, 'main subject', 'United Kingdom'] [{'concept': 'literary genre'}, 'main subject', 'United Kingdom'] [{'concept': 'collectable'}, 'main subject', 'United Kingdom'] [{'concept': 'literary genre'}, 'main subject', 'United Kingdom']
SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { { ?y property:main_subject resource:United_Kingdom . ?y rdf:type ontology:collectable } UNION { ?y property:main_subject resource:United_Kingdom . ?y rdf:type ontology:literary_genre } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P417
Q502895 Q56061 Q44539
USER
How many people are the patron saint of atleast 19 administrative territories and temples ?
(c(Q56061)|c(Q44539),P417,c(Q502895))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q56061
action find_reverse_tuple_counts
relation P417
type Q502895
type Q44539
value 19
[[{'concept': 'Q56061'}, {'concept': 'Q44539'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) ?d WHERE { { ?h property:P417 ?d . ?h rdf:type ontology:Q56061 . ?d rdf:type ontology:Q502895 } UNION { ?h property:P417 ?d . ?d rdf:type ontology:Q502895 . ?h rdf:type ontology:Q44539 } } GROUP BY ?d } . FILTER ( ?o >= 19 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type administrative territorial entity
action find_reverse_tuple_counts
relation patron saint
type common name
type temple
value 19
[[{'concept': 'administrative territorial entity'}, {'concept': 'temple'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) ?d WHERE { { ?h property:patron_saint ?d . ?h rdf:type ontology:administrative_territorial_entity . ?d rdf:type ontology:common_name } UNION { ?h property:patron_saint ?d . ?d rdf:type ontology:common_name . ?h rdf:type ontology:temple } } GROUP BY ?d } . FILTER ( ?o >= 19 ) }
[]
common name administrative territorial entity temple
SYSTEM
3
Q33923 Q9200 Q40662
(c(Q56061)|c(Q44539),P417,c(Q502895))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q56061
action find_reverse_tuple_counts
relation P417
type Q502895
type Q44539
value 19
[ANSWER]
[[{'concept': 'Q56061'}, {'concept': 'Q44539'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) ?d WHERE { { ?h property:P417 ?d . ?h rdf:type ontology:Q56061 . ?d rdf:type ontology:Q502895 } UNION { ?h property:P417 ?d . ?d rdf:type ontology:Q502895 . ?h rdf:type ontology:Q44539 } } GROUP BY ?d } . FILTER ( ?o >= 19 ) }
Peter Paul John the Baptist
3
action count
action atleast
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type administrative territorial entity
action find_reverse_tuple_counts
relation patron saint
type common name
type temple
value 19
[[{'concept': 'administrative territorial entity'}, {'concept': 'temple'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) ?d WHERE { { ?h property:patron_saint ?d . ?h rdf:type ontology:administrative_territorial_entity . ?d rdf:type ontology:common_name } UNION { ?h property:patron_saint ?d . ?d rdf:type ontology:common_name . ?h rdf:type ontology:temple } } GROUP BY ?d } . FILTER ( ?o >= 19 ) }
[]