Simple Question (Direct)
Simple Question
Q1797699
P19
Q56061
USER
Which administrative territory was Ulf Friberg born in ?
(Q1797699,P19,c(Q56061))
action filter_type
action find
entity Q1797699
relation P19
type Q56061
['Q1797699', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q1797699 property:P19 ?n . ?n rdf:type ontology:Q56061 }
Ulf Friberg
action filter_type
action find
entity Ulf Friberg
relation place of birth
type administrative territorial entity
['Ulf Friberg', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Ulf_Friberg property:place_of_birth ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q654299
SYSTEM
Nässjö
Q654299
(Q1797699,P19,c(Q56061))
action filter_type
action find
entity Q1797699
relation P19
type Q56061
Ulf Friberg was born in [ANSWER]
['Q1797699', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q1797699 property:P19 ?n . ?n rdf:type ontology:Q56061 }
Nässjö
Ulf Friberg was born in Nässjö
Nässjö
action filter_type
action find
entity Ulf Friberg
relation place of birth
type administrative territorial entity
['Ulf Friberg', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Ulf_Friberg property:place_of_birth ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1797699
P734
Q82799
USER
Which name is associated with Ulf Friberg ?
(Q1797699,P734,c(Q82799))
action filter_type
action find
entity Q1797699
relation P734
type Q82799
['Q1797699', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?k WHERE { resource:Q1797699 property:P734 ?k . ?k rdf:type ontology:Q82799 }
Ulf Friberg
action filter_type
action find
entity Ulf Friberg
relation family name
type name
['Ulf Friberg', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?k WHERE { resource:Ulf_Friberg property:family_name ?k . ?k rdf:type ontology:name }
[]
name
Q21291861
SYSTEM
Friberg
Q21291861
(Q1797699,P734,c(Q82799))
action filter_type
action find
entity Q1797699
relation P734
type Q82799
Ulf [ANSWER] is associated with Ulf [ANSWER]
['Q1797699', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?k WHERE { resource:Q1797699 property:P734 ?k . ?k rdf:type ontology:Q82799 }
Friberg
Ulf Friberg is associated with Ulf Friberg
Friberg
action filter_type
action find
entity Ulf Friberg
relation family name
type name
['Ulf Friberg', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?k WHERE { resource:Ulf_Friberg property:family_name ?k . ?k rdf:type ontology:name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q13564898 Q1797699
P161
Q838948
USER
Which works of art have Ulf Friberg or Antonio Ballerio in their star cast ?
OR((c(Q838948),P161,Q1797699), (c(Q838948),P161,Q13564898))
action filter_type
action union
action find_reverse
entity Q1797699
relation P161
action find_reverse
entity Q13564898
relation P161
type Q838948
{'OR': [[{'concept': 'Q838948'}, 'P161', 'Q1797699'], [{'concept': 'Q838948'}, 'P161', 'Q13564898']]}
SELECT DISTINCT ?n WHERE { { { ?n property:P161 resource:Q1797699 } UNION { ?n property:P161 resource:Q13564898 } } . ?n rdf:type ontology:Q838948 }
Antonio Ballerio Ulf Friberg
action filter_type
action union
action find_reverse
entity Ulf Friberg
relation cast member
action find_reverse
entity Antonio Ballerio
relation cast member
type work of art
{'OR': [[{'concept': 'work of art'}, 'cast member', 'Ulf Friberg'], [{'concept': 'work of art'}, 'cast member', 'Antonio Ballerio']]}
SELECT DISTINCT ?n WHERE { { { ?n property:cast_member resource:Ulf_Friberg } UNION { ?n property:cast_member resource:Antonio_Ballerio } } . ?n rdf:type ontology:work_of_art }
[]
work of art
Q7750117 Q1058226 Q1382421 Q4993181 Q4878635 Q7618005 Q6419764
SYSTEM
The Man on the Balcony, The Consequences of Love, Evil, Jerusalem, Beck – Pojken i glaskulan, Stockholm East, Klassfesten
Q7750117 Q1058226 Q1382421 Q4993181 Q4878635 Q7618005 Q6419764
OR((c(Q838948),P161,Q1797699), (c(Q838948),P161,Q13564898))
action filter_type
action union
action find_reverse
entity Q1797699
relation P161
action find_reverse
entity Q13564898
relation P161
type Q838948
[ANSWERS] have Ulf Friberg or Antonio Ballerio in their star cast
{'OR': [[{'concept': 'Q838948'}, 'P161', 'Q1797699'], [{'concept': 'Q838948'}, 'P161', 'Q13564898']]}
SELECT DISTINCT ?n WHERE { { { ?n property:P161 resource:Q1797699 } UNION { ?n property:P161 resource:Q13564898 } } . ?n rdf:type ontology:Q838948 }
The Man on the Balcony The Consequences of Love Evil Jerusalem Beck – Pojken i glaskulan Stockholm East Klassfesten
The Man on the Balcony, The Consequences of Love, Evil, Jerusalem, Beck – Pojken i glaskulan, Stockholm East and Klassfesten have Ulf Friberg or Antonio Ballerio in their star cast
The Man on the Balcony The Consequences of Love Evil Jerusalem Beck – Pojken i glaskulan Stockholm East Klassfesten
action filter_type
action union
action find_reverse
entity Ulf Friberg
relation cast member
action find_reverse
entity Antonio Ballerio
relation cast member
type work of art
{'OR': [[{'concept': 'work of art'}, 'cast member', 'Ulf Friberg'], [{'concept': 'work of art'}, 'cast member', 'Antonio Ballerio']]}
SELECT DISTINCT ?n WHERE { { { ?n property:cast_member resource:Ulf_Friberg } UNION { ?n property:cast_member resource:Antonio_Ballerio } } . ?n rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1727781 Q6419764
P495 P17
Q15617994
USER
Which administrative territories are the countries of origin of Klassfesten or are Coblong situated in ?
OR((Q6419764,P495,c(Q15617994)), (Q1727781,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q6419764
relation P495
action find
entity Q1727781
relation P17
type Q15617994
{'OR': [['Q6419764', 'P495', {'concept': 'Q15617994'}], ['Q1727781', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q6419764 property:P495 ?w } UNION { resource:Q1727781 property:P17 ?w } } . ?w rdf:type ontology:Q15617994 }
Coblong Klassfesten
action filter_type
action union
action find
entity Klassfesten
relation country of origin
action find
entity Coblong
relation country
type designation for an administrative territorial entity
{'OR': [['Klassfesten', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Coblong', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Klassfesten property:country_of_origin ?w } UNION { resource:Coblong property:country ?w } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q252 Q34
SYSTEM
Indonesia, Sweden
Q252 Q34
OR((Q6419764,P495,c(Q15617994)), (Q1727781,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q6419764
relation P495
action find
entity Q1727781
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q6419764', 'P495', {'concept': 'Q15617994'}], ['Q1727781', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q6419764 property:P495 ?w } UNION { resource:Q1727781 property:P17 ?w } } . ?w rdf:type ontology:Q15617994 }
Indonesia Sweden
Which administrative territories are the countries of origin of Klassfesten or are Coblong situated in
Indonesia Sweden
action filter_type
action union
action find
entity Klassfesten
relation country of origin
action find
entity Coblong
relation country
type designation for an administrative territorial entity
{'OR': [['Klassfesten', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Coblong', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Klassfesten property:country_of_origin ?w } UNION { resource:Coblong property:country ?w } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q34
P530
Q15617994 Q1048835
USER
How many administrative territories or political territories holds diplomatic relationship with Sweden ?
(Q34,P530,c(Q15617994)) (Q34,P530,c(Q1048835))
action count
action union
action filter_type
action find
entity Q34
relation P530
type Q15617994
action filter_type
action find
entity Q34
relation P530
type Q1048835
['Q34', 'P530', {'concept': 'Q15617994'}] ['Q34', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { ?n rdf:type ?p . VALUES ( ?p ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } }
Sweden
action count
action union
action filter_type
action find
entity Sweden
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity Sweden
relation diplomatic relation
type political territorial entity
['Sweden', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Sweden', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { ?n rdf:type ?p . VALUES ( ?p ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
5
Q928 Q16 Q408 Q38 Q183
(Q34,P530,c(Q15617994)) (Q34,P530,c(Q1048835))
action count
action union
action filter_type
action find
entity Q34
relation P530
type Q15617994
action filter_type
action find
entity Q34
relation P530
type Q1048835
[ANSWER]
['Q34', 'P530', {'concept': 'Q15617994'}] ['Q34', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { ?n rdf:type ?p . VALUES ( ?p ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } }
Philippines Canada Australia Italy Germany
5
action count
action union
action filter_type
action find
entity Sweden
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity Sweden
relation diplomatic relation
type political territorial entity
['Sweden', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Sweden', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { ?n rdf:type ?p . VALUES ( ?p ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q34
P276
Q15259995
USER
Which recurring tournament is situated at that administrative territory ?
action filter_type
action find_reverse
entity Q34
relation P276
type Q15259995
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15259995 . ?h property:P276 resource:Q34 }
Sweden
action filter_type
action find_reverse
entity Sweden
relation location
type recurring tournament
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:recurring_tournament . ?h property:location resource:Sweden }
[]
recurring tournament
Q474530
SYSTEM
2011 World Men's Handball Championship
Q474530
action filter_type
action find_reverse
entity Q34
relation P276
type Q15259995
[ANSWER] is situated at that administrative territory
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15259995 . ?h property:P276 resource:Q34 }
2011 World Men's Handball Championship
2011 World Men's Handball Championship is situated at that administrative territory
2011 World Men's Handball Championship
action filter_type
action find_reverse
entity Sweden
relation location
type recurring tournament
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:recurring_tournament . ?h property:location resource:Sweden }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P361
Q15259995 Q15259995
USER
How many recurring tournaments are approximately 2 recurring tournaments a portion of ?
(c(Q15259995),P361,c(Q15259995))
action count
action approx
action find_reverse_tuple_counts
relation P361
type Q15259995
type Q15259995
value 2
[{'concept': 'Q15259995'}, 'P361', {'concept': 'Q15259995'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { FILTER ( ?s = 2 ) . { SELECT DISTINCT ?k ( COUNT ( ?y ) AS ?s ) WHERE { ?y property:P361 ?k . ?y rdf:type ontology:Q15259995 . ?k rdf:type ontology:Q15259995 } GROUP BY ?k } }
action count
action approx
action find_reverse_tuple_counts
relation part of
type recurring tournament
type recurring tournament
value 2
[{'concept': 'recurring tournament'}, 'part of', {'concept': 'recurring tournament'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { FILTER ( ?s = 2 ) . { SELECT DISTINCT ?k ( COUNT ( ?y ) AS ?s ) WHERE { ?y property:part_of ?k . ?y rdf:type ontology:recurring_tournament . ?k rdf:type ontology:recurring_tournament } GROUP BY ?k } }
[]
recurring tournament recurring tournament
SYSTEM
6
Q169056 Q3467742 Q2664915 Q379351 Q3716696 Q166449
(c(Q15259995),P361,c(Q15259995))
action count
action approx
action find_reverse_tuple_counts
relation P361
type Q15259995
type Q15259995
value 2
[ANSWER]
[{'concept': 'Q15259995'}, 'P361', {'concept': 'Q15259995'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { FILTER ( ?s = 2 ) . { SELECT DISTINCT ?k ( COUNT ( ?y ) AS ?s ) WHERE { ?y property:P361 ?k . ?y rdf:type ontology:Q15259995 . ?k rdf:type ontology:Q15259995 } GROUP BY ?k } }
2002 Energis Open 2005 Dutch Open 2003 Priority Telecom Open 2006 Dutch Open 2004 Dutch Open 2001 Energis Open
6
action count
action approx
action find_reverse_tuple_counts
relation part of
type recurring tournament
type recurring tournament
value 2
[{'concept': 'recurring tournament'}, 'part of', {'concept': 'recurring tournament'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { FILTER ( ?s = 2 ) . { SELECT DISTINCT ?k ( COUNT ( ?y ) AS ?s ) WHERE { ?y property:part_of ?k . ?y rdf:type ontology:recurring_tournament . ?k rdf:type ontology:recurring_tournament } GROUP BY ?k } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1058226
P136
Q483394
USER
What can be considered as category for The Consequences of Love ?
(Q1058226,P136,c(Q483394))
action filter_type
action find
entity Q1058226
relation P136
type Q483394
['Q1058226', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?l WHERE { resource:Q1058226 property:P136 ?l . ?l rdf:type ontology:Q483394 }
The Consequences of Love
action filter_type
action find
entity The Consequences of Love
relation genre
type genre
['The Consequences of Love', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?l WHERE { resource:The_Consequences_of_Love property:genre ?l . ?l rdf:type ontology:genre }
[]
genre
Q182015
SYSTEM
thriller
Q182015
(Q1058226,P136,c(Q483394))
action filter_type
action find
entity Q1058226
relation P136
type Q483394
[ANSWER] can be considered as category for The Consequences of Love
['Q1058226', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?l WHERE { resource:Q1058226 property:P136 ?l . ?l rdf:type ontology:Q483394 }
thriller
Thriller can be considered as category for The Consequences of Love
thriller
action filter_type
action find
entity The Consequences of Love
relation genre
type genre
['The Consequences of Love', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?l WHERE { resource:The_Consequences_of_Love property:genre ?l . ?l rdf:type ontology:genre }
[]