Simple Question (Direct)
Simple Question
Q6845087
P21
Q290
USER
What is the sex of Mihai Luca ?
(Q6845087,P21,c(Q290))
action filter_type
action find
entity Q6845087
relation P21
type Q290
['Q6845087', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q6845087 property:P21 ?n . ?n rdf:type ontology:Q290 }
Mihai Luca
action filter_type
action find
entity Mihai Luca
relation gender
type sex
['Mihai Luca', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Mihai_Luca property:gender ?n . ?n rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q6845087,P21,c(Q290))
action filter_type
action find
entity Q6845087
relation P21
type Q290
The sex of Mihai Luca is the [ANSWER]
['Q6845087', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q6845087 property:P21 ?n . ?n rdf:type ontology:Q290 }
male
The sex of Mihai Luca is the male
male
action filter_type
action find
entity Mihai Luca
relation gender
type sex
['Mihai Luca', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Mihai_Luca property:gender ?n . ?n rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6845087
P641
Q349
USER
What did that person participate in ?
(Q6581097,P641,c(Q349))
action filter_type
action find
entity Q6845087
relation P641
type Q349
['Q6581097', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q6845087 property:P641 ?o . ?o rdf:type ontology:Q349 }
Mihai Luca
action filter_type
action find
entity Mihai Luca
relation sport
type sport
['male', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Mihai_Luca property:sport ?o . ?o rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q6581097,P641,c(Q349))
action filter_type
action find
entity Q6845087
relation P641
type Q349
That person participated in [ANSWER]
['Q6581097', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q6845087 property:P641 ?o . ?o rdf:type ontology:Q349 }
association football
That person participated in association football
association football
action filter_type
action find
entity Mihai Luca
relation sport
type sport
['male', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Mihai_Luca property:sport ?o . ?o rdf:type ontology:sport }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q6845087
P27
Q15617994
USER
How many administrative territories are Mihai Luca an inhabitant of ?
(Q6845087,P27,c(Q15617994))
action count
action filter_type
action find
entity Q6845087
relation P27
type Q15617994
['Q6845087', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { resource:Q6845087 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
Mihai Luca
action count
action filter_type
action find
entity Mihai Luca
relation country of citizenship
type designation for an administrative territorial entity
['Mihai Luca', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { resource:Mihai_Luca property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q218
(Q6845087,P27,c(Q15617994))
action count
action filter_type
action find
entity Q6845087
relation P27
type Q15617994
[ANSWER]
['Q6845087', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { resource:Q6845087 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
Romania
1
action count
action filter_type
action find
entity Mihai Luca
relation country of citizenship
type designation for an administrative territorial entity
['Mihai Luca', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { resource:Mihai_Luca property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q1031899
Q15617994
USER
And also tell me about Luis Díaz?
(Q1031899,P27,c(Q15617994))
action count
action filter_type
action find
entity Q1031899
relation P27
type Q15617994
['Q1031899', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { resource:Q1031899 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
Luis Díaz
action count
action filter_type
action find
entity Luis Díaz
relation country of citizenship
type designation for an administrative territorial entity
['Luis Díaz', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { resource:Luis_Díaz property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q1031899,P27,c(Q15617994))
action count
action filter_type
action find
entity Q1031899
relation P27
type Q15617994
[ANSWER]
['Q1031899', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { resource:Q1031899 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Luis Díaz
relation country of citizenship
type designation for an administrative territorial entity
['Luis Díaz', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { resource:Luis_Díaz property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P366
Q349 Q8205328 Q2235308
USER
Which sports represent the main use of min number of artefacts and ship types ?
(c(Q8205328)|c(Q2235308),P366,c(Q349))
action argmin
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q8205328
action find_reverse_tuple_counts
relation P366
type Q349
type Q2235308
[[{'concept': 'Q8205328'}, {'concept': 'Q2235308'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?n ) AS ?s ) { SELECT DISTINCT ?b ( COUNT ( ?v ) AS ?n ) WHERE { ?v rdf:type ?j . VALUES ( ?j ) { ( ontology:Q8205328 ) ( ontology:Q2235308 ) } } GROUP BY ?b } } . { SELECT DISTINCT ?p ( COUNT ( ?y ) AS ?f ) WHERE { { ?p rdf:type ontology:Q349 . ?y rdf:type ontology:Q8205328 . ?y property:P366 ?p } UNION { ?y property:P366 ?p . ?p rdf:type ontology:Q349 . ?y rdf:type ontology:Q2235308 } } GROUP BY ?p } . FILTER ( ?f = ?s ) }
action argmin
action union
action find_reverse_tuple_counts
relation use
type sport
type artefact
action find_reverse_tuple_counts
relation use
type sport
type ship type
[[{'concept': 'artefact'}, {'concept': 'ship type'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?n ) AS ?s ) { SELECT DISTINCT ?b ( COUNT ( ?v ) AS ?n ) WHERE { ?v rdf:type ?j . VALUES ( ?j ) { ( ontology:artefact ) ( ontology:ship_type ) } } GROUP BY ?b } } . { SELECT DISTINCT ?p ( COUNT ( ?y ) AS ?f ) WHERE { { ?p rdf:type ontology:sport . ?y rdf:type ontology:artefact . ?y property:use ?p } UNION { ?y property:use ?p . ?p rdf:type ontology:sport . ?y rdf:type ontology:ship_type } } GROUP BY ?p } . FILTER ( ?f = ?s ) }
[]
sport artefact ship type
Q206763 Q8418 Q183018
SYSTEM
floorball, handball, bandy
Q7856 Q5372 Q8418 Q1734 Q206989 Q183018 Q36908 Q500050 Q1875777 Q624161 Q1345388 Q177275 Q206763 Q2736 Q847 Q41466 Q22857 Q1194269 Q41323 Q7291
(c(Q8205328)|c(Q2235308),P366,c(Q349))
action argmin
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q8205328
action find_reverse_tuple_counts
relation P366
type Q349
type Q2235308
[ANSWERS] represent the main use of min number of artefacts and ship types
[[{'concept': 'Q8205328'}, {'concept': 'Q2235308'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?n ) AS ?s ) { SELECT DISTINCT ?b ( COUNT ( ?v ) AS ?n ) WHERE { ?v rdf:type ?j . VALUES ( ?j ) { ( ontology:Q8205328 ) ( ontology:Q2235308 ) } } GROUP BY ?b } } . { SELECT DISTINCT ?p ( COUNT ( ?y ) AS ?f ) WHERE { { ?p rdf:type ontology:Q349 . ?y rdf:type ontology:Q8205328 . ?y property:P366 ?p } UNION { ?y property:P366 ?p . ?p rdf:type ontology:Q349 . ?y rdf:type ontology:Q2235308 } } GROUP BY ?p } . FILTER ( ?f = ?s ) }
rallying basketball handball volleyball shooting sport bandy mountaineering cross country running air racing gliding greyhound racing bobsleigh floorball association football tennis ice hockey climbing harness racing American football badminton
Floorball, handball and bandy represent the main use of min number of artefacts and ship types
floorball handball bandy
action argmin
action union
action find_reverse_tuple_counts
relation use
type sport
type artefact
action find_reverse_tuple_counts
relation use
type sport
type ship type
[[{'concept': 'artefact'}, {'concept': 'ship type'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?n ) AS ?s ) { SELECT DISTINCT ?b ( COUNT ( ?v ) AS ?n ) WHERE { ?v rdf:type ?j . VALUES ( ?j ) { ( ontology:artefact ) ( ontology:ship_type ) } } GROUP BY ?b } } . { SELECT DISTINCT ?p ( COUNT ( ?y ) AS ?f ) WHERE { { ?p rdf:type ontology:sport . ?y rdf:type ontology:artefact . ?y property:use ?p } UNION { ?y property:use ?p . ?p rdf:type ontology:sport . ?y rdf:type ontology:ship_type } } GROUP BY ?p } . FILTER ( ?f = ?s ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q6651767
P641
Q12973014
USER
Are Little Rock Travelers known to play those sports ?
(Q6651767,P641,Q206763) (Q6651767,P641,Q8418) (Q6651767,P641,Q183018)
action is_in
entity prev_answer
action find
entity Q6651767
relation P641
['Q6651767', 'P641', 'Q206763'] ['Q6651767', 'P641', 'Q8418'] ['Q6651767', 'P641', 'Q183018']
ASK WHERE { resource:Q6651767 property:P641 ?b . VALUES ( ?b ) { ( resource:Q7856 ) ( resource:Q5372 ) ( resource:Q8418 ) } }
Little Rock Travelers
action is_in
entity prev_answer
action find
entity Little Rock Travelers
relation sport
['Little Rock Travelers', 'sport', 'floorball'] ['Little Rock Travelers', 'sport', 'handball'] ['Little Rock Travelers', 'sport', 'bandy']
ASK WHERE { resource:Little_Rock_Travelers property:sport ?b . VALUES ( ?b ) { ( resource:rallying ) ( resource:basketball ) ( resource:handball ) } }
[]
sports team
SYSTEM
NO
(Q6651767,P641,Q206763) (Q6651767,P641,Q8418) (Q6651767,P641,Q183018)
action is_in
entity prev_answer
action find
entity Q6651767
relation P641
[ANSWER]
['Q6651767', 'P641', 'Q206763'] ['Q6651767', 'P641', 'Q8418'] ['Q6651767', 'P641', 'Q183018']
ASK WHERE { resource:Q6651767 property:P641 ?b . VALUES ( ?b ) { ( resource:Q7856 ) ( resource:Q5372 ) ( resource:Q8418 ) } }
No
action is_in
entity prev_answer
action find
entity Little Rock Travelers
relation sport
['Little Rock Travelers', 'sport', 'floorball'] ['Little Rock Travelers', 'sport', 'handball'] ['Little Rock Travelers', 'sport', 'bandy']
ASK WHERE { resource:Little_Rock_Travelers property:sport ?b . VALUES ( ?b ) { ( resource:rallying ) ( resource:basketball ) ( resource:handball ) } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P366
Q349 Q2235308 Q39546
USER
Which sports are considered as the main functionality of exactly 1 ship types and tools ?
(c(Q2235308)|c(Q39546),P366,c(Q349))
action equal
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q2235308
action find_reverse_tuple_counts
relation P366
type Q349
type Q39546
value 1
[[{'concept': 'Q2235308'}, {'concept': 'Q39546'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) ?h WHERE { { ?h rdf:type ontology:Q349 . ?i rdf:type ontology:Q2235308 . ?i property:P366 ?h } UNION { ?h rdf:type ontology:Q349 . ?i rdf:type ontology:Q39546 . ?i property:P366 ?h } } GROUP BY ?h } . FILTER ( ?w = 1 ) }
action equal
action union
action find_reverse_tuple_counts
relation use
type sport
type ship type
action find_reverse_tuple_counts
relation use
type sport
type tool
value 1
[[{'concept': 'ship type'}, {'concept': 'tool'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) ?h WHERE { { ?h rdf:type ontology:sport . ?i rdf:type ontology:ship_type . ?i property:use ?h } UNION { ?h rdf:type ontology:sport . ?i rdf:type ontology:tool . ?i property:use ?h } } GROUP BY ?h } . FILTER ( ?w = 1 ) }
[]
sport ship type tool
Q61065 Q22857
SYSTEM
water sport, climbing
Q61065 Q22857
(c(Q2235308)|c(Q39546),P366,c(Q349))
action equal
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q2235308
action find_reverse_tuple_counts
relation P366
type Q349
type Q39546
value 1
[ANSWERS] are considered as the main functionality of exactly 1 ship types and tools
[[{'concept': 'Q2235308'}, {'concept': 'Q39546'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) ?h WHERE { { ?h rdf:type ontology:Q349 . ?i rdf:type ontology:Q2235308 . ?i property:P366 ?h } UNION { ?h rdf:type ontology:Q349 . ?i rdf:type ontology:Q39546 . ?i property:P366 ?h } } GROUP BY ?h } . FILTER ( ?w = 1 ) }
water sport climbing
Water sport and climbing are considered as the main functionality of exactly 1 ship types and tools
water sport climbing
action equal
action union
action find_reverse_tuple_counts
relation use
type sport
type ship type
action find_reverse_tuple_counts
relation use
type sport
type tool
value 1
[[{'concept': 'ship type'}, {'concept': 'tool'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) ?h WHERE { { ?h rdf:type ontology:sport . ?i rdf:type ontology:ship_type . ?i property:use ?h } UNION { ?h rdf:type ontology:sport . ?i rdf:type ontology:tool . ?i property:use ?h } } GROUP BY ?h } . FILTER ( ?w = 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can atmost 3584 people perform with ?
(c(Q502895),P1303,c(Q34379))
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3584
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?k <= 3584 ) . { SELECT DISTINCT ?o ( COUNT ( ?c ) AS ?k ) WHERE { ?o rdf:type ontology:Q34379 . ?c rdf:type ontology:Q502895 . ?c property:P1303 ?o } GROUP BY ?o } }
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3584
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?k <= 3584 ) . { SELECT DISTINCT ?o ( COUNT ( ?c ) AS ?k ) WHERE { ?o rdf:type ontology:musical_instrument . ?c rdf:type ontology:common_name . ?c property:instrument ?o } GROUP BY ?o } }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q1444 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q128309 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3584
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?k <= 3584 ) . { SELECT DISTINCT ?o ( COUNT ( ?c ) AS ?k ) WHERE { ?o rdf:type ontology:Q34379 . ?c rdf:type ontology:Q502895 . ?c property:P1303 ?o } GROUP BY ?o } }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet trumpet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano organ cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn drum kit morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
Which musical instruments can atmost 3584 people perform with
davul harpsichord Wurlitzer electric piano
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3584
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?k <= 3584 ) . { SELECT DISTINCT ?o ( COUNT ( ?c ) AS ?k ) WHERE { ?o rdf:type ontology:musical_instrument . ?c rdf:type ontology:common_name . ?c property:instrument ?o } GROUP BY ?o } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P366
Q349 Q811979 Q2424752
USER
Which sports are considered as the main functionality of atleast 1 architectural structures and products ?
(c(Q811979)|c(Q2424752),P366,c(Q349))
action atleast
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q811979
action find_reverse_tuple_counts
relation P366
type Q349
type Q2424752
value 1
[[{'concept': 'Q811979'}, {'concept': 'Q2424752'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?e ) AS ?r ) WHERE { { ?e property:P366 ?g . ?g rdf:type ontology:Q349 . ?e rdf:type ontology:Q811979 } UNION { ?e property:P366 ?g . ?g rdf:type ontology:Q349 . ?e rdf:type ontology:Q2424752 } } GROUP BY ?g } . FILTER ( ?r >= 1 ) }
action atleast
action union
action find_reverse_tuple_counts
relation use
type sport
type architectural structure
action find_reverse_tuple_counts
relation use
type sport
type product
value 1
[[{'concept': 'architectural structure'}, {'concept': 'product'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?e ) AS ?r ) WHERE { { ?e property:use ?g . ?g rdf:type ontology:sport . ?e rdf:type ontology:architectural_structure } UNION { ?e property:use ?g . ?g rdf:type ontology:sport . ?e rdf:type ontology:product } } GROUP BY ?g } . FILTER ( ?r >= 1 ) }
[]
sport architectural structure product
Q206763 Q8418 Q5372
SYSTEM
floorball, handball, basketball
Q5372 Q8418 Q1734 Q1875777 Q624161 Q1345388 Q206763
(c(Q811979)|c(Q2424752),P366,c(Q349))
action atleast
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q811979
action find_reverse_tuple_counts
relation P366
type Q349
type Q2424752
value 1
[ANSWERS] are considered as the main functionality of atleast 1 architectural structures and products
[[{'concept': 'Q811979'}, {'concept': 'Q2424752'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?e ) AS ?r ) WHERE { { ?e property:P366 ?g . ?g rdf:type ontology:Q349 . ?e rdf:type ontology:Q811979 } UNION { ?e property:P366 ?g . ?g rdf:type ontology:Q349 . ?e rdf:type ontology:Q2424752 } } GROUP BY ?g } . FILTER ( ?r >= 1 ) }
basketball handball volleyball air racing gliding greyhound racing floorball
Floorball, handball and basketball are considered as the main functionality of atleast 1 architectural structures and products
floorball handball basketball
action atleast
action union
action find_reverse_tuple_counts
relation use
type sport
type architectural structure
action find_reverse_tuple_counts
relation use
type sport
type product
value 1
[[{'concept': 'architectural structure'}, {'concept': 'product'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?e ) AS ?r ) WHERE { { ?e property:use ?g . ?g rdf:type ontology:sport . ?e rdf:type ontology:architectural_structure } UNION { ?e property:use ?g . ?g rdf:type ontology:sport . ?e rdf:type ontology:product } } GROUP BY ?g } . FILTER ( ?r >= 1 ) }
[]