Simple Question (Direct)
Simple Question
Q1793842
P54
Q1194951
USER
Which national sports team is Tommaso Maestrelli a member of ?
(Q1793842,P54,c(Q1194951))
action filter_type
action find
entity Q1793842
relation P54
type Q1194951
['Q1793842', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?u WHERE { resource:Q1793842 property:P54 ?u . ?u rdf:type ontology:Q1194951 }
Tommaso Maestrelli
action filter_type
action find
entity Tommaso Maestrelli
relation member of sports team
type national sports team
['Tommaso Maestrelli', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?u WHERE { resource:Tommaso_Maestrelli property:member_of_sports_team ?u . ?u rdf:type ontology:national_sports_team }
[]
national sports team
Q676899
SYSTEM
Italy national football team
Q676899
(Q1793842,P54,c(Q1194951))
action filter_type
action find
entity Q1793842
relation P54
type Q1194951
[ANSWER] is Tommaso Maestrelli a member of
['Q1793842', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?u WHERE { resource:Q1793842 property:P54 ?u . ?u rdf:type ontology:Q1194951 }
Italy national football team
Italy national football team is Tommaso Maestrelli a member of
Italy national football team
action filter_type
action find
entity Tommaso Maestrelli
relation member of sports team
type national sports team
['Tommaso Maestrelli', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?u WHERE { resource:Tommaso_Maestrelli property:member_of_sports_team ?u . ?u rdf:type ontology:national_sports_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1793842
P20
Q56061
USER
Where did Tommaso Maestrelli die ?
(Q1793842,P20,c(Q56061))
action filter_type
action find
entity Q1793842
relation P20
type Q56061
['Q1793842', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q1793842 property:P20 ?c . ?c rdf:type ontology:Q56061 }
Tommaso Maestrelli
action filter_type
action find
entity Tommaso Maestrelli
relation place of death
type administrative territorial entity
['Tommaso Maestrelli', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Tommaso_Maestrelli property:place_of_death ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q220
SYSTEM
Rome
Q220
(Q1793842,P20,c(Q56061))
action filter_type
action find
entity Q1793842
relation P20
type Q56061
Tommaso Maestrelli died in [ANSWER]
['Q1793842', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q1793842 property:P20 ?c . ?c rdf:type ontology:Q56061 }
Rome
Tommaso Maestrelli died in Rome
Rome
action filter_type
action find
entity Tommaso Maestrelli
relation place of death
type administrative territorial entity
['Tommaso Maestrelli', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Tommaso_Maestrelli property:place_of_death ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1793842
P119
Q43229
USER
Which organization is the tomb of that person ?
(Q220,P119,c(Q43229))
action filter_type
action find
entity Q1793842
relation P119
type Q43229
['Q220', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?x WHERE { resource:Q1793842 property:P119 ?x . ?x rdf:type ontology:Q43229 }
Tommaso Maestrelli
action filter_type
action find
entity Tommaso Maestrelli
relation place of burial
type organization
['Rome', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?x WHERE { resource:Tommaso_Maestrelli property:place_of_burial ?x . ?x rdf:type ontology:organization }
[]
organization
Q3676869
SYSTEM
Cimitero Flaminio
Q3676869
(Q220,P119,c(Q43229))
action filter_type
action find
entity Q1793842
relation P119
type Q43229
[ANSWER] is the tomb of that person
['Q220', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?x WHERE { resource:Q1793842 property:P119 ?x . ?x rdf:type ontology:Q43229 }
Cimitero Flaminio
Cimitero Flaminio is the tomb of that person
Cimitero Flaminio
action filter_type
action find
entity Tommaso Maestrelli
relation place of burial
type organization
['Rome', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?x WHERE { resource:Tommaso_Maestrelli property:place_of_burial ?x . ?x rdf:type ontology:organization }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q5331132 Q1793842
P119
Q43229
USER
Or Easy Goer?
OR((Q1793842,P119,c(Q43229)), (Q5331132,P119,c(Q43229)))
action filter_type
action union
action find
entity Q1793842
relation P119
action find
entity Q5331132
relation P119
type Q43229
{'OR': [['Q1793842', 'P119', {'concept': 'Q43229'}], ['Q5331132', 'P119', {'concept': 'Q43229'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q43229 . { { resource:Q1793842 property:P119 ?j } UNION { resource:Q5331132 property:P119 ?j } } }
Easy Goer Tommaso Maestrelli
action filter_type
action union
action find
entity Tommaso Maestrelli
relation place of burial
action find
entity Easy Goer
relation place of burial
type organization
{'OR': [['Tommaso Maestrelli', 'place of burial', {'concept': 'organization'}], ['Easy Goer', 'place of burial', {'concept': 'organization'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:organization . { { resource:Tommaso_Maestrelli property:place_of_burial ?j } UNION { resource:Easy_Goer property:place_of_burial ?j } } }
[]
organization
Q22006423 Q3676869
SYSTEM
Marchmont Farm Equine Cemetery, Cimitero Flaminio
Q22006423 Q3676869
OR((Q1793842,P119,c(Q43229)), (Q5331132,P119,c(Q43229)))
action filter_type
action union
action find
entity Q1793842
relation P119
action find
entity Q5331132
relation P119
type Q43229
[ANSWERS]
{'OR': [['Q1793842', 'P119', {'concept': 'Q43229'}], ['Q5331132', 'P119', {'concept': 'Q43229'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q43229 . { { resource:Q1793842 property:P119 ?j } UNION { resource:Q5331132 property:P119 ?j } } }
Marchmont Farm Equine Cemetery Cimitero Flaminio
Marchmont Farm Equine Cemetery Cimitero Flaminio
action filter_type
action union
action find
entity Tommaso Maestrelli
relation place of burial
action find
entity Easy Goer
relation place of burial
type organization
{'OR': [['Tommaso Maestrelli', 'place of burial', {'concept': 'organization'}], ['Easy Goer', 'place of burial', {'concept': 'organization'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:organization . { { resource:Tommaso_Maestrelli property:place_of_burial ?j } UNION { resource:Easy_Goer property:place_of_burial ?j } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q676899 Q134479
P1923
Q15275719
USER
How many recurring events did Italy national football team and Croatia national football team take part in ?
(c(Q15275719),P1923,Q676899) (c(Q15275719),P1923,Q134479)
action count
action intersection
action filter_type
action find_reverse
entity Q676899
relation P1923
type Q15275719
action filter_type
action find_reverse
entity Q134479
relation P1923
type Q15275719
[{'concept': 'Q15275719'}, 'P1923', 'Q676899'] [{'concept': 'Q15275719'}, 'P1923', 'Q134479']
SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { ?k property:P1923 resource:Q676899 . ?k rdf:type ontology:Q15275719 . ?k rdf:type ontology:Q15275719 . ?k property:P1923 resource:Q134479 }
Italy national football team Croatia national football team
action count
action intersection
action filter_type
action find_reverse
entity Italy national football team
relation participating teams
type recurring event
action filter_type
action find_reverse
entity Croatia national football team
relation participating teams
type recurring event
[{'concept': 'recurring event'}, 'participating teams', 'Italy national football team'] [{'concept': 'recurring event'}, 'participating teams', 'Croatia national football team']
SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { ?k property:participating_teams resource:Italy_national_football_team . ?k rdf:type ontology:recurring_event . ?k rdf:type ontology:recurring_event . ?k property:participating_teams resource:Croatia_national_football_team }
[]
recurring event
SYSTEM
4
Q37285 Q47735 Q101730 Q79859
(c(Q15275719),P1923,Q676899) (c(Q15275719),P1923,Q134479)
action count
action intersection
action filter_type
action find_reverse
entity Q676899
relation P1923
type Q15275719
action filter_type
action find_reverse
entity Q134479
relation P1923
type Q15275719
[ANSWER]
[{'concept': 'Q15275719'}, 'P1923', 'Q676899'] [{'concept': 'Q15275719'}, 'P1923', 'Q134479']
SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { ?k property:P1923 resource:Q676899 . ?k rdf:type ontology:Q15275719 . ?k rdf:type ontology:Q15275719 . ?k property:P1923 resource:Q134479 }
2006 FIFA World Cup 2002 FIFA World Cup 1998 FIFA World Cup 2014 FIFA World Cup
4
action count
action intersection
action filter_type
action find_reverse
entity Italy national football team
relation participating teams
type recurring event
action filter_type
action find_reverse
entity Croatia national football team
relation participating teams
type recurring event
[{'concept': 'recurring event'}, 'participating teams', 'Italy national football team'] [{'concept': 'recurring event'}, 'participating teams', 'Croatia national football team']
SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { ?k property:participating_teams resource:Italy_national_football_team . ?k rdf:type ontology:recurring_event . ?k rdf:type ontology:recurring_event . ?k property:participating_teams resource:Croatia_national_football_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q22006423
P361
Q43229
USER
Which organization is Marchmont Farm Equine Cemetery a part of ?
(Q22006423,P361,c(Q43229))
action filter_type
action find
entity Q22006423
relation P361
type Q43229
['Q22006423', 'P361', {'concept': 'Q43229'}]
SELECT DISTINCT ?n WHERE { resource:Q22006423 property:P361 ?n . ?n rdf:type ontology:Q43229 }
Marchmont Farm Equine Cemetery
action filter_type
action find
entity Marchmont Farm Equine Cemetery
relation part of
type organization
['Marchmont Farm Equine Cemetery', 'part of', {'concept': 'organization'}]
SELECT DISTINCT ?n WHERE { resource:Marchmont_Farm_Equine_Cemetery property:part_of ?n . ?n rdf:type ontology:organization }
[]
organization
Q5125063
SYSTEM
Claiborne Farm
Q5125063
(Q22006423,P361,c(Q43229))
action filter_type
action find
entity Q22006423
relation P361
type Q43229
Cemetery [ANSWER] is Marchmont Farm Equine Cemetery a part of
['Q22006423', 'P361', {'concept': 'Q43229'}]
SELECT DISTINCT ?n WHERE { resource:Q22006423 property:P361 ?n . ?n rdf:type ontology:Q43229 }
Claiborne Farm
Cemetery Claiborne Farm is Marchmont Farm Equine Cemetery a part of
Claiborne Farm
action filter_type
action find
entity Marchmont Farm Equine Cemetery
relation part of
type organization
['Marchmont Farm Equine Cemetery', 'part of', {'concept': 'organization'}]
SELECT DISTINCT ?n WHERE { resource:Marchmont_Farm_Equine_Cemetery property:part_of ?n . ?n rdf:type ontology:organization }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3043100
Q43229
USER
And also tell me about Democratic Defense?
(Q3043100,P361,c(Q43229))
action filter_type
action find
entity Q3043100
relation P361
type Q43229
['Q3043100', 'P361', {'concept': 'Q43229'}]
SELECT DISTINCT ?q WHERE { resource:Q3043100 property:P361 ?q . ?q rdf:type ontology:Q43229 }
Democratic Defense
action filter_type
action find
entity Democratic Defense
relation part of
type organization
['Democratic Defense', 'part of', {'concept': 'organization'}]
SELECT DISTINCT ?q WHERE { resource:Democratic_Defense property:part_of ?q . ?q rdf:type ontology:organization }
[]
organization
Q16331106
SYSTEM
Greek antidictatorship struggle
Q16331106
(Q3043100,P361,c(Q43229))
action filter_type
action find
entity Q3043100
relation P361
type Q43229
[ANSWER]
['Q3043100', 'P361', {'concept': 'Q43229'}]
SELECT DISTINCT ?q WHERE { resource:Q3043100 property:P361 ?q . ?q rdf:type ontology:Q43229 }
Greek antidictatorship struggle
Greek antidictatorship struggle
action filter_type
action find
entity Democratic Defense
relation part of
type organization
['Democratic Defense', 'part of', {'concept': 'organization'}]
SELECT DISTINCT ?q WHERE { resource:Democratic_Defense property:part_of ?q . ?q rdf:type ontology:organization }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q16331106 Q21600285
P361
Q7210356
USER
Is Australian Muslim Party a portion of that organization ?
(Q21600285,P361,Q16331106)
action is_in
entity Q21600285
action find
entity Q16331106
relation P361
['Q21600285', 'P361', 'Q16331106']
ASK WHERE { resource:Q16331106 property:P361 resource:Q21600285 }
Greek antidictatorship struggle Australian Muslim Party
action is_in
entity Australian Muslim Party
action find
entity Greek antidictatorship struggle
relation part of
['Australian Muslim Party', 'part of', 'Greek antidictatorship struggle']
ASK WHERE { resource:Greek_antidictatorship_struggle property:part_of resource:Australian_Muslim_Party }
[]
political organization
SYSTEM
NO
(Q21600285,P361,Q16331106)
action is_in
entity Q21600285
action find
entity Q16331106
relation P361
[ANSWER]
['Q21600285', 'P361', 'Q16331106']
ASK WHERE { resource:Q16331106 property:P361 resource:Q21600285 }
No
action is_in
entity Australian Muslim Party
action find
entity Greek antidictatorship struggle
relation part of
['Australian Muslim Party', 'part of', 'Greek antidictatorship struggle']
ASK WHERE { resource:Greek_antidictatorship_struggle property:part_of resource:Australian_Muslim_Party }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q220 Q145093
P20
Q502895
USER
How many people have Rome and Apostolic Palace as the area of death ?
(c(Q502895),P20,Q220) (c(Q502895),P20,Q145093)
action count
action intersection
action filter_type
action find_reverse
entity Q220
relation P20
type Q502895
action filter_type
action find_reverse
entity Q145093
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q220'] [{'concept': 'Q502895'}, 'P20', 'Q145093']
SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { ?j property:P20 resource:Q220 . ?j rdf:type ontology:Q502895 . ?j rdf:type ontology:Q502895 . ?j property:P20 resource:Q145093 }
Rome Apostolic Palace
action count
action intersection
action filter_type
action find_reverse
entity Rome
relation place of death
type common name
action filter_type
action find_reverse
entity Apostolic Palace
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Rome'] [{'concept': 'common name'}, 'place of death', 'Apostolic Palace']
SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { ?j property:place_of_death resource:Rome . ?j rdf:type ontology:common_name . ?j rdf:type ontology:common_name . ?j property:place_of_death resource:Apostolic_Palace }
[]
common name
SYSTEM
2
Q43720 Q43922
(c(Q502895),P20,Q220) (c(Q502895),P20,Q145093)
action count
action intersection
action filter_type
action find_reverse
entity Q220
relation P20
type Q502895
action filter_type
action find_reverse
entity Q145093
relation P20
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P20', 'Q220'] [{'concept': 'Q502895'}, 'P20', 'Q145093']
SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { ?j property:P20 resource:Q220 . ?j rdf:type ontology:Q502895 . ?j rdf:type ontology:Q502895 . ?j property:P20 resource:Q145093 }
Pius IX Leo XIII
2
action count
action intersection
action filter_type
action find_reverse
entity Rome
relation place of death
type common name
action filter_type
action find_reverse
entity Apostolic Palace
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Rome'] [{'concept': 'common name'}, 'place of death', 'Apostolic Palace']
SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { ?j property:place_of_death resource:Rome . ?j rdf:type ontology:common_name . ?j rdf:type ontology:common_name . ?j property:place_of_death resource:Apostolic_Palace }
[]