Simple Question (Direct)
Simple Question
Q6757615
P641
Q349
USER
What was the sport that Marco Martina Rini was a part of ?
(Q6757615,P641,c(Q349))
action filter_type
action find
entity Q6757615
relation P641
type Q349
['Q6757615', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { resource:Q6757615 property:P641 ?z . ?z rdf:type ontology:Q349 }
Marco Martina Rini
action filter_type
action find
entity Marco Martina Rini
relation sport
type sport
['Marco Martina Rini', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { resource:Marco_Martina_Rini property:sport ?z . ?z rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q6757615,P641,c(Q349))
action filter_type
action find
entity Q6757615
relation P641
type Q349
The sport that Marco Martina Rini was a part of was the [ANSWER]
['Q6757615', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { resource:Q6757615 property:P641 ?z . ?z rdf:type ontology:Q349 }
association football
The sport that Marco Martina Rini was a part of was the association football
association football
action filter_type
action find
entity Marco Martina Rini
relation sport
type sport
['Marco Martina Rini', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { resource:Marco_Martina_Rini property:sport ?z . ?z rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6757615
P27
Q15617994
USER
Which administrative territory does that person belong to ?
(Q2736,P27,c(Q15617994))
action filter_type
action find
entity Q6757615
relation P27
type Q15617994
['Q2736', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . resource:Q6757615 property:P27 ?o }
Marco Martina Rini
action filter_type
action find
entity Marco Martina Rini
relation country of citizenship
type designation for an administrative territorial entity
['association football', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Marco_Martina_Rini property:country_of_citizenship ?o }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q2736,P27,c(Q15617994))
action filter_type
action find
entity Q6757615
relation P27
type Q15617994
That person belongs to the [ANSWER]
['Q2736', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . resource:Q6757615 property:P27 ?o }
Italy
That person belongs to the Italy
Italy
action filter_type
action find
entity Marco Martina Rini
relation country of citizenship
type designation for an administrative territorial entity
['association football', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Marco_Martina_Rini property:country_of_citizenship ?o }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q38 Q94493 Q667300
P530
Q15617994
USER
Does that administrative territory have tactful political relations with Anzola dell'Emilia and Ostenfeld ?
(Q38,P530,Q94493) (Q38,P530,Q667300)
action is_in
entity Q38
action intersection
action find_reverse
entity Q94493
relation P530
action find_reverse
entity Q667300
relation P530
['Q38', 'P530', 'Q94493'] ['Q38', 'P530', 'Q667300']
ASK WHERE { resource:Q38 property:P530 resource:Q667300 . resource:Q38 property:P530 resource:Q94493 }
Italy Anzola dell'Emilia Ostenfeld
action is_in
entity Italy
action intersection
action find_reverse
entity Anzola dell'Emilia
relation diplomatic relation
action find_reverse
entity Ostenfeld
relation diplomatic relation
['Italy', 'diplomatic relation', "Anzola dell'Emilia"] ['Italy', 'diplomatic relation', 'Ostenfeld']
ASK WHERE { resource:Italy property:diplomatic_relation resource:Ostenfeld . resource:Italy property:diplomatic_relation resource:Anzola_dell'Emilia }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q38,P530,Q94493) (Q38,P530,Q667300)
action is_in
entity Q38
action intersection
action find_reverse
entity Q94493
relation P530
action find_reverse
entity Q667300
relation P530
[ANSWER]
['Q38', 'P530', 'Q94493'] ['Q38', 'P530', 'Q667300']
ASK WHERE { resource:Q38 property:P530 resource:Q667300 . resource:Q38 property:P530 resource:Q94493 }
No
action is_in
entity Italy
action intersection
action find_reverse
entity Anzola dell'Emilia
relation diplomatic relation
action find_reverse
entity Ostenfeld
relation diplomatic relation
['Italy', 'diplomatic relation', "Anzola dell'Emilia"] ['Italy', 'diplomatic relation', 'Ostenfeld']
ASK WHERE { resource:Italy property:diplomatic_relation resource:Ostenfeld . resource:Italy property:diplomatic_relation resource:Anzola_dell'Emilia }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q6757615 Q6221
P19
Q56061
USER
Was Marco Martina Rini born at Brescia ?
(Q6757615,P19,Q6221)
action is_in
entity Q6221
action find
entity Q6757615
relation P19
['Q6757615', 'P19', 'Q6221']
ASK WHERE { resource:Q6757615 property:P19 resource:Q6221 }
Marco Martina Rini Brescia
action is_in
entity Brescia
action find
entity Marco Martina Rini
relation place of birth
['Marco Martina Rini', 'place of birth', 'Brescia']
ASK WHERE { resource:Marco_Martina_Rini property:place_of_birth resource:Brescia }
[]
administrative territorial entity
SYSTEM
YES
(Q6757615,P19,Q6221)
action is_in
entity Q6221
action find
entity Q6757615
relation P19
[ANSWER]
['Q6757615', 'P19', 'Q6221']
ASK WHERE { resource:Q6757615 property:P19 resource:Q6221 }
Yes
action is_in
entity Brescia
action find
entity Marco Martina Rini
relation place of birth
['Marco Martina Rini', 'place of birth', 'Brescia']
ASK WHERE { resource:Marco_Martina_Rini property:place_of_birth resource:Brescia }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6757615
P106
Q12737077
USER
Which occupation has that person as his/her 's career ?
action filter_type
action find
entity Q6757615
relation P106
type Q12737077
SELECT DISTINCT ?t WHERE { resource:Q6757615 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
Marco Martina Rini
action filter_type
action find
entity Marco Martina Rini
relation occupation
type occupation
SELECT DISTINCT ?t WHERE { resource:Marco_Martina_Rini property:occupation ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
action filter_type
action find
entity Q6757615
relation P106
type Q12737077
Player [ANSWER] has that person as his/her 's career
SELECT DISTINCT ?t WHERE { resource:Q6757615 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
association football player
Player association football player has that person as his/her 's career
association football player
action filter_type
action find
entity Marco Martina Rini
relation occupation
type occupation
SELECT DISTINCT ?t WHERE { resource:Marco_Martina_Rini property:occupation ?t . ?t rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6757615
P21
Q290
USER
What is the sex of that person ?
(Q937857,P21,c(Q290))
action filter_type
action find
entity Q6757615
relation P21
type Q290
['Q937857', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q6757615 property:P21 ?p . ?p rdf:type ontology:Q290 }
Marco Martina Rini
action filter_type
action find
entity Marco Martina Rini
relation gender
type sex
['association football player', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Marco_Martina_Rini property:gender ?p . ?p rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q937857,P21,c(Q290))
action filter_type
action find
entity Q6757615
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q937857', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q6757615 property:P21 ?p . ?p rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Marco Martina Rini
relation gender
type sex
['association football player', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Marco_Martina_Rini property:gender ?p . ?p rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q38
P47
Q1048835 Q20667921
USER
How many political territories or french administrative divisions are bordered by Italy ?
(c(Q1048835),P47,Q38) (c(Q20667921),P47,Q38)
action count
action union
action filter_type
action find_reverse
entity Q38
relation P47
type Q1048835
action filter_type
action find_reverse
entity Q38
relation P47
type Q20667921
[{'concept': 'Q1048835'}, 'P47', 'Q38'] [{'concept': 'Q20667921'}, 'P47', 'Q38']
SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { { ?m property:P47 resource:Q38 . ?m rdf:type ontology:Q1048835 } UNION { ?m rdf:type ontology:Q20667921 . ?m property:P47 resource:Q38 } }
Italy
action count
action union
action filter_type
action find_reverse
entity Italy
relation shares border with
type political territorial entity
action filter_type
action find_reverse
entity Italy
relation shares border with
type type of french administrative division
[{'concept': 'political territorial entity'}, 'shares border with', 'Italy'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Italy']
SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { { ?m property:shares_border_with resource:Italy . ?m rdf:type ontology:political_territorial_entity } UNION { ?m rdf:type ontology:type_of_french_administrative_division . ?m property:shares_border_with resource:Italy } }
[]
political territorial entity type of french administrative division
SYSTEM
2
Q18338206 Q40
(c(Q1048835),P47,Q38) (c(Q20667921),P47,Q38)
action count
action union
action filter_type
action find_reverse
entity Q38
relation P47
type Q1048835
action filter_type
action find_reverse
entity Q38
relation P47
type Q20667921
[ANSWER]
[{'concept': 'Q1048835'}, 'P47', 'Q38'] [{'concept': 'Q20667921'}, 'P47', 'Q38']
SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { { ?m property:P47 resource:Q38 . ?m rdf:type ontology:Q1048835 } UNION { ?m rdf:type ontology:Q20667921 . ?m property:P47 resource:Q38 } }
Auvergne-Rhône-Alpes Austria
2
action count
action union
action filter_type
action find_reverse
entity Italy
relation shares border with
type political territorial entity
action filter_type
action find_reverse
entity Italy
relation shares border with
type type of french administrative division
[{'concept': 'political territorial entity'}, 'shares border with', 'Italy'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Italy']
SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { { ?m property:shares_border_with resource:Italy . ?m rdf:type ontology:political_territorial_entity } UNION { ?m rdf:type ontology:type_of_french_administrative_division . ?m property:shares_border_with resource:Italy } }
[]