Simple Question (Direct)
Simple Question
Q4799494
P21
Q290
USER
Which sex does Arthur Leonard Bateman possess ?
(Q4799494,P21,c(Q290))
action filter_type
action find
entity Q4799494
relation P21
type Q290
['Q4799494', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q4799494 property:P21 ?w . ?w rdf:type ontology:Q290 }
Arthur Leonard Bateman
action filter_type
action find
entity Arthur Leonard Bateman
relation gender
type sex
['Arthur Leonard Bateman', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Arthur_Leonard_Bateman property:gender ?w . ?w rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q4799494,P21,c(Q290))
action filter_type
action find
entity Q4799494
relation P21
type Q290
Arthur Leonard Bateman possesses un [ANSWER]
['Q4799494', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q4799494 property:P21 ?w . ?w rdf:type ontology:Q290 }
male
Arthur Leonard Bateman possesses un male
male
action filter_type
action find
entity Arthur Leonard Bateman
relation gender
type sex
['Arthur Leonard Bateman', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Arthur_Leonard_Bateman property:gender ?w . ?w rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4799494
P102
Q7210356
USER
Which political organization is Arthur Leonard Bateman a member of ?
(Q4799494,P102,c(Q7210356))
action filter_type
action find
entity Q4799494
relation P102
type Q7210356
['Q4799494', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q7210356 . resource:Q4799494 property:P102 ?c }
Arthur Leonard Bateman
action filter_type
action find
entity Arthur Leonard Bateman
relation member of political party
type political organization
['Arthur Leonard Bateman', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:political_organization . resource:Arthur_Leonard_Bateman property:member_of_political_party ?c }
[]
political organization
Q9626
SYSTEM
Conservative Party
Q9626
(Q4799494,P102,c(Q7210356))
action filter_type
action find
entity Q4799494
relation P102
type Q7210356
The [ANSWER] is Arthur Leonard Bateman a member of
['Q4799494', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q7210356 . resource:Q4799494 property:P102 ?c }
Conservative Party
The Conservative Party is Arthur Leonard Bateman a member of
Conservative Party
action filter_type
action find
entity Arthur Leonard Bateman
relation member of political party
type political organization
['Arthur Leonard Bateman', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:political_organization . resource:Arthur_Leonard_Bateman property:member_of_political_party ?c }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q1351663 Q4799494
P27
Q15617994
USER
Which administrative territories do Arthur Leonard Bateman and Malcolm Roberts (singer) belong to ?
AND((Q4799494,P27,c(Q15617994)), (Q1351663,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q4799494
relation P27
action find
entity Q1351663
relation P27
type Q15617994
{'AND': [['Q4799494', 'P27', {'concept': 'Q15617994'}], ['Q1351663', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { resource:Q4799494 property:P27 ?m . resource:Q1351663 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
Malcolm Roberts (singer) Arthur Leonard Bateman
action filter_type
action intersection
action find
entity Arthur Leonard Bateman
relation country of citizenship
action find
entity Malcolm Roberts (singer)
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Arthur Leonard Bateman', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Malcolm Roberts (singer)', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { resource:Arthur_Leonard_Bateman property:country_of_citizenship ?m . resource:Malcolm_Roberts_(singer) property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
AND((Q4799494,P27,c(Q15617994)), (Q1351663,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q4799494
relation P27
action find
entity Q1351663
relation P27
type Q15617994
Arthur Leonard Bateman and Malcolm Roberts ( singer ) belong to the [ANSWER]
{'AND': [['Q4799494', 'P27', {'concept': 'Q15617994'}], ['Q1351663', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { resource:Q4799494 property:P27 ?m . resource:Q1351663 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
United Kingdom
Arthur Leonard Bateman and Malcolm Roberts ( singer ) belong to the United Kingdom
United Kingdom
action filter_type
action intersection
action find
entity Arthur Leonard Bateman
relation country of citizenship
action find
entity Malcolm Roberts (singer)
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Arthur Leonard Bateman', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Malcolm Roberts (singer)', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { resource:Arthur_Leonard_Bateman property:country_of_citizenship ?m . resource:Malcolm_Roberts_(singer) property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1351663
P710
Q15275719
USER
Which recurring event has Malcolm Roberts (singer) as its participant ?
(c(Q15275719),P710,Q145)
action filter_type
action find_reverse
entity Q1351663
relation P710
type Q15275719
[{'concept': 'Q15275719'}, 'P710', 'Q145']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15275719 . ?i property:P710 resource:Q1351663 }
Malcolm Roberts (singer)
action filter_type
action find_reverse
entity Malcolm Roberts (singer)
relation participant
type recurring event
[{'concept': 'recurring event'}, 'participant', 'United Kingdom']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:recurring_event . ?i property:participant resource:Malcolm_Roberts_(singer) }
[]
recurring event
Q179853
SYSTEM
Eurovision Song Contest 1985
Q179853
(c(Q15275719),P710,Q145)
action filter_type
action find_reverse
entity Q1351663
relation P710
type Q15275719
[ANSWER] has Malcolm Roberts (singer) as its participant
[{'concept': 'Q15275719'}, 'P710', 'Q145']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15275719 . ?i property:P710 resource:Q1351663 }
Eurovision Song Contest 1985
Eurovision Song Contest 1985 has Malcolm Roberts (singer) as its participant
Eurovision Song Contest 1985
action filter_type
action find_reverse
entity Malcolm Roberts (singer)
relation participant
type recurring event
[{'concept': 'recurring event'}, 'participant', 'United Kingdom']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:recurring_event . ?i property:participant resource:Malcolm_Roberts_(singer) }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q179853 Q7527926
P710
Q502895
USER
Was Sir John McMahon, 1st Baronet a participant of that recurring event ?
(Q179853,P710,Q7527926)
action is_in
entity Q7527926
action find
entity Q179853
relation P710
['Q179853', 'P710', 'Q7527926']
ASK WHERE { resource:Q179853 property:P710 resource:Q7527926 }
Eurovision Song Contest 1985 Sir John McMahon, 1st Baronet
action is_in
entity Sir John McMahon, 1st Baronet
action find
entity Eurovision Song Contest 1985
relation participant
['Eurovision Song Contest 1985', 'participant', 'Sir John McMahon, 1st Baronet']
ASK WHERE { resource:Eurovision_Song_Contest_1985 property:participant resource:Sir_John_McMahon,_1st_Baronet }
[]
common name
SYSTEM
NO
(Q179853,P710,Q7527926)
action is_in
entity Q7527926
action find
entity Q179853
relation P710
[ANSWER]
['Q179853', 'P710', 'Q7527926']
ASK WHERE { resource:Q179853 property:P710 resource:Q7527926 }
No
action is_in
entity Sir John McMahon, 1st Baronet
action find
entity Eurovision Song Contest 1985
relation participant
['Eurovision Song Contest 1985', 'participant', 'Sir John McMahon, 1st Baronet']
ASK WHERE { resource:Eurovision_Song_Contest_1985 property:participant resource:Sir_John_McMahon,_1st_Baronet }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q179853
P1344
Q2088357
USER
Who took part in that recurring event ?
action filter_type
action find_reverse
entity Q179853
relation P1344
type Q2088357
SELECT DISTINCT ?g WHERE { ?g property:P1344 resource:Q179853 . ?g rdf:type ontology:Q2088357 }
Eurovision Song Contest 1985
action filter_type
action find_reverse
entity Eurovision Song Contest 1985
relation participant of
type musical ensemble
SELECT DISTINCT ?g WHERE { ?g property:participant_of resource:Eurovision_Song_Contest_1985 . ?g rdf:type ontology:musical_ensemble }
[]
musical ensemble
Q1881410 Q650238
SYSTEM
Mazhar-Fuat-Özkan, Wind
Q1881410 Q650238
action filter_type
action find_reverse
entity Q179853
relation P1344
type Q2088357
[ANSWERS] took part in that recurring event
SELECT DISTINCT ?g WHERE { ?g property:P1344 resource:Q179853 . ?g rdf:type ontology:Q2088357 }
Mazhar-Fuat-Özkan Wind
Mazhar-Fuat-Özkan and Wind took part in that recurring event
Mazhar-Fuat-Özkan Wind
action filter_type
action find_reverse
entity Eurovision Song Contest 1985
relation participant of
type musical ensemble
SELECT DISTINCT ?g WHERE { ?g property:participant_of resource:Eurovision_Song_Contest_1985 . ?g rdf:type ontology:musical_ensemble }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1881410
P136
Q151885
USER
What can be considered as category for that musical ensemble ?
(Q1881410,P136,c(Q151885))
action filter_type
action find
entity Q1881410
relation P136
type Q151885
['Q1881410', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?j WHERE { resource:Q1881410 property:P136 ?j . ?j rdf:type ontology:Q151885 }
Mazhar-Fuat-Özkan
action filter_type
action find
entity Mazhar-Fuat-Özkan
relation genre
type concept
['Mazhar-Fuat-Özkan', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?j WHERE { resource:Mazhar-Fuat-Özkan property:genre ?j . ?j rdf:type ontology:concept }
[]
concept
Clarification for simple ques.
Q650238
SYSTEM
Did you mean Wind ?
Q1881410 Q650238
(Q1881410,P136,c(Q151885)) (Q650238,P136,c(Q151885))
[ANSWER]
['Q1881410', 'P136', {'concept': 'Q151885'}] ['Q650238', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?j WHERE { resource:Q1881410 property:P136 ?j . ?j rdf:type ontology:Q151885 }
Mazhar-Fuat-Özkan Wind
Did you mean Wind ?
Wind
['Mazhar-Fuat-Özkan', 'genre', {'concept': 'concept'}] ['Wind', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?j WHERE { resource:Mazhar-Fuat-Özkan property:genre ?j . ?j rdf:type ontology:concept }
[]
Simple Question (Coreferenced)
USER
No, I meant Mazhar-Fuat-Özkan. Could you tell me the answer for that?
(Q1881410,P136,c(Q151885))
Q1881410
['Q1881410', 'P136', {'concept': 'Q151885'}]
['Mazhar-Fuat-Özkan', 'genre', {'concept': 'concept'}]
[]
Q11399
SYSTEM
rock music
Q11399
(Q1881410,P136,c(Q151885))
action filter_type
action find
entity Q1881410
relation P136
type Q151885
[ANSWER] can be considered as category for that musical ensemble
['Q1881410', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?j WHERE { resource:Q1881410 property:P136 ?j . ?j rdf:type ontology:Q151885 }
rock music
Rock music can be considered as category for that musical ensemble
rock music
action filter_type
action find
entity Mazhar-Fuat-Özkan
relation genre
type concept
['Mazhar-Fuat-Özkan', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?j WHERE { resource:Mazhar-Fuat-Özkan property:genre ?j . ?j rdf:type ontology:concept }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11399
P361
Q151885
USER
Which concepts are parts of that one ?
(c(Q151885),P361,Q11399)
action filter_type
action find_reverse
entity Q11399
relation P361
type Q151885
[{'concept': 'Q151885'}, 'P361', 'Q11399']
SELECT DISTINCT ?t WHERE { ?t property:P361 resource:Q11399 . ?t rdf:type ontology:Q151885 }
rock music
action filter_type
action find_reverse
entity rock music
relation part of
type concept
[{'concept': 'concept'}, 'part of', 'rock music']
SELECT DISTINCT ?t WHERE { ?t property:part_of resource:rock_music . ?t rdf:type ontology:concept }
[]
concept
Q484641 Q1784032 Q2988851
SYSTEM
pop rock, Viking rock, Finnish rock
Q1784032 Q2988851 Q484641 Q379671
(c(Q151885),P361,Q11399)
action filter_type
action find_reverse
entity Q11399
relation P361
type Q151885
[ANSWERS] are parts of that one
[{'concept': 'Q151885'}, 'P361', 'Q11399']
SELECT DISTINCT ?t WHERE { ?t property:P361 resource:Q11399 . ?t rdf:type ontology:Q151885 }
Viking rock Finnish rock pop rock post-grunge
Pop rock, Viking rock and Finnish rock are parts of that one
pop rock Viking rock Finnish rock
action filter_type
action find_reverse
entity rock music
relation part of
type concept
[{'concept': 'concept'}, 'part of', 'rock music']
SELECT DISTINCT ?t WHERE { ?t property:part_of resource:rock_music . ?t rdf:type ontology:concept }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q26399
P706
Q107425 Q151885
USER
How many landscapes are greater number of concepts located on than Hoggar Mountains ?
(c(Q151885),P706,c(Q107425))
action count
action greater
action find_reverse_tuple_counts
relation P706
type Q107425
type Q151885
action count
action filter_type
action find
entity Q26399
relation P706
type Q107425
[{'concept': 'Q151885'}, 'P706', {'concept': 'Q107425'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?l ) WHERE { ?p property:P706 ?n . ?n rdf:type ontology:Q107425 . ?p rdf:type ontology:Q151885 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { resource:Q26399 property:P706 ?q . ?q rdf:type ontology:Q107425 } } . FILTER ( ?l > ?i ) }
Hoggar Mountains
action count
action greater
action find_reverse_tuple_counts
relation located on terrain feature
type landscape
type concept
action count
action filter_type
action find
entity Hoggar Mountains
relation located on terrain feature
type landscape
[{'concept': 'concept'}, 'located on terrain feature', {'concept': 'landscape'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?l ) WHERE { ?p property:located_on_terrain_feature ?n . ?n rdf:type ontology:landscape . ?p rdf:type ontology:concept } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { resource:Hoggar_Mountains property:located_on_terrain_feature ?q . ?q rdf:type ontology:landscape } } . FILTER ( ?l > ?i ) }
[]
landscape concept
SYSTEM
4
Q202207 Q11767 Q38272 Q172702
(c(Q151885),P706,c(Q107425))
action count
action greater
action find_reverse_tuple_counts
relation P706
type Q107425
type Q151885
action count
action filter_type
action find
entity Q26399
relation P706
type Q107425
[ANSWER]
[{'concept': 'Q151885'}, 'P706', {'concept': 'Q107425'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?l ) WHERE { ?p property:P706 ?n . ?n rdf:type ontology:Q107425 . ?p rdf:type ontology:Q151885 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { resource:Q26399 property:P706 ?q . ?q rdf:type ontology:Q107425 } } . FILTER ( ?l > ?i ) }
Po Valley Mesopotamia British Isles Karakum Desert
4
action count
action greater
action find_reverse_tuple_counts
relation located on terrain feature
type landscape
type concept
action count
action filter_type
action find
entity Hoggar Mountains
relation located on terrain feature
type landscape
[{'concept': 'concept'}, 'located on terrain feature', {'concept': 'landscape'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?l ) WHERE { ?p property:located_on_terrain_feature ?n . ?n rdf:type ontology:landscape . ?p rdf:type ontology:concept } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { resource:Hoggar_Mountains property:located_on_terrain_feature ?q . ?q rdf:type ontology:landscape } } . FILTER ( ?l > ?i ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q118350
P706
Q107425 Q151885
USER
And how about Caroline Islands?
(c(Q151885),P706,c(Q107425))
action count
action greater
action find_reverse_tuple_counts
relation P706
type Q107425
type Q151885
action count
action filter_type
action find
entity Q118350
relation P706
type Q107425
[{'concept': 'Q151885'}, 'P706', {'concept': 'Q107425'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?e ) AS ?u ) WHERE { ?t rdf:type ontology:Q107425 . ?e rdf:type ontology:Q151885 . ?e property:P706 ?t } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { resource:Q118350 property:P706 ?r . ?r rdf:type ontology:Q107425 } } . FILTER ( ?u > ?l ) }
Caroline Islands
action count
action greater
action find_reverse_tuple_counts
relation located on terrain feature
type landscape
type concept
action count
action filter_type
action find
entity Caroline Islands
relation located on terrain feature
type landscape
[{'concept': 'concept'}, 'located on terrain feature', {'concept': 'landscape'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?e ) AS ?u ) WHERE { ?t rdf:type ontology:landscape . ?e rdf:type ontology:concept . ?e property:located_on_terrain_feature ?t } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { resource:Caroline_Islands property:located_on_terrain_feature ?r . ?r rdf:type ontology:landscape } } . FILTER ( ?u > ?l ) }
[]
landscape concept
SYSTEM
4
Q202207 Q11767 Q38272 Q172702
(c(Q151885),P706,c(Q107425))
action count
action greater
action find_reverse_tuple_counts
relation P706
type Q107425
type Q151885
action count
action filter_type
action find
entity Q118350
relation P706
type Q107425
[ANSWER]
[{'concept': 'Q151885'}, 'P706', {'concept': 'Q107425'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?e ) AS ?u ) WHERE { ?t rdf:type ontology:Q107425 . ?e rdf:type ontology:Q151885 . ?e property:P706 ?t } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { resource:Q118350 property:P706 ?r . ?r rdf:type ontology:Q107425 } } . FILTER ( ?u > ?l ) }
Po Valley Mesopotamia British Isles Karakum Desert
4
action count
action greater
action find_reverse_tuple_counts
relation located on terrain feature
type landscape
type concept
action count
action filter_type
action find
entity Caroline Islands
relation located on terrain feature
type landscape
[{'concept': 'concept'}, 'located on terrain feature', {'concept': 'landscape'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?e ) AS ?u ) WHERE { ?t rdf:type ontology:landscape . ?e rdf:type ontology:concept . ?e property:located_on_terrain_feature ?t } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { resource:Caroline_Islands property:located_on_terrain_feature ?r . ?r rdf:type ontology:landscape } } . FILTER ( ?u > ?l ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P706
Q82794 Q2221906 Q151885
USER
Which concepts have their location as min number of geographic regions or geographic locations ?
(c(Q151885),P706,c(Q82794)|c(Q2221906))
action argmin
action union
action find_tuple_counts
relation P706
type Q151885
type Q82794
action find_tuple_counts
relation P706
type Q151885
type Q2221906
[{'concept': 'Q151885'}, 'P706', [{'concept': 'Q82794'}, {'concept': 'Q2221906'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MIN ( ?a ) AS ?o ) { SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) ?z WHERE { { ?z property:P706 ?c . ?z rdf:type ontology:Q151885 . ?c rdf:type ontology:Q82794 } UNION { ?z property:P706 ?c . ?z rdf:type ontology:Q151885 . ?c rdf:type ontology:Q2221906 } } GROUP BY ?z } } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) ?g WHERE { VALUES ( ?p ) { ( ontology:Q82794 ) ( ontology:Q2221906 ) } . ?x rdf:type ?p } GROUP BY ?g } . FILTER ( ?m = ?o ) }
action argmin
action union
action find_tuple_counts
relation located on terrain feature
type concept
type geographic region
action find_tuple_counts
relation located on terrain feature
type concept
type geographic location
[{'concept': 'concept'}, 'located on terrain feature', [{'concept': 'geographic region'}, {'concept': 'geographic location'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MIN ( ?a ) AS ?o ) { SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) ?z WHERE { { ?z property:located_on_terrain_feature ?c . ?z rdf:type ontology:concept . ?c rdf:type ontology:geographic_region } UNION { ?z property:located_on_terrain_feature ?c . ?z rdf:type ontology:concept . ?c rdf:type ontology:geographic_location } } GROUP BY ?z } } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) ?g WHERE { VALUES ( ?p ) { ( ontology:geographic_region ) ( ontology:geographic_location ) } . ?x rdf:type ?p } GROUP BY ?g } . FILTER ( ?m = ?o ) }
[]
geographic region geographic location concept
Q611017 Q2332687 Q1483547
SYSTEM
Lusatian culture, Piliny culture, Starčevo culture
Q1585136 Q16389397 Q645489 Q13409799 Q2332687 Q1298414 Q2460861 Q1483547 Q1049966 Q1887797 Q2005344 Q1037978 Q687230 Q245156 Q1737460 Q1263312 Q279792 Q2245864 Q855546 Q3007186 Q2624476 Q1588784 Q1017984 Q169349 Q1859432 Q175801 Q672010 Q127118 Q1051663 Q2994546 Q671984 Q2640569 Q134178 Q1473758 Q1808482 Q1241230 Q1362485 Q1054850 Q1423912 Q1421436 Q1002169 Q372349 Q2625916 Q1229136 Q2666408 Q2015677 Q1688286 Q1474345 Q1509262 Q1241067 Q22906080 Q2372667 Q2995537 Q2446445 Q169320 Q1577518 Q4096641 Q2636498 Q1369777 Q399951 Q611017
(c(Q151885),P706,c(Q82794)|c(Q2221906))
action argmin
action union
action find_tuple_counts
relation P706
type Q151885
type Q82794
action find_tuple_counts
relation P706
type Q151885
type Q2221906
[ANSWERS] have their location as min number of geographic regions or geographic locations
[{'concept': 'Q151885'}, 'P706', [{'concept': 'Q82794'}, {'concept': 'Q2221906'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MIN ( ?a ) AS ?o ) { SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) ?z WHERE { { ?z property:P706 ?c . ?z rdf:type ontology:Q151885 . ?c rdf:type ontology:Q82794 } UNION { ?z property:P706 ?c . ?z rdf:type ontology:Q151885 . ?c rdf:type ontology:Q2221906 } } GROUP BY ?z } } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) ?g WHERE { VALUES ( ?p ) { ( ontology:Q82794 ) ( ontology:Q2221906 ) } . ?x rdf:type ?p } GROUP BY ?g } . FILTER ( ?m = ?o ) }
Monte Claro culture Kepler-186f Baradostian culture Argaric culture Piliny culture Egolzwil Culture Lima culture Starčevo culture Castro culture Mal'ta-Buret' culture Tagar culture Gushi culture Baden culture Ubaid period Kayue culture Tiszapolgár culture Botai culture Schmarloh Bükk culture Arzachena culture Marajoara culture Hassuna culture Butmir culture Kura–Araxes culture Varna culture Sican culture Horgen culture Vorholz Erlitou culture Penkovka culture Cortaillod culture Aldy-Bel culture Minoan civilization Ozieri culture Tardenoisian Donets Ridge Ertebølle culture Bactria–Margiana Archaeological Complex Przeworsk culture Nuragic civilization Bug-Dniester culture Gáva culture Gandhara grave culture Grooved ware Asturian culture Zarubintsy culture Esik Bes-Shatir Culture Chernyakhov culture Hamangia culture Old Europe K2-3d Swiderian culture Soanian Milograd culture Trialeti culture Komsa culture Brnjica culture Chernoles culture Este culture Ahar-Banas culture Lusatian culture
Lusatian culture, Piliny culture and Starčevo culture have their location as min number of geographic regions or geographic locations
Lusatian culture Piliny culture Starčevo culture
action argmin
action union
action find_tuple_counts
relation located on terrain feature
type concept
type geographic region
action find_tuple_counts
relation located on terrain feature
type concept
type geographic location
[{'concept': 'concept'}, 'located on terrain feature', [{'concept': 'geographic region'}, {'concept': 'geographic location'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MIN ( ?a ) AS ?o ) { SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) ?z WHERE { { ?z property:located_on_terrain_feature ?c . ?z rdf:type ontology:concept . ?c rdf:type ontology:geographic_region } UNION { ?z property:located_on_terrain_feature ?c . ?z rdf:type ontology:concept . ?c rdf:type ontology:geographic_location } } GROUP BY ?z } } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) ?g WHERE { VALUES ( ?p ) { ( ontology:geographic_region ) ( ontology:geographic_location ) } . ?x rdf:type ?p } GROUP BY ?g } . FILTER ( ?m = ?o ) }
[]