Simple Question (Direct)
Simple Question
Q5515776
P172
Q2472587
USER
Which people does Gabriel Opio have as ethnic origin ?
(Q5515776,P172,c(Q2472587))
action filter_type
action find
entity Q5515776
relation P172
type Q2472587
['Q5515776', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?s WHERE { resource:Q5515776 property:P172 ?s . ?s rdf:type ontology:Q2472587 }
Gabriel Opio
action filter_type
action find
entity Gabriel Opio
relation ethnic group
type people
['Gabriel Opio', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?s WHERE { resource:Gabriel_Opio property:ethnic_group ?s . ?s rdf:type ontology:people }
[]
people
Q7409418
SYSTEM
Samia tribe
Q7409418
(Q5515776,P172,c(Q2472587))
action filter_type
action find
entity Q5515776
relation P172
type Q2472587
Gabriel Opio has a [ANSWER] as ethnic origin
['Q5515776', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?s WHERE { resource:Q5515776 property:P172 ?s . ?s rdf:type ontology:Q2472587 }
Samia tribe
Gabriel Opio has a Samia tribe as ethnic origin
Samia tribe
action filter_type
action find
entity Gabriel Opio
relation ethnic group
type people
['Gabriel Opio', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?s WHERE { resource:Gabriel_Opio property:ethnic_group ?s . ?s rdf:type ontology:people }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P172
Q502895
USER
How many people have that people as ethnic group ?
(c(Q502895),P172,Q7409418)
action count
action filter_type
action find_reverse
entity Q7409418
relation P172
type Q502895
[{'concept': 'Q502895'}, 'P172', 'Q7409418']
SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { ?m property:P172 resource:Q7409418 . ?m rdf:type ontology:Q502895 }
action count
action filter_type
action find_reverse
entity Samia tribe
relation ethnic group
type common name
[{'concept': 'common name'}, 'ethnic group', 'Samia tribe']
SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { ?m property:ethnic_group resource:Samia_tribe . ?m rdf:type ontology:common_name }
[]
common name
SYSTEM
2
Q5515776 Q393388
(c(Q502895),P172,Q7409418)
action count
action filter_type
action find_reverse
entity Q7409418
relation P172
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P172', 'Q7409418']
SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { ?m property:P172 resource:Q7409418 . ?m rdf:type ontology:Q502895 }
Gabriel Opio Aggrey Awori
2
action count
action filter_type
action find_reverse
entity Samia tribe
relation ethnic group
type common name
[{'concept': 'common name'}, 'ethnic group', 'Samia tribe']
SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { ?m property:ethnic_group resource:Samia_tribe . ?m rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5515776
P21
Q290
USER
Which sex does Gabriel Opio have ?
(Q5515776,P21,c(Q290))
action filter_type
action find
entity Q5515776
relation P21
type Q290
['Q5515776', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q5515776 property:P21 ?p . ?p rdf:type ontology:Q290 }
Gabriel Opio
action filter_type
action find
entity Gabriel Opio
relation gender
type sex
['Gabriel Opio', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Gabriel_Opio property:gender ?p . ?p rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5515776,P21,c(Q290))
action filter_type
action find
entity Q5515776
relation P21
type Q290
Gabriel Opio has a [ANSWER]
['Q5515776', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q5515776 property:P21 ?p . ?p rdf:type ontology:Q290 }
male
Gabriel Opio has a male
male
action filter_type
action find
entity Gabriel Opio
relation gender
type sex
['Gabriel Opio', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Gabriel_Opio property:gender ?p . ?p rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q5515776
P19
Q15617994
USER
How many administrative territories were Gabriel Opio born at ?
(Q5515776,P19,c(Q15617994))
action count
action filter_type
action find
entity Q5515776
relation P19
type Q15617994
['Q5515776', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { ?r rdf:type ontology:Q15617994 . resource:Q5515776 property:P19 ?r }
Gabriel Opio
action count
action filter_type
action find
entity Gabriel Opio
relation place of birth
type designation for an administrative territorial entity
['Gabriel Opio', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Gabriel_Opio property:place_of_birth ?r }
[]
designation for an administrative territorial entity
SYSTEM
1
Q1036
(Q5515776,P19,c(Q15617994))
action count
action filter_type
action find
entity Q5515776
relation P19
type Q15617994
[ANSWER]
['Q5515776', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { ?r rdf:type ontology:Q15617994 . resource:Q5515776 property:P19 ?r }
Uganda
1
action count
action filter_type
action find
entity Gabriel Opio
relation place of birth
type designation for an administrative territorial entity
['Gabriel Opio', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Gabriel_Opio property:place_of_birth ?r }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16599849
P735
Q82799
USER
Which name is Sami Panico known by ?
(Q16599849,P735,c(Q82799))
action filter_type
action find
entity Q16599849
relation P735
type Q82799
['Q16599849', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?m WHERE { resource:Q16599849 property:P735 ?m . ?m rdf:type ontology:Q82799 }
Sami Panico
action filter_type
action find
entity Sami Panico
relation given name
type name
['Sami Panico', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?m WHERE { resource:Sami_Panico property:given_name ?m . ?m rdf:type ontology:name }
[]
name
Q19832245
SYSTEM
Sami
Q19832245
(Q16599849,P735,c(Q82799))
action filter_type
action find
entity Q16599849
relation P735
type Q82799
[ANSWER] Panico is known by [ANSWER]
['Q16599849', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?m WHERE { resource:Q16599849 property:P735 ?m . ?m rdf:type ontology:Q82799 }
Sami
Sami Panico is known by Sami
Sami
action filter_type
action find
entity Sami Panico
relation given name
type name
['Sami Panico', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?m WHERE { resource:Sami_Panico property:given_name ?m . ?m rdf:type ontology:name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6712891
Q82799
USER
And how about M. Marimuthu?
(Q6712891,P735,c(Q82799))
action filter_type
action find
entity Q6712891
relation P735
type Q82799
['Q6712891', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?e WHERE { resource:Q6712891 property:P735 ?e . ?e rdf:type ontology:Q82799 }
M. Marimuthu
action filter_type
action find
entity M. Marimuthu
relation given name
type name
['M. Marimuthu', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?e WHERE { resource:M._Marimuthu property:given_name ?e . ?e rdf:type ontology:name }
[]
name
Q19803510
SYSTEM
M.
Q19803510
(Q6712891,P735,c(Q82799))
action filter_type
action find
entity Q6712891
relation P735
type Q82799
[ANSWER]
['Q6712891', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?e WHERE { resource:Q6712891 property:P735 ?e . ?e rdf:type ontology:Q82799 }
M.
M.
action filter_type
action find
entity M. Marimuthu
relation given name
type name
['M. Marimuthu', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?e WHERE { resource:M._Marimuthu property:given_name ?e . ?e rdf:type ontology:name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q2491016
P361
Q853614 Q151885 Q82799
USER
How many names are a component of greater number of identifiers and concepts than orthographical variant ?
(c(Q82799),P361,c(Q853614)|c(Q151885))
action count
action greater
action union
action find_tuple_counts
relation P361
type Q82799
type Q853614
action find_tuple_counts
relation P361
type Q82799
type Q151885
action count
action filter_multi_types
action find
entity Q2491016
relation P361
type Q853614
type Q151885
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q853614'}, {'concept': 'Q151885'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?i ) AS ?p ) WHERE { VALUES ( ?j ) { ( ontology:Q853614 ) ( ontology:Q151885 ) } . ?i rdf:type ?j } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { resource:Q2491016 property:P361 ?x . { { ?x rdf:type ontology:Q151885 } UNION { ?x rdf:type ontology:Q853614 } } } } . FILTER ( ?p > ?h ) }
orthographical variant
action count
action greater
action union
action find_tuple_counts
relation part of
type name
type identifier
action find_tuple_counts
relation part of
type name
type concept
action count
action filter_multi_types
action find
entity orthographical variant
relation part of
type identifier
type concept
[{'concept': 'name'}, 'part of', [{'concept': 'identifier'}, {'concept': 'concept'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?i ) AS ?p ) WHERE { VALUES ( ?j ) { ( ontology:identifier ) ( ontology:concept ) } . ?i rdf:type ?j } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { resource:orthographical_variant property:part_of ?x . { { ?x rdf:type ontology:concept } UNION { ?x rdf:type ontology:identifier } } } } . FILTER ( ?p > ?h ) }
[]
identifier concept name
SYSTEM
255
Q19984029 Q23539781 Q16101731 Q16515753 Q27355533 Q22001585 Q26000745 Q26822115 Q19986366 Q19963541 Q20731004 Q27651197 Q21491652 Q21501467 Q27037178 Q21484983 Q12783920 Q27037174 Q27651212 Q12594770 Q27356490 Q1946932 Q21144151 Q20731003 Q27357908 Q18001608 Q26775417 Q20155939 Q26971843 Q27465067 Q18645215 Q12788667 Q19831808 Q27357598 Q21475479 Q24477965 Q21488853 Q21487329 Q24477968 Q24090443 Q20675459 Q21279602 Q1058384 Q16563753 Q21450326 Q21510209 Q25114460 Q27436303 Q21431253 Q20985269 Q27037161 Q355505 Q27037165 Q21498452 Q27037169 Q1513700 Q18515515 Q18808411 Q21492574 Q19688789 Q18844248 Q27678568 Q19311987 Q5646565 Q20089343 Q19672747 Q19828992 Q21043141 Q22673958 Q4082729 Q18171095 Q110874 Q26448488 Q19832245 Q26822136 Q26822137 Q27635577 Q26822132 Q19688838 Q23636060 Q26822155 Q16161715 Q11878943 Q21506948 Q2547055 Q21492983 Q21584287 Q23039002 Q27037119 Q19944848 Q21512664 Q27204774 Q18808940 Q1173421 Q27476988 Q23822720 Q21450808 Q25114459 Q27230306 Q27538384 Q16390676 Q26772804 Q26822160 Q20900701 Q26986281 Q26235096 Q26944932 Q15897047 Q27450778 Q27229561 Q26944931 Q23640302 Q3372303 Q17165817 Q26736729 Q21450395 Q27357173 Q27356099 Q1247793 Q27355703 Q27185681 Q21506801 Q27203015 Q23590373 Q27355517 Q26235204 Q21069157 Q27229604 Q23907762 Q27450583 Q27229563 Q27450587 Q15835964 Q21471177 Q20083701 Q885595 Q27203027 Q1707301 Q26822099 Q27229572 Q24573284 Q27251921 Q26868860 Q20003434 Q26877838 Q26986610 Q21502033 Q26449961 Q21452487 Q1158284 Q16876541 Q16932005 Q27642537 Q27450911 Q12788669 Q23590368 Q13639177 Q27037180 Q19944235 Q804437 Q21450555 Q27670177 Q23041619 Q1620641 Q21130107 Q808994 Q16279139 Q21447940 Q19998957 Q17505763 Q18552178 Q27356272 Q19768404 Q12036851 Q19810530 Q26822081 Q24090532 Q18228388 Q26906549 Q26742856 Q26986918 Q1703599 Q19961051 Q12020943 Q12188082 Q20010325 Q26235099 Q23578592 Q27133109 Q21491435 Q23767331 Q23767330 Q21507872 Q27450606 Q21508944 Q2824680 Q27450608 Q26774382 Q19550817 Q18689509 Q27355496 Q19768398 Q15813147 Q12784475 Q21431135 Q26772911 Q21484692 Q27037157 Q27651236 Q26972674 Q18402175 Q21886149 Q12785732 Q19839042 Q27450686 Q23569212 Q21492540 Q21142292 Q27450728 Q27450834 Q27450836 Q23907739 Q2287331 Q23578587 Q22348139 Q21057288 Q21476618 Q3701009 Q21484521 Q746990 Q4812724 Q21534898 Q26234451 Q19550800 Q23538357 Q1737707 Q26972634 Q16175496 Q19856970 Q21143968 Q21143966 Q21450552 Q19839041 Q27450738 Q27450739 Q876933 Q27131901 Q19582298 Q19688887 Q27450824 Q26220628 Q13582244 Q15789615 Q20982280 Q27450829
(c(Q82799),P361,c(Q853614)|c(Q151885))
action count
action greater
action union
action find_tuple_counts
relation P361
type Q82799
type Q853614
action find_tuple_counts
relation P361
type Q82799
type Q151885
action count
action filter_multi_types
action find
entity Q2491016
relation P361
type Q853614
type Q151885
[ANSWER]
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q853614'}, {'concept': 'Q151885'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?i ) AS ?p ) WHERE { VALUES ( ?j ) { ( ontology:Q853614 ) ( ontology:Q151885 ) } . ?i rdf:type ?j } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { resource:Q2491016 property:P361 ?x . { { ?x rdf:type ontology:Q151885 } UNION { ?x rdf:type ontology:Q853614 } } } } . FILTER ( ?p > ?h ) }
Minami Asami Carter Farkas Türkkan Lamont Meta Candan Brodie Cassie Crawford Littleton Esin Olivera Bainbridge Dwyer Abram Bridger Redmond Man Holly Moosa Fedde Crawford Ademola Sylvain Dalibor Clancy Ado Özgen Agostino Fabjan Loren Siemion Ersan Guibert Tyson Hewitt Guibert Matsuo Anania Regan hakham Hunter Jayne Sierra Savva Gisbert Adamou Barrington Hakim Nobiliary particle Abner Kelso Hersey Gerlach Albano Egerton Loui Achim Rowan Sami Yoshihara Han Han Aubrey Shelley Cave Sherman Belarusian surname Armand patronymic Akiyoshi Sami Akilu Řehoř Gruffudd Wito Kaj Cassie Rauf Albin Urban Izumi Walther Regan Jabez Marshall Melvyn Eraydın Redouane Parvin Neil Davern Şentürk Malick Inal Savva Durmuş Fedde Falk Elias Chadi Nolan Seyfi Lillie Apple Percy Shigematsu Köken Apple Britt Mai Warren Olumide Hillis Cave Frenk Kinnon Eden Rickard Herschel Joby Raimond Savin Loudon Mateja Sweeney Florenz Asiedu Robison Mordaunt Mynors Prentice Man Blue Joby Tyler Ademola Aydın Laverne Lamont Cale Marielle Sanusi Addis Browning Takumi Alfonzo Heinz Máté Mai Robbie Mahrez Fabjan Raimond Jean Dalrymple Osborne Bakir Hilbert Ripley Stuart Hisataka Calvert Barry Máté Hester Paltiel Virgil Alonso Golden Courtney Michel Han Amin Minami Leonard Germann Fabiano Sabra Jordan Izumi Hunter James Ganna Lillie Aynsley Arnell Norman Koren Koren Henning Wilf Finlay Ado Haym Chariton Alden Marion Milić Jonas Bas Amos Gill Abbas Neilson Řehoř Sylvester Thijs Bernard Alfonzo Berchtold Cushman Flower Clint Kingsley Gerbrand Greenbury Harouna Henrie Florian Simon Aynsley Ripley Hester Miwa Dale Romaine Brahman Ataman Fethi Rupert Alden Azuma Keefe Noah Bas Squire Herrmann Henrie Hamilton Cushman Keill Moumouni magi Tokiwa Melville Tone Savea Arian Dale Brady Maury Akpan
255
action count
action greater
action union
action find_tuple_counts
relation part of
type name
type identifier
action find_tuple_counts
relation part of
type name
type concept
action count
action filter_multi_types
action find
entity orthographical variant
relation part of
type identifier
type concept
[{'concept': 'name'}, 'part of', [{'concept': 'identifier'}, {'concept': 'concept'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?i ) AS ?p ) WHERE { VALUES ( ?j ) { ( ontology:identifier ) ( ontology:concept ) } . ?i rdf:type ?j } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { resource:orthographical_variant property:part_of ?x . { { ?x rdf:type ontology:concept } UNION { ?x rdf:type ontology:identifier } } } } . FILTER ( ?p > ?h ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19832245
P1533
Q82799
USER
Which name is identical to Sami ?
(Q19832245,P1533,c(Q82799))
action filter_type
action find
entity Q19832245
relation P1533
type Q82799
['Q19832245', 'P1533', {'concept': 'Q82799'}]
SELECT DISTINCT ?x WHERE { resource:Q19832245 property:P1533 ?x . ?x rdf:type ontology:Q82799 }
Sami
action filter_type
action find
entity Sami
relation family name identical to this first name
type name
['Sami', 'family name identical to this first name', {'concept': 'name'}]
SELECT DISTINCT ?x WHERE { resource:Sami property:family_name_identical_to_this_first_name ?x . ?x rdf:type ontology:name }
[]
name
Q27678568
SYSTEM
Sami
Q27678568
(Q19832245,P1533,c(Q82799))
action filter_type
action find
entity Q19832245
relation P1533
type Q82799
[ANSWER] is identical to [ANSWER]
['Q19832245', 'P1533', {'concept': 'Q82799'}]
SELECT DISTINCT ?x WHERE { resource:Q19832245 property:P1533 ?x . ?x rdf:type ontology:Q82799 }
Sami
Sami is identical to Sami
Sami
action filter_type
action find
entity Sami
relation family name identical to this first name
type name
['Sami', 'family name identical to this first name', {'concept': 'name'}]
SELECT DISTINCT ?x WHERE { resource:Sami property:family_name_identical_to_this_first_name ?x . ?x rdf:type ontology:name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q19832245 Q1794677
P361
Q151885
USER
How many concepts are Sami or Kutia a part of ?
(Q19832245,P361,c(Q151885)) (Q1794677,P361,c(Q151885))
action count
action union
action filter_type
action find
entity Q19832245
relation P361
type Q151885
action filter_type
action find
entity Q1794677
relation P361
type Q151885
['Q19832245', 'P361', {'concept': 'Q151885'}] ['Q1794677', 'P361', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { { ?l rdf:type ontology:Q151885 . resource:Q19832245 property:P361 ?l } UNION { resource:Q1794677 property:P361 ?l . ?l rdf:type ontology:Q151885 } }
Sami Kutia
action count
action union
action filter_type
action find
entity Sami
relation part of
type concept
action filter_type
action find
entity Kutia
relation part of
type concept
['Sami', 'part of', {'concept': 'concept'}] ['Kutia', 'part of', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { { ?l rdf:type ontology:concept . resource:Sami property:part_of ?l } UNION { resource:Kutia property:part_of ?l . ?l rdf:type ontology:concept } }
[]
concept
SYSTEM
2
Q12505 Q1850480
(Q19832245,P361,c(Q151885)) (Q1794677,P361,c(Q151885))
action count
action union
action filter_type
action find
entity Q19832245
relation P361
type Q151885
action filter_type
action find
entity Q1794677
relation P361
type Q151885
[ANSWER]
['Q19832245', 'P361', {'concept': 'Q151885'}] ['Q1794677', 'P361', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { { ?l rdf:type ontology:Q151885 . resource:Q19832245 property:P361 ?l } UNION { resource:Q1794677 property:P361 ?l . ?l rdf:type ontology:Q151885 } }
Russian cuisine Belarusian cuisine
2
action count
action union
action filter_type
action find
entity Sami
relation part of
type concept
action filter_type
action find
entity Kutia
relation part of
type concept
['Sami', 'part of', {'concept': 'concept'}] ['Kutia', 'part of', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { { ?l rdf:type ontology:concept . resource:Sami property:part_of ?l } UNION { resource:Kutia property:part_of ?l . ?l rdf:type ontology:concept } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q82799 Q340169 Q3305213
USER
How many names are expressed in atleast 8 medias and paintings ?
(c(Q340169)|c(Q3305213),P180,c(Q82799))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q340169
action find_reverse_tuple_counts
relation P180
type Q82799
type Q3305213
value 8
[[{'concept': 'Q340169'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) ?x WHERE { { ?r property:P180 ?x . ?x rdf:type ontology:Q82799 . ?r rdf:type ontology:Q340169 } UNION { ?r property:P180 ?x . ?x rdf:type ontology:Q82799 . ?r rdf:type ontology:Q3305213 } } GROUP BY ?x } . FILTER ( ?l >= 8 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation depicts
type name
type media
action find_reverse_tuple_counts
relation depicts
type name
type painting
value 8
[[{'concept': 'media'}, {'concept': 'painting'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) ?x WHERE { { ?r property:depicts ?x . ?x rdf:type ontology:name . ?r rdf:type ontology:media } UNION { ?r property:depicts ?x . ?x rdf:type ontology:name . ?r rdf:type ontology:painting } } GROUP BY ?x } . FILTER ( ?l >= 8 ) }
[]
name media painting
SYSTEM
3
Q5 Q726 Q144
(c(Q340169)|c(Q3305213),P180,c(Q82799))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q340169
action find_reverse_tuple_counts
relation P180
type Q82799
type Q3305213
value 8
[ANSWER]
[[{'concept': 'Q340169'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) ?x WHERE { { ?r property:P180 ?x . ?x rdf:type ontology:Q82799 . ?r rdf:type ontology:Q340169 } UNION { ?r property:P180 ?x . ?x rdf:type ontology:Q82799 . ?r rdf:type ontology:Q3305213 } } GROUP BY ?x } . FILTER ( ?l >= 8 ) }
human horse dog
3
action count
action atleast
action union
action find_reverse_tuple_counts
relation depicts
type name
type media
action find_reverse_tuple_counts
relation depicts
type name
type painting
value 8
[[{'concept': 'media'}, {'concept': 'painting'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) ?x WHERE { { ?r property:depicts ?x . ?x rdf:type ontology:name . ?r rdf:type ontology:media } UNION { ?r property:depicts ?x . ?x rdf:type ontology:name . ?r rdf:type ontology:painting } } GROUP BY ?x } . FILTER ( ?l >= 8 ) }
[]