Simple Question (Direct)
Simple Question
Q14367064
P54
Q12973014
USER
What is Hiago de Oliveira Ramiro a member of ?
(Q14367064,P54,c(Q12973014))
action filter_type
action find
entity Q14367064
relation P54
type Q12973014
['Q14367064', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?u WHERE { resource:Q14367064 property:P54 ?u . ?u rdf:type ontology:Q12973014 }
Hiago de Oliveira Ramiro
action filter_type
action find
entity Hiago de Oliveira Ramiro
relation member of sports team
type sports team
['Hiago de Oliveira Ramiro', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?u WHERE { resource:Hiago_de_Oliveira_Ramiro property:member_of_sports_team ?u . ?u rdf:type ontology:sports_team }
[]
sports team
Q2714208
SYSTEM
Canoas Sport Club
Q2714208
(Q14367064,P54,c(Q12973014))
action filter_type
action find
entity Q14367064
relation P54
type Q12973014
Hiago de Oliveira Ramiro a member of is [ANSWER]
['Q14367064', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?u WHERE { resource:Q14367064 property:P54 ?u . ?u rdf:type ontology:Q12973014 }
Canoas Sport Club
Hiago de Oliveira Ramiro a member of is Canoas Sport Club
Canoas Sport Club
action filter_type
action find
entity Hiago de Oliveira Ramiro
relation member of sports team
type sports team
['Hiago de Oliveira Ramiro', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?u WHERE { resource:Hiago_de_Oliveira_Ramiro property:member_of_sports_team ?u . ?u rdf:type ontology:sports_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q14367064
P27
Q15617994
USER
Which administrative territory is Hiago de Oliveira Ramiro an inhabitant of ?
(Q14367064,P27,c(Q15617994))
action filter_type
action find
entity Q14367064
relation P27
type Q15617994
['Q14367064', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q14367064 property:P27 ?r . ?r rdf:type ontology:Q15617994 }
Hiago de Oliveira Ramiro
action filter_type
action find
entity Hiago de Oliveira Ramiro
relation country of citizenship
type designation for an administrative territorial entity
['Hiago de Oliveira Ramiro', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Hiago_de_Oliveira_Ramiro property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155
SYSTEM
Brazil
Q155
(Q14367064,P27,c(Q15617994))
action filter_type
action find
entity Q14367064
relation P27
type Q15617994
[ANSWER] is Hiago de Oliveira Ramiro an inhabitant of
['Q14367064', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q14367064 property:P27 ?r . ?r rdf:type ontology:Q15617994 }
Brazil
Brazil is Hiago de Oliveira Ramiro an inhabitant of
Brazil
action filter_type
action find
entity Hiago de Oliveira Ramiro
relation country of citizenship
type designation for an administrative territorial entity
['Hiago de Oliveira Ramiro', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Hiago_de_Oliveira_Ramiro property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q14367064
P641
Q349
USER
Which sport was that person a part of ?
(Q155,P641,c(Q349))
action filter_type
action find
entity Q14367064
relation P641
type Q349
['Q155', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?a WHERE { resource:Q14367064 property:P641 ?a . ?a rdf:type ontology:Q349 }
Hiago de Oliveira Ramiro
action filter_type
action find
entity Hiago de Oliveira Ramiro
relation sport
type sport
['Brazil', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?a WHERE { resource:Hiago_de_Oliveira_Ramiro property:sport ?a . ?a rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q155,P641,c(Q349))
action filter_type
action find
entity Q14367064
relation P641
type Q349
Football [ANSWER] was that person a part of
['Q155', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?a WHERE { resource:Q14367064 property:P641 ?a . ?a rdf:type ontology:Q349 }
association football
Football association football was that person a part of
association football
action filter_type
action find
entity Hiago de Oliveira Ramiro
relation sport
type sport
['Brazil', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?a WHERE { resource:Hiago_de_Oliveira_Ramiro property:sport ?a . ?a rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q14367064
P21
Q290
USER
Which sex does that person have ?
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q14367064
relation P21
type Q290
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q14367064 property:P21 ?f . ?f rdf:type ontology:Q290 }
Hiago de Oliveira Ramiro
action filter_type
action find
entity Hiago de Oliveira Ramiro
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Hiago_de_Oliveira_Ramiro property:gender ?f . ?f rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q14367064
relation P21
type Q290
That person has a [ANSWER]
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q14367064 property:P21 ?f . ?f rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Hiago de Oliveira Ramiro
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Hiago_de_Oliveira_Ramiro property:gender ?f . ?f rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q14367064
P106
Q12737077
USER
How many occupations do Hiago de Oliveira Ramiro do for a living ?
(Q14367064,P106,c(Q12737077))
action count
action filter_type
action find
entity Q14367064
relation P106
type Q12737077
['Q14367064', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { ?y rdf:type ontology:Q12737077 . resource:Q14367064 property:P106 ?y }
Hiago de Oliveira Ramiro
action count
action filter_type
action find
entity Hiago de Oliveira Ramiro
relation occupation
type occupation
['Hiago de Oliveira Ramiro', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { ?y rdf:type ontology:occupation . resource:Hiago_de_Oliveira_Ramiro property:occupation ?y }
[]
occupation
SYSTEM
1
Q937857
(Q14367064,P106,c(Q12737077))
action count
action filter_type
action find
entity Q14367064
relation P106
type Q12737077
[ANSWER]
['Q14367064', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { ?y rdf:type ontology:Q12737077 . resource:Q14367064 property:P106 ?y }
association football player
1
action count
action filter_type
action find
entity Hiago de Oliveira Ramiro
relation occupation
type occupation
['Hiago de Oliveira Ramiro', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { ?y rdf:type ontology:occupation . resource:Hiago_de_Oliveira_Ramiro property:occupation ?y }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q14367064
P106
Q12737077
USER
Which occupation is the profession of that person ?
action filter_type
action find
entity Q14367064
relation P106
type Q12737077
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q12737077 . resource:Q14367064 property:P106 ?f }
Hiago de Oliveira Ramiro
action filter_type
action find
entity Hiago de Oliveira Ramiro
relation occupation
type occupation
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:occupation . resource:Hiago_de_Oliveira_Ramiro property:occupation ?f }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
action filter_type
action find
entity Q14367064
relation P106
type Q12737077
Player [ANSWER] is the profession of that person
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q12737077 . resource:Q14367064 property:P106 ?f }
association football player
Player association football player is the profession of that person
association football player
action filter_type
action find
entity Hiago de Oliveira Ramiro
relation occupation
type occupation
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:occupation . resource:Hiago_de_Oliveira_Ramiro property:occupation ?f }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1158906
P1533
Q82799
USER
Which name matches Giovanni ?
(Q1158906,P1533,c(Q82799))
action filter_type
action find
entity Q1158906
relation P1533
type Q82799
['Q1158906', 'P1533', {'concept': 'Q82799'}]
SELECT DISTINCT ?h WHERE { resource:Q1158906 property:P1533 ?h . ?h rdf:type ontology:Q82799 }
Giovanni
action filter_type
action find
entity Giovanni
relation family name identical to this first name
type name
['Giovanni', 'family name identical to this first name', {'concept': 'name'}]
SELECT DISTINCT ?h WHERE { resource:Giovanni property:family_name_identical_to_this_first_name ?h . ?h rdf:type ontology:name }
[]
name
Q18130778
SYSTEM
Giovanni
Q18130778
(Q1158906,P1533,c(Q82799))
action filter_type
action find
entity Q1158906
relation P1533
type Q82799
[ANSWER] matches [ANSWER]
['Q1158906', 'P1533', {'concept': 'Q82799'}]
SELECT DISTINCT ?h WHERE { resource:Q1158906 property:P1533 ?h . ?h rdf:type ontology:Q82799 }
Giovanni
Giovanni matches Giovanni
Giovanni
action filter_type
action find
entity Giovanni
relation family name identical to this first name
type name
['Giovanni', 'family name identical to this first name', {'concept': 'name'}]
SELECT DISTINCT ?h WHERE { resource:Giovanni property:family_name_identical_to_this_first_name ?h . ?h rdf:type ontology:name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q26944836
Q82799
USER
And what about Akram?
(Q26944836,P1533,c(Q82799))
action filter_type
action find
entity Q26944836
relation P1533
type Q82799
['Q26944836', 'P1533', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { resource:Q26944836 property:P1533 ?r . ?r rdf:type ontology:Q82799 }
Akram
action filter_type
action find
entity Akram
relation family name identical to this first name
type name
['Akram', 'family name identical to this first name', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { resource:Akram property:family_name_identical_to_this_first_name ?r . ?r rdf:type ontology:name }
[]
name
Q21448967
SYSTEM
Akram
Q21448967
(Q26944836,P1533,c(Q82799))
action filter_type
action find
entity Q26944836
relation P1533
type Q82799
[ANSWER]
['Q26944836', 'P1533', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { resource:Q26944836 property:P1533 ?r . ?r rdf:type ontology:Q82799 }
Akram
Akram
action filter_type
action find
entity Akram
relation family name identical to this first name
type name
['Akram', 'family name identical to this first name', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { resource:Akram property:family_name_identical_to_this_first_name ?r . ?r rdf:type ontology:name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q155
P47
Q15617994 Q20667921
USER
How many administrative territories and french administrative divisions are bordered by Brazil ?
(Q155,P47,c(Q15617994)) (Q155,P47,c(Q20667921))
action count
action union
action filter_type
action find
entity Q155
relation P47
type Q15617994
action filter_type
action find
entity Q155
relation P47
type Q20667921
['Q155', 'P47', {'concept': 'Q15617994'}] ['Q155', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { ?d rdf:type ?w . VALUES ( ?w ) { ( ontology:Q15617994 ) ( ontology:Q20667921 ) } }
Brazil
action count
action union
action filter_type
action find
entity Brazil
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Brazil
relation shares border with
type type of french administrative division
['Brazil', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Brazil', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { ?d rdf:type ?w . VALUES ( ?w ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:type_of_french_administrative_division ) } }
[]
designation for an administrative territorial entity type of french administrative division
SYSTEM
10 administrative territories and 1 french administrative divisions
Q739 Q142 Q717 Q3769 Q730 Q733 Q734 Q419 Q77 Q414 Q750
(Q155,P47,c(Q15617994)) (Q155,P47,c(Q20667921))
action count
action union
action filter_type
action find
entity Q155
relation P47
type Q15617994
action filter_type
action find
entity Q155
relation P47
type Q20667921
[ANSWER]
['Q155', 'P47', {'concept': 'Q15617994'}] ['Q155', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { ?d rdf:type ?w . VALUES ( ?w ) { ( ontology:Q15617994 ) ( ontology:Q20667921 ) } }
Colombia France Venezuela French Guiana Suriname Paraguay Guyana Peru Uruguay Argentina Bolivia
10 administrative territories and 1 french administrative divisions
action count
action union
action filter_type
action find
entity Brazil
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Brazil
relation shares border with
type type of french administrative division
['Brazil', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Brazil', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { ?d rdf:type ?w . VALUES ( ?w ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:type_of_french_administrative_division ) } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q18130778
P734 P21
Q502895
USER
Which people have Giovanni as surname and are a male ?
AND((c(Q502895),P734,Q18130778), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q18130778
relation P734
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P734', 'Q18130778'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?d WHERE { ?d property:P734 resource:Q18130778 . ?d property:P21 resource:Q6581097 . ?d rdf:type ontology:Q502895 }
male Giovanni
action filter_type
action intersection
action find_reverse
entity Giovanni
relation family name
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'family name', 'Giovanni'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?d WHERE { ?d property:family_name resource:Giovanni . ?d property:gender resource:male . ?d rdf:type ontology:common_name }
[]
common name
Q3371326 Q115754 Q828363
SYSTEM
Paul Giovanni, José Giovanni, Bertoldo di Giovanni
Q3371326 Q115754 Q828363
AND((c(Q502895),P734,Q18130778), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q18130778
relation P734
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] have Giovanni as surname and are a male
{'AND': [[{'concept': 'Q502895'}, 'P734', 'Q18130778'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?d WHERE { ?d property:P734 resource:Q18130778 . ?d property:P21 resource:Q6581097 . ?d rdf:type ontology:Q502895 }
Paul Giovanni José Giovanni Bertoldo di Giovanni
Paul Giovanni, José Giovanni and Bertoldo di Giovanni have Giovanni as surname and are a male
Paul Giovanni José Giovanni Bertoldo di Giovanni
action filter_type
action intersection
action find_reverse
entity Giovanni
relation family name
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'family name', 'Giovanni'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?d WHERE { ?d property:family_name resource:Giovanni . ?d property:gender resource:male . ?d rdf:type ontology:common_name }
[]