Simple Question (Direct)
Simple Question
Q3276018
P21
Q290
USER
Which sex does Thierry Robert belong to ?
(Q3276018,P21,c(Q290))
action filter_type
action find
entity Q3276018
relation P21
type Q290
['Q3276018', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q290 . resource:Q3276018 property:P21 ?c }
Thierry Robert
action filter_type
action find
entity Thierry Robert
relation gender
type sex
['Thierry Robert', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:sex . resource:Thierry_Robert property:gender ?c }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3276018,P21,c(Q290))
action filter_type
action find
entity Q3276018
relation P21
type Q290
Thierry Robert belongs to [ANSWER]
['Q3276018', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q290 . resource:Q3276018 property:P21 ?c }
male
Thierry Robert belongs to male
male
action filter_type
action find
entity Thierry Robert
relation gender
type sex
['Thierry Robert', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:sex . resource:Thierry_Robert property:gender ?c }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3276018
P102
Q7210356
USER
Which political organization is Thierry Robert a member of ?
(Q3276018,P102,c(Q7210356))
action filter_type
action find
entity Q3276018
relation P102
type Q7210356
['Q3276018', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q7210356 . resource:Q3276018 property:P102 ?a }
Thierry Robert
action filter_type
action find
entity Thierry Robert
relation member of political party
type political organization
['Thierry Robert', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:political_organization . resource:Thierry_Robert property:member_of_political_party ?a }
[]
political organization
Q587370
SYSTEM
Democratic Movement
Q587370
(Q3276018,P102,c(Q7210356))
action filter_type
action find
entity Q3276018
relation P102
type Q7210356
The [ANSWER] is Thierry Robert a member of
['Q3276018', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q7210356 . resource:Q3276018 property:P102 ?a }
Democratic Movement
The Democratic Movement is Thierry Robert a member of
Democratic Movement
action filter_type
action find
entity Thierry Robert
relation member of political party
type political organization
['Thierry Robert', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:political_organization . resource:Thierry_Robert property:member_of_political_party ?a }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5346394
Q7210356
USER
And how about Edwin Erickson?
(Q5346394,P102,c(Q7210356))
action filter_type
action find
entity Q5346394
relation P102
type Q7210356
['Q5346394', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?x WHERE { resource:Q5346394 property:P102 ?x . ?x rdf:type ontology:Q7210356 }
Edwin Erickson
action filter_type
action find
entity Edwin Erickson
relation member of political party
type political organization
['Edwin Erickson', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?x WHERE { resource:Edwin_Erickson property:member_of_political_party ?x . ?x rdf:type ontology:political_organization }
[]
political organization
Q29468
SYSTEM
Republican Party
Q29468
(Q5346394,P102,c(Q7210356))
action filter_type
action find
entity Q5346394
relation P102
type Q7210356
[ANSWER]
['Q5346394', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?x WHERE { resource:Q5346394 property:P102 ?x . ?x rdf:type ontology:Q7210356 }
Republican Party
Republican Party
action filter_type
action find
entity Edwin Erickson
relation member of political party
type political organization
['Edwin Erickson', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?x WHERE { resource:Edwin_Erickson property:member_of_political_party ?x . ?x rdf:type ontology:political_organization }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q29468 Q1903626
P112
Q502895
USER
that political organization ?
(Q29468,P112,Q1903626)
action is_in
entity Q1903626
action find
entity Q29468
relation P112
['Q29468', 'P112', 'Q1903626']
ASK WHERE { resource:Q29468 property:P112 resource:Q1903626 }
Republican Party Martin Dolde
action is_in
entity Martin Dolde
action find
entity Republican Party
relation founder
['Republican Party', 'founder', 'Martin Dolde']
ASK WHERE { resource:Republican_Party property:founder resource:Martin_Dolde }
[]
common name
SYSTEM
NO
(Q29468,P112,Q1903626)
action is_in
entity Q1903626
action find
entity Q29468
relation P112
[ANSWER]
['Q29468', 'P112', 'Q1903626']
ASK WHERE { resource:Q29468 property:P112 resource:Q1903626 }
No
action is_in
entity Martin Dolde
action find
entity Republican Party
relation founder
['Republican Party', 'founder', 'Martin Dolde']
ASK WHERE { resource:Republican_Party property:founder resource:Martin_Dolde }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q431489
P361
Q7210356 Q874405
USER
How many social groups are a component of more number of political organizations than AEGEE-Budapest ?
(c(Q874405),P361,c(Q7210356))
action count
action greater
action find_tuple_counts
relation P361
type Q874405
type Q7210356
action count
action filter_type
action find
entity Q431489
relation P361
type Q7210356
[{'concept': 'Q874405'}, 'P361', {'concept': 'Q7210356'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { FILTER ( ?b > ?g ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { resource:Q431489 property:P361 ?u . ?u rdf:type ontology:Q7210356 } } . { SELECT DISTINCT ?i ( COUNT ( ?a ) AS ?b ) WHERE { ?a rdf:type ontology:Q7210356 . ?i rdf:type ontology:Q874405 . ?i property:P361 ?a } GROUP BY ?i } }
AEGEE-Budapest
action count
action greater
action find_tuple_counts
relation part of
type social group
type political organization
action count
action filter_type
action find
entity AEGEE-Budapest
relation part of
type political organization
[{'concept': 'social group'}, 'part of', {'concept': 'political organization'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { FILTER ( ?b > ?g ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { resource:AEGEE-Budapest property:part_of ?u . ?u rdf:type ontology:political_organization } } . { SELECT DISTINCT ?i ( COUNT ( ?a ) AS ?b ) WHERE { ?a rdf:type ontology:political_organization . ?i rdf:type ontology:social_group . ?i property:part_of ?a } GROUP BY ?i } }
[]
political organization social group
SYSTEM
3
Q5160819 Q2215977 Q5095781
(c(Q874405),P361,c(Q7210356))
action count
action greater
action find_tuple_counts
relation P361
type Q874405
type Q7210356
action count
action filter_type
action find
entity Q431489
relation P361
type Q7210356
[ANSWER]
[{'concept': 'Q874405'}, 'P361', {'concept': 'Q7210356'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { FILTER ( ?b > ?g ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { resource:Q431489 property:P361 ?u . ?u rdf:type ontology:Q7210356 } } . { SELECT DISTINCT ?i ( COUNT ( ?a ) AS ?b ) WHERE { ?a rdf:type ontology:Q7210356 . ?i rdf:type ontology:Q874405 . ?i property:P361 ?a } GROUP BY ?i } }
Congress Socialist Party Christian Democratic Youth Appeal Chicago Socialist Party
3
action count
action greater
action find_tuple_counts
relation part of
type social group
type political organization
action count
action filter_type
action find
entity AEGEE-Budapest
relation part of
type political organization
[{'concept': 'social group'}, 'part of', {'concept': 'political organization'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { FILTER ( ?b > ?g ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { resource:AEGEE-Budapest property:part_of ?u . ?u rdf:type ontology:political_organization } } . { SELECT DISTINCT ?i ( COUNT ( ?a ) AS ?b ) WHERE { ?a rdf:type ontology:political_organization . ?i rdf:type ontology:social_group . ?i property:part_of ?a } GROUP BY ?i } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q9688828
P361
Q7210356 Q874405
USER
And how about Department of Anthropology, National Taiwan University?
(c(Q874405),P361,c(Q7210356))
action count
action greater
action find_tuple_counts
relation P361
type Q874405
type Q7210356
action count
action filter_type
action find
entity Q9688828
relation P361
type Q874405
[{'concept': 'Q874405'}, 'P361', {'concept': 'Q7210356'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { resource:Q9688828 property:P361 ?z . ?z rdf:type ontology:Q874405 } } . FILTER ( ?u > ?l ) . { SELECT DISTINCT ?f ( COUNT ( ?n ) AS ?u ) WHERE { ?f property:P361 ?n . ?f rdf:type ontology:Q874405 . ?n rdf:type ontology:Q7210356 } GROUP BY ?f } }
Department of Anthropology, National Taiwan University
action count
action greater
action find_tuple_counts
relation part of
type social group
type political organization
action count
action filter_type
action find
entity Department of Anthropology, National Taiwan University
relation part of
type social group
[{'concept': 'social group'}, 'part of', {'concept': 'political organization'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { resource:Department_of_Anthropology,_National_Taiwan_University property:part_of ?z . ?z rdf:type ontology:social_group } } . FILTER ( ?u > ?l ) . { SELECT DISTINCT ?f ( COUNT ( ?n ) AS ?u ) WHERE { ?f property:part_of ?n . ?f rdf:type ontology:social_group . ?n rdf:type ontology:political_organization } GROUP BY ?f } }
[]
political organization social group
SYSTEM
3
Q5160819 Q2215977 Q5095781
(c(Q874405),P361,c(Q7210356))
action count
action greater
action find_tuple_counts
relation P361
type Q874405
type Q7210356
action count
action filter_type
action find
entity Q9688828
relation P361
type Q874405
[ANSWER]
[{'concept': 'Q874405'}, 'P361', {'concept': 'Q7210356'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { resource:Q9688828 property:P361 ?z . ?z rdf:type ontology:Q874405 } } . FILTER ( ?u > ?l ) . { SELECT DISTINCT ?f ( COUNT ( ?n ) AS ?u ) WHERE { ?f property:P361 ?n . ?f rdf:type ontology:Q874405 . ?n rdf:type ontology:Q7210356 } GROUP BY ?f } }
Congress Socialist Party Christian Democratic Youth Appeal Chicago Socialist Party
3
action count
action greater
action find_tuple_counts
relation part of
type social group
type political organization
action count
action filter_type
action find
entity Department of Anthropology, National Taiwan University
relation part of
type social group
[{'concept': 'social group'}, 'part of', {'concept': 'political organization'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { resource:Department_of_Anthropology,_National_Taiwan_University property:part_of ?z . ?z rdf:type ontology:social_group } } . FILTER ( ?u > ?l ) . { SELECT DISTINCT ?f ( COUNT ( ?n ) AS ?u ) WHERE { ?f property:part_of ?n . ?f rdf:type ontology:social_group . ?n rdf:type ontology:political_organization } GROUP BY ?f } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q587370
P159
Q34442
USER
Which road is the HQ of Democratic Movement ?
(Q587370,P159,c(Q34442))
action filter_type
action find
entity Q587370
relation P159
type Q34442
['Q587370', 'P159', {'concept': 'Q34442'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q34442 . resource:Q587370 property:P159 ?k }
Democratic Movement
action filter_type
action find
entity Democratic Movement
relation headquarters location
type road
['Democratic Movement', 'headquarters location', {'concept': 'road'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:road . resource:Democratic_Movement property:headquarters_location ?k }
[]
road
Q3451302
SYSTEM
rue de l'Université
Q3451302
(Q587370,P159,c(Q34442))
action filter_type
action find
entity Q587370
relation P159
type Q34442
The [ANSWER] is the HQ of Democratic Movement
['Q587370', 'P159', {'concept': 'Q34442'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q34442 . resource:Q587370 property:P159 ?k }
rue de l'Université
The rue de l'Université is the HQ of Democratic Movement
rue de l'Université
action filter_type
action find
entity Democratic Movement
relation headquarters location
type road
['Democratic Movement', 'headquarters location', {'concept': 'road'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:road . resource:Democratic_Movement property:headquarters_location ?k }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1136469
Q34442
USER
And what about Spanish Confederation of Savings Banks?
(Q1136469,P159,c(Q34442))
action filter_type
action find
entity Q1136469
relation P159
type Q34442
['Q1136469', 'P159', {'concept': 'Q34442'}]
SELECT DISTINCT ?l WHERE { resource:Q1136469 property:P159 ?l . ?l rdf:type ontology:Q34442 }
Spanish Confederation of Savings Banks
action filter_type
action find
entity Spanish Confederation of Savings Banks
relation headquarters location
type road
['Spanish Confederation of Savings Banks', 'headquarters location', {'concept': 'road'}]
SELECT DISTINCT ?l WHERE { resource:Spanish_Confederation_of_Savings_Banks property:headquarters_location ?l . ?l rdf:type ontology:road }
[]
road
Q2424746
SYSTEM
Calle de Alcalá
Q2424746
(Q1136469,P159,c(Q34442))
action filter_type
action find
entity Q1136469
relation P159
type Q34442
[ANSWER]
['Q1136469', 'P159', {'concept': 'Q34442'}]
SELECT DISTINCT ?l WHERE { resource:Q1136469 property:P159 ?l . ?l rdf:type ontology:Q34442 }
Calle de Alcalá
Calle de Alcalá
action filter_type
action find
entity Spanish Confederation of Savings Banks
relation headquarters location
type road
['Spanish Confederation of Savings Banks', 'headquarters location', {'concept': 'road'}]
SELECT DISTINCT ?l WHERE { resource:Spanish_Confederation_of_Savings_Banks property:headquarters_location ?l . ?l rdf:type ontology:road }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2424746
P138
Q56061
USER
What is that road named after ?
(Q2424746,P138,c(Q56061))
action filter_type
action find
entity Q2424746
relation P138
type Q56061
['Q2424746', 'P138', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q2424746 property:P138 ?l . ?l rdf:type ontology:Q56061 }
Calle de Alcalá
action filter_type
action find
entity Calle de Alcalá
relation named after
type administrative territorial entity
['Calle de Alcalá', 'named after', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Calle_de_Alcalá property:named_after ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q46940
SYSTEM
Alcalá de Henares
Q46940
(Q2424746,P138,c(Q56061))
action filter_type
action find
entity Q2424746
relation P138
type Q56061
That road named after is in [ANSWER]
['Q2424746', 'P138', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q2424746 property:P138 ?l . ?l rdf:type ontology:Q56061 }
Alcalá de Henares
That road named after is in Alcalá de Henares
Alcalá de Henares
action filter_type
action find
entity Calle de Alcalá
relation named after
type administrative territorial entity
['Calle de Alcalá', 'named after', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Calle_de_Alcalá property:named_after ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]