Simple Question (Direct)
Simple Question
Q7279242
P21
Q290
USER
Which sex does Rachel Furness possess ?
(Q7279242,P21,c(Q290))
action filter_type
action find
entity Q7279242
relation P21
type Q290
['Q7279242', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q7279242 property:P21 ?q . ?q rdf:type ontology:Q290 }
Rachel Furness
action filter_type
action find
entity Rachel Furness
relation gender
type sex
['Rachel Furness', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Rachel_Furness property:gender ?q . ?q rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q7279242,P21,c(Q290))
action filter_type
action find
entity Q7279242
relation P21
type Q290
Rachel Furness possesses a [ANSWER]
['Q7279242', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q7279242 property:P21 ?q . ?q rdf:type ontology:Q290 }
female
Rachel Furness possesses a female
female
action filter_type
action find
entity Rachel Furness
relation gender
type sex
['Rachel Furness', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Rachel_Furness property:gender ?q . ?q rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581072 Q2414356
P21
Q502895
USER
Is Karel van Cooten a that sex ?
(Q2414356,P21,Q6581072)
action is_in
entity Q2414356
action find
entity Q6581072
relation P21
['Q2414356', 'P21', 'Q6581072']
ASK WHERE { resource:Q6581072 property:P21 resource:Q2414356 }
female Karel van Cooten
action is_in
entity Karel van Cooten
action find
entity female
relation gender
['Karel van Cooten', 'gender', 'female']
ASK WHERE { resource:female property:gender resource:Karel_van_Cooten }
[]
common name
SYSTEM
NO
(Q2414356,P21,Q6581072)
action is_in
entity Q2414356
action find
entity Q6581072
relation P21
[ANSWER]
['Q2414356', 'P21', 'Q6581072']
ASK WHERE { resource:Q6581072 property:P21 resource:Q2414356 }
No
action is_in
entity Karel van Cooten
action find
entity female
relation gender
['Karel van Cooten', 'gender', 'female']
ASK WHERE { resource:female property:gender resource:Karel_van_Cooten }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7279242
P54
Q6979593
USER
What is Rachel Furness a member of ?
(Q7279242,P54,c(Q6979593))
action filter_type
action find
entity Q7279242
relation P54
type Q6979593
['Q7279242', 'P54', {'concept': 'Q6979593'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q6979593 . resource:Q7279242 property:P54 ?z }
Rachel Furness
action filter_type
action find
entity Rachel Furness
relation member of sports team
type national association football team
['Rachel Furness', 'member of sports team', {'concept': 'national association football team'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:national_association_football_team . resource:Rachel_Furness property:member_of_sports_team ?z }
[]
national association football team
Q649464
SYSTEM
Northern Ireland women's national football team
Q649464
(Q7279242,P54,c(Q6979593))
action filter_type
action find
entity Q7279242
relation P54
type Q6979593
Rachel Furness a member of is the [ANSWER]
['Q7279242', 'P54', {'concept': 'Q6979593'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q6979593 . resource:Q7279242 property:P54 ?z }
Northern Ireland women's national football team
Rachel Furness a member of is the Northern Ireland women's national football team
Northern Ireland women's national football team
action filter_type
action find
entity Rachel Furness
relation member of sports team
type national association football team
['Rachel Furness', 'member of sports team', {'concept': 'national association football team'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:national_association_football_team . resource:Rachel_Furness property:member_of_sports_team ?z }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q649464
P1532
Q56061
USER
Which administrative territory did that national association football team play for ?
(Q649464,P1532,c(Q56061))
action filter_type
action find
entity Q649464
relation P1532
type Q56061
['Q649464', 'P1532', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q649464 property:P1532 ?o . ?o rdf:type ontology:Q56061 }
Northern Ireland women's national football team
action filter_type
action find
entity Northern Ireland women's national football team
relation country for sport
type administrative territorial entity
["Northern Ireland women's national football team", 'country for sport', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Northern_Ireland_women's_national_football_team property:country_for_sport ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q26
SYSTEM
Northern Ireland
Q26
(Q649464,P1532,c(Q56061))
action filter_type
action find
entity Q649464
relation P1532
type Q56061
That national association football team played in [ANSWER]
['Q649464', 'P1532', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q649464 property:P1532 ?o . ?o rdf:type ontology:Q56061 }
Northern Ireland
That national association football team played in Northern Ireland
Northern Ireland
action filter_type
action find
entity Northern Ireland women's national football team
relation country for sport
type administrative territorial entity
["Northern Ireland women's national football team", 'country for sport', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Northern_Ireland_women's_national_football_team property:country_for_sport ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q26 Q145 Q15058903
P17
Q15617994
USER
Is that administrative territory present in United Kingdom and Nancemellin ?
(Q26,P17,Q145) (Q26,P17,Q15058903)
action is_in
entity Q26
action intersection
action find_reverse
entity Q145
relation P17
action find_reverse
entity Q15058903
relation P17
['Q26', 'P17', 'Q145'] ['Q26', 'P17', 'Q15058903']
ASK WHERE { resource:Q26 property:P17 resource:Q145 . resource:Q26 property:P17 resource:Q15058903 }
Northern Ireland United Kingdom Nancemellin
action is_in
entity Northern Ireland
action intersection
action find_reverse
entity United Kingdom
relation country
action find_reverse
entity Nancemellin
relation country
['Northern Ireland', 'country', 'United Kingdom'] ['Northern Ireland', 'country', 'Nancemellin']
ASK WHERE { resource:Northern_Ireland property:country resource:United_Kingdom . resource:Northern_Ireland property:country resource:Nancemellin }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q26,P17,Q145) (Q26,P17,Q15058903)
action is_in
entity Q26
action intersection
action find_reverse
entity Q145
relation P17
action find_reverse
entity Q15058903
relation P17
[ANSWER]
['Q26', 'P17', 'Q145'] ['Q26', 'P17', 'Q15058903']
ASK WHERE { resource:Q26 property:P17 resource:Q145 . resource:Q26 property:P17 resource:Q15058903 }
YES and NO respectively
action is_in
entity Northern Ireland
action intersection
action find_reverse
entity United Kingdom
relation country
action find_reverse
entity Nancemellin
relation country
['Northern Ireland', 'country', 'United Kingdom'] ['Northern Ireland', 'country', 'Nancemellin']
ASK WHERE { resource:Northern_Ireland property:country resource:United_Kingdom . resource:Northern_Ireland property:country resource:Nancemellin }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q26
P38
Q8142
USER
What is the currency of that administrative territory ?
action filter_type
action find
entity Q26
relation P38
type Q8142
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q8142 . resource:Q26 property:P38 ?a }
Northern Ireland
action filter_type
action find
entity Northern Ireland
relation currency
type currency
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:currency . resource:Northern_Ireland property:currency ?a }
[]
currency
Q25224
SYSTEM
pound sterling
Q25224
action filter_type
action find
entity Q26
relation P38
type Q8142
The currency of that administrative territory is the [ANSWER]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q8142 . resource:Q26 property:P38 ?a }
pound sterling
The currency of that administrative territory is the pound sterling
pound sterling
action filter_type
action find
entity Northern Ireland
relation currency
type currency
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:currency . resource:Northern_Ireland property:currency ?a }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P38
Q8142 Q15617994 Q22687
USER
Which currencies are the currencies of greater number of administrative territories and banks than that currency ?
(c(Q15617994)|c(Q22687),P38,c(Q8142))
action greater
action union
action find_reverse_tuple_counts
relation P38
type Q8142
type Q15617994
action find_reverse_tuple_counts
relation P38
type Q8142
type Q22687
action count
action filter_multi_types
action find_reverse
entity Q25224
relation P38
type Q15617994
type Q22687
[[{'concept': 'Q15617994'}, {'concept': 'Q22687'}], 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?v > ?d ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { ?u property:P38 resource:Q25224 . { VALUES ( ?l ) { ( ontology:Q15617994 ) ( ontology:Q22687 ) } . ?u rdf:type ?l } } } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) ?w WHERE { { ?w rdf:type ontology:Q8142 . ?r rdf:type ontology:Q15617994 . ?r property:P38 ?w } UNION { ?w rdf:type ontology:Q8142 . ?r rdf:type ontology:Q22687 . ?r property:P38 ?w } } GROUP BY ?w } }
action greater
action union
action find_reverse_tuple_counts
relation currency
type currency
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation currency
type currency
type bank
action count
action filter_multi_types
action find_reverse
entity pound sterling
relation currency
type designation for an administrative territorial entity
type bank
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'bank'}], 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?v > ?d ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { ?u property:currency resource:pound_sterling . { VALUES ( ?l ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:bank ) } . ?u rdf:type ?l } } } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) ?w WHERE { { ?w rdf:type ontology:currency . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r property:currency ?w } UNION { ?w rdf:type ontology:currency . ?r rdf:type ontology:bank . ?r property:currency ?w } } GROUP BY ?w } }
[]
currency designation for an administrative territorial entity bank
Q4917
SYSTEM
United States dollar
Q4917
(c(Q15617994)|c(Q22687),P38,c(Q8142))
action greater
action union
action find_reverse_tuple_counts
relation P38
type Q8142
type Q15617994
action find_reverse_tuple_counts
relation P38
type Q8142
type Q22687
action count
action filter_multi_types
action find_reverse
entity Q25224
relation P38
type Q15617994
type Q22687
[ANSWER] is the currencies of greater number of administrative territories and banks than that currency
[[{'concept': 'Q15617994'}, {'concept': 'Q22687'}], 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?v > ?d ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { ?u property:P38 resource:Q25224 . { VALUES ( ?l ) { ( ontology:Q15617994 ) ( ontology:Q22687 ) } . ?u rdf:type ?l } } } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) ?w WHERE { { ?w rdf:type ontology:Q8142 . ?r rdf:type ontology:Q15617994 . ?r property:P38 ?w } UNION { ?w rdf:type ontology:Q8142 . ?r rdf:type ontology:Q22687 . ?r property:P38 ?w } } GROUP BY ?w } }
United States dollar
United States dollar is the currencies of greater number of administrative territories and banks than that currency
United States dollar
action greater
action union
action find_reverse_tuple_counts
relation currency
type currency
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation currency
type currency
type bank
action count
action filter_multi_types
action find_reverse
entity pound sterling
relation currency
type designation for an administrative territorial entity
type bank
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'bank'}], 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?v > ?d ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { ?u property:currency resource:pound_sterling . { VALUES ( ?l ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:bank ) } . ?u rdf:type ?l } } } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) ?w WHERE { { ?w rdf:type ontology:currency . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r property:currency ?w } UNION { ?w rdf:type ontology:currency . ?r rdf:type ontology:bank . ?r property:currency ?w } } GROUP BY ?w } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q13116
P38
Q8142 Q1048835
USER
How many political territories have lesser number of currencies as their currency than Benelux ?
(c(Q1048835),P38,c(Q8142))
action count
action less
action find_tuple_counts
relation P38
type Q1048835
type Q8142
action count
action filter_type
action find
entity Q13116
relation P38
type Q8142
[{'concept': 'Q1048835'}, 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?f ) AS ?g ) WHERE { ?w property:P38 ?f . ?w rdf:type ontology:Q1048835 . ?f rdf:type ontology:Q8142 } GROUP BY ?w } . FILTER ( ?g < ?r ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { resource:Q13116 property:P38 ?x . ?x rdf:type ontology:Q8142 } } }
Benelux
action count
action less
action find_tuple_counts
relation currency
type political territorial entity
type currency
action count
action filter_type
action find
entity Benelux
relation currency
type currency
[{'concept': 'political territorial entity'}, 'currency', {'concept': 'currency'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?f ) AS ?g ) WHERE { ?w property:currency ?f . ?w rdf:type ontology:political_territorial_entity . ?f rdf:type ontology:currency } GROUP BY ?w } . FILTER ( ?g < ?r ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { resource:Benelux property:currency ?x . ?x rdf:type ontology:currency } } }
[]
currency political territorial entity
SYSTEM
53
Q1769772 Q1000 Q691 Q183 Q686790 Q757 Q769 Q4325072 Q763 Q917883 Q4410386 Q34617 Q173282 Q664 Q13353 Q6728433 Q766 Q4395303 Q5705 Q1771153 Q953068 Q16 Q170604 Q5785 Q35 Q38610 Q624511 Q1054923 Q4421880 Q223793 Q1628531 Q649612 Q789334 Q300608 Q407199 Q778 Q4474 Q35672 Q1750762 Q1631311 Q1444150 Q1443945 Q15601 Q40 Q1334322 Q1644430 Q23635 Q781 Q192184 Q25228 Q685 Q129286 Q2594990
(c(Q1048835),P38,c(Q8142))
action count
action less
action find_tuple_counts
relation P38
type Q1048835
type Q8142
action count
action filter_type
action find
entity Q13116
relation P38
type Q8142
[ANSWER]
[{'concept': 'Q1048835'}, 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?f ) AS ?g ) WHERE { ?w property:P38 ?f . ?w rdf:type ontology:Q1048835 . ?f rdf:type ontology:Q8142 } GROUP BY ?w } . FILTER ( ?g < ?r ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { resource:Q13116 property:P38 ?x . ?x rdf:type ontology:Q8142 } } }
Bierge Gabon Papua New Guinea Germany Mediona Saint Vincent and the Grenadines Grenada Zoriane Saint Kitts and Nevis Molina de Segura Svitlohirske Saint Pierre and Miquelon Khazars New Zealand Montserrat Sosnivka Jamaica Rivne Catalonia Albuixech South-West Africa Canada New France Cayman Islands Denmark Dominion of Newfoundland Aracena British Hong Kong Skypche Kingdom of Etruria Quintanar de la Orden Coca, Segovia Balažer A Ver-o-Mar Palestinian territories The Bahamas Ortuella Pitcairn Islands Água Doce Cuéllar Alboloduy Territory of New Guinea Corbera de Llobregat Austria County of Toulouse Monreal del Campo Bermuda Antigua and Barbuda Saint Helena, Ascension and Tristan da Cunha Anguilla Solomon Islands British Raj Dominion of New Zealand
53
action count
action less
action find_tuple_counts
relation currency
type political territorial entity
type currency
action count
action filter_type
action find
entity Benelux
relation currency
type currency
[{'concept': 'political territorial entity'}, 'currency', {'concept': 'currency'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?f ) AS ?g ) WHERE { ?w property:currency ?f . ?w rdf:type ontology:political_territorial_entity . ?f rdf:type ontology:currency } GROUP BY ?w } . FILTER ( ?g < ?r ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { resource:Benelux property:currency ?x . ?x rdf:type ontology:currency } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q408
P38
Q8142 Q1048835
USER
And what about Australia?
(c(Q1048835),P38,c(Q8142))
action count
action less
action find_tuple_counts
relation P38
type Q1048835
type Q8142
action count
action filter_type
action find
entity Q408
relation P38
type Q8142
[{'concept': 'Q1048835'}, 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?w ) AS ?y ) WHERE { ?s property:P38 ?w . ?s rdf:type ontology:Q1048835 . ?w rdf:type ontology:Q8142 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { resource:Q408 property:P38 ?c . ?c rdf:type ontology:Q8142 } } . FILTER ( ?y < ?g ) }
Australia
action count
action less
action find_tuple_counts
relation currency
type political territorial entity
type currency
action count
action filter_type
action find
entity Australia
relation currency
type currency
[{'concept': 'political territorial entity'}, 'currency', {'concept': 'currency'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?w ) AS ?y ) WHERE { ?s property:currency ?w . ?s rdf:type ontology:political_territorial_entity . ?w rdf:type ontology:currency } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { resource:Australia property:currency ?c . ?c rdf:type ontology:currency } } . FILTER ( ?y < ?g ) }
[]
currency political territorial entity
SYSTEM
53
Q1769772 Q1000 Q691 Q183 Q686790 Q757 Q769 Q4325072 Q763 Q917883 Q4410386 Q34617 Q173282 Q664 Q13353 Q6728433 Q766 Q4395303 Q5705 Q1771153 Q953068 Q16 Q170604 Q5785 Q35 Q38610 Q624511 Q1054923 Q4421880 Q223793 Q1628531 Q649612 Q789334 Q300608 Q407199 Q778 Q4474 Q35672 Q1750762 Q1631311 Q1444150 Q1443945 Q15601 Q40 Q1334322 Q1644430 Q23635 Q781 Q192184 Q25228 Q685 Q129286 Q2594990
(c(Q1048835),P38,c(Q8142))
action count
action less
action find_tuple_counts
relation P38
type Q1048835
type Q8142
action count
action filter_type
action find
entity Q408
relation P38
type Q8142
[ANSWER]
[{'concept': 'Q1048835'}, 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?w ) AS ?y ) WHERE { ?s property:P38 ?w . ?s rdf:type ontology:Q1048835 . ?w rdf:type ontology:Q8142 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { resource:Q408 property:P38 ?c . ?c rdf:type ontology:Q8142 } } . FILTER ( ?y < ?g ) }
Bierge Gabon Papua New Guinea Germany Mediona Saint Vincent and the Grenadines Grenada Zoriane Saint Kitts and Nevis Molina de Segura Svitlohirske Saint Pierre and Miquelon Khazars New Zealand Montserrat Sosnivka Jamaica Rivne Catalonia Albuixech South-West Africa Canada New France Cayman Islands Denmark Dominion of Newfoundland Aracena British Hong Kong Skypche Kingdom of Etruria Quintanar de la Orden Coca, Segovia Balažer A Ver-o-Mar Palestinian territories The Bahamas Ortuella Pitcairn Islands Água Doce Cuéllar Alboloduy Territory of New Guinea Corbera de Llobregat Austria County of Toulouse Monreal del Campo Bermuda Antigua and Barbuda Saint Helena, Ascension and Tristan da Cunha Anguilla Solomon Islands British Raj Dominion of New Zealand
53
action count
action less
action find_tuple_counts
relation currency
type political territorial entity
type currency
action count
action filter_type
action find
entity Australia
relation currency
type currency
[{'concept': 'political territorial entity'}, 'currency', {'concept': 'currency'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?w ) AS ?y ) WHERE { ?s property:currency ?w . ?s rdf:type ontology:political_territorial_entity . ?w rdf:type ontology:currency } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { resource:Australia property:currency ?c . ?c rdf:type ontology:currency } } . FILTER ( ?y < ?g ) }
[]