Simple Question (Direct)
Simple Question
Q2522166
P106
Q12737077
USER
Which occupation has Victor A. Knox as his/her 's career ?
(Q2522166,P106,c(Q12737077))
action filter_type
action find
entity Q2522166
relation P106
type Q12737077
['Q2522166', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q2522166 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
Victor A. Knox
action filter_type
action find
entity Victor A. Knox
relation occupation
type occupation
['Victor A. Knox', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Victor_A._Knox property:occupation ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q2522166,P106,c(Q12737077))
action filter_type
action find
entity Q2522166
relation P106
type Q12737077
The [ANSWER] has Victor A. Knox as his/her 's career
['Q2522166', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q2522166 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
politician
The politician has Victor A. Knox as his/her 's career
politician
action filter_type
action find
entity Victor A. Knox
relation occupation
type occupation
['Victor A. Knox', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Victor_A._Knox property:occupation ?w . ?w rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2522166
P102
Q7210356
USER
Which political organization is Victor A. Knox a member of ?
(Q2522166,P102,c(Q7210356))
action filter_type
action find
entity Q2522166
relation P102
type Q7210356
['Q2522166', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?y WHERE { resource:Q2522166 property:P102 ?y . ?y rdf:type ontology:Q7210356 }
Victor A. Knox
action filter_type
action find
entity Victor A. Knox
relation member of political party
type political organization
['Victor A. Knox', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?y WHERE { resource:Victor_A._Knox property:member_of_political_party ?y . ?y rdf:type ontology:political_organization }
[]
political organization
Q29468
SYSTEM
Republican Party
Q29468
(Q2522166,P102,c(Q7210356))
action filter_type
action find
entity Q2522166
relation P102
type Q7210356
The [ANSWER] is Victor A. Knox a member of
['Q2522166', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?y WHERE { resource:Q2522166 property:P102 ?y . ?y rdf:type ontology:Q7210356 }
Republican Party
The Republican Party is Victor A. Knox a member of
Republican Party
action filter_type
action find
entity Victor A. Knox
relation member of political party
type political organization
['Victor A. Knox', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?y WHERE { resource:Victor_A._Knox property:member_of_political_party ?y . ?y rdf:type ontology:political_organization }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q29468 Q23667162 Q91
P112
Q502895
USER
Was that political organization founded by Ali Benmedjahed and Abraham Lincoln ?
(Q29468,P112,Q23667162) (Q29468,P112,Q91)
action is_in
entity Q29468
action intersection
action find_reverse
entity Q23667162
relation P112
action find_reverse
entity Q91
relation P112
['Q29468', 'P112', 'Q23667162'] ['Q29468', 'P112', 'Q91']
ASK WHERE { resource:Q29468 property:P112 resource:Q91 . resource:Q29468 property:P112 resource:Q23667162 }
Republican Party Ali Benmedjahed Abraham Lincoln
action is_in
entity Republican Party
action intersection
action find_reverse
entity Ali Benmedjahed
relation founder
action find_reverse
entity Abraham Lincoln
relation founder
['Republican Party', 'founder', 'Ali Benmedjahed'] ['Republican Party', 'founder', 'Abraham Lincoln']
ASK WHERE { resource:Republican_Party property:founder resource:Abraham_Lincoln . resource:Republican_Party property:founder resource:Ali_Benmedjahed }
[]
common name
SYSTEM
NO and YES respectively
(Q29468,P112,Q23667162) (Q29468,P112,Q91)
action is_in
entity Q29468
action intersection
action find_reverse
entity Q23667162
relation P112
action find_reverse
entity Q91
relation P112
[ANSWER]
['Q29468', 'P112', 'Q23667162'] ['Q29468', 'P112', 'Q91']
ASK WHERE { resource:Q29468 property:P112 resource:Q91 . resource:Q29468 property:P112 resource:Q23667162 }
NO and YES respectively
action is_in
entity Republican Party
action intersection
action find_reverse
entity Ali Benmedjahed
relation founder
action find_reverse
entity Abraham Lincoln
relation founder
['Republican Party', 'founder', 'Ali Benmedjahed'] ['Republican Party', 'founder', 'Abraham Lincoln']
ASK WHERE { resource:Republican_Party property:founder resource:Abraham_Lincoln . resource:Republican_Party property:founder resource:Ali_Benmedjahed }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29468
P463
Q7210356
USER
What was Republican Party a member of ?
(Q29468,P463,c(Q7210356))
action filter_type
action find
entity Q29468
relation P463
type Q7210356
['Q29468', 'P463', {'concept': 'Q7210356'}]
SELECT DISTINCT ?q WHERE { resource:Q29468 property:P463 ?q . ?q rdf:type ontology:Q7210356 }
Republican Party
action filter_type
action find
entity Republican Party
relation member of
type political organization
['Republican Party', 'member of', {'concept': 'political organization'}]
SELECT DISTINCT ?q WHERE { resource:Republican_Party property:member_of ?q . ?q rdf:type ontology:political_organization }
[]
political organization
Q862603
SYSTEM
International Democrat Union
Q862603
(Q29468,P463,c(Q7210356))
action filter_type
action find
entity Q29468
relation P463
type Q7210356
Republican Party was a member of [ANSWER]
['Q29468', 'P463', {'concept': 'Q7210356'}]
SELECT DISTINCT ?q WHERE { resource:Q29468 property:P463 ?q . ?q rdf:type ontology:Q7210356 }
International Democrat Union
Republican Party was a member of International Democrat Union
International Democrat Union
action filter_type
action find
entity Republican Party
relation member of
type political organization
['Republican Party', 'member of', {'concept': 'political organization'}]
SELECT DISTINCT ?q WHERE { resource:Republican_Party property:member_of ?q . ?q rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29468
P462
Q1075
USER
Which color is associated with Republican Party ?
(Q29468,P462,c(Q1075))
action filter_type
action find
entity Q29468
relation P462
type Q1075
['Q29468', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?s WHERE { resource:Q29468 property:P462 ?s . ?s rdf:type ontology:Q1075 }
Republican Party
action filter_type
action find
entity Republican Party
relation color
type color
['Republican Party', 'color', {'concept': 'color'}]
SELECT DISTINCT ?s WHERE { resource:Republican_Party property:color ?s . ?s rdf:type ontology:color }
[]
color
Q3142
SYSTEM
red
Q3142
(Q29468,P462,c(Q1075))
action filter_type
action find
entity Q29468
relation P462
type Q1075
[ANSWER] is associated with Republican Party
['Q29468', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?s WHERE { resource:Q29468 property:P462 ?s . ?s rdf:type ontology:Q1075 }
red
Red is associated with Republican Party
red
action filter_type
action find
entity Republican Party
relation color
type color
['Republican Party', 'color', {'concept': 'color'}]
SELECT DISTINCT ?s WHERE { resource:Republican_Party property:color ?s . ?s rdf:type ontology:color }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q862603
P361
Q7210356
USER
What is a part of International Democrat Union ?
(c(Q7210356),P361,Q862603)
action filter_type
action find_reverse
entity Q862603
relation P361
type Q7210356
[{'concept': 'Q7210356'}, 'P361', 'Q862603']
SELECT DISTINCT ?o WHERE { ?o property:P361 resource:Q862603 . ?o rdf:type ontology:Q7210356 }
International Democrat Union
action filter_type
action find_reverse
entity International Democrat Union
relation part of
type political organization
[{'concept': 'political organization'}, 'part of', 'International Democrat Union']
SELECT DISTINCT ?o WHERE { ?o property:part_of resource:International_Democrat_Union . ?o rdf:type ontology:political_organization }
[]
political organization
Q304191
SYSTEM
National Coalition Party
Q304191
(c(Q7210356),P361,Q862603)
action filter_type
action find_reverse
entity Q862603
relation P361
type Q7210356
A part of International Democrat Union is the [ANSWER]
[{'concept': 'Q7210356'}, 'P361', 'Q862603']
SELECT DISTINCT ?o WHERE { ?o property:P361 resource:Q862603 . ?o rdf:type ontology:Q7210356 }
National Coalition Party
A part of International Democrat Union is the National Coalition Party
National Coalition Party
action filter_type
action find_reverse
entity International Democrat Union
relation part of
type political organization
[{'concept': 'political organization'}, 'part of', 'International Democrat Union']
SELECT DISTINCT ?o WHERE { ?o property:part_of resource:International_Democrat_Union . ?o rdf:type ontology:political_organization }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q657089 Q862603
P361
Q7210356
USER
Or Workers' Party?
OR((c(Q7210356),P361,Q862603), (c(Q7210356),P361,Q657089))
action filter_type
action union
action find_reverse
entity Q862603
relation P361
action find_reverse
entity Q657089
relation P361
type Q7210356
{'OR': [[{'concept': 'Q7210356'}, 'P361', 'Q862603'], [{'concept': 'Q7210356'}, 'P361', 'Q657089']]}
SELECT DISTINCT ?a WHERE { { { ?a property:P361 resource:Q862603 } UNION { ?a property:P361 resource:Q657089 } } . ?a rdf:type ontology:Q7210356 }
Workers' Party International Democrat Union
action filter_type
action union
action find_reverse
entity International Democrat Union
relation part of
action find_reverse
entity Workers' Party
relation part of
type political organization
{'OR': [[{'concept': 'political organization'}, 'part of', 'International Democrat Union'], [{'concept': 'political organization'}, 'part of', "Workers' Party"]]}
SELECT DISTINCT ?a WHERE { { { ?a property:part_of resource:International_Democrat_Union } UNION { ?a property:part_of resource:Workers'_Party } } . ?a rdf:type ontology:political_organization }
[]
political organization
Q7551542 Q304191
SYSTEM
Socialist Democracy, National Coalition Party
Q7551542 Q304191
OR((c(Q7210356),P361,Q862603), (c(Q7210356),P361,Q657089))
action filter_type
action union
action find_reverse
entity Q862603
relation P361
action find_reverse
entity Q657089
relation P361
type Q7210356
[ANSWERS]
{'OR': [[{'concept': 'Q7210356'}, 'P361', 'Q862603'], [{'concept': 'Q7210356'}, 'P361', 'Q657089']]}
SELECT DISTINCT ?a WHERE { { { ?a property:P361 resource:Q862603 } UNION { ?a property:P361 resource:Q657089 } } . ?a rdf:type ontology:Q7210356 }
Socialist Democracy National Coalition Party
Socialist Democracy National Coalition Party
action filter_type
action union
action find_reverse
entity International Democrat Union
relation part of
action find_reverse
entity Workers' Party
relation part of
type political organization
{'OR': [[{'concept': 'political organization'}, 'part of', 'International Democrat Union'], [{'concept': 'political organization'}, 'part of', "Workers' Party"]]}
SELECT DISTINCT ?a WHERE { { { ?a property:part_of resource:International_Democrat_Union } UNION { ?a property:part_of resource:Workers'_Party } } . ?a rdf:type ontology:political_organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q304191
P488
Q502895
USER
How many people were the chairpersons of National Coalition Party ?
(Q304191,P488,c(Q502895))
action count
action filter_type
action find
entity Q304191
relation P488
type Q502895
['Q304191', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { resource:Q304191 property:P488 ?j . ?j rdf:type ontology:Q502895 }
National Coalition Party
action count
action filter_type
action find
entity National Coalition Party
relation chairperson
type common name
['National Coalition Party', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { resource:National_Coalition_Party property:chairperson ?j . ?j rdf:type ontology:common_name }
[]
common name
SYSTEM
20
Q6095100 Q202171 Q1168762 Q178666 Q383591 Q273324 Q4349847 Q503143 Q2386409 Q541555 Q6040815 Q6167041 Q609867 Q57638 Q6029546 Q5944625 Q6072401 Q6226035 Q29207 Q326512
(Q304191,P488,c(Q502895))
action count
action filter_type
action find
entity Q304191
relation P488
type Q502895
[ANSWER]
['Q304191', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { resource:Q304191 property:P488 ?j . ?j rdf:type ontology:Q502895 }
Jussi Saukkonen Juho Kusti Paasikivi Ville Itälä Ilkka Suominen Edwin Linkomies Harri Holkeri Hugo Suolahti Alexander Stubb Eemil Nestor Setälä Kyösti Haataja Pekka Pennanen Arvo Salminen Antti Tulenheimo Jyrki Katainen Petteri Orpo K. F. Lehtonen Juha Rihtniemi Paavo Virkkunen Sauli Niinistö Pertti Salolainen
20
action count
action filter_type
action find
entity National Coalition Party
relation chairperson
type common name
['National Coalition Party', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { resource:National_Coalition_Party property:chairperson ?j . ?j rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q7260235
P488
Q502895
USER
And how about Punjab Agricultural University?
(Q7260235,P488,c(Q502895))
action count
action filter_type
action find
entity Q7260235
relation P488
type Q502895
['Q7260235', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { resource:Q7260235 property:P488 ?i . ?i rdf:type ontology:Q502895 }
Punjab Agricultural University
action count
action filter_type
action find
entity Punjab Agricultural University
relation chairperson
type common name
['Punjab Agricultural University', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { resource:Punjab_Agricultural_University property:chairperson ?i . ?i rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q4850418
(Q7260235,P488,c(Q502895))
action count
action filter_type
action find
entity Q7260235
relation P488
type Q502895
[ANSWER]
['Q7260235', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { resource:Q7260235 property:P488 ?i . ?i rdf:type ontology:Q502895 }
Baldev Singh Dhillon
1
action count
action filter_type
action find
entity Punjab Agricultural University
relation chairperson
type common name
['Punjab Agricultural University', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { resource:Punjab_Agricultural_University property:chairperson ?i . ?i rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q47817
Q502895
USER
And what about Five Star Movement?
(Q47817,P488,c(Q502895))
action count
action filter_type
action find
entity Q47817
relation P488
type Q502895
['Q47817', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { resource:Q47817 property:P488 ?t . ?t rdf:type ontology:Q502895 }
Five Star Movement
action count
action filter_type
action find
entity Five Star Movement
relation chairperson
type common name
['Five Star Movement', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { resource:Five_Star_Movement property:chairperson ?t . ?t rdf:type ontology:common_name }
[]
common name
SYSTEM
1
(Q47817,P488,c(Q502895))
action count
action filter_type
action find
entity Q47817
relation P488
type Q502895
[ANSWER]
['Q47817', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { resource:Q47817 property:P488 ?t . ?t rdf:type ontology:Q502895 }
1
action count
action filter_type
action find
entity Five Star Movement
relation chairperson
type common name
['Five Star Movement', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { resource:Five_Star_Movement property:chairperson ?t . ?t rdf:type ontology:common_name }
[]