Simple Question (Direct)
Simple Question
Q675777
P106
Q12737077
USER
What is the profession of Dean Računica ?
(Q675777,P106,c(Q12737077))
action filter_type
action find
entity Q675777
relation P106
type Q12737077
['Q675777', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q675777 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
Dean Računica
action filter_type
action find
entity Dean Računica
relation occupation
type occupation
['Dean Računica', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Dean_Računica property:occupation ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q675777,P106,c(Q12737077))
action filter_type
action find
entity Q675777
relation P106
type Q12737077
The profession of Dean Računica is an [ANSWER]
['Q675777', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q675777 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
association football player
The profession of Dean Računica is an association football player
association football player
action filter_type
action find
entity Dean Računica
relation occupation
type occupation
['Dean Računica', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Dean_Računica property:occupation ?s . ?s rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q675777
P54
Q1194951
USER
Which national sports team is Dean Računica a member of ?
(Q675777,P54,c(Q1194951))
action filter_type
action find
entity Q675777
relation P54
type Q1194951
['Q675777', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?z WHERE { resource:Q675777 property:P54 ?z . ?z rdf:type ontology:Q1194951 }
Dean Računica
action filter_type
action find
entity Dean Računica
relation member of sports team
type national sports team
['Dean Računica', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?z WHERE { resource:Dean_Računica property:member_of_sports_team ?z . ?z rdf:type ontology:national_sports_team }
[]
national sports team
Q134479
SYSTEM
Croatia national football team
Q134479
(Q675777,P54,c(Q1194951))
action filter_type
action find
entity Q675777
relation P54
type Q1194951
The [ANSWER] is Dean Računica a member of
['Q675777', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?z WHERE { resource:Q675777 property:P54 ?z . ?z rdf:type ontology:Q1194951 }
Croatia national football team
The Croatia national football team is Dean Računica a member of
Croatia national football team
action filter_type
action find
entity Dean Računica
relation member of sports team
type national sports team
['Dean Računica', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?z WHERE { resource:Dean_Računica property:member_of_sports_team ?z . ?z rdf:type ontology:national_sports_team }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q3618478 Q675777
P54
Q1194951
USER
Or Anthony Augustine?
OR((Q675777,P54,c(Q1194951)), (Q3618478,P54,c(Q1194951)))
action filter_type
action union
action find
entity Q675777
relation P54
action find
entity Q3618478
relation P54
type Q1194951
{'OR': [['Q675777', 'P54', {'concept': 'Q1194951'}], ['Q3618478', 'P54', {'concept': 'Q1194951'}]]}
SELECT DISTINCT ?o WHERE { { ?u property:P54 ?o . VALUES ( ?u ) { ( resource:Q675777 ) ( resource:Q3618478 ) } } . ?o rdf:type ontology:Q1194951 }
Anthony Augustine Dean Računica
action filter_type
action union
action find
entity Dean Računica
relation member of sports team
action find
entity Anthony Augustine
relation member of sports team
type national sports team
{'OR': [['Dean Računica', 'member of sports team', {'concept': 'national sports team'}], ['Anthony Augustine', 'member of sports team', {'concept': 'national sports team'}]]}
SELECT DISTINCT ?o WHERE { { ?u property:member_of_sports_team ?o . VALUES ( ?u ) { ( resource:Dean_Računica ) ( resource:Anthony_Augustine ) } } . ?o rdf:type ontology:national_sports_team }
[]
national sports team
Q270666 Q134479
SYSTEM
Grenada national football team, Croatia national football team
Q270666 Q134479
OR((Q675777,P54,c(Q1194951)), (Q3618478,P54,c(Q1194951)))
action filter_type
action union
action find
entity Q675777
relation P54
action find
entity Q3618478
relation P54
type Q1194951
[ANSWERS]
{'OR': [['Q675777', 'P54', {'concept': 'Q1194951'}], ['Q3618478', 'P54', {'concept': 'Q1194951'}]]}
SELECT DISTINCT ?o WHERE { { ?u property:P54 ?o . VALUES ( ?u ) { ( resource:Q675777 ) ( resource:Q3618478 ) } } . ?o rdf:type ontology:Q1194951 }
Grenada national football team Croatia national football team
Grenada national football team Croatia national football team
action filter_type
action union
action find
entity Dean Računica
relation member of sports team
action find
entity Anthony Augustine
relation member of sports team
type national sports team
{'OR': [['Dean Računica', 'member of sports team', {'concept': 'national sports team'}], ['Anthony Augustine', 'member of sports team', {'concept': 'national sports team'}]]}
SELECT DISTINCT ?o WHERE { { ?u property:member_of_sports_team ?o . VALUES ( ?u ) { ( resource:Dean_Računica ) ( resource:Anthony_Augustine ) } } . ?o rdf:type ontology:national_sports_team }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q38 Q134479
P530 P1532
Q15617994
USER
Which administrative territories are played by Croatia national football team and have a diplomatic relationship with Italy ?
AND((Q134479,P1532,c(Q15617994)), (Q38,P530,c(Q15617994)))
action filter_type
action intersection
action find
entity Q134479
relation P1532
action find
entity Q38
relation P530
type Q15617994
{'AND': [['Q134479', 'P1532', {'concept': 'Q15617994'}], ['Q38', 'P530', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { resource:Q134479 property:P1532 ?e . resource:Q38 property:P530 ?e . ?e rdf:type ontology:Q15617994 }
Italy Croatia national football team
action filter_type
action intersection
action find
entity Croatia national football team
relation country for sport
action find
entity Italy
relation diplomatic relation
type designation for an administrative territorial entity
{'AND': [['Croatia national football team', 'country for sport', {'concept': 'designation for an administrative territorial entity'}], ['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { resource:Croatia_national_football_team property:country_for_sport ?e . resource:Italy property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q224
SYSTEM
Croatia
Q224
AND((Q134479,P1532,c(Q15617994)), (Q38,P530,c(Q15617994)))
action filter_type
action intersection
action find
entity Q134479
relation P1532
action find
entity Q38
relation P530
type Q15617994
And [ANSWER] is played by [ANSWER] national football team and have a diplomatic relationship with Italy
{'AND': [['Q134479', 'P1532', {'concept': 'Q15617994'}], ['Q38', 'P530', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { resource:Q134479 property:P1532 ?e . resource:Q38 property:P530 ?e . ?e rdf:type ontology:Q15617994 }
Croatia
And Croatia is played by Croatia national football team and have a diplomatic relationship with Italy
Croatia
action filter_type
action intersection
action find
entity Croatia national football team
relation country for sport
action find
entity Italy
relation diplomatic relation
type designation for an administrative territorial entity
{'AND': [['Croatia national football team', 'country for sport', {'concept': 'designation for an administrative territorial entity'}], ['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { resource:Croatia_national_football_team property:country_for_sport ?e . resource:Italy property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q38
P530
Q515 Q1048835
USER
How many cities or political territories have diplomatic relationships with Italy ?
(Q38,P530,c(Q515)) (Q38,P530,c(Q1048835))
action count
action union
action filter_type
action find
entity Q38
relation P530
type Q515
action filter_type
action find
entity Q38
relation P530
type Q1048835
['Q38', 'P530', {'concept': 'Q515'}] ['Q38', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { { resource:Q38 property:P530 ?i . ?i rdf:type ontology:Q1048835 } UNION { resource:Q38 property:P530 ?i . ?i rdf:type ontology:Q515 } }
Italy
action count
action union
action filter_type
action find
entity Italy
relation diplomatic relation
type city
action filter_type
action find
entity Italy
relation diplomatic relation
type political territorial entity
['Italy', 'diplomatic relation', {'concept': 'city'}] ['Italy', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { { resource:Italy property:diplomatic_relation ?i . ?i rdf:type ontology:political_territorial_entity } UNION { resource:Italy property:diplomatic_relation ?i . ?i rdf:type ontology:city } }
[]
city political territorial entity
SYSTEM
7
Q235 Q40 Q183 Q408 Q16 Q35 Q664
(Q38,P530,c(Q515)) (Q38,P530,c(Q1048835))
action count
action union
action filter_type
action find
entity Q38
relation P530
type Q515
action filter_type
action find
entity Q38
relation P530
type Q1048835
[ANSWER]
['Q38', 'P530', {'concept': 'Q515'}] ['Q38', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { { resource:Q38 property:P530 ?i . ?i rdf:type ontology:Q1048835 } UNION { resource:Q38 property:P530 ?i . ?i rdf:type ontology:Q515 } }
Monaco Austria Germany Australia Canada Denmark New Zealand
7
action count
action union
action filter_type
action find
entity Italy
relation diplomatic relation
type city
action filter_type
action find
entity Italy
relation diplomatic relation
type political territorial entity
['Italy', 'diplomatic relation', {'concept': 'city'}] ['Italy', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { { resource:Italy property:diplomatic_relation ?i . ?i rdf:type ontology:political_territorial_entity } UNION { resource:Italy property:diplomatic_relation ?i . ?i rdf:type ontology:city } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q134479
P710
Q500834
USER
Which tournament has Croatia national football team as its participant ?
(c(Q500834),P710,Q134479)
action filter_type
action find_reverse
entity Q134479
relation P710
type Q500834
[{'concept': 'Q500834'}, 'P710', 'Q134479']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q500834 . ?j property:P710 resource:Q134479 }
Croatia national football team
action filter_type
action find_reverse
entity Croatia national football team
relation participant
type tournament
[{'concept': 'tournament'}, 'participant', 'Croatia national football team']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:tournament . ?j property:participant resource:Croatia_national_football_team }
[]
tournament
Q10260330
SYSTEM
2014 FIFA World Cup Group A
Q10260330
(c(Q500834),P710,Q134479)
action filter_type
action find_reverse
entity Q134479
relation P710
type Q500834
The [ANSWER] has Croatia national football team as its participant
[{'concept': 'Q500834'}, 'P710', 'Q134479']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q500834 . ?j property:P710 resource:Q134479 }
2014 FIFA World Cup Group A
The 2014 FIFA World Cup Group A has Croatia national football team as its participant
2014 FIFA World Cup Group A
action filter_type
action find_reverse
entity Croatia national football team
relation participant
type tournament
[{'concept': 'tournament'}, 'participant', 'Croatia national football team']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:tournament . ?j property:participant resource:Croatia_national_football_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q134479
P1923
Q15275719
USER
Which recurring events did that national sports team compete in ?
(c(Q15275719),P1923,Q10260330)
action filter_type
action find_reverse
entity Q134479
relation P1923
type Q15275719
[{'concept': 'Q15275719'}, 'P1923', 'Q10260330']
SELECT DISTINCT ?d WHERE { ?d property:P1923 resource:Q134479 . ?d rdf:type ontology:Q15275719 }
Croatia national football team
action filter_type
action find_reverse
entity Croatia national football team
relation participating teams
type recurring event
[{'concept': 'recurring event'}, 'participating teams', '2014 FIFA World Cup Group A']
SELECT DISTINCT ?d WHERE { ?d property:participating_teams resource:Croatia_national_football_team . ?d rdf:type ontology:recurring_event }
[]
recurring event
Q47735 Q79859 Q37285
SYSTEM
2002 FIFA World Cup, 2014 FIFA World Cup, 2006 FIFA World Cup
Q37285 Q47735 Q101730 Q79859
(c(Q15275719),P1923,Q10260330)
action filter_type
action find_reverse
entity Q134479
relation P1923
type Q15275719
That national sports team competed in [ANSWERS]
[{'concept': 'Q15275719'}, 'P1923', 'Q10260330']
SELECT DISTINCT ?d WHERE { ?d property:P1923 resource:Q134479 . ?d rdf:type ontology:Q15275719 }
2006 FIFA World Cup 2002 FIFA World Cup 1998 FIFA World Cup 2014 FIFA World Cup
That national sports team competed in 2002 FIFA World Cup, 2014 FIFA World Cup and 2006 FIFA World Cup
2002 FIFA World Cup 2014 FIFA World Cup 2006 FIFA World Cup
action filter_type
action find_reverse
entity Croatia national football team
relation participating teams
type recurring event
[{'concept': 'recurring event'}, 'participating teams', '2014 FIFA World Cup Group A']
SELECT DISTINCT ?d WHERE { ?d property:participating_teams resource:Croatia_national_football_team . ?d rdf:type ontology:recurring_event }
[]