Simple Question (Direct)
Simple Question
Q3724214
P463
Q2088357
USER
Which organization was Emil Nödtveidt a member of ?
(Q3724214,P463,c(Q2088357))
action filter_type
action find
entity Q3724214
relation P463
type Q2088357
['Q3724214', 'P463', {'concept': 'Q2088357'}]
SELECT DISTINCT ?i WHERE { resource:Q3724214 property:P463 ?i . ?i rdf:type ontology:Q2088357 }
Emil Nödtveidt
action filter_type
action find
entity Emil Nödtveidt
relation member of
type musical ensemble
['Emil Nödtveidt', 'member of', {'concept': 'musical ensemble'}]
SELECT DISTINCT ?i WHERE { resource:Emil_Nödtveidt property:member_of ?i . ?i rdf:type ontology:musical_ensemble }
[]
musical ensemble
Q934714
SYSTEM
Deathstars
Q934714
(Q3724214,P463,c(Q2088357))
action filter_type
action find
entity Q3724214
relation P463
type Q2088357
[ANSWER] was Emil Nödtveidt a member of
['Q3724214', 'P463', {'concept': 'Q2088357'}]
SELECT DISTINCT ?i WHERE { resource:Q3724214 property:P463 ?i . ?i rdf:type ontology:Q2088357 }
Deathstars
Deathstars was Emil Nödtveidt a member of
Deathstars
action filter_type
action find
entity Emil Nödtveidt
relation member of
type musical ensemble
['Emil Nödtveidt', 'member of', {'concept': 'musical ensemble'}]
SELECT DISTINCT ?i WHERE { resource:Emil_Nödtveidt property:member_of ?i . ?i rdf:type ontology:musical_ensemble }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3724214
P27
Q15617994
USER
Which administrative territory does Emil Nödtveidt belong to ?
(Q3724214,P27,c(Q15617994))
action filter_type
action find
entity Q3724214
relation P27
type Q15617994
['Q3724214', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q15617994 . resource:Q3724214 property:P27 ?a }
Emil Nödtveidt
action filter_type
action find
entity Emil Nödtveidt
relation country of citizenship
type designation for an administrative territorial entity
['Emil Nödtveidt', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Emil_Nödtveidt property:country_of_citizenship ?a }
[]
designation for an administrative territorial entity
Q34
SYSTEM
Sweden
Q34
(Q3724214,P27,c(Q15617994))
action filter_type
action find
entity Q3724214
relation P27
type Q15617994
Emil Nödtveidt belongs to [ANSWER]
['Q3724214', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q15617994 . resource:Q3724214 property:P27 ?a }
Sweden
Emil Nödtveidt belongs to Sweden
Sweden
action filter_type
action find
entity Emil Nödtveidt
relation country of citizenship
type designation for an administrative territorial entity
['Emil Nödtveidt', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Emil_Nödtveidt property:country_of_citizenship ?a }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3724214
P106
Q12737077
USER
Which occupation has Emil Nödtveidt as his/her 's career ?
(Q3724214,P106,c(Q12737077))
action filter_type
action find
entity Q3724214
relation P106
type Q12737077
['Q3724214', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q3724214 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
Emil Nödtveidt
action filter_type
action find
entity Emil Nödtveidt
relation occupation
type occupation
['Emil Nödtveidt', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Emil_Nödtveidt property:occupation ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q36834
SYSTEM
composer
Q36834
(Q3724214,P106,c(Q12737077))
action filter_type
action find
entity Q3724214
relation P106
type Q12737077
The [ANSWER] has Emil Nödtveidt as his/her 's career
['Q3724214', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q3724214 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
composer
The composer has Emil Nödtveidt as his/her 's career
composer
action filter_type
action find
entity Emil Nödtveidt
relation occupation
type occupation
['Emil Nödtveidt', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Emil_Nödtveidt property:occupation ?m . ?m rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q18685499
Q12737077
USER
And also tell me about Collette Cooper?
(Q18685499,P106,c(Q12737077))
action filter_type
action find
entity Q18685499
relation P106
type Q12737077
['Q18685499', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q18685499 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
Collette Cooper
action filter_type
action find
entity Collette Cooper
relation occupation
type occupation
['Collette Cooper', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Collette_Cooper property:occupation ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q33999
SYSTEM
actor
Q33999
(Q18685499,P106,c(Q12737077))
action filter_type
action find
entity Q18685499
relation P106
type Q12737077
[ANSWER]
['Q18685499', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q18685499 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
actor
actor
action filter_type
action find
entity Collette Cooper
relation occupation
type occupation
['Collette Cooper', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Collette_Cooper property:occupation ?q . ?q rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q33999
P20
Q502895
USER
Which people expired at that occupation ?
(c(Q502895),P20,Q33999)
action filter_type
action find_reverse
entity Q33999
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q33999']
SELECT DISTINCT ?u WHERE { ?u property:P20 resource:Q33999 . ?u rdf:type ontology:Q502895 }
actor
action filter_type
action find_reverse
entity actor
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'actor']
SELECT DISTINCT ?u WHERE { ?u property:place_of_death resource:actor . ?u rdf:type ontology:common_name }
[]
common name
Q6688701 Q4766357 Q7490763
SYSTEM
Louise Currie, Ann Davies, Shaukat Kaifi
Q6688701 Q4766357 Q7490763
(c(Q502895),P20,Q33999)
action filter_type
action find_reverse
entity Q33999
relation P20
type Q502895
[ANSWERS] expired at that occupation
[{'concept': 'Q502895'}, 'P20', 'Q33999']
SELECT DISTINCT ?u WHERE { ?u property:P20 resource:Q33999 . ?u rdf:type ontology:Q502895 }
Louise Currie Ann Davies Shaukat Kaifi
Louise Currie, Ann Davies and Shaukat Kaifi expired at that occupation
Louise Currie Ann Davies Shaukat Kaifi
action filter_type
action find_reverse
entity actor
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'actor']
SELECT DISTINCT ?u WHERE { ?u property:place_of_death resource:actor . ?u rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q33999
P425
Q1914636
USER
Which activity has that one as the associated field of occupation ?
(Q6688701,P425,c(Q1914636)) (Q4766357,P425,c(Q1914636)) (Q7490763,P425,c(Q1914636))
action filter_type
action find
entity Q33999
relation P425
type Q1914636
['Q6688701', 'P425', {'concept': 'Q1914636'}] ['Q4766357', 'P425', {'concept': 'Q1914636'}] ['Q7490763', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?c WHERE { resource:Q33999 property:P425 ?c . ?c rdf:type ontology:Q1914636 }
actor
action filter_type
action find
entity actor
relation field of this occupation
type activity
['Louise Currie', 'field of this occupation', {'concept': 'activity'}] ['Ann Davies', 'field of this occupation', {'concept': 'activity'}] ['Shaukat Kaifi', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?c WHERE { resource:actor property:field_of_this_occupation ?c . ?c rdf:type ontology:activity }
[]
activity
Q222749
SYSTEM
acting
Q222749
(Q6688701,P425,c(Q1914636)) (Q4766357,P425,c(Q1914636)) (Q7490763,P425,c(Q1914636))
action filter_type
action find
entity Q33999
relation P425
type Q1914636
To [ANSWER] has that one as the associated field of occupation
['Q6688701', 'P425', {'concept': 'Q1914636'}] ['Q4766357', 'P425', {'concept': 'Q1914636'}] ['Q7490763', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?c WHERE { resource:Q33999 property:P425 ?c . ?c rdf:type ontology:Q1914636 }
acting
To acting has that one as the associated field of occupation
acting
action filter_type
action find
entity actor
relation field of this occupation
type activity
['Louise Currie', 'field of this occupation', {'concept': 'activity'}] ['Ann Davies', 'field of this occupation', {'concept': 'activity'}] ['Shaukat Kaifi', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?c WHERE { resource:actor property:field_of_this_occupation ?c . ?c rdf:type ontology:activity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q222749 Q6432993
P106
Q502895
USER
Does Kosaraju Raghavaiah have that activity as his/her means of employment ?
(Q6432993,P106,Q222749)
action is_in
entity Q222749
action find
entity Q6432993
relation P106
['Q6432993', 'P106', 'Q222749']
ASK WHERE { resource:Q6432993 property:P106 resource:Q222749 }
acting Kosaraju Raghavaiah
action is_in
entity acting
action find
entity Kosaraju Raghavaiah
relation occupation
['Kosaraju Raghavaiah', 'occupation', 'acting']
ASK WHERE { resource:Kosaraju_Raghavaiah property:occupation resource:acting }
[]
common name
SYSTEM
YES
(Q6432993,P106,Q222749)
action is_in
entity Q222749
action find
entity Q6432993
relation P106
[ANSWER]
['Q6432993', 'P106', 'Q222749']
ASK WHERE { resource:Q6432993 property:P106 resource:Q222749 }
Yes
action is_in
entity acting
action find
entity Kosaraju Raghavaiah
relation occupation
['Kosaraju Raghavaiah', 'occupation', 'acting']
ASK WHERE { resource:Kosaraju_Raghavaiah property:occupation resource:acting }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q482477
P737
Q2088357 Q215380 Q2088357
USER
Which musical ensembles had an influence on around the same number of bands or musical ensembles as Blink-182 ?
(c(Q215380)|c(Q2088357),P737,c(Q2088357))
action approx
action union
action find_reverse_tuple_counts
relation P737
type Q2088357
type Q215380
action find_reverse_tuple_counts
relation P737
type Q2088357
type Q2088357
action count
action filter_multi_types
action find_reverse
entity Q482477
relation P737
type Q215380
type Q2088357
[[{'concept': 'Q215380'}, {'concept': 'Q2088357'}], 'P737', {'concept': 'Q2088357'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?w ) AS ?e ) WHERE { VALUES ( ?z ) { ( ontology:Q2088357 ) ( ontology:Q215380 ) } . ?w rdf:type ?z } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { { ?q rdf:type ?s . VALUES ( ?s ) { ( ontology:Q215380 ) ( ontology:Q2088357 ) } } . ?q property:P737 resource:Q482477 } } . FILTER ( ?e = ?n ) }
Blink-182
action approx
action union
action find_reverse_tuple_counts
relation influenced by
type musical ensemble
type band
action find_reverse_tuple_counts
relation influenced by
type musical ensemble
type musical ensemble
action count
action filter_multi_types
action find_reverse
entity Blink-182
relation influenced by
type band
type musical ensemble
[[{'concept': 'band'}, {'concept': 'musical ensemble'}], 'influenced by', {'concept': 'musical ensemble'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?w ) AS ?e ) WHERE { VALUES ( ?z ) { ( ontology:musical_ensemble ) ( ontology:band ) } . ?w rdf:type ?z } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { { ?q rdf:type ?s . VALUES ( ?s ) { ( ontology:band ) ( ontology:musical_ensemble ) } } . ?q property:influenced_by resource:Blink-182 } } . FILTER ( ?e = ?n ) }
[]
musical ensemble band musical ensemble
Q44190 Q188626 Q482477
SYSTEM
Radiohead, Sonic Youth, Blink-182
Q44190 Q188626 Q482477
(c(Q215380)|c(Q2088357),P737,c(Q2088357))
action approx
action union
action find_reverse_tuple_counts
relation P737
type Q2088357
type Q215380
action find_reverse_tuple_counts
relation P737
type Q2088357
type Q2088357
action count
action filter_multi_types
action find_reverse
entity Q482477
relation P737
type Q215380
type Q2088357
[ANSWERS] had an influence on around the same number of bands or musical ensembles as Blink-182
[[{'concept': 'Q215380'}, {'concept': 'Q2088357'}], 'P737', {'concept': 'Q2088357'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?w ) AS ?e ) WHERE { VALUES ( ?z ) { ( ontology:Q2088357 ) ( ontology:Q215380 ) } . ?w rdf:type ?z } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { { ?q rdf:type ?s . VALUES ( ?s ) { ( ontology:Q215380 ) ( ontology:Q2088357 ) } } . ?q property:P737 resource:Q482477 } } . FILTER ( ?e = ?n ) }
Radiohead Sonic Youth Blink-182
Radiohead, Sonic Youth and Blink-182 had an influence on around the same number of bands or musical ensembles as Blink-182
Radiohead Sonic Youth Blink-182
action approx
action union
action find_reverse_tuple_counts
relation influenced by
type musical ensemble
type band
action find_reverse_tuple_counts
relation influenced by
type musical ensemble
type musical ensemble
action count
action filter_multi_types
action find_reverse
entity Blink-182
relation influenced by
type band
type musical ensemble
[[{'concept': 'band'}, {'concept': 'musical ensemble'}], 'influenced by', {'concept': 'musical ensemble'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?w ) AS ?e ) WHERE { VALUES ( ?z ) { ( ontology:musical_ensemble ) ( ontology:band ) } . ?w rdf:type ?z } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { { ?q rdf:type ?s . VALUES ( ?s ) { ( ontology:band ) ( ontology:musical_ensemble ) } } . ?q property:influenced_by resource:Blink-182 } } . FILTER ( ?e = ?n ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q34
P463
Q484652 Q2567147
USER
How many international organizations or rapid reaction forces were Sweden a member of ?
(Q34,P463,c(Q484652)) (Q34,P463,c(Q2567147))
action count
action union
action filter_type
action find
entity Q34
relation P463
type Q484652
action filter_type
action find
entity Q34
relation P463
type Q2567147
['Q34', 'P463', {'concept': 'Q484652'}] ['Q34', 'P463', {'concept': 'Q2567147'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { VALUES ( ?l ) { ( ontology:Q2567147 ) ( ontology:Q484652 ) } . ?z rdf:type ?l }
Sweden
action count
action union
action filter_type
action find
entity Sweden
relation member of
type international organization
action filter_type
action find
entity Sweden
relation member of
type rapid reaction force
['Sweden', 'member of', {'concept': 'international organization'}] ['Sweden', 'member of', {'concept': 'rapid reaction force'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { VALUES ( ?l ) { ( ontology:rapid_reaction_force ) ( ontology:international_organization ) } . ?z rdf:type ?l }
[]
international organization rapid reaction force
SYSTEM
9
Q81299 Q789769 Q1998131 Q1065 Q188822 Q146165 Q674182 Q42262 Q1043527
(Q34,P463,c(Q484652)) (Q34,P463,c(Q2567147))
action count
action union
action filter_type
action find
entity Q34
relation P463
type Q484652
action filter_type
action find
entity Q34
relation P463
type Q2567147
[ANSWER]
['Q34', 'P463', {'concept': 'Q484652'}] ['Q34', 'P463', {'concept': 'Q2567147'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { VALUES ( ?l ) { ( ontology:Q2567147 ) ( ontology:Q484652 ) } . ?z rdf:type ?l }
Organization for Security and Co-operation in Europe Council of the Baltic Sea States Nordic Battle Group United Nations Asian Development Bank Nordic Council Arctic Council European Space Agency Multilateral Investment Guarantee Agency
9
action count
action union
action filter_type
action find
entity Sweden
relation member of
type international organization
action filter_type
action find
entity Sweden
relation member of
type rapid reaction force
['Sweden', 'member of', {'concept': 'international organization'}] ['Sweden', 'member of', {'concept': 'rapid reaction force'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { VALUES ( ?l ) { ( ontology:rapid_reaction_force ) ( ontology:international_organization ) } . ?z rdf:type ?l }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q7152114 Q3724214
P19 P20
Q56061
USER
Which administrative territories were Emil Nödtveidt born in or are the places of death of Paul M. Fleiss ?
OR((Q3724214,P19,c(Q56061)), (Q7152114,P20,c(Q56061)))
action filter_type
action union
action find
entity Q3724214
relation P19
action find
entity Q7152114
relation P20
type Q56061
{'OR': [['Q3724214', 'P19', {'concept': 'Q56061'}], ['Q7152114', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q3724214 property:P19 ?k } UNION { resource:Q7152114 property:P20 ?k } } . ?k rdf:type ontology:Q56061 }
Paul M. Fleiss Emil Nödtveidt
action filter_type
action union
action find
entity Emil Nödtveidt
relation place of birth
action find
entity Paul M. Fleiss
relation place of death
type administrative territorial entity
{'OR': [['Emil Nödtveidt', 'place of birth', {'concept': 'administrative territorial entity'}], ['Paul M. Fleiss', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Emil_Nödtveidt property:place_of_birth ?k } UNION { resource:Paul_M._Fleiss property:place_of_death ?k } } . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q65 Q27447
SYSTEM
Los Angeles, Uddevalla
Q65 Q27447
OR((Q3724214,P19,c(Q56061)), (Q7152114,P20,c(Q56061)))
action filter_type
action union
action find
entity Q3724214
relation P19
action find
entity Q7152114
relation P20
type Q56061
[ANSWERS]
{'OR': [['Q3724214', 'P19', {'concept': 'Q56061'}], ['Q7152114', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q3724214 property:P19 ?k } UNION { resource:Q7152114 property:P20 ?k } } . ?k rdf:type ontology:Q56061 }
Los Angeles Uddevalla
Which administrative territories were Emil Nödtveidt born in or are the places of death of Paul M. Fleiss
Los Angeles Uddevalla
action filter_type
action union
action find
entity Emil Nödtveidt
relation place of birth
action find
entity Paul M. Fleiss
relation place of death
type administrative territorial entity
{'OR': [['Emil Nödtveidt', 'place of birth', {'concept': 'administrative territorial entity'}], ['Paul M. Fleiss', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Emil_Nödtveidt property:place_of_birth ?k } UNION { resource:Paul_M._Fleiss property:place_of_death ?k } } . ?k rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q27447
P276
Q811979
USER
What is located at that administrative territory ?
(c(Q811979),P276,Q27447)
action filter_type
action find_reverse
entity Q27447
relation P276
type Q811979
[{'concept': 'Q811979'}, 'P276', 'Q27447']
SELECT DISTINCT ?m WHERE { ?m property:P276 resource:Q27447 . ?m rdf:type ontology:Q811979 }
Uddevalla
action filter_type
action find_reverse
entity Uddevalla
relation location
type architectural structure
[{'concept': 'architectural structure'}, 'location', 'Uddevalla']
SELECT DISTINCT ?m WHERE { ?m property:location resource:Uddevalla . ?m rdf:type ontology:architectural_structure }
[]
architectural structure
Clarification for simple ques.
Q65
SYSTEM
Did you mean Los Angeles ?
Q65 Q27447
(c(Q811979),P276,Q65) (c(Q811979),P276,Q27447)
[ANSWER]
[{'concept': 'Q811979'}, 'P276', 'Q65'] [{'concept': 'Q811979'}, 'P276', 'Q27447']
SELECT DISTINCT ?m WHERE { ?m property:P276 resource:Q27447 . ?m rdf:type ontology:Q811979 }
Los Angeles Uddevalla
Did you mean Los Angeles ?
Los Angeles
[{'concept': 'architectural structure'}, 'location', 'Los Angeles'] [{'concept': 'architectural structure'}, 'location', 'Uddevalla']
SELECT DISTINCT ?m WHERE { ?m property:location resource:Uddevalla . ?m rdf:type ontology:architectural_structure }
[]
Simple Question (Coreferenced)
USER
No, I meant Uddevalla. Could you tell me the answer for that?
(c(Q811979),P276,Q27447)
Q27447
[{'concept': 'Q811979'}, 'P276', 'Q27447']
[{'concept': 'architectural structure'}, 'location', 'Uddevalla']
[]
Q4692979
SYSTEM
Agnebergshallen
Q4692979
(c(Q811979),P276,Q27447)
action filter_type
action find_reverse
entity Q27447
relation P276
type Q811979
[ANSWER] is located at that administrative territory
[{'concept': 'Q811979'}, 'P276', 'Q27447']
SELECT DISTINCT ?m WHERE { ?m property:P276 resource:Q27447 . ?m rdf:type ontology:Q811979 }
Agnebergshallen
Agnebergshallen is located at that administrative territory
Agnebergshallen
action filter_type
action find_reverse
entity Uddevalla
relation location
type architectural structure
[{'concept': 'architectural structure'}, 'location', 'Uddevalla']
SELECT DISTINCT ?m WHERE { ?m property:location resource:Uddevalla . ?m rdf:type ontology:architectural_structure }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4692979
P17
Q15617994
USER
Which administrative territory is that architectural structure situated in ?
(Q4692979,P17,c(Q15617994))
action filter_type
action find
entity Q4692979
relation P17
type Q15617994
['Q4692979', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q4692979 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
Agnebergshallen
action filter_type
action find
entity Agnebergshallen
relation country
type designation for an administrative territorial entity
['Agnebergshallen', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Agnebergshallen property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q34
SYSTEM
Sweden
Q34
(Q4692979,P17,c(Q15617994))
action filter_type
action find
entity Q4692979
relation P17
type Q15617994
That architectural structure is situated in [ANSWER]
['Q4692979', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q4692979 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
Sweden
That architectural structure is situated in Sweden
Sweden
action filter_type
action find
entity Agnebergshallen
relation country
type designation for an administrative territorial entity
['Agnebergshallen', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Agnebergshallen property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relations with max number of administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action argmax
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?h ) { SELECT DISTINCT ?a ( COUNT ( ?p ) AS ?x ) WHERE { ?a property:P530 ?p . ?a rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q15617994 } GROUP BY ?a } } . { SELECT DISTINCT ?m ( COUNT ( ?u ) AS ?k ) WHERE { ?m property:P530 ?u . ?m rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q15617994 } GROUP BY ?m } . FILTER ( ?k = ?h ) }
action argmax
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?h ) { SELECT DISTINCT ?a ( COUNT ( ?p ) AS ?x ) WHERE { ?a property:diplomatic_relation ?p . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } } . { SELECT DISTINCT ?m ( COUNT ( ?u ) AS ?k ) WHERE { ?m property:diplomatic_relation ?u . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } . FILTER ( ?k = ?h ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q230
SYSTEM
Georgia
Q230
(c(Q15617994),P530,c(Q15617994))
action argmax
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
And [ANSWER] have diplomatic relations with max number of administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?h ) { SELECT DISTINCT ?a ( COUNT ( ?p ) AS ?x ) WHERE { ?a property:P530 ?p . ?a rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q15617994 } GROUP BY ?a } } . { SELECT DISTINCT ?m ( COUNT ( ?u ) AS ?k ) WHERE { ?m property:P530 ?u . ?m rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q15617994 } GROUP BY ?m } . FILTER ( ?k = ?h ) }
Georgia
And Georgia have diplomatic relations with max number of administrative territories
Georgia
action argmax
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?h ) { SELECT DISTINCT ?a ( COUNT ( ?p ) AS ?x ) WHERE { ?a property:diplomatic_relation ?p . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } } . { SELECT DISTINCT ?m ( COUNT ( ?u ) AS ?k ) WHERE { ?m property:diplomatic_relation ?u . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } . FILTER ( ?k = ?h ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P291
Q56061 Q1002697 Q21114848
USER
Which administrative territories were min number of periodical literatures and magazine genres published ?
(c(Q1002697)|c(Q21114848),P291,c(Q56061))
action argmin
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q1002697
action find_reverse_tuple_counts
relation P291
type Q56061
type Q21114848
[[{'concept': 'Q1002697'}, {'concept': 'Q21114848'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?d ) AS ?y ) { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?d ) WHERE { { ?j property:P291 ?x . ?x rdf:type ontology:Q56061 . ?j rdf:type ontology:Q1002697 } UNION { ?j property:P291 ?x . ?x rdf:type ontology:Q56061 . ?j rdf:type ontology:Q21114848 } } GROUP BY ?x } } . { SELECT DISTINCT ?q ( COUNT ( ?s ) AS ?f ) WHERE { ?s rdf:type ?o . VALUES ( ?o ) { ( ontology:Q1002697 ) ( ontology:Q21114848 ) } } GROUP BY ?q } . FILTER ( ?f = ?y ) }
action argmin
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type periodical literature
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type magazine genre
[[{'concept': 'periodical literature'}, {'concept': 'magazine genre'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?d ) AS ?y ) { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?d ) WHERE { { ?j property:place_of_publication ?x . ?x rdf:type ontology:administrative_territorial_entity . ?j rdf:type ontology:periodical_literature } UNION { ?j property:place_of_publication ?x . ?x rdf:type ontology:administrative_territorial_entity . ?j rdf:type ontology:magazine_genre } } GROUP BY ?x } } . { SELECT DISTINCT ?q ( COUNT ( ?s ) AS ?f ) WHERE { ?s rdf:type ?o . VALUES ( ?o ) { ( ontology:periodical_literature ) ( ontology:magazine_genre ) } } GROUP BY ?q } . FILTER ( ?f = ?y ) }
[]
administrative territorial entity periodical literature magazine genre
Q72 Q216 Q647
SYSTEM
Zürich, Vilnius, Rennes
Q807 Q909146 Q2536016 Q2512312 Q190583 Q27918 Q736775 Q2035368 Q3897 Q3711 Q130191 Q393 Q80670 Q25286 Q490595 Q3808 Q501661 Q982367 Q484678 Q151920 Q13375 Q36378 Q4093 Q2560090 Q3404679 Q23337 Q33959 Q987 Q23051 Q586 Q1289 Q10690 Q25748 Q9920 Q15688 Q12155 Q323801 Q15684 Q170497 Q41876 Q749 Q39561 Q2132 Q1930 Q3846 Q81046 Q22889 Q12892 Q365 Q6157 Q1718 Q43631 Q428829 Q1335 Q1895 Q1034159 Q1155 Q103717 Q28911 Q3400328 Q186237 Q180233 Q14328 Q5083 Q1524 Q209055 Q2020203 Q3561 Q40347 Q406 Q234178 Q739452 Q15468 Q6346 Q887 Q5465 Q2141 Q1679567 Q2814 Q2280 Q3141 Q671288 Q72 Q1490 Q1191195 Q102217 Q237 Q334 Q16555 Q16557 Q621 Q192517 Q1296 Q1297 Q3033 Q936183 Q170263 Q35381 Q1748 Q87 Q2081145 Q1024911 Q193478 Q5112 Q2103 Q178093 Q191133 Q11959 Q35493 Q538915 Q78 Q49111 Q2617448 Q36405 Q286048 Q1235510 Q1931927 Q49241 Q172157 Q16567 Q134620 Q13580 Q18419 Q2090 Q49145 Q42735 Q242478 Q327022 Q23154 Q340 Q26421 Q429676 Q672545 Q634054 Q37995 Q6761 Q28249 Q13666 Q761 Q569661 Q2634 Q3584 Q49179 Q735583 Q1724 Q1729 Q3519 Q65 Q2028 Q62 Q3395358 Q683512 Q18125 Q3889 Q9125 Q1867 Q12439 Q269 Q470445 Q126148 Q1352 Q771986 Q49229 Q33405 Q8385 Q493794 Q6106 Q2391194 Q72259 Q1295 Q19785 Q647 Q727 Q669171 Q206988 Q3012 Q24826 Q15695 Q28848 Q128306 Q15088 Q997170 Q203263 Q580 Q193180 Q585 Q34370 Q47048 Q178277 Q192155 Q883 Q207639 Q41262 Q2066 Q100 Q156990 Q3834 Q81137 Q955640 Q281839 Q485172 Q487786 Q172 Q216 Q350 Q720627 Q13972 Q129610 Q179385 Q1348 Q29303 Q628667 Q127159
(c(Q1002697)|c(Q21114848),P291,c(Q56061))
action argmin
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q1002697
action find_reverse_tuple_counts
relation P291
type Q56061
type Q21114848
[ANSWERS] were min number of periodical literatures and magazine genres published
[[{'concept': 'Q1002697'}, {'concept': 'Q21114848'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?d ) AS ?y ) { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?d ) WHERE { { ?j property:P291 ?x . ?x rdf:type ontology:Q56061 . ?j rdf:type ontology:Q1002697 } UNION { ?j property:P291 ?x . ?x rdf:type ontology:Q56061 . ?j rdf:type ontology:Q21114848 } } GROUP BY ?x } } . { SELECT DISTINCT ?q ( COUNT ( ?s ) AS ?f ) WHERE { ?s rdf:type ?o . VALUES ( ?o ) { ( ontology:Q1002697 ) ( ontology:Q21114848 ) } } GROUP BY ?q } . FILTER ( ?f = ?y ) }
Lausanne Godalming Crickhowell Eppegem Mikkeli Bad Rappenau Toronto Tremadog Luanda Belgrade Norwich Szczecin Mühlacker Uppsala Daytona Beach Yaoundé Schleswig Mineola Berkeley Tiberias Pisa Fribourg Glasgow Athol Crumlin Salt Lake City Nice New Delhi Swansea Bonn Grenoble Cardiff Gävle Haarlem Ávila Soria Nampula Segovia Gloucester Reims Groningen Burbank Victoria Ottawa Minden Charleroi Bath Antwerp Cologne Seinäjoki Düsseldorf Leiden Caernarfon Montevideo Petrozavodsk Harstad Busto Arsizio Rovaniemi Lahti St Athan Joensuu Pori Santa Cruz de Tenerife Seattle Athens Torquay Rhyl Algiers Norman Istanbul Bangor Garden City Badalona Indianapolis Yekaterinburg Cape Town Halifax Jakobstad Halle (Saale) Minsk Melbourne Bend Zürich Tokyo Mold Vitebsk Vatican City Singapore Houston Dallas Versailles Boulder Ghent Chicago Göttingen Tonbridge Chester Colombo Copenhagen Alexandria Milborne Port Welshpool Buda Adelaide Bochum Poughkeepsie Fátima Alicante Almaty Mjölby Basel Cambridge Edinburgh Aberdeen New Glasgow, Nova Scotia Dolgellau Bracon Ash Lexington Winchester Columbus Jyväskylä Metro Manila Brooklyn Nuremberg New Haven Olympia Levoča Rockville Bristol Montreal Dordrecht Sereď Barmouth Conwy Yangon Livorno Concord Messina Białystok Königstein im Taunus Naples Nový Jičín Worcester Ylivieska Saarbrücken Erfurt Bari Los Angeles Verona San Francisco Kidwelly Savonlinna Manchester Maputo Winterthur Taipei Detroit Tashkent Prostějov Tangier Chennai Chepstow Durham Little Rock Ostrava Dubuque Portland Saint-Idesbald Portsmouth Dortmund Harpenden Rennes Amsterdam Newtown Cheltenham Ulm Liverpool Salamanca Saint Paul Denton Tarragona Waterville Athens Łódź Kajaani Oslo Rotterdam Oulu Montvale Kotka Novosibirsk Chichester Nottingham Essen Boston Monmouth Konstanz Olomouc Glasgow Englewood Cliffs, New Jersey Ann Arbor Orihuela Toronto Vilnius Cambridge Kanhangad Tartu Galway Greenwich Kolkata Canterbury Spangenberg Bletchley
Zürich, Vilnius and Rennes were min number of periodical literatures and magazine genres published
Zürich Vilnius Rennes
action argmin
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type periodical literature
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type magazine genre
[[{'concept': 'periodical literature'}, {'concept': 'magazine genre'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?d ) AS ?y ) { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?d ) WHERE { { ?j property:place_of_publication ?x . ?x rdf:type ontology:administrative_territorial_entity . ?j rdf:type ontology:periodical_literature } UNION { ?j property:place_of_publication ?x . ?x rdf:type ontology:administrative_territorial_entity . ?j rdf:type ontology:magazine_genre } } GROUP BY ?x } } . { SELECT DISTINCT ?q ( COUNT ( ?s ) AS ?f ) WHERE { ?s rdf:type ?o . VALUES ( ?o ) { ( ontology:periodical_literature ) ( ontology:magazine_genre ) } } GROUP BY ?q } . FILTER ( ?f = ?y ) }
[]