Simple Question (Direct)
Simple Question
Q870618
P641
Q349
USER
What was the sport that Osvaldo Aliatis was a part of ?
(Q870618,P641,c(Q349))
action filter_type
action find
entity Q870618
relation P641
type Q349
['Q870618', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q349 . resource:Q870618 property:P641 ?h }
Osvaldo Aliatis
action filter_type
action find
entity Osvaldo Aliatis
relation sport
type sport
['Osvaldo Aliatis', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:sport . resource:Osvaldo_Aliatis property:sport ?h }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q870618,P641,c(Q349))
action filter_type
action find
entity Q870618
relation P641
type Q349
The sport that Osvaldo Aliatis was a part of was the [ANSWER]
['Q870618', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q349 . resource:Q870618 property:P641 ?h }
association football
The sport that Osvaldo Aliatis was a part of was the association football
association football
action filter_type
action find
entity Osvaldo Aliatis
relation sport
type sport
['Osvaldo Aliatis', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:sport . resource:Osvaldo_Aliatis property:sport ?h }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q870618
P19
Q56061
USER
Which administrative territory is the birthplace of Osvaldo Aliatis ?
(Q870618,P19,c(Q56061))
action filter_type
action find
entity Q870618
relation P19
type Q56061
['Q870618', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q870618 property:P19 ?t . ?t rdf:type ontology:Q56061 }
Osvaldo Aliatis
action filter_type
action find
entity Osvaldo Aliatis
relation place of birth
type administrative territorial entity
['Osvaldo Aliatis', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Osvaldo_Aliatis property:place_of_birth ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q490
SYSTEM
Milan
Q490
(Q870618,P19,c(Q56061))
action filter_type
action find
entity Q870618
relation P19
type Q56061
[ANSWER] is the birthplace of Osvaldo Aliatis
['Q870618', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q870618 property:P19 ?t . ?t rdf:type ontology:Q56061 }
Milan
Milan is the birthplace of Osvaldo Aliatis
Milan
action filter_type
action find
entity Osvaldo Aliatis
relation place of birth
type administrative territorial entity
['Osvaldo Aliatis', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Osvaldo_Aliatis property:place_of_birth ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q870618
P27
Q15617994
USER
Which administrative territory is the country of citizenship of that person ?
(Q490,P27,c(Q15617994))
action filter_type
action find
entity Q870618
relation P27
type Q15617994
['Q490', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q870618 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
Osvaldo Aliatis
action filter_type
action find
entity Osvaldo Aliatis
relation country of citizenship
type designation for an administrative territorial entity
['Milan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Osvaldo_Aliatis property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q490,P27,c(Q15617994))
action filter_type
action find
entity Q870618
relation P27
type Q15617994
[ANSWER] is the country of citizenship of that person
['Q490', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q870618 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
Italy
Italy is the country of citizenship of that person
Italy
action filter_type
action find
entity Osvaldo Aliatis
relation country of citizenship
type designation for an administrative territorial entity
['Milan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Osvaldo_Aliatis property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q38 Q16
P530
Q1048835
USER
How many political territories have diplomatic associations with Italy and Canada ?
(c(Q1048835),P530,Q38) (c(Q1048835),P530,Q16)
action count
action intersection
action filter_type
action find_reverse
entity Q38
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q16
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', 'Q38'] [{'concept': 'Q1048835'}, 'P530', 'Q16']
SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { ?b property:P530 resource:Q38 . ?b rdf:type ontology:Q1048835 . ?b property:P530 resource:Q16 . ?b rdf:type ontology:Q1048835 }
Italy Canada
action count
action intersection
action filter_type
action find_reverse
entity Italy
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity Canada
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Italy'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Canada']
SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { ?b property:diplomatic_relation resource:Italy . ?b rdf:type ontology:political_territorial_entity . ?b property:diplomatic_relation resource:Canada . ?b rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
4
Q664 Q408 Q183 Q35
(c(Q1048835),P530,Q38) (c(Q1048835),P530,Q16)
action count
action intersection
action filter_type
action find_reverse
entity Q38
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q16
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', 'Q38'] [{'concept': 'Q1048835'}, 'P530', 'Q16']
SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { ?b property:P530 resource:Q38 . ?b rdf:type ontology:Q1048835 . ?b property:P530 resource:Q16 . ?b rdf:type ontology:Q1048835 }
New Zealand Australia Germany Denmark
4
action count
action intersection
action filter_type
action find_reverse
entity Italy
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity Canada
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Italy'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Canada']
SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { ?b property:diplomatic_relation resource:Italy . ?b rdf:type ontology:political_territorial_entity . ?b property:diplomatic_relation resource:Canada . ?b rdf:type ontology:political_territorial_entity }
[]