Simple Question (Direct)
Simple Question
Q6788649
P102
Q7210356
USER
Which party is Matt Foley affiliated with ?
(Q6788649,P102,c(Q7210356))
action filter_type
action find
entity Q6788649
relation P102
type Q7210356
['Q6788649', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?v WHERE { resource:Q6788649 property:P102 ?v . ?v rdf:type ontology:Q7210356 }
Matt Foley
action filter_type
action find
entity Matt Foley
relation member of political party
type political organization
['Matt Foley', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?v WHERE { resource:Matt_Foley property:member_of_political_party ?v . ?v rdf:type ontology:political_organization }
[]
political organization
Q216082
SYSTEM
Australian Labor Party
Q216082
(Q6788649,P102,c(Q7210356))
action filter_type
action find
entity Q6788649
relation P102
type Q7210356
Matt Foley is affiliated with [ANSWER]
['Q6788649', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?v WHERE { resource:Q6788649 property:P102 ?v . ?v rdf:type ontology:Q7210356 }
Australian Labor Party
Matt Foley is affiliated with Australian Labor Party
Australian Labor Party
action filter_type
action find
entity Matt Foley
relation member of political party
type political organization
['Matt Foley', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?v WHERE { resource:Matt_Foley property:member_of_political_party ?v . ?v rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q216082
P921
Q4894405
USER
Which journalism genre was mainly based on that political organization ?
(c(Q4894405),P921,Q216082)
action filter_type
action find_reverse
entity Q216082
relation P921
type Q4894405
[{'concept': 'Q4894405'}, 'P921', 'Q216082']
SELECT DISTINCT ?f WHERE { ?f property:P921 resource:Q216082 . ?f rdf:type ontology:Q4894405 }
Australian Labor Party
action filter_type
action find_reverse
entity Australian Labor Party
relation main subject
type journalism genre
[{'concept': 'journalism genre'}, 'main subject', 'Australian Labor Party']
SELECT DISTINCT ?f WHERE { ?f property:main_subject resource:Australian_Labor_Party . ?f rdf:type ontology:journalism_genre }
[]
journalism genre
Q22078382
SYSTEM
Wounded senator falls to protege
Q22078382
(c(Q4894405),P921,Q216082)
action filter_type
action find_reverse
entity Q216082
relation P921
type Q4894405
The wounded senator falls to protege was mainly based on that political organization
[{'concept': 'Q4894405'}, 'P921', 'Q216082']
SELECT DISTINCT ?f WHERE { ?f property:P921 resource:Q216082 . ?f rdf:type ontology:Q4894405 }
Wounded senator falls to protege
The wounded senator falls to protege was mainly based on that political organization
Wounded senator falls to protege
action filter_type
action find_reverse
entity Australian Labor Party
relation main subject
type journalism genre
[{'concept': 'journalism genre'}, 'main subject', 'Australian Labor Party']
SELECT DISTINCT ?f WHERE { ?f property:main_subject resource:Australian_Labor_Party . ?f rdf:type ontology:journalism_genre }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q22078382 Q1107672 Q4596779
P921
Q502895
USER
Is Adolf Kertész and Prospero Amatong a main subject of Wounded senator falls to protege ?
(Q22078382,P921,Q1107672) (Q22078382,P921,Q4596779)
action is_in
entity Q22078382
action intersection
action find_reverse
entity Q1107672
relation P921
action find_reverse
entity Q4596779
relation P921
['Q22078382', 'P921', 'Q1107672'] ['Q22078382', 'P921', 'Q4596779']
ASK WHERE { resource:Q22078382 property:P921 resource:Q1107672 . resource:Q22078382 property:P921 resource:Q4596779 }
Wounded senator falls to protege Adolf Kertész Prospero Amatong
action is_in
entity Wounded senator falls to protege
action intersection
action find_reverse
entity Adolf Kertész
relation main subject
action find_reverse
entity Prospero Amatong
relation main subject
['Wounded senator falls to protege', 'main subject', 'Adolf Kertész'] ['Wounded senator falls to protege', 'main subject', 'Prospero Amatong']
ASK WHERE { resource:Wounded_senator_falls_to_protege property:main_subject resource:Adolf_Kertész . resource:Wounded_senator_falls_to_protege property:main_subject resource:Prospero_Amatong }
[]
common name
SYSTEM
NO
(Q22078382,P921,Q1107672) (Q22078382,P921,Q4596779)
action is_in
entity Q22078382
action intersection
action find_reverse
entity Q1107672
relation P921
action find_reverse
entity Q4596779
relation P921
[ANSWER]
['Q22078382', 'P921', 'Q1107672'] ['Q22078382', 'P921', 'Q4596779']
ASK WHERE { resource:Q22078382 property:P921 resource:Q1107672 . resource:Q22078382 property:P921 resource:Q4596779 }
No
action is_in
entity Wounded senator falls to protege
action intersection
action find_reverse
entity Adolf Kertész
relation main subject
action find_reverse
entity Prospero Amatong
relation main subject
['Wounded senator falls to protege', 'main subject', 'Adolf Kertész'] ['Wounded senator falls to protege', 'main subject', 'Prospero Amatong']
ASK WHERE { resource:Wounded_senator_falls_to_protege property:main_subject resource:Adolf_Kertész . resource:Wounded_senator_falls_to_protege property:main_subject resource:Prospero_Amatong }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q216082
P1001
Q1048835
USER
How many political territories come under the supervision of Australian Labor Party ?
(Q216082,P1001,c(Q1048835))
action count
action filter_type
action find
entity Q216082
relation P1001
type Q1048835
['Q216082', 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { resource:Q216082 property:P1001 ?r . ?r rdf:type ontology:Q1048835 }
Australian Labor Party
action count
action filter_type
action find
entity Australian Labor Party
relation applies to jurisdiction
type political territorial entity
['Australian Labor Party', 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { resource:Australian_Labor_Party property:applies_to_jurisdiction ?r . ?r rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
Q408
(Q216082,P1001,c(Q1048835))
action count
action filter_type
action find
entity Q216082
relation P1001
type Q1048835
[ANSWER]
['Q216082', 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { resource:Q216082 property:P1001 ?r . ?r rdf:type ontology:Q1048835 }
Australia
1
action count
action filter_type
action find
entity Australian Labor Party
relation applies to jurisdiction
type political territorial entity
['Australian Labor Party', 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { resource:Australian_Labor_Party property:applies_to_jurisdiction ?r . ?r rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q26698730
Q1048835
USER
And what about mayor of Casas-Ibáñez?
(Q26698730,P1001,c(Q1048835))
action count
action filter_type
action find
entity Q26698730
relation P1001
type Q1048835
['Q26698730', 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { resource:Q26698730 property:P1001 ?l . ?l rdf:type ontology:Q1048835 }
mayor of Casas-Ibáñez
action count
action filter_type
action find
entity mayor of Casas-Ibáñez
relation applies to jurisdiction
type political territorial entity
['mayor of Casas-Ibáñez', 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { resource:mayor_of_Casas-Ibáñez property:applies_to_jurisdiction ?l . ?l rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
(Q26698730,P1001,c(Q1048835))
action count
action filter_type
action find
entity Q26698730
relation P1001
type Q1048835
[ANSWER]
['Q26698730', 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { resource:Q26698730 property:P1001 ?l . ?l rdf:type ontology:Q1048835 }
1
action count
action filter_type
action find
entity mayor of Casas-Ibáñez
relation applies to jurisdiction
type political territorial entity
['mayor of Casas-Ibáñez', 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { resource:mayor_of_Casas-Ibáñez property:applies_to_jurisdiction ?l . ?l rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q216082
P159
Q56061
USER
Which administrative territory is the head office of Australian Labor Party ?
(Q216082,P159,c(Q56061))
action filter_type
action find
entity Q216082
relation P159
type Q56061
['Q216082', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q216082 property:P159 ?p . ?p rdf:type ontology:Q56061 }
Australian Labor Party
action filter_type
action find
entity Australian Labor Party
relation headquarters location
type administrative territorial entity
['Australian Labor Party', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Australian_Labor_Party property:headquarters_location ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3114
SYSTEM
Canberra
Q3114
(Q216082,P159,c(Q56061))
action filter_type
action find
entity Q216082
relation P159
type Q56061
Australia [ANSWER] is the head office of Australian Labor Party
['Q216082', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q216082 property:P159 ?p . ?p rdf:type ontology:Q56061 }
Canberra
Australia Canberra is the head office of Australian Labor Party
Canberra
action filter_type
action find
entity Australian Labor Party
relation headquarters location
type administrative territorial entity
['Australian Labor Party', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Australian_Labor_Party property:headquarters_location ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q216082
P108
Q502895
USER
Who works for Australian Labor Party ?
(c(Q502895),P108,Q216082)
action filter_type
action find_reverse
entity Q216082
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q216082']
SELECT DISTINCT ?e WHERE { ?e property:P108 resource:Q216082 . ?e rdf:type ontology:Q502895 }
Australian Labor Party
action filter_type
action find_reverse
entity Australian Labor Party
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Australian Labor Party']
SELECT DISTINCT ?e WHERE { ?e property:employer resource:Australian_Labor_Party . ?e rdf:type ontology:common_name }
[]
common name
Q27450715
SYSTEM
John Graham
Q27450715
(c(Q502895),P108,Q216082)
action filter_type
action find_reverse
entity Q216082
relation P108
type Q502895
[ANSWER] works for Australian Labor Party
[{'concept': 'Q502895'}, 'P108', 'Q216082']
SELECT DISTINCT ?e WHERE { ?e property:P108 resource:Q216082 . ?e rdf:type ontology:Q502895 }
John Graham
John Graham works for Australian Labor Party
John Graham
action filter_type
action find_reverse
entity Australian Labor Party
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Australian Labor Party']
SELECT DISTINCT ?e WHERE { ?e property:employer resource:Australian_Labor_Party . ?e rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q27450715
P26
Q502895
USER
Who is the spouse of that one ?
(c(Q502895),P26,Q27450715)
action filter_type
action find
entity Q27450715
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q27450715']
SELECT DISTINCT ?q WHERE { resource:Q27450715 property:P26 ?q . ?q rdf:type ontology:Q502895 }
John Graham
action filter_type
action find
entity John Graham
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'John Graham']
SELECT DISTINCT ?q WHERE { resource:John_Graham property:spouse ?q . ?q rdf:type ontology:common_name }
[]
common name
Q16732210
SYSTEM
Jenny McAllister
Q16732210
(c(Q502895),P26,Q27450715)
action filter_type
action find
entity Q27450715
relation P26
type Q502895
The spouse of that one is Lady [ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q27450715']
SELECT DISTINCT ?q WHERE { resource:Q27450715 property:P26 ?q . ?q rdf:type ontology:Q502895 }
Jenny McAllister
The spouse of that one is Lady Jenny McAllister
Jenny McAllister
action filter_type
action find
entity John Graham
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'John Graham']
SELECT DISTINCT ?q WHERE { resource:John_Graham property:spouse ?q . ?q rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16732210
P21
Q290
USER
Which sex does that person possess ?
(Q16732210,P21,c(Q290))
action filter_type
action find
entity Q16732210
relation P21
type Q290
['Q16732210', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q16732210 property:P21 ?l . ?l rdf:type ontology:Q290 }
Jenny McAllister
action filter_type
action find
entity Jenny McAllister
relation gender
type sex
['Jenny McAllister', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Jenny_McAllister property:gender ?l . ?l rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q16732210,P21,c(Q290))
action filter_type
action find
entity Q16732210
relation P21
type Q290
That person possesses the [ANSWER]
['Q16732210', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q16732210 property:P21 ?l . ?l rdf:type ontology:Q290 }
female
That person possesses the female
female
action filter_type
action find
entity Jenny McAllister
relation gender
type sex
['Jenny McAllister', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Jenny_McAllister property:gender ?l . ?l rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1912493
Q290
USER
And what about Max Fellerer?
(Q1912493,P21,c(Q290))
action filter_type
action find
entity Q1912493
relation P21
type Q290
['Q1912493', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q1912493 property:P21 ?l . ?l rdf:type ontology:Q290 }
Max Fellerer
action filter_type
action find
entity Max Fellerer
relation gender
type sex
['Max Fellerer', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Max_Fellerer property:gender ?l . ?l rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1912493,P21,c(Q290))
action filter_type
action find
entity Q1912493
relation P21
type Q290
[ANSWER]
['Q1912493', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q1912493 property:P21 ?l . ?l rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Max Fellerer
relation gender
type sex
['Max Fellerer', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Max_Fellerer property:gender ?l . ?l rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1912493
P106
Q12737077
USER
Which occupation has that person as his/her 's career ?
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q1912493
relation P106
type Q12737077
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q1912493 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
Max Fellerer
action filter_type
action find
entity Max Fellerer
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Max_Fellerer property:occupation ?l . ?l rdf:type ontology:occupation }
[]
occupation
Q42973
SYSTEM
architect
Q42973
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q1912493
relation P106
type Q12737077
An [ANSWER] has that person as his/her 's career
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q1912493 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
architect
An architect has that person as his/her 's career
architect
action filter_type
action find
entity Max Fellerer
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Max_Fellerer property:occupation ?l . ?l rdf:type ontology:occupation }
[]