Simple Question (Direct)
Simple Question
Q781726
P106
Q12737077
USER
Which occupation is the profession of Maximiliano Calzada ?
(Q781726,P106,c(Q12737077))
action filter_type
action find
entity Q781726
relation P106
type Q12737077
['Q781726', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q781726 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
Maximiliano Calzada
action filter_type
action find
entity Maximiliano Calzada
relation occupation
type occupation
['Maximiliano Calzada', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Maximiliano_Calzada property:occupation ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q781726,P106,c(Q12737077))
action filter_type
action find
entity Q781726
relation P106
type Q12737077
As [ANSWER] is the profession of Maximiliano Calzada
['Q781726', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q781726 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
association football player
As association football player is the profession of Maximiliano Calzada
association football player
action filter_type
action find
entity Maximiliano Calzada
relation occupation
type occupation
['Maximiliano Calzada', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Maximiliano_Calzada property:occupation ?s . ?s rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q781726
P54
Q6979593
USER
Which national association football team is that person a member of ?
(Q937857,P54,c(Q6979593))
action filter_type
action find
entity Q781726
relation P54
type Q6979593
['Q937857', 'P54', {'concept': 'Q6979593'}]
SELECT DISTINCT ?b WHERE { resource:Q781726 property:P54 ?b . ?b rdf:type ontology:Q6979593 }
Maximiliano Calzada
action filter_type
action find
entity Maximiliano Calzada
relation member of sports team
type national association football team
['association football player', 'member of sports team', {'concept': 'national association football team'}]
SELECT DISTINCT ?b WHERE { resource:Maximiliano_Calzada property:member_of_sports_team ?b . ?b rdf:type ontology:national_association_football_team }
[]
national association football team
Q2384857
SYSTEM
Uruguay Olympic football team
Q2384857
(Q937857,P54,c(Q6979593))
action filter_type
action find
entity Q781726
relation P54
type Q6979593
The [ANSWER] is that person a member of
['Q937857', 'P54', {'concept': 'Q6979593'}]
SELECT DISTINCT ?b WHERE { resource:Q781726 property:P54 ?b . ?b rdf:type ontology:Q6979593 }
Uruguay Olympic football team
The Uruguay Olympic football team is that person a member of
Uruguay Olympic football team
action filter_type
action find
entity Maximiliano Calzada
relation member of sports team
type national association football team
['association football player', 'member of sports team', {'concept': 'national association football team'}]
SELECT DISTINCT ?b WHERE { resource:Maximiliano_Calzada property:member_of_sports_team ?b . ?b rdf:type ontology:national_association_football_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q781726
P21
Q290
USER
What is the sex of that person ?
(Q2384857,P21,c(Q290))
action filter_type
action find
entity Q781726
relation P21
type Q290
['Q2384857', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q781726 property:P21 ?h . ?h rdf:type ontology:Q290 }
Maximiliano Calzada
action filter_type
action find
entity Maximiliano Calzada
relation gender
type sex
['Uruguay Olympic football team', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Maximiliano_Calzada property:gender ?h . ?h rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2384857,P21,c(Q290))
action filter_type
action find
entity Q781726
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q2384857', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q781726 property:P21 ?h . ?h rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Maximiliano Calzada
relation gender
type sex
['Uruguay Olympic football team', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Maximiliano_Calzada property:gender ?h . ?h rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q15665844 Q781726
P21
Q290
USER
And also Julius Mermagen
AND((Q781726,P21,c(Q290)), (Q15665844,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q781726
relation P21
action find
entity Q15665844
relation P21
type Q290
{'AND': [['Q781726', 'P21', {'concept': 'Q290'}], ['Q15665844', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?m WHERE { resource:Q781726 property:P21 ?m . resource:Q15665844 property:P21 ?m . ?m rdf:type ontology:Q290 }
Julius Mermagen Maximiliano Calzada
action filter_type
action intersection
action find
entity Maximiliano Calzada
relation gender
action find
entity Julius Mermagen
relation gender
type sex
{'AND': [['Maximiliano Calzada', 'gender', {'concept': 'sex'}], ['Julius Mermagen', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?m WHERE { resource:Maximiliano_Calzada property:gender ?m . resource:Julius_Mermagen property:gender ?m . ?m rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
AND((Q781726,P21,c(Q290)), (Q15665844,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q781726
relation P21
action find
entity Q15665844
relation P21
type Q290
[ANSWER]
{'AND': [['Q781726', 'P21', {'concept': 'Q290'}], ['Q15665844', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?m WHERE { resource:Q781726 property:P21 ?m . resource:Q15665844 property:P21 ?m . ?m rdf:type ontology:Q290 }
male
male
action filter_type
action intersection
action find
entity Maximiliano Calzada
relation gender
action find
entity Julius Mermagen
relation gender
type sex
{'AND': [['Maximiliano Calzada', 'gender', {'concept': 'sex'}], ['Julius Mermagen', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?m WHERE { resource:Maximiliano_Calzada property:gender ?m . resource:Julius_Mermagen property:gender ?m . ?m rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q781726
P641
Q349
USER
What was the sport that Maximiliano Calzada was a part of ?
(Q781726,P641,c(Q349))
action filter_type
action find
entity Q781726
relation P641
type Q349
['Q781726', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q349 . resource:Q781726 property:P641 ?y }
Maximiliano Calzada
action filter_type
action find
entity Maximiliano Calzada
relation sport
type sport
['Maximiliano Calzada', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:sport . resource:Maximiliano_Calzada property:sport ?y }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q781726,P641,c(Q349))
action filter_type
action find
entity Q781726
relation P641
type Q349
The sport that Maximiliano Calzada was a part of was the [ANSWER]
['Q781726', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q349 . resource:Q781726 property:P641 ?y }
association football
The sport that Maximiliano Calzada was a part of was the association football
association football
action filter_type
action find
entity Maximiliano Calzada
relation sport
type sport
['Maximiliano Calzada', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:sport . resource:Maximiliano_Calzada property:sport ?y }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q781726
P551
Q56061
USER
Where did that person reside ?
(Q2736,P551,c(Q56061))
action filter_type
action find
entity Q781726
relation P551
type Q56061
['Q2736', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q781726 property:P551 ?x . ?x rdf:type ontology:Q56061 }
Maximiliano Calzada
action filter_type
action find
entity Maximiliano Calzada
relation residence
type administrative territorial entity
['association football', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Maximiliano_Calzada property:residence ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1014315
SYSTEM
Santa Lucía
Q1014315
(Q2736,P551,c(Q56061))
action filter_type
action find
entity Q781726
relation P551
type Q56061
That person resided in [ANSWER]
['Q2736', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q781726 property:P551 ?x . ?x rdf:type ontology:Q56061 }
Santa Lucía
That person resided in Santa Lucía
Santa Lucía
action filter_type
action find
entity Maximiliano Calzada
relation residence
type administrative territorial entity
['association football', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Maximiliano_Calzada property:residence ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q781726
P19
Q56061
USER
Which administrative territory is the place of birth of Maximiliano Calzada ?
(Q781726,P19,c(Q56061))
action filter_type
action find
entity Q781726
relation P19
type Q56061
['Q781726', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q781726 property:P19 ?h . ?h rdf:type ontology:Q56061 }
Maximiliano Calzada
action filter_type
action find
entity Maximiliano Calzada
relation place of birth
type administrative territorial entity
['Maximiliano Calzada', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Maximiliano_Calzada property:place_of_birth ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1335
SYSTEM
Montevideo
Q1335
(Q781726,P19,c(Q56061))
action filter_type
action find
entity Q781726
relation P19
type Q56061
[ANSWER] is the place of birth of Maximiliano Calzada
['Q781726', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q781726 property:P19 ?h . ?h rdf:type ontology:Q56061 }
Montevideo
Montevideo is the place of birth of Maximiliano Calzada
Montevideo
action filter_type
action find
entity Maximiliano Calzada
relation place of birth
type administrative territorial entity
['Maximiliano Calzada', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Maximiliano_Calzada property:place_of_birth ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1335
P1376
Q56061
USER
Which administrative territory has that one as its county seat ?
(Q1335,P1376,c(Q56061))
action filter_type
action find
entity Q1335
relation P1376
type Q56061
['Q1335', 'P1376', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q1335 property:P1376 ?q . ?q rdf:type ontology:Q56061 }
Montevideo
action filter_type
action find
entity Montevideo
relation capital of
type administrative territorial entity
['Montevideo', 'capital of', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Montevideo property:capital_of ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q4264
SYSTEM
Mercosur
Q4264
(Q1335,P1376,c(Q56061))
action filter_type
action find
entity Q1335
relation P1376
type Q56061
[ANSWER] has that one as its county seat
['Q1335', 'P1376', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q1335 property:P1376 ?q . ?q rdf:type ontology:Q56061 }
Mercosur
Mercosur has that one as its county seat
Mercosur
action filter_type
action find
entity Montevideo
relation capital of
type administrative territorial entity
['Montevideo', 'capital of', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Montevideo property:capital_of ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1335
P1376
Q56059 Q56061
USER
How many departments of Uruguay and administrative territories have Montevideo as their capital ?
(Q1335,P1376,c(Q56059)) (Q1335,P1376,c(Q56061))
action count
action union
action filter_type
action find
entity Q1335
relation P1376
type Q56059
action filter_type
action find
entity Q1335
relation P1376
type Q56061
['Q1335', 'P1376', {'concept': 'Q56059'}] ['Q1335', 'P1376', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { { resource:Q1335 property:P1376 ?q . ?q rdf:type ontology:Q56059 } UNION { resource:Q1335 property:P1376 ?q . ?q rdf:type ontology:Q56061 } }
Montevideo
action count
action union
action filter_type
action find
entity Montevideo
relation capital of
type department of Uruguay
action filter_type
action find
entity Montevideo
relation capital of
type administrative territorial entity
['Montevideo', 'capital of', {'concept': 'department of Uruguay'}] ['Montevideo', 'capital of', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { { resource:Montevideo property:capital_of ?q . ?q rdf:type ontology:department_of_Uruguay } UNION { resource:Montevideo property:capital_of ?q . ?q rdf:type ontology:administrative_territorial_entity } }
[]
department of Uruguay administrative territorial entity
SYSTEM
1 departments of Uruguay and 1 administrative territories
Q16594 Q4264
(Q1335,P1376,c(Q56059)) (Q1335,P1376,c(Q56061))
action count
action union
action filter_type
action find
entity Q1335
relation P1376
type Q56059
action filter_type
action find
entity Q1335
relation P1376
type Q56061
[ANSWER]
['Q1335', 'P1376', {'concept': 'Q56059'}] ['Q1335', 'P1376', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { { resource:Q1335 property:P1376 ?q . ?q rdf:type ontology:Q56059 } UNION { resource:Q1335 property:P1376 ?q . ?q rdf:type ontology:Q56061 } }
Montevideo Department Mercosur
1 departments of Uruguay and 1 administrative territories
action count
action union
action filter_type
action find
entity Montevideo
relation capital of
type department of Uruguay
action filter_type
action find
entity Montevideo
relation capital of
type administrative territorial entity
['Montevideo', 'capital of', {'concept': 'department of Uruguay'}] ['Montevideo', 'capital of', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { { resource:Montevideo property:capital_of ?q . ?q rdf:type ontology:department_of_Uruguay } UNION { resource:Montevideo property:capital_of ?q . ?q rdf:type ontology:administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1335
P206
Q15324
USER
Which body of water is situated in the neighbourhood of Montevideo ?
(Q1335,P206,c(Q15324))
action filter_type
action find
entity Q1335
relation P206
type Q15324
['Q1335', 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ?a WHERE { resource:Q1335 property:P206 ?a . ?a rdf:type ontology:Q15324 }
Montevideo
action filter_type
action find
entity Montevideo
relation located next to body of water
type body of water
['Montevideo', 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ?a WHERE { resource:Montevideo property:located_next_to_body_of_water ?a . ?a rdf:type ontology:body_of_water }
[]
body of water
Q35827
SYSTEM
Río de la Plata
Q35827
(Q1335,P206,c(Q15324))
action filter_type
action find
entity Q1335
relation P206
type Q15324
[ANSWER] is situated in the neighbourhood of Montevideo
['Q1335', 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ?a WHERE { resource:Q1335 property:P206 ?a . ?a rdf:type ontology:Q15324 }
Río de la Plata
Río de la Plata is situated in the neighbourhood of Montevideo
Río de la Plata
action filter_type
action find
entity Montevideo
relation located next to body of water
type body of water
['Montevideo', 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ?a WHERE { resource:Montevideo property:located_next_to_body_of_water ?a . ?a rdf:type ontology:body_of_water }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P641
Q349 Q18608583 Q12973014
USER
How many sports did exactly 1 recurring sporting events or sports teams participate in ?
(c(Q18608583)|c(Q12973014),P641,c(Q349))
action count
action equal
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q18608583
action find_reverse_tuple_counts
relation P641
type Q349
type Q12973014
value 1
[[{'concept': 'Q18608583'}, {'concept': 'Q12973014'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?f ) AS ?x ) WHERE { { ?f property:P641 ?h . ?h rdf:type ontology:Q349 . ?f rdf:type ontology:Q18608583 } UNION { ?f property:P641 ?h . ?h rdf:type ontology:Q349 . ?f rdf:type ontology:Q12973014 } } GROUP BY ?h } . FILTER ( ?x = 1 ) }
action count
action equal
action union
action find_reverse_tuple_counts
relation sport
type sport
type recurring sporting event
action find_reverse_tuple_counts
relation sport
type sport
type sports team
value 1
[[{'concept': 'recurring sporting event'}, {'concept': 'sports team'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?f ) AS ?x ) WHERE { { ?f property:sport ?h . ?h rdf:type ontology:sport . ?f rdf:type ontology:recurring_sporting_event } UNION { ?f property:sport ?h . ?h rdf:type ontology:sport . ?f rdf:type ontology:sports_team } } GROUP BY ?h } . FILTER ( ?x = 1 ) }
[]
sport recurring sporting event sports team
SYSTEM
7
Q1109032 Q188966 Q599204 Q989473 Q212434 Q647559 Q177275
(c(Q18608583)|c(Q12973014),P641,c(Q349))
action count
action equal
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q18608583
action find_reverse_tuple_counts
relation P641
type Q349
type Q12973014
value 1
[ANSWER]
[[{'concept': 'Q18608583'}, {'concept': 'Q12973014'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?f ) AS ?x ) WHERE { { ?f property:P641 ?h . ?h rdf:type ontology:Q349 . ?f rdf:type ontology:Q18608583 } UNION { ?f property:P641 ?h . ?h rdf:type ontology:Q349 . ?f rdf:type ontology:Q12973014 } } GROUP BY ?h } . FILTER ( ?x = 1 ) }
college football contract bridge rallycross international draughts Olympic sport Goalball bobsleigh
7
action count
action equal
action union
action find_reverse_tuple_counts
relation sport
type sport
type recurring sporting event
action find_reverse_tuple_counts
relation sport
type sport
type sports team
value 1
[[{'concept': 'recurring sporting event'}, {'concept': 'sports team'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?f ) AS ?x ) WHERE { { ?f property:sport ?h . ?h rdf:type ontology:sport . ?f rdf:type ontology:recurring_sporting_event } UNION { ?f property:sport ?h . ?h rdf:type ontology:sport . ?f rdf:type ontology:sports_team } } GROUP BY ?h } . FILTER ( ?x = 1 ) }
[]