Simple Question (Direct)
Simple Question
Q3180986
P106
Q12737077
USER
Which occupations have John Ballesty as his/her 's career ?
(Q3180986,P106,c(Q12737077))
action filter_type
action find
entity Q3180986
relation P106
type Q12737077
['Q3180986', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q3180986 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
John Ballesty
action filter_type
action find
entity John Ballesty
relation occupation
type occupation
['John Ballesty', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:John_Ballesty property:occupation ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q14373094 Q14089670
SYSTEM
rugby league player, rugby union player
Q14373094 Q14089670
(Q3180986,P106,c(Q12737077))
action filter_type
action find
entity Q3180986
relation P106
type Q12737077
As [ANSWERS] have John Ballesty as his/her 's career
['Q3180986', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q3180986 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
rugby league player rugby union player
As rugby league player and rugby union player have John Ballesty as his/her 's career
rugby league player rugby union player
action filter_type
action find
entity John Ballesty
relation occupation
type occupation
['John Ballesty', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:John_Ballesty property:occupation ?j . ?j rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3180986
P54
Q12973014
USER
What is John Ballesty a member of ?
(Q3180986,P54,c(Q12973014))
action filter_type
action find
entity Q3180986
relation P54
type Q12973014
['Q3180986', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?y WHERE { resource:Q3180986 property:P54 ?y . ?y rdf:type ontology:Q12973014 }
John Ballesty
action filter_type
action find
entity John Ballesty
relation member of sports team
type sports team
['John Ballesty', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?y WHERE { resource:John_Ballesty property:member_of_sports_team ?y . ?y rdf:type ontology:sports_team }
[]
sports team
Q622443
SYSTEM
Australia national rugby union team
Q622443
(Q3180986,P54,c(Q12973014))
action filter_type
action find
entity Q3180986
relation P54
type Q12973014
[ANSWER] is John Ballesty a member of
['Q3180986', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?y WHERE { resource:Q3180986 property:P54 ?y . ?y rdf:type ontology:Q12973014 }
Australia national rugby union team
Australia national rugby union team is John Ballesty a member of
Australia national rugby union team
action filter_type
action find
entity John Ballesty
relation member of sports team
type sports team
['John Ballesty', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?y WHERE { resource:John_Ballesty property:member_of_sports_team ?y . ?y rdf:type ontology:sports_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3180986
P27
Q1048835
USER
Which political territory is the country of citizenship of John Ballesty ?
(Q3180986,P27,c(Q1048835))
action filter_type
action find
entity Q3180986
relation P27
type Q1048835
['Q3180986', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { resource:Q3180986 property:P27 ?y . ?y rdf:type ontology:Q1048835 }
John Ballesty
action filter_type
action find
entity John Ballesty
relation country of citizenship
type political territorial entity
['John Ballesty', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:John_Ballesty property:country_of_citizenship ?y . ?y rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
(Q3180986,P27,c(Q1048835))
action filter_type
action find
entity Q3180986
relation P27
type Q1048835
[ANSWER] is the country of citizenship of John Ballesty
['Q3180986', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { resource:Q3180986 property:P27 ?y . ?y rdf:type ontology:Q1048835 }
Australia
Australia is the country of citizenship of John Ballesty
Australia
action filter_type
action find
entity John Ballesty
relation country of citizenship
type political territorial entity
['John Ballesty', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:John_Ballesty property:country_of_citizenship ?y . ?y rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3180986
P21
Q290
USER
Which sex does that person belong to ?
(Q408,P21,c(Q290))
action filter_type
action find
entity Q3180986
relation P21
type Q290
['Q408', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q3180986 property:P21 ?u . ?u rdf:type ontology:Q290 }
John Ballesty
action filter_type
action find
entity John Ballesty
relation gender
type sex
['Australia', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:John_Ballesty property:gender ?u . ?u rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q408,P21,c(Q290))
action filter_type
action find
entity Q3180986
relation P21
type Q290
That person belongs to [ANSWER]
['Q408', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q3180986 property:P21 ?u . ?u rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity John Ballesty
relation gender
type sex
['Australia', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:John_Ballesty property:gender ?u . ?u rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3180986
P641
Q349
USER
Which sport did that person participate in ?
(Q6581097,P641,c(Q349))
action filter_type
action find
entity Q3180986
relation P641
type Q349
['Q6581097', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?f WHERE { resource:Q3180986 property:P641 ?f . ?f rdf:type ontology:Q349 }
John Ballesty
action filter_type
action find
entity John Ballesty
relation sport
type sport
['male', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?f WHERE { resource:John_Ballesty property:sport ?f . ?f rdf:type ontology:sport }
[]
sport
Q10962
SYSTEM
rugby league
Q10962
(Q6581097,P641,c(Q349))
action filter_type
action find
entity Q3180986
relation P641
type Q349
That person participated in [ANSWER]
['Q6581097', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?f WHERE { resource:Q3180986 property:P641 ?f . ?f rdf:type ontology:Q349 }
rugby league
That person participated in rugby league
rugby league
action filter_type
action find
entity John Ballesty
relation sport
type sport
['male', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?f WHERE { resource:John_Ballesty property:sport ?f . ?f rdf:type ontology:sport }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q10962 Q4664688
P641
Q502895
USER
Does Abdallah ibn Azzuz play that sport ?
(Q4664688,P641,Q10962)
action is_in
entity Q4664688
action find
entity Q10962
relation P641
['Q4664688', 'P641', 'Q10962']
ASK WHERE { resource:Q10962 property:P641 resource:Q4664688 }
rugby league Abdallah ibn Azzuz
action is_in
entity Abdallah ibn Azzuz
action find
entity rugby league
relation sport
['Abdallah ibn Azzuz', 'sport', 'rugby league']
ASK WHERE { resource:rugby_league property:sport resource:Abdallah_ibn_Azzuz }
[]
common name
SYSTEM
NO
(Q4664688,P641,Q10962)
action is_in
entity Q4664688
action find
entity Q10962
relation P641
[ANSWER]
['Q4664688', 'P641', 'Q10962']
ASK WHERE { resource:Q10962 property:P641 resource:Q4664688 }
No
action is_in
entity Abdallah ibn Azzuz
action find
entity rugby league
relation sport
['Abdallah ibn Azzuz', 'sport', 'rugby league']
ASK WHERE { resource:rugby_league property:sport resource:Abdallah_ibn_Azzuz }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q408
P1001
Q4677783
USER
Which Act of Parliament of the United Kingdom has control over the jurisdiction of Australia ?
(c(Q4677783),P1001,Q408)
action filter_type
action find_reverse
entity Q408
relation P1001
type Q4677783
[{'concept': 'Q4677783'}, 'P1001', 'Q408']
SELECT DISTINCT ?k WHERE { ?k property:P1001 resource:Q408 . ?k rdf:type ontology:Q4677783 }
Australia
action filter_type
action find_reverse
entity Australia
relation applies to jurisdiction
type Act of Parliament of the United Kingdom
[{'concept': 'Act of Parliament of the United Kingdom'}, 'applies to jurisdiction', 'Australia']
SELECT DISTINCT ?k WHERE { ?k property:applies_to_jurisdiction resource:Australia . ?k rdf:type ontology:Act_of_Parliament_of_the_United_Kingdom }
[]
Act of Parliament of the United Kingdom
Q719883
SYSTEM
Statute of Westminster 1931
Q719883
(c(Q4677783),P1001,Q408)
action filter_type
action find_reverse
entity Q408
relation P1001
type Q4677783
Act of Parliament of the United Kingdom has the [ANSWER] control over the jurisdiction of Australia
[{'concept': 'Q4677783'}, 'P1001', 'Q408']
SELECT DISTINCT ?k WHERE { ?k property:P1001 resource:Q408 . ?k rdf:type ontology:Q4677783 }
Statute of Westminster 1931
Act of Parliament of the United Kingdom has the Statute of Westminster 1931 control over the jurisdiction of Australia
Statute of Westminster 1931
action filter_type
action find_reverse
entity Australia
relation applies to jurisdiction
type Act of Parliament of the United Kingdom
[{'concept': 'Act of Parliament of the United Kingdom'}, 'applies to jurisdiction', 'Australia']
SELECT DISTINCT ?k WHERE { ?k property:applies_to_jurisdiction resource:Australia . ?k rdf:type ontology:Act_of_Parliament_of_the_United_Kingdom }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q719883
P467
Q1752346
USER
What was that Act of Parliament of the United Kingdom legislated by ?
(Q719883,P467,c(Q1752346))
action filter_type
action find
entity Q719883
relation P467
type Q1752346
['Q719883', 'P467', {'concept': 'Q1752346'}]
SELECT DISTINCT ?u WHERE { resource:Q719883 property:P467 ?u . ?u rdf:type ontology:Q1752346 }
Statute of Westminster 1931
action filter_type
action find
entity Statute of Westminster 1931
relation legislated by
type assembly
['Statute of Westminster 1931', 'legislated by', {'concept': 'assembly'}]
SELECT DISTINCT ?u WHERE { resource:Statute_of_Westminster_1931 property:legislated_by ?u . ?u rdf:type ontology:assembly }
[]
assembly
Q11010
SYSTEM
Parliament of the United Kingdom
Q11010
(Q719883,P467,c(Q1752346))
action filter_type
action find
entity Q719883
relation P467
type Q1752346
That Act of [ANSWER] legislated by was the [ANSWER]
['Q719883', 'P467', {'concept': 'Q1752346'}]
SELECT DISTINCT ?u WHERE { resource:Q719883 property:P467 ?u . ?u rdf:type ontology:Q1752346 }
Parliament of the United Kingdom
That Act of Parliament of the United Kingdom legislated by was the Parliament of the United Kingdom
Parliament of the United Kingdom
action filter_type
action find
entity Statute of Westminster 1931
relation legislated by
type assembly
['Statute of Westminster 1931', 'legislated by', {'concept': 'assembly'}]
SELECT DISTINCT ?u WHERE { resource:Statute_of_Westminster_1931 property:legislated_by ?u . ?u rdf:type ontology:assembly }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q11010 Q5546984 Q145
P17
Q15617994
USER
Is that assembly present in Georgetown County School District and United Kingdom ?
(Q11010,P17,Q5546984) (Q11010,P17,Q145)
action is_in
entity Q11010
action intersection
action find_reverse
entity Q5546984
relation P17
action find_reverse
entity Q145
relation P17
['Q11010', 'P17', 'Q5546984'] ['Q11010', 'P17', 'Q145']
ASK WHERE { resource:Q11010 property:P17 resource:Q5546984 . resource:Q11010 property:P17 resource:Q145 }
Parliament of the United Kingdom Georgetown County School District United Kingdom
action is_in
entity Parliament of the United Kingdom
action intersection
action find_reverse
entity Georgetown County School District
relation country
action find_reverse
entity United Kingdom
relation country
['Parliament of the United Kingdom', 'country', 'Georgetown County School District'] ['Parliament of the United Kingdom', 'country', 'United Kingdom']
ASK WHERE { resource:Parliament_of_the_United_Kingdom property:country resource:Georgetown_County_School_District . resource:Parliament_of_the_United_Kingdom property:country resource:United_Kingdom }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q11010,P17,Q5546984) (Q11010,P17,Q145)
action is_in
entity Q11010
action intersection
action find_reverse
entity Q5546984
relation P17
action find_reverse
entity Q145
relation P17
[ANSWER]
['Q11010', 'P17', 'Q5546984'] ['Q11010', 'P17', 'Q145']
ASK WHERE { resource:Q11010 property:P17 resource:Q5546984 . resource:Q11010 property:P17 resource:Q145 }
NO and YES respectively
action is_in
entity Parliament of the United Kingdom
action intersection
action find_reverse
entity Georgetown County School District
relation country
action find_reverse
entity United Kingdom
relation country
['Parliament of the United Kingdom', 'country', 'Georgetown County School District'] ['Parliament of the United Kingdom', 'country', 'United Kingdom']
ASK WHERE { resource:Parliament_of_the_United_Kingdom property:country resource:Georgetown_County_School_District . resource:Parliament_of_the_United_Kingdom property:country resource:United_Kingdom }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q719883 Q145
P1001
Q15617994
USER
Does United Kingdom apply to jurisdiction of Statute of Westminster 1931 ?
(Q719883,P1001,Q145)
action is_in
entity Q145
action find
entity Q719883
relation P1001
['Q719883', 'P1001', 'Q145']
ASK WHERE { resource:Q719883 property:P1001 resource:Q145 }
Statute of Westminster 1931 United Kingdom
action is_in
entity United Kingdom
action find
entity Statute of Westminster 1931
relation applies to jurisdiction
['Statute of Westminster 1931', 'applies to jurisdiction', 'United Kingdom']
ASK WHERE { resource:Statute_of_Westminster_1931 property:applies_to_jurisdiction resource:United_Kingdom }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q719883,P1001,Q145)
action is_in
entity Q145
action find
entity Q719883
relation P1001
[ANSWER]
['Q719883', 'P1001', 'Q145']
ASK WHERE { resource:Q719883 property:P1001 resource:Q145 }
Yes
action is_in
entity United Kingdom
action find
entity Statute of Westminster 1931
relation applies to jurisdiction
['Statute of Westminster 1931', 'applies to jurisdiction', 'United Kingdom']
ASK WHERE { resource:Statute_of_Westminster_1931 property:applies_to_jurisdiction resource:United_Kingdom }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P127
Q1048835 Q79007 Q43229
USER
How many political territories owned atmost 12 streets and organizations ?
(c(Q79007)|c(Q43229),P127,c(Q1048835))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q79007
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q43229
value 12
[[{'concept': 'Q79007'}, {'concept': 'Q43229'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) ?s WHERE { { ?d property:P127 ?s . ?s rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q43229 } UNION { ?d property:P127 ?s . ?d rdf:type ontology:Q79007 . ?s rdf:type ontology:Q1048835 } } GROUP BY ?s } . FILTER ( ?o <= 12 ) }
action count
action atmost
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type street
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type organization
value 12
[[{'concept': 'street'}, {'concept': 'organization'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) ?s WHERE { { ?d property:owned_by ?s . ?s rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:organization } UNION { ?d property:owned_by ?s . ?d rdf:type ontology:street . ?s rdf:type ontology:political_territorial_entity } } GROUP BY ?s } . FILTER ( ?o <= 12 ) }
[]
political territorial entity street organization
SYSTEM
67
Q192536 Q170322 Q1648590 Q318314 Q3741 Q20937 Q2321093 Q5691 Q188399 Q490638 Q6040 Q126514 Q211091 Q6053 Q192387 Q133083 Q217838 Q74881 Q8543 Q6041 Q2379199 Q6139 Q8178 Q6339 Q7379734 Q1823 Q8551 Q13786 Q5783 Q741765 Q193317 Q35 Q191091 Q2947 Q13862 Q276176 Q1135166 Q46070 Q211106 Q202174 Q54902 Q192697 Q188373 Q190930 Q192702 Q2175 Q849584 Q2271 Q6142 Q909707 Q234 Q100166 Q17557 Q231 Q40 Q9331 Q6047 Q6045 Q9337 Q8182 Q23635 Q408 Q193307 Q207111 Q16 Q206926 Q5756
(c(Q79007)|c(Q43229),P127,c(Q1048835))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q79007
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q43229
value 12
[ANSWER]
[[{'concept': 'Q79007'}, {'concept': 'Q43229'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) ?s WHERE { { ?d property:P127 ?s . ?s rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q43229 } UNION { ?d property:P127 ?s . ?d rdf:type ontology:Q79007 . ?s rdf:type ontology:Q1048835 } } GROUP BY ?s } . FILTER ( ?o <= 12 ) }
Zlín Region Qingdao Manises Ipatinga Special Region of Yogyakarta Gyeonggi Province Chorrillos South Karelia Central Bohemian Region Almendralejo Goslar Dumfries and Galloway Renfrewshire Gifhorn Londrina Gauteng Stirling Dalian Germersheim Wolfenbüttel politics of Edinburgh Havelland Karlsruhe Erzgebirgskreis Aachen Aceh Südliche Weinstraße Cebu Andalusia San Fernando Pardubice Region Denmark Karlovy Vary Region Dithmarschen Negros Occidental Volta Redonda Greater London Authority Plzeň Region Moray Argyll and Bute Fuenlabrada South Moravian Region South Bohemia Region Vysočina Region Ústí nad Labem Region Riau Province Jaraguá do Sul South Sumatra Potsdam-Mittelmark Sestao Flemish Region Orkney Islands California Republic Walloon Region Austria Flemish Community Helmstedt Peine Flemish Region Rastatt Bermuda Australia Olomouc Region North Lanarkshire Canada North Ayrshire Community of Madrid
67
action count
action atmost
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type street
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type organization
value 12
[[{'concept': 'street'}, {'concept': 'organization'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) ?s WHERE { { ?d property:owned_by ?s . ?s rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:organization } UNION { ?d property:owned_by ?s . ?d rdf:type ontology:street . ?s rdf:type ontology:political_territorial_entity } } GROUP BY ?s } . FILTER ( ?o <= 12 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q11010
P463
Q502895
USER
How many people have a membership of Parliament of the United Kingdom ?
(c(Q502895),P463,Q11010)
action count
action filter_type
action find_reverse
entity Q11010
relation P463
type Q502895
[{'concept': 'Q502895'}, 'P463', 'Q11010']
SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { ?u property:P463 resource:Q11010 . ?u rdf:type ontology:Q502895 }
Parliament of the United Kingdom
action count
action filter_type
action find_reverse
entity Parliament of the United Kingdom
relation member of
type common name
[{'concept': 'common name'}, 'member of', 'Parliament of the United Kingdom']
SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { ?u property:member_of resource:Parliament_of_the_United_Kingdom . ?u rdf:type ontology:common_name }
[]
common name
SYSTEM
5
Q332540 Q5538377 Q192 Q261001 Q261001
(c(Q502895),P463,Q11010)
action count
action filter_type
action find_reverse
entity Q11010
relation P463
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P463', 'Q11010']
SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { ?u property:P463 resource:Q11010 . ?u rdf:type ontology:Q502895 }
Chris Huhne George Darell Shee David Cameron Shaun Woodward Shaun Woodward
5
action count
action filter_type
action find_reverse
entity Parliament of the United Kingdom
relation member of
type common name
[{'concept': 'common name'}, 'member of', 'Parliament of the United Kingdom']
SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { ?u property:member_of resource:Parliament_of_the_United_Kingdom . ?u rdf:type ontology:common_name }
[]