Simple Question (Direct)
Simple Question
Q3308529
P1196
Q1931388
USER
What situation did Michael Stevens die in ?
(Q3308529,P1196,c(Q1931388))
action filter_type
action find
entity Q3308529
relation P1196
type Q1931388
['Q3308529', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?w WHERE { resource:Q3308529 property:P1196 ?w . ?w rdf:type ontology:Q1931388 }
Michael Stevens
action filter_type
action find
entity Michael Stevens
relation manner of death
type cause of death
['Michael Stevens', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?w WHERE { resource:Michael_Stevens property:manner_of_death ?w . ?w rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q3308529,P1196,c(Q1931388))
action filter_type
action find
entity Q3308529
relation P1196
type Q1931388
Michael Stevens died of [ANSWER]
['Q3308529', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?w WHERE { resource:Q3308529 property:P1196 ?w . ?w rdf:type ontology:Q1931388 }
natural causes
Michael Stevens died of natural causes
natural causes
action filter_type
action find
entity Michael Stevens
relation manner of death
type cause of death
['Michael Stevens', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?w WHERE { resource:Michael_Stevens property:manner_of_death ?w . ?w rdf:type ontology:cause_of_death }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3308529
P161
Q838948
USER
Which work of art does that person star in ?
(c(Q838948),P161,Q3739104)
action filter_type
action find_reverse
entity Q3308529
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q3739104']
SELECT DISTINCT ?j WHERE { ?j property:P161 resource:Q3308529 . ?j rdf:type ontology:Q838948 }
Michael Stevens
action filter_type
action find_reverse
entity Michael Stevens
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'natural causes']
SELECT DISTINCT ?j WHERE { ?j property:cast_member resource:Michael_Stevens . ?j rdf:type ontology:work_of_art }
[]
work of art
Q2066307
SYSTEM
The Pirate
Q2066307
(c(Q838948),P161,Q3739104)
action filter_type
action find_reverse
entity Q3308529
relation P161
type Q838948
That person stars [ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q3739104']
SELECT DISTINCT ?j WHERE { ?j property:P161 resource:Q3308529 . ?j rdf:type ontology:Q838948 }
The Pirate
That person stars The Pirate
The Pirate
action filter_type
action find_reverse
entity Michael Stevens
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'natural causes']
SELECT DISTINCT ?j WHERE { ?j property:cast_member resource:Michael_Stevens . ?j rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P161
Q502895
USER
How many people starred in that work of art ?
(Q2066307,P161,c(Q502895))
action count
action filter_type
action find
entity Q2066307
relation P161
type Q502895
['Q2066307', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { resource:Q2066307 property:P161 ?w . ?w rdf:type ontology:Q502895 }
action count
action filter_type
action find
entity The Pirate
relation cast member
type common name
['The Pirate', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { resource:The_Pirate property:cast_member ?w . ?w rdf:type ontology:common_name }
[]
common name
SYSTEM
6
Q3308529 Q164112 Q1807890 Q155493 Q212873 Q503767
(Q2066307,P161,c(Q502895))
action count
action filter_type
action find
entity Q2066307
relation P161
type Q502895
[ANSWER]
['Q2066307', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { resource:Q2066307 property:P161 ?w . ?w rdf:type ontology:Q502895 }
Michael Stevens Maruschka Detmers Laure Marsac Philippe Léotard Jane Birkin Andrew Birkin
6
action count
action filter_type
action find
entity The Pirate
relation cast member
type common name
['The Pirate', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { resource:The_Pirate property:cast_member ?w . ?w rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2066307
P495
Q15617994
USER
Which administrative territory is the origin of The Pirate ?
(Q2066307,P495,c(Q15617994))
action filter_type
action find
entity Q2066307
relation P495
type Q15617994
['Q2066307', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q2066307 property:P495 ?t . ?t rdf:type ontology:Q15617994 }
The Pirate
action filter_type
action find
entity The Pirate
relation country of origin
type designation for an administrative territorial entity
['The Pirate', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:The_Pirate property:country_of_origin ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q2066307,P495,c(Q15617994))
action filter_type
action find
entity Q2066307
relation P495
type Q15617994
[ANSWER] is the origin of The Pirate
['Q2066307', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q2066307 property:P495 ?t . ?t rdf:type ontology:Q15617994 }
France
France is the origin of The Pirate
France
action filter_type
action find
entity The Pirate
relation country of origin
type designation for an administrative territorial entity
['The Pirate', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:The_Pirate property:country_of_origin ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q18636653
Q15617994
USER
And what about We Went to College?
(Q18636653,P495,c(Q15617994))
action filter_type
action find
entity Q18636653
relation P495
type Q15617994
['Q18636653', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q18636653 property:P495 ?q . ?q rdf:type ontology:Q15617994 }
We Went to College
action filter_type
action find
entity We Went to College
relation country of origin
type designation for an administrative territorial entity
['We Went to College', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:We_Went_to_College property:country_of_origin ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q18636653,P495,c(Q15617994))
action filter_type
action find
entity Q18636653
relation P495
type Q15617994
About Went the [ANSWER] And
['Q18636653', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q18636653 property:P495 ?q . ?q rdf:type ontology:Q15617994 }
United States of America
About Went the United States of America And
United States of America
action filter_type
action find
entity We Went to College
relation country of origin
type designation for an administrative territorial entity
['We Went to College', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:We_Went_to_College property:country_of_origin ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P530
Q1048835 Q15617994
USER
How many political territories or administrative territories have diplomatic relationships with that administrative territory ?
(Q30,P530,c(Q1048835)) (Q30,P530,c(Q15617994)) (Q30,P530,c(Q1048835)) (Q30,P530,c(Q15617994))
action count
action union
action filter_type
action find
entity Q30
relation P530
type Q1048835
action filter_type
action find
entity Q30
relation P530
type Q15617994
['Q30', 'P530', {'concept': 'Q1048835'}] ['Q30', 'P530', {'concept': 'Q15617994'}] ['Q30', 'P530', {'concept': 'Q1048835'}] ['Q30', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { { resource:Q30 property:P530 ?x . ?x rdf:type ontology:Q1048835 } UNION { resource:Q30 property:P530 ?x . ?x rdf:type ontology:Q15617994 } }
action count
action union
action filter_type
action find
entity United States of America
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity United States of America
relation diplomatic relation
type designation for an administrative territorial entity
['United States of America', 'diplomatic relation', {'concept': 'political territorial entity'}] ['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['United States of America', 'diplomatic relation', {'concept': 'political territorial entity'}] ['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { { resource:United_States_of_America property:diplomatic_relation ?x . ?x rdf:type ontology:political_territorial_entity } UNION { resource:United_States_of_America property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
20
Q805 Q38 Q159 Q222 Q801 Q155 Q148 Q183 Q796 Q17 Q408 Q16 Q37 Q889 Q668 Q403 Q1011 Q347 Q414 Q953
(Q30,P530,c(Q1048835)) (Q30,P530,c(Q15617994)) (Q30,P530,c(Q1048835)) (Q30,P530,c(Q15617994))
action count
action union
action filter_type
action find
entity Q30
relation P530
type Q1048835
action filter_type
action find
entity Q30
relation P530
type Q15617994
[ANSWER]
['Q30', 'P530', {'concept': 'Q1048835'}] ['Q30', 'P530', {'concept': 'Q15617994'}] ['Q30', 'P530', {'concept': 'Q1048835'}] ['Q30', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { { resource:Q30 property:P530 ?x . ?x rdf:type ontology:Q1048835 } UNION { resource:Q30 property:P530 ?x . ?x rdf:type ontology:Q15617994 } }
Yemen Italy Russia Albania Israel Brazil People's Republic of China Germany Iraq Japan Australia Canada Lithuania Afghanistan India Serbia Cape Verde Liechtenstein Argentina Zambia
20
action count
action union
action filter_type
action find
entity United States of America
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity United States of America
relation diplomatic relation
type designation for an administrative territorial entity
['United States of America', 'diplomatic relation', {'concept': 'political territorial entity'}] ['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['United States of America', 'diplomatic relation', {'concept': 'political territorial entity'}] ['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { { resource:United_States_of_America property:diplomatic_relation ?x . ?x rdf:type ontology:political_territorial_entity } UNION { resource:United_States_of_America property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q30 Q1407143
P1001
Q192350
USER
How many ministries apply to jurisdiction over United States of America or Santa Amalia ?
(c(Q192350),P1001,Q30) (c(Q192350),P1001,Q1407143)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P1001
type Q192350
action filter_type
action find_reverse
entity Q1407143
relation P1001
type Q192350
[{'concept': 'Q192350'}, 'P1001', 'Q30'] [{'concept': 'Q192350'}, 'P1001', 'Q1407143']
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { { ?l property:P1001 resource:Q30 . ?l rdf:type ontology:Q192350 } UNION { ?l property:P1001 resource:Q1407143 . ?l rdf:type ontology:Q192350 } }
United States of America Santa Amalia
action count
action union
action filter_type
action find_reverse
entity United States of America
relation applies to jurisdiction
type ministry
action filter_type
action find_reverse
entity Santa Amalia
relation applies to jurisdiction
type ministry
[{'concept': 'ministry'}, 'applies to jurisdiction', 'United States of America'] [{'concept': 'ministry'}, 'applies to jurisdiction', 'Santa Amalia']
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { { ?l property:applies_to_jurisdiction resource:United_States_of_America . ?l rdf:type ontology:ministry } UNION { ?l property:applies_to_jurisdiction resource:Santa_Amalia . ?l rdf:type ontology:ministry } }
[]
ministry
SYSTEM
8
Q648666 Q811595 Q592576 Q1553390 Q942326 Q501542 Q861556 Q852211
(c(Q192350),P1001,Q30) (c(Q192350),P1001,Q1407143)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P1001
type Q192350
action filter_type
action find_reverse
entity Q1407143
relation P1001
type Q192350
[ANSWER]
[{'concept': 'Q192350'}, 'P1001', 'Q30'] [{'concept': 'Q192350'}, 'P1001', 'Q1407143']
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { { ?l property:P1001 resource:Q30 . ?l rdf:type ontology:Q192350 } UNION { ?l property:P1001 resource:Q1407143 . ?l rdf:type ontology:Q192350 } }
United States Department of the Treasury United States Department of Housing and Urban Development United States Department of Veterans Affairs United States Department of Justice United States Department of Health and Human Services United States Department of Agriculture United States Department of Education United States Department of Transportation
8
action count
action union
action filter_type
action find_reverse
entity United States of America
relation applies to jurisdiction
type ministry
action filter_type
action find_reverse
entity Santa Amalia
relation applies to jurisdiction
type ministry
[{'concept': 'ministry'}, 'applies to jurisdiction', 'United States of America'] [{'concept': 'ministry'}, 'applies to jurisdiction', 'Santa Amalia']
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { { ?l property:applies_to_jurisdiction resource:United_States_of_America . ?l rdf:type ontology:ministry } UNION { ?l property:applies_to_jurisdiction resource:Santa_Amalia . ?l rdf:type ontology:ministry } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q142 Q25579
P159
Q7210356
USER
How many political organizations have their HQ location at France or Umeå ?
(c(Q7210356),P159,Q142) (c(Q7210356),P159,Q25579)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P159
type Q7210356
action filter_type
action find_reverse
entity Q25579
relation P159
type Q7210356
[{'concept': 'Q7210356'}, 'P159', 'Q142'] [{'concept': 'Q7210356'}, 'P159', 'Q25579']
SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { { ?i property:P159 resource:Q25579 . ?i rdf:type ontology:Q7210356 } UNION { ?i property:P159 resource:Q142 . ?i rdf:type ontology:Q7210356 } }
France Umeå
action count
action union
action filter_type
action find_reverse
entity France
relation headquarters location
type political organization
action filter_type
action find_reverse
entity Umeå
relation headquarters location
type political organization
[{'concept': 'political organization'}, 'headquarters location', 'France'] [{'concept': 'political organization'}, 'headquarters location', 'Umeå']
SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { { ?i property:headquarters_location resource:Umeå . ?i rdf:type ontology:political_organization } UNION { ?i property:headquarters_location resource:France . ?i rdf:type ontology:political_organization } }
[]
political organization
SYSTEM
2
Q2595783 Q3373333
(c(Q7210356),P159,Q142) (c(Q7210356),P159,Q25579)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P159
type Q7210356
action filter_type
action find_reverse
entity Q25579
relation P159
type Q7210356
[ANSWER]
[{'concept': 'Q7210356'}, 'P159', 'Q142'] [{'concept': 'Q7210356'}, 'P159', 'Q25579']
SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { { ?i property:P159 resource:Q25579 . ?i rdf:type ontology:Q7210356 } UNION { ?i property:P159 resource:Q142 . ?i rdf:type ontology:Q7210356 } }
Revolutionary Antifascist Patriotic Front Workers' Party
2
action count
action union
action filter_type
action find_reverse
entity France
relation headquarters location
type political organization
action filter_type
action find_reverse
entity Umeå
relation headquarters location
type political organization
[{'concept': 'political organization'}, 'headquarters location', 'France'] [{'concept': 'political organization'}, 'headquarters location', 'Umeå']
SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { { ?i property:headquarters_location resource:Umeå . ?i rdf:type ontology:political_organization } UNION { ?i property:headquarters_location resource:France . ?i rdf:type ontology:political_organization } }
[]