Simple Question (Direct)
Simple Question
Q501205
P190
Q13220204
USER
Which administrative country subdivision is twin city of Sunne Municipality ?
(Q501205,P190,c(Q13220204))
action filter_type
action find
entity Q501205
relation P190
type Q13220204
['Q501205', 'P190', {'concept': 'Q13220204'}]
SELECT DISTINCT ?t WHERE { resource:Q501205 property:P190 ?t . ?t rdf:type ontology:Q13220204 }
Sunne Municipality
action filter_type
action find
entity Sunne Municipality
relation sister city
type second-level administrative country subdivision
['Sunne Municipality', 'sister city', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?t WHERE { resource:Sunne_Municipality property:sister_city ?t . ?t rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q109140
SYSTEM
Elverum
Q109140
(Q501205,P190,c(Q13220204))
action filter_type
action find
entity Q501205
relation P190
type Q13220204
[ANSWER] is twin city of Sunne Municipality
['Q501205', 'P190', {'concept': 'Q13220204'}]
SELECT DISTINCT ?t WHERE { resource:Q501205 property:P190 ?t . ?t rdf:type ontology:Q13220204 }
Elverum
Elverum is twin city of Sunne Municipality
Elverum
action filter_type
action find
entity Sunne Municipality
relation sister city
type second-level administrative country subdivision
['Sunne Municipality', 'sister city', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?t WHERE { resource:Sunne_Municipality property:sister_city ?t . ?t rdf:type ontology:second-level_administrative_country_subdivision }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q109140
P47
Q13220204
USER
Which administrative country subdivisions do that one share a border with ?
(c(Q13220204),P47,Q109140)
action filter_type
action find
entity Q109140
relation P47
type Q13220204
[{'concept': 'Q13220204'}, 'P47', 'Q109140']
SELECT DISTINCT ?z WHERE { resource:Q109140 property:P47 ?z . ?z rdf:type ontology:Q13220204 }
Elverum
action filter_type
action find
entity Elverum
relation shares border with
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'shares border with', 'Elverum']
SELECT DISTINCT ?z WHERE { resource:Elverum property:shares_border_with ?z . ?z rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q48529 Q271063 Q501413
SYSTEM
Trysil, Åmot, Våler
Q501413 Q48529 Q488951 Q271063
(c(Q13220204),P47,Q109140)
action filter_type
action find
entity Q109140
relation P47
type Q13220204
[ANSWERS] that one share a border with
[{'concept': 'Q13220204'}, 'P47', 'Q109140']
SELECT DISTINCT ?z WHERE { resource:Q109140 property:P47 ?z . ?z rdf:type ontology:Q13220204 }
Våler Trysil Løten Åmot
Trysil, Åmot and Våler that one share a border with
Trysil Åmot Våler
action filter_type
action find
entity Elverum
relation shares border with
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'shares border with', 'Elverum']
SELECT DISTINCT ?z WHERE { resource:Elverum property:shares_border_with ?z . ?z rdf:type ontology:second-level_administrative_country_subdivision }
[]
Clarification
Simple Question|Single Entity|Indirect
Q271063
P6
Q502895
USER
Which person has that administrative country subdivision as its head of government ?
(Q271063,P6,c(Q502895))
action filter_type
action find
entity Q271063
relation P6
type Q502895
['Q271063', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q271063 property:P6 ?d . ?d rdf:type ontology:Q502895 }
Åmot
action filter_type
action find
entity Åmot
relation head of government
type common name
['Åmot', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Åmot property:head_of_government ?d . ?d rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q501413
SYSTEM
Did you mean Våler ?
Q48529 Q271063 Q501413
(Q48529,P6,c(Q502895)) (Q271063,P6,c(Q502895)) (Q501413,P6,c(Q502895))
[ANSWER]
['Q48529', 'P6', {'concept': 'Q502895'}] ['Q271063', 'P6', {'concept': 'Q502895'}] ['Q501413', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q271063 property:P6 ?d . ?d rdf:type ontology:Q502895 }
Trysil Åmot Våler
Did you mean Våler ?
Våler
['Trysil', 'head of government', {'concept': 'common name'}] ['Åmot', 'head of government', {'concept': 'common name'}] ['Våler', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Åmot property:head_of_government ?d . ?d rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Åmot. Could you tell me the answer for that?
(Q271063,P6,c(Q502895))
Q271063
['Q271063', 'P6', {'concept': 'Q502895'}]
['Åmot', 'head of government', {'concept': 'common name'}]
[]
Q11967920
SYSTEM
Espen André Kristiansen
Q11967920
(Q271063,P6,c(Q502895))
action filter_type
action find
entity Q271063
relation P6
type Q502895
[ANSWER] has that administrative country subdivision as its head of government
['Q271063', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q271063 property:P6 ?d . ?d rdf:type ontology:Q502895 }
Espen André Kristiansen
Espen André Kristiansen has that administrative country subdivision as its head of government
Espen André Kristiansen
action filter_type
action find
entity Åmot
relation head of government
type common name
['Åmot', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Åmot property:head_of_government ?d . ?d rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q109140
P6
Q502895
USER
Which person has Elverum as its head of government ?
(Q109140,P6,c(Q502895))
action filter_type
action find
entity Q109140
relation P6
type Q502895
['Q109140', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q109140 property:P6 ?p . ?p rdf:type ontology:Q502895 }
Elverum
action filter_type
action find
entity Elverum
relation head of government
type common name
['Elverum', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Elverum property:head_of_government ?p . ?p rdf:type ontology:common_name }
[]
common name
Q11967714
SYSTEM
Erik Hanstad
Q11967714
(Q109140,P6,c(Q502895))
action filter_type
action find
entity Q109140
relation P6
type Q502895
[ANSWER] has Elverum as its head of government
['Q109140', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q109140 property:P6 ?p . ?p rdf:type ontology:Q502895 }
Erik Hanstad
Erik Hanstad has Elverum as its head of government
Erik Hanstad
action filter_type
action find
entity Elverum
relation head of government
type common name
['Elverum', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Elverum property:head_of_government ?p . ?p rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q109140
P740
Q2088357
USER
Which musical ensembles originated at Elverum ?
(c(Q2088357),P740,Q109140)
action filter_type
action find_reverse
entity Q109140
relation P740
type Q2088357
[{'concept': 'Q2088357'}, 'P740', 'Q109140']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q2088357 . ?l property:P740 resource:Q109140 }
Elverum
action filter_type
action find_reverse
entity Elverum
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Elverum']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:musical_ensemble . ?l property:location_of_formation resource:Elverum }
[]
musical ensemble
Q1352347 Q263483
SYSTEM
Team Me, Mortal Love
Q1352347 Q263483
(c(Q2088357),P740,Q109140)
action filter_type
action find_reverse
entity Q109140
relation P740
type Q2088357
[ANSWERS] originated at Elverum
[{'concept': 'Q2088357'}, 'P740', 'Q109140']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q2088357 . ?l property:P740 resource:Q109140 }
Team Me Mortal Love
Team Me and Mortal Love originated at Elverum
Team Me Mortal Love
action filter_type
action find_reverse
entity Elverum
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Elverum']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:musical_ensemble . ?l property:location_of_formation resource:Elverum }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1352347
P136
Q151885
USER
Which concept is the genre for Team Me ?
(Q1352347,P136,c(Q151885))
action filter_type
action find
entity Q1352347
relation P136
type Q151885
['Q1352347', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?n WHERE { resource:Q1352347 property:P136 ?n . ?n rdf:type ontology:Q151885 }
Team Me
action filter_type
action find
entity Team Me
relation genre
type concept
['Team Me', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?n WHERE { resource:Team_Me property:genre ?n . ?n rdf:type ontology:concept }
[]
concept
Q37073
SYSTEM
pop music
Q37073
(Q1352347,P136,c(Q151885))
action filter_type
action find
entity Q1352347
relation P136
type Q151885
Music [ANSWER] is the genre for Team Me
['Q1352347', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?n WHERE { resource:Q1352347 property:P136 ?n . ?n rdf:type ontology:Q151885 }
pop music
Music pop music is the genre for Team Me
pop music
action filter_type
action find
entity Team Me
relation genre
type concept
['Team Me', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?n WHERE { resource:Team_Me property:genre ?n . ?n rdf:type ontology:concept }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1783490
Q151885
USER
And what about Annika Kjærgaard?
(Q1783490,P136,c(Q151885))
action filter_type
action find
entity Q1783490
relation P136
type Q151885
['Q1783490', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?w WHERE { resource:Q1783490 property:P136 ?w . ?w rdf:type ontology:Q151885 }
Annika Kjærgaard
action filter_type
action find
entity Annika Kjærgaard
relation genre
type concept
['Annika Kjærgaard', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?w WHERE { resource:Annika_Kjærgaard property:genre ?w . ?w rdf:type ontology:concept }
[]
concept
Q37073
SYSTEM
pop music
Q37073
(Q1783490,P136,c(Q151885))
action filter_type
action find
entity Q1783490
relation P136
type Q151885
[ANSWER]
['Q1783490', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?w WHERE { resource:Q1783490 property:P136 ?w . ?w rdf:type ontology:Q151885 }
pop music
pop music
action filter_type
action find
entity Annika Kjærgaard
relation genre
type concept
['Annika Kjærgaard', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?w WHERE { resource:Annika_Kjærgaard property:genre ?w . ?w rdf:type ontology:concept }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q48529
P47
Q914262 Q13220204
USER
How many administrative territory of Swedens and administrative country subdivisions are bordered by Trysil ?
(c(Q914262),P47,Q48529) (c(Q13220204),P47,Q48529)
action count
action union
action filter_type
action find_reverse
entity Q48529
relation P47
type Q914262
action filter_type
action find_reverse
entity Q48529
relation P47
type Q13220204
[{'concept': 'Q914262'}, 'P47', 'Q48529'] [{'concept': 'Q13220204'}, 'P47', 'Q48529']
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { VALUES ( ?l ) { ( ontology:Q914262 ) ( ontology:Q13220204 ) } . ?i rdf:type ?l }
Trysil
action count
action union
action filter_type
action find_reverse
entity Trysil
relation shares border with
type administrative territorial entity of Sweden
action filter_type
action find_reverse
entity Trysil
relation shares border with
type second-level administrative country subdivision
[{'concept': 'administrative territorial entity of Sweden'}, 'shares border with', 'Trysil'] [{'concept': 'second-level administrative country subdivision'}, 'shares border with', 'Trysil']
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { VALUES ( ?l ) { ( ontology:administrative_territorial_entity_of_Sweden ) ( ontology:second-level_administrative_country_subdivision ) } . ?i rdf:type ?l }
[]
administrative territorial entity of Sweden second-level administrative country subdivision
SYSTEM
3 administrative territory of Swedens and 5 administrative country subdivisions
Q48909 Q488229 Q510135 Q109140 Q123855 Q271063 Q501413 Q504266
(c(Q914262),P47,Q48529) (c(Q13220204),P47,Q48529)
action count
action union
action filter_type
action find_reverse
entity Q48529
relation P47
type Q914262
action filter_type
action find_reverse
entity Q48529
relation P47
type Q13220204
[ANSWER]
[{'concept': 'Q914262'}, 'P47', 'Q48529'] [{'concept': 'Q13220204'}, 'P47', 'Q48529']
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { VALUES ( ?l ) { ( ontology:Q914262 ) ( ontology:Q13220204 ) } . ?i rdf:type ?l }
Engerdal Rendalen Torsby Municipality Elverum Älvdalen Municipality Åmot Våler Malung-Sälen Municipality
3 administrative territory of Swedens and 5 administrative country subdivisions
action count
action union
action filter_type
action find_reverse
entity Trysil
relation shares border with
type administrative territorial entity of Sweden
action filter_type
action find_reverse
entity Trysil
relation shares border with
type second-level administrative country subdivision
[{'concept': 'administrative territorial entity of Sweden'}, 'shares border with', 'Trysil'] [{'concept': 'second-level administrative country subdivision'}, 'shares border with', 'Trysil']
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { VALUES ( ?l ) { ( ontology:administrative_territorial_entity_of_Sweden ) ( ontology:second-level_administrative_country_subdivision ) } . ?i rdf:type ?l }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P636
Q151885 Q3249551 Q79529
USER
Which concepts are the routes of administration of max number of processes and chemical substances ?
(c(Q3249551)|c(Q79529),P636,c(Q151885))
action argmax
action union
action find_reverse_tuple_counts
relation P636
type Q151885
type Q3249551
action find_reverse_tuple_counts
relation P636
type Q151885
type Q79529
[[{'concept': 'Q3249551'}, {'concept': 'Q79529'}], 'P636', {'concept': 'Q151885'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?t ) AS ?u ) { SELECT DISTINCT ?e ( COUNT ( ?g ) AS ?t ) WHERE { ?g rdf:type ?l . VALUES ( ?l ) { ( ontology:Q79529 ) ( ontology:Q3249551 ) } } GROUP BY ?e } } . { SELECT DISTINCT ?d ( COUNT ( ?m ) AS ?r ) WHERE { { ?d rdf:type ontology:Q151885 . ?m rdf:type ontology:Q3249551 . ?m property:P636 ?d } UNION { ?m property:P636 ?d . ?d rdf:type ontology:Q151885 . ?m rdf:type ontology:Q79529 } } GROUP BY ?d } . FILTER ( ?r = ?u ) }
action argmax
action union
action find_reverse_tuple_counts
relation route of administration
type concept
type process
action find_reverse_tuple_counts
relation route of administration
type concept
type chemical substance
[[{'concept': 'process'}, {'concept': 'chemical substance'}], 'route of administration', {'concept': 'concept'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?t ) AS ?u ) { SELECT DISTINCT ?e ( COUNT ( ?g ) AS ?t ) WHERE { ?g rdf:type ?l . VALUES ( ?l ) { ( ontology:chemical_substance ) ( ontology:process ) } } GROUP BY ?e } } . { SELECT DISTINCT ?d ( COUNT ( ?m ) AS ?r ) WHERE { { ?d rdf:type ontology:concept . ?m rdf:type ontology:process . ?m property:route_of_administration ?d } UNION { ?m property:route_of_administration ?d . ?d rdf:type ontology:concept . ?m rdf:type ontology:chemical_substance } } GROUP BY ?d } . FILTER ( ?r = ?u ) }
[]
concept process chemical substance
Q285166
SYSTEM
oral administration
Q285166
(c(Q3249551)|c(Q79529),P636,c(Q151885))
action argmax
action union
action find_reverse_tuple_counts
relation P636
type Q151885
type Q3249551
action find_reverse_tuple_counts
relation P636
type Q151885
type Q79529
[ANSWER] is the routes of administration of max number of processes and chemical substances
[[{'concept': 'Q3249551'}, {'concept': 'Q79529'}], 'P636', {'concept': 'Q151885'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?t ) AS ?u ) { SELECT DISTINCT ?e ( COUNT ( ?g ) AS ?t ) WHERE { ?g rdf:type ?l . VALUES ( ?l ) { ( ontology:Q79529 ) ( ontology:Q3249551 ) } } GROUP BY ?e } } . { SELECT DISTINCT ?d ( COUNT ( ?m ) AS ?r ) WHERE { { ?d rdf:type ontology:Q151885 . ?m rdf:type ontology:Q3249551 . ?m property:P636 ?d } UNION { ?m property:P636 ?d . ?d rdf:type ontology:Q151885 . ?m rdf:type ontology:Q79529 } } GROUP BY ?d } . FILTER ( ?r = ?u ) }
oral administration
Oral administration is the routes of administration of max number of processes and chemical substances
oral administration
action argmax
action union
action find_reverse_tuple_counts
relation route of administration
type concept
type process
action find_reverse_tuple_counts
relation route of administration
type concept
type chemical substance
[[{'concept': 'process'}, {'concept': 'chemical substance'}], 'route of administration', {'concept': 'concept'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?t ) AS ?u ) { SELECT DISTINCT ?e ( COUNT ( ?g ) AS ?t ) WHERE { ?g rdf:type ?l . VALUES ( ?l ) { ( ontology:chemical_substance ) ( ontology:process ) } } GROUP BY ?e } } . { SELECT DISTINCT ?d ( COUNT ( ?m ) AS ?r ) WHERE { { ?d rdf:type ontology:concept . ?m rdf:type ontology:process . ?m property:route_of_administration ?d } UNION { ?m property:route_of_administration ?d . ?d rdf:type ontology:concept . ?m rdf:type ontology:chemical_substance } } GROUP BY ?d } . FILTER ( ?r = ?u ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q501205
P47
Q15617994
USER
How many administrative territories are bordered by Sunne Municipality ?
(Q501205,P47,c(Q15617994))
action count
action filter_type
action find
entity Q501205
relation P47
type Q15617994
['Q501205', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { resource:Q501205 property:P47 ?i . ?i rdf:type ontology:Q15617994 }
Sunne Municipality
action count
action filter_type
action find
entity Sunne Municipality
relation shares border with
type designation for an administrative territorial entity
['Sunne Municipality', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { resource:Sunne_Municipality property:shares_border_with ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q511365
(Q501205,P47,c(Q15617994))
action count
action filter_type
action find
entity Q501205
relation P47
type Q15617994
[ANSWER]
['Q501205', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { resource:Q501205 property:P47 ?i . ?i rdf:type ontology:Q15617994 }
Arvika Municipality
1
action count
action filter_type
action find
entity Sunne Municipality
relation shares border with
type designation for an administrative territorial entity
['Sunne Municipality', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { resource:Sunne_Municipality property:shares_border_with ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q431492
Q15617994
USER
And how about Cianciana?
(Q431492,P47,c(Q15617994))
action count
action filter_type
action find
entity Q431492
relation P47
type Q15617994
['Q431492', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { resource:Q431492 property:P47 ?r . ?r rdf:type ontology:Q15617994 }
Cianciana
action count
action filter_type
action find
entity Cianciana
relation shares border with
type designation for an administrative territorial entity
['Cianciana', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { resource:Cianciana property:shares_border_with ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
5
(Q431492,P47,c(Q15617994))
action count
action filter_type
action find
entity Q431492
relation P47
type Q15617994
[ANSWER]
['Q431492', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { resource:Q431492 property:P47 ?r . ?r rdf:type ontology:Q15617994 }
5
action count
action filter_type
action find
entity Cianciana
relation shares border with
type designation for an administrative territorial entity
['Cianciana', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { resource:Cianciana property:shares_border_with ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3761455 Q1352347
P264
Q334453
USER
Which divisions sponsored the recording of Team Me or Get It Poppin' ?
OR((Q1352347,P264,c(Q334453)), (Q3761455,P264,c(Q334453)))
action filter_type
action union
action find
entity Q1352347
relation P264
action find
entity Q3761455
relation P264
type Q334453
{'OR': [['Q1352347', 'P264', {'concept': 'Q334453'}], ['Q3761455', 'P264', {'concept': 'Q334453'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q334453 . { { resource:Q1352347 property:P264 ?m } UNION { resource:Q3761455 property:P264 ?m } } }
Get It Poppin' Team Me
action filter_type
action union
action find
entity Team Me
relation record label
action find
entity Get It Poppin'
relation record label
type division
{'OR': [['Team Me', 'record label', {'concept': 'division'}], ["Get It Poppin'", 'record label', {'concept': 'division'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:division . { { resource:Team_Me property:record_label ?m } UNION { resource:Get_It_Poppin' property:record_label ?m } } }
[]
division
Q7250146 Q3518860
SYSTEM
Propeller Recordings, Terror Squad Entertainment
Q7250146 Q3518860
OR((Q1352347,P264,c(Q334453)), (Q3761455,P264,c(Q334453)))
action filter_type
action union
action find
entity Q1352347
relation P264
action find
entity Q3761455
relation P264
type Q334453
[ANSWERS] sponsored the recording of Team Me or Get It Poppin'
{'OR': [['Q1352347', 'P264', {'concept': 'Q334453'}], ['Q3761455', 'P264', {'concept': 'Q334453'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q334453 . { { resource:Q1352347 property:P264 ?m } UNION { resource:Q3761455 property:P264 ?m } } }
Propeller Recordings Terror Squad Entertainment
Propeller Recordings and Terror Squad Entertainment sponsored the recording of Team Me or Get It Poppin'
Propeller Recordings Terror Squad Entertainment
action filter_type
action union
action find
entity Team Me
relation record label
action find
entity Get It Poppin'
relation record label
type division
{'OR': [['Team Me', 'record label', {'concept': 'division'}], ["Get It Poppin'", 'record label', {'concept': 'division'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:division . { { resource:Team_Me property:record_label ?m } UNION { resource:Get_It_Poppin' property:record_label ?m } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q19287168 Q109140
P17
Q15617994
USER
Which administrative territories do Elverum or Joubertberge belong to ?
OR((Q109140,P17,c(Q15617994)), (Q19287168,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q109140
relation P17
action find
entity Q19287168
relation P17
type Q15617994
{'OR': [['Q109140', 'P17', {'concept': 'Q15617994'}], ['Q19287168', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q15617994 . { { resource:Q109140 property:P17 ?b } UNION { resource:Q19287168 property:P17 ?b } } }
Joubertberge Elverum
action filter_type
action union
action find
entity Elverum
relation country
action find
entity Joubertberge
relation country
type designation for an administrative territorial entity
{'OR': [['Elverum', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Joubertberge', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Elverum property:country ?b } UNION { resource:Joubertberge property:country ?b } } }
[]
designation for an administrative territorial entity
Q20 Q1030
SYSTEM
Norway, Namibia
Q20 Q1030
OR((Q109140,P17,c(Q15617994)), (Q19287168,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q109140
relation P17
action find
entity Q19287168
relation P17
type Q15617994
Elverum or Joubertberge belong to [ANSWERS]
{'OR': [['Q109140', 'P17', {'concept': 'Q15617994'}], ['Q19287168', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q15617994 . { { resource:Q109140 property:P17 ?b } UNION { resource:Q19287168 property:P17 ?b } } }
Norway Namibia
Elverum or Joubertberge belong to Norway and Namibia
Norway Namibia
action filter_type
action union
action find
entity Elverum
relation country
action find
entity Joubertberge
relation country
type designation for an administrative territorial entity
{'OR': [['Elverum', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Joubertberge', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Elverum property:country ?b } UNION { resource:Joubertberge property:country ?b } } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q109140
P19 P21
Q502895
USER
Which people were born at Elverum and are a male ?
AND((c(Q502895),P19,Q109140), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q109140
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q109140'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?f WHERE { ?f property:P19 resource:Q109140 . ?f property:P21 resource:Q6581097 . ?f rdf:type ontology:Q502895 }
male Elverum
action filter_type
action intersection
action find_reverse
entity Elverum
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Elverum'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?f WHERE { ?f property:place_of_birth resource:Elverum . ?f property:gender resource:male . ?f rdf:type ontology:common_name }
[]
common name
Q3973476 Q3788082 Q21534225 Q27064132 Q7596979 Q6491654 Q1351031 Q23042576 Q261069 Q27558094
SYSTEM
Some of them are Stian Berget, Håvard Storbæk, Jan Gundersrud, Sebastian Pedersen, Stahl Stenslie, Lars Nordberg, Truls Sønstehagen Johansen, Kolbjørn Brenda, Stig Inge Bjørnebye, Christopher Paus
Q1384011 Q16221840 Q1798526 Q6515122 Q20090929 Q1343717 Q3700815 Q21534225 Q977847 Q1009816 Q1351031 Q3788082 Q27064132 Q15609656 Q217505 Q6437948 Q2521827 Q1305920 Q27558094 Q23042576 Q1779269 Q155202 Q7825927 Q6491654 Q24148560 Q11971725 Q16195337 Q3973476 Q7596979 Q17064511 Q981538 Q128844 Q969835 Q261069 Q5649748 Q1367661
AND((c(Q502895),P19,Q109140), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q109140
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] were born at Elverum and are a male
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q109140'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?f WHERE { ?f property:P19 resource:Q109140 . ?f property:P21 resource:Q6581097 . ?f rdf:type ontology:Q502895 }
Rune Djurhuus Tord Øverland Knudsen Roy Khan Per Roar Bredvold Sigurd Hole Knut Storberget Dag Frode Hornseth Jan Gundersrud Frode Løberg Gerhard Munthe Truls Sønstehagen Johansen Håvard Storbæk Sebastian Pedersen Stig Rasch Bjørn Dæhlie Kristian Løken Ole Østmo Einar Liberg Christopher Paus Kolbjørn Brenda Reidar Hjermstad Gunnar Sønstevold Tormod Hermansen Lars Nordberg Engebret Soot (1855–1913) Geir Stormoen Baard Slagsvold Stian Berget Stahl Stenslie Knut Gløersen Johs Harviken Vegar Eggen Hedenstad Rolf Storsveen Stig Inge Bjørnebye Hans Anton Aalien Ivar Mobekk
Stian Berget, Håvard Storbæk, Jan Gundersrud, Sebastian Pedersen, Stahl Stenslie, Lars Nordberg, Truls Sønstehagen Johansen, Kolbjørn Brenda, Stig Inge Bjørnebye and Christopher Paus were born at Elverum and are a male
Stian Berget Håvard Storbæk Jan Gundersrud Sebastian Pedersen Stahl Stenslie Lars Nordberg Truls Sønstehagen Johansen Kolbjørn Brenda Stig Inge Bjørnebye Christopher Paus
action filter_type
action intersection
action find_reverse
entity Elverum
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Elverum'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?f WHERE { ?f property:place_of_birth resource:Elverum . ?f property:gender resource:male . ?f rdf:type ontology:common_name }
[]