Simple Question (Direct)
Simple Question
Q1506900
P607
Q198
USER
Which war did Robert James Manion take part in ?
(Q1506900,P607,c(Q198))
action filter_type
action find
entity Q1506900
relation P607
type Q198
['Q1506900', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?p WHERE { resource:Q1506900 property:P607 ?p . ?p rdf:type ontology:Q198 }
Robert James Manion
action filter_type
action find
entity Robert James Manion
relation conflict
type war
['Robert James Manion', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?p WHERE { resource:Robert_James_Manion property:conflict ?p . ?p rdf:type ontology:war }
[]
war
Q361
SYSTEM
World War I
Q361
(Q1506900,P607,c(Q198))
action filter_type
action find
entity Q1506900
relation P607
type Q198
[ANSWER]
['Q1506900', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?p WHERE { resource:Q1506900 property:P607 ?p . ?p rdf:type ontology:Q198 }
World War I
World War I
action filter_type
action find
entity Robert James Manion
relation conflict
type war
['Robert James Manion', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?p WHERE { resource:Robert_James_Manion property:conflict ?p . ?p rdf:type ontology:war }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1506900
P106
Q12737077
USER
Which occupation has Robert James Manion as his/her 's career ?
(Q1506900,P106,c(Q12737077))
action filter_type
action find
entity Q1506900
relation P106
type Q12737077
['Q1506900', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q1506900 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
Robert James Manion
action filter_type
action find
entity Robert James Manion
relation occupation
type occupation
['Robert James Manion', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Robert_James_Manion property:occupation ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q1506900,P106,c(Q12737077))
action filter_type
action find
entity Q1506900
relation P106
type Q12737077
[ANSWER]
['Q1506900', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q1506900 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
politician
politician
action filter_type
action find
entity Robert James Manion
relation occupation
type occupation
['Robert James Manion', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Robert_James_Manion property:occupation ?s . ?s rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1506900
P102
Q7210356
USER
Which political organizations are Robert James Manion a member of ?
(Q1506900,P102,c(Q7210356))
action filter_type
action find
entity Q1506900
relation P102
type Q7210356
['Q1506900', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?t WHERE { resource:Q1506900 property:P102 ?t . ?t rdf:type ontology:Q7210356 }
Robert James Manion
action filter_type
action find
entity Robert James Manion
relation member of political party
type political organization
['Robert James Manion', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?t WHERE { resource:Robert_James_Manion property:member_of_political_party ?t . ?t rdf:type ontology:political_organization }
[]
political organization
Q138345 Q909827
SYSTEM
Liberal Party of Canada, Conservative Party of Canada
Q138345 Q909827
(Q1506900,P102,c(Q7210356))
action filter_type
action find
entity Q1506900
relation P102
type Q7210356
[ANSWERS]
['Q1506900', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?t WHERE { resource:Q1506900 property:P102 ?t . ?t rdf:type ontology:Q7210356 }
Liberal Party of Canada Conservative Party of Canada
Liberal Party of Canada Conservative Party of Canada
action filter_type
action find
entity Robert James Manion
relation member of political party
type political organization
['Robert James Manion', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?t WHERE { resource:Robert_James_Manion property:member_of_political_party ?t . ?t rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1506900
P27
Q1048835
USER
Which political territory is that person a civilian of ?
(Q138345,P27,c(Q1048835)) (Q909827,P27,c(Q1048835))
action filter_type
action find
entity Q1506900
relation P27
type Q1048835
['Q138345', 'P27', {'concept': 'Q1048835'}] ['Q909827', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?v WHERE { resource:Q1506900 property:P27 ?v . ?v rdf:type ontology:Q1048835 }
Robert James Manion
action filter_type
action find
entity Robert James Manion
relation country of citizenship
type political territorial entity
['Liberal Party of Canada', 'country of citizenship', {'concept': 'political territorial entity'}] ['Conservative Party of Canada', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Robert_James_Manion property:country_of_citizenship ?v . ?v rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
(Q138345,P27,c(Q1048835)) (Q909827,P27,c(Q1048835))
action filter_type
action find
entity Q1506900
relation P27
type Q1048835
[ANSWER]
['Q138345', 'P27', {'concept': 'Q1048835'}] ['Q909827', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?v WHERE { resource:Q1506900 property:P27 ?v . ?v rdf:type ontology:Q1048835 }
Canada
Canada
action filter_type
action find
entity Robert James Manion
relation country of citizenship
type political territorial entity
['Liberal Party of Canada', 'country of citizenship', {'concept': 'political territorial entity'}] ['Conservative Party of Canada', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Robert_James_Manion property:country_of_citizenship ?v . ?v rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q133083
P127
Q1048835 Q811979 Q41176
USER
How many political territories own greater number of architectural structures and buildings than Gauteng ?
(c(Q811979)|c(Q41176),P127,c(Q1048835))
action count
action greater
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q811979
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q41176
action count
action filter_multi_types
action find_reverse
entity Q133083
relation P127
type Q811979
type Q41176
[[{'concept': 'Q811979'}, {'concept': 'Q41176'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { ?u property:P127 resource:Q133083 . { { ?u rdf:type ontology:Q811979 } UNION { ?u rdf:type ontology:Q41176 } } } } . FILTER ( ?o > ?s ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) ?m WHERE { ?z rdf:type ?n . VALUES ( ?n ) { ( ontology:Q811979 ) ( ontology:Q41176 ) } } GROUP BY ?m } }
Gauteng
action count
action greater
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type architectural structure
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type building
action count
action filter_multi_types
action find_reverse
entity Gauteng
relation owned by
type architectural structure
type building
[[{'concept': 'architectural structure'}, {'concept': 'building'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { ?u property:owned_by resource:Gauteng . { { ?u rdf:type ontology:architectural_structure } UNION { ?u rdf:type ontology:building } } } } . FILTER ( ?o > ?s ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) ?m WHERE { ?z rdf:type ?n . VALUES ( ?n ) { ( ontology:architectural_structure ) ( ontology:building ) } } GROUP BY ?m } }
[]
political territorial entity architectural structure building
SYSTEM
4
Q183 Q13862 Q54902 Q849584
(c(Q811979)|c(Q41176),P127,c(Q1048835))
action count
action greater
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q811979
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q41176
action count
action filter_multi_types
action find_reverse
entity Q133083
relation P127
type Q811979
type Q41176
[ANSWER]
[[{'concept': 'Q811979'}, {'concept': 'Q41176'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { ?u property:P127 resource:Q133083 . { { ?u rdf:type ontology:Q811979 } UNION { ?u rdf:type ontology:Q41176 } } } } . FILTER ( ?o > ?s ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) ?m WHERE { ?z rdf:type ?n . VALUES ( ?n ) { ( ontology:Q811979 ) ( ontology:Q41176 ) } } GROUP BY ?m } }
Germany Negros Occidental Fuenlabrada Jaraguá do Sul
4
action count
action greater
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type architectural structure
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type building
action count
action filter_multi_types
action find_reverse
entity Gauteng
relation owned by
type architectural structure
type building
[[{'concept': 'architectural structure'}, {'concept': 'building'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { ?u property:owned_by resource:Gauteng . { { ?u rdf:type ontology:architectural_structure } UNION { ?u rdf:type ontology:building } } } } . FILTER ( ?o > ?s ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) ?m WHERE { ?z rdf:type ?n . VALUES ( ?n ) { ( ontology:architectural_structure ) ( ontology:building ) } } GROUP BY ?m } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1135166
P127
Q1048835 Q811979 Q41176
USER
And also tell me about Greater London Authority?
(c(Q811979)|c(Q41176),P127,c(Q1048835))
action count
action greater
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q811979
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q41176
action count
action filter_multi_types
action find_reverse
entity Q1135166
relation P127
type Q811979
type Q41176
[[{'concept': 'Q811979'}, {'concept': 'Q41176'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) ?l WHERE { VALUES ( ?o ) { ( ontology:Q41176 ) ( ontology:Q811979 ) } . ?j rdf:type ?o } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?s ) WHERE { ?n property:P127 resource:Q1135166 . { { ?n rdf:type ontology:Q811979 } UNION { ?n rdf:type ontology:Q41176 } } } } . FILTER ( ?y > ?s ) }
Greater London Authority
action count
action greater
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type architectural structure
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type building
action count
action filter_multi_types
action find_reverse
entity Greater London Authority
relation owned by
type architectural structure
type building
[[{'concept': 'architectural structure'}, {'concept': 'building'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) ?l WHERE { VALUES ( ?o ) { ( ontology:building ) ( ontology:architectural_structure ) } . ?j rdf:type ?o } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?s ) WHERE { ?n property:owned_by resource:Greater_London_Authority . { { ?n rdf:type ontology:architectural_structure } UNION { ?n rdf:type ontology:building } } } } . FILTER ( ?y > ?s ) }
[]
political territorial entity architectural structure building
SYSTEM
4
Q183 Q13862 Q54902 Q849584
(c(Q811979)|c(Q41176),P127,c(Q1048835))
action count
action greater
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q811979
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q41176
action count
action filter_multi_types
action find_reverse
entity Q1135166
relation P127
type Q811979
type Q41176
[ANSWER]
[[{'concept': 'Q811979'}, {'concept': 'Q41176'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) ?l WHERE { VALUES ( ?o ) { ( ontology:Q41176 ) ( ontology:Q811979 ) } . ?j rdf:type ?o } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?s ) WHERE { ?n property:P127 resource:Q1135166 . { { ?n rdf:type ontology:Q811979 } UNION { ?n rdf:type ontology:Q41176 } } } } . FILTER ( ?y > ?s ) }
Germany Negros Occidental Fuenlabrada Jaraguá do Sul
4
action count
action greater
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type architectural structure
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type building
action count
action filter_multi_types
action find_reverse
entity Greater London Authority
relation owned by
type architectural structure
type building
[[{'concept': 'architectural structure'}, {'concept': 'building'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) ?l WHERE { VALUES ( ?o ) { ( ontology:building ) ( ontology:architectural_structure ) } . ?j rdf:type ?o } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?s ) WHERE { ?n property:owned_by resource:Greater_London_Authority . { { ?n rdf:type ontology:architectural_structure } UNION { ?n rdf:type ontology:building } } } } . FILTER ( ?y > ?s ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1876288 Q1506900
P39
Q12737077
USER
Which occupations were a position held by Robert James Manion or Luigi Trombetta ?
OR((Q1506900,P39,c(Q12737077)), (Q1876288,P39,c(Q12737077)))
action filter_type
action union
action find
entity Q1506900
relation P39
action find
entity Q1876288
relation P39
type Q12737077
{'OR': [['Q1506900', 'P39', {'concept': 'Q12737077'}], ['Q1876288', 'P39', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q1506900 property:P39 ?r } UNION { resource:Q1876288 property:P39 ?r } } . ?r rdf:type ontology:Q12737077 }
Luigi Trombetta Robert James Manion
action filter_type
action union
action find
entity Robert James Manion
relation position held
action find
entity Luigi Trombetta
relation position held
type occupation
{'OR': [['Robert James Manion', 'position held', {'concept': 'occupation'}], ['Luigi Trombetta', 'position held', {'concept': 'occupation'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Robert_James_Manion property:position_held ?r } UNION { resource:Luigi_Trombetta property:position_held ?r } } . ?r rdf:type ontology:occupation }
[]
occupation
Q2506651 Q15964890 Q45722
SYSTEM
Leader of the Official Opposition, member of the House of Commons of Canada, cardinal
Q2506651 Q15964890 Q45722
OR((Q1506900,P39,c(Q12737077)), (Q1876288,P39,c(Q12737077)))
action filter_type
action union
action find
entity Q1506900
relation P39
action find
entity Q1876288
relation P39
type Q12737077
[ANSWERS]
{'OR': [['Q1506900', 'P39', {'concept': 'Q12737077'}], ['Q1876288', 'P39', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q1506900 property:P39 ?r } UNION { resource:Q1876288 property:P39 ?r } } . ?r rdf:type ontology:Q12737077 }
Leader of the Official Opposition member of the House of Commons of Canada cardinal
Leader of the Official Opposition member of the House of Commons of Canada cardinal
action filter_type
action union
action find
entity Robert James Manion
relation position held
action find
entity Luigi Trombetta
relation position held
type occupation
{'OR': [['Robert James Manion', 'position held', {'concept': 'occupation'}], ['Luigi Trombetta', 'position held', {'concept': 'occupation'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Robert_James_Manion property:position_held ?r } UNION { resource:Luigi_Trombetta property:position_held ?r } } . ?r rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15868042
P1750
Q186081
USER
Which time interval is associated with the name day of Jim ?
(Q15868042,P1750,c(Q186081))
action filter_type
action find
entity Q15868042
relation P1750
type Q186081
['Q15868042', 'P1750', {'concept': 'Q186081'}]
SELECT DISTINCT ?h WHERE { resource:Q15868042 property:P1750 ?h . ?h rdf:type ontology:Q186081 }
Jim
action filter_type
action find
entity Jim
relation name day
type time interval
['Jim', 'name day', {'concept': 'time interval'}]
SELECT DISTINCT ?h WHERE { resource:Jim property:name_day ?h . ?h rdf:type ontology:time_interval }
[]
time interval
Q2720
SYSTEM
July 25
Q2720
(Q15868042,P1750,c(Q186081))
action filter_type
action find
entity Q15868042
relation P1750
type Q186081
[ANSWER]
['Q15868042', 'P1750', {'concept': 'Q186081'}]
SELECT DISTINCT ?h WHERE { resource:Q15868042 property:P1750 ?h . ?h rdf:type ontology:Q186081 }
July 25
July 25
action filter_type
action find
entity Jim
relation name day
type time interval
['Jim', 'name day', {'concept': 'time interval'}]
SELECT DISTINCT ?h WHERE { resource:Jim property:name_day ?h . ?h rdf:type ontology:time_interval }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2720
P841
Q502895
USER
Who have that time interval as their principal feast day ?
(c(Q502895),P841,Q2720)
action filter_type
action find_reverse
entity Q2720
relation P841
type Q502895
[{'concept': 'Q502895'}, 'P841', 'Q2720']
SELECT DISTINCT ?r WHERE { ?r property:P841 resource:Q2720 . ?r rdf:type ontology:Q502895 }
July 25
action filter_type
action find_reverse
entity July 25
relation feast day
type common name
[{'concept': 'common name'}, 'feast day', 'July 25']
SELECT DISTINCT ?r WHERE { ?r property:feast_day resource:July_25 . ?r rdf:type ontology:common_name }
[]
common name
Q1698425 Q3308785 Q43999
SYSTEM
Johannes Soreth, Michel-Louis Brulard, James
Q1698425 Q3308785 Q43999
(c(Q502895),P841,Q2720)
action filter_type
action find_reverse
entity Q2720
relation P841
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P841', 'Q2720']
SELECT DISTINCT ?r WHERE { ?r property:P841 resource:Q2720 . ?r rdf:type ontology:Q502895 }
Johannes Soreth Michel-Louis Brulard James
Johannes Soreth Michel-Louis Brulard James
action filter_type
action find_reverse
entity July 25
relation feast day
type common name
[{'concept': 'common name'}, 'feast day', 'July 25']
SELECT DISTINCT ?r WHERE { ?r property:feast_day resource:July_25 . ?r rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2720
P361
Q5151
USER
Which month is July 25 a component of ?
(Q2720,P361,c(Q5151))
action filter_type
action find
entity Q2720
relation P361
type Q5151
['Q2720', 'P361', {'concept': 'Q5151'}]
SELECT DISTINCT ?z WHERE { resource:Q2720 property:P361 ?z . ?z rdf:type ontology:Q5151 }
July 25
action filter_type
action find
entity July 25
relation part of
type month
['July 25', 'part of', {'concept': 'month'}]
SELECT DISTINCT ?z WHERE { resource:July_25 property:part_of ?z . ?z rdf:type ontology:month }
[]
month
Q121
SYSTEM
July
Q121
(Q2720,P361,c(Q5151))
action filter_type
action find
entity Q2720
relation P361
type Q5151
[ANSWER]
['Q2720', 'P361', {'concept': 'Q5151'}]
SELECT DISTINCT ?z WHERE { resource:Q2720 property:P361 ?z . ?z rdf:type ontology:Q5151 }
July
July
action filter_type
action find
entity July 25
relation part of
type month
['July 25', 'part of', {'concept': 'month'}]
SELECT DISTINCT ?z WHERE { resource:July_25 property:part_of ?z . ?z rdf:type ontology:month }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q43999
P7
Q502895
USER
Who has James as their brother ?
(Q43999,P7,c(Q502895))
action filter_type
action find
entity Q43999
relation P7
type Q502895
['Q43999', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q43999 property:P7 ?w . ?w rdf:type ontology:Q502895 }
James
action filter_type
action find
entity James
relation brother
type common name
['James', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:James property:brother ?w . ?w rdf:type ontology:common_name }
[]
common name
Q44015
SYSTEM
John the Apostle
Q44015
(Q43999,P7,c(Q502895))
action filter_type
action find
entity Q43999
relation P7
type Q502895
[ANSWER]
['Q43999', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q43999 property:P7 ?w . ?w rdf:type ontology:Q502895 }
John the Apostle
John the Apostle
action filter_type
action find
entity James
relation brother
type common name
['James', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:James property:brother ?w . ?w rdf:type ontology:common_name }
[]