Simple Question (Direct)
Simple Question
Q16212300
P106
Q12737077
USER
What is the profession of Maya Hayes ?
(Q16212300,P106,c(Q12737077))
action filter_type
action find
entity Q16212300
relation P106
type Q12737077
['Q16212300', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q16212300 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
Maya Hayes
action filter_type
action find
entity Maya Hayes
relation occupation
type occupation
['Maya Hayes', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Maya_Hayes property:occupation ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q16212300,P106,c(Q12737077))
action filter_type
action find
entity Q16212300
relation P106
type Q12737077
The profession of Maya Hayes is an [ANSWER]
['Q16212300', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q16212300 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
association football player
The profession of Maya Hayes is an association football player
association football player
action filter_type
action find
entity Maya Hayes
relation occupation
type occupation
['Maya Hayes', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Maya_Hayes property:occupation ?b . ?b rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16212300
P19
Q56061
USER
Which administrative territory is the birthplace of that person ?
(Q937857,P19,c(Q56061))
action filter_type
action find
entity Q16212300
relation P19
type Q56061
['Q937857', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q16212300 property:P19 ?j . ?j rdf:type ontology:Q56061 }
Maya Hayes
action filter_type
action find
entity Maya Hayes
relation place of birth
type administrative territorial entity
['association football player', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Maya_Hayes property:place_of_birth ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q60
SYSTEM
New York City
Q60
(Q937857,P19,c(Q56061))
action filter_type
action find
entity Q16212300
relation P19
type Q56061
[ANSWER] is the birthplace of that person
['Q937857', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q16212300 property:P19 ?j . ?j rdf:type ontology:Q56061 }
New York City
New York City is the birthplace of that person
New York City
action filter_type
action find
entity Maya Hayes
relation place of birth
type administrative territorial entity
['association football player', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Maya_Hayes property:place_of_birth ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q1333550 Q16212300
P19
Q56061
USER
Or Otto Fries?
OR((Q16212300,P19,c(Q56061)), (Q1333550,P19,c(Q56061)))
action filter_type
action union
action find
entity Q16212300
relation P19
action find
entity Q1333550
relation P19
type Q56061
{'OR': [['Q16212300', 'P19', {'concept': 'Q56061'}], ['Q1333550', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q16212300 property:P19 ?b } UNION { resource:Q1333550 property:P19 ?b } } . ?b rdf:type ontology:Q56061 }
Otto Fries Maya Hayes
action filter_type
action union
action find
entity Maya Hayes
relation place of birth
action find
entity Otto Fries
relation place of birth
type administrative territorial entity
{'OR': [['Maya Hayes', 'place of birth', {'concept': 'administrative territorial entity'}], ['Otto Fries', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Maya_Hayes property:place_of_birth ?b } UNION { resource:Otto_Fries property:place_of_birth ?b } } . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q630334 Q60
SYSTEM
Bad Berka, New York City
Q630334 Q60
OR((Q16212300,P19,c(Q56061)), (Q1333550,P19,c(Q56061)))
action filter_type
action union
action find
entity Q16212300
relation P19
action find
entity Q1333550
relation P19
type Q56061
[ANSWERS]
{'OR': [['Q16212300', 'P19', {'concept': 'Q56061'}], ['Q1333550', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q16212300 property:P19 ?b } UNION { resource:Q1333550 property:P19 ?b } } . ?b rdf:type ontology:Q56061 }
Bad Berka New York City
Bad Berka New York City
action filter_type
action union
action find
entity Maya Hayes
relation place of birth
action find
entity Otto Fries
relation place of birth
type administrative territorial entity
{'OR': [['Maya Hayes', 'place of birth', {'concept': 'administrative territorial entity'}], ['Otto Fries', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Maya_Hayes property:place_of_birth ?b } UNION { resource:Otto_Fries property:place_of_birth ?b } } . ?b rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q16582304 Q937857
P425 P641
Q349
USER
Which sports have association football player as the associated field of occupation and did Jorge Rodríguez participate in ?
AND((Q937857,P425,c(Q349)), (Q16582304,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q937857
relation P425
action find
entity Q16582304
relation P641
type Q349
{'AND': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q16582304', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q349 . resource:Q937857 property:P425 ?t . resource:Q16582304 property:P641 ?t }
Jorge Rodríguez association football player
action filter_type
action intersection
action find
entity association football player
relation field of this occupation
action find
entity Jorge Rodríguez
relation sport
type sport
{'AND': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['Jorge Rodríguez', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:sport . resource:association_football_player property:field_of_this_occupation ?t . resource:Jorge_Rodríguez property:sport ?t }
[]
sport
Q2736
SYSTEM
association football
Q2736
AND((Q937857,P425,c(Q349)), (Q16582304,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q937857
relation P425
action find
entity Q16582304
relation P641
type Q349
Field [ANSWER] have [ANSWER] player as the associated field of occupation and did Jorge Rodríguez participate in
{'AND': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q16582304', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q349 . resource:Q937857 property:P425 ?t . resource:Q16582304 property:P641 ?t }
association football
Field association football have association football player as the associated field of occupation and did Jorge Rodríguez participate in
association football
action filter_type
action intersection
action find
entity association football player
relation field of this occupation
action find
entity Jorge Rodríguez
relation sport
type sport
{'AND': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['Jorge Rodríguez', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:sport . resource:association_football_player property:field_of_this_occupation ?t . resource:Jorge_Rodríguez property:sport ?t }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q2736 Q15965120
P641
Q502895
USER
Is Bernhard Steffen associated with playing that sport ?
(Q15965120,P641,Q2736)
action is_in
entity Q15965120
action find
entity Q2736
relation P641
['Q15965120', 'P641', 'Q2736']
ASK WHERE { resource:Q2736 property:P641 resource:Q15965120 }
association football Bernhard Steffen
action is_in
entity Bernhard Steffen
action find
entity association football
relation sport
['Bernhard Steffen', 'sport', 'association football']
ASK WHERE { resource:association_football property:sport resource:Bernhard_Steffen }
[]
common name
SYSTEM
NO
(Q15965120,P641,Q2736)
action is_in
entity Q15965120
action find
entity Q2736
relation P641
[ANSWER]
['Q15965120', 'P641', 'Q2736']
ASK WHERE { resource:Q2736 property:P641 resource:Q15965120 }
No
action is_in
entity Bernhard Steffen
action find
entity association football
relation sport
['Bernhard Steffen', 'sport', 'association football']
ASK WHERE { resource:association_football property:sport resource:Bernhard_Steffen }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q847 Q2736
P641
Q502895
USER
Which people play association football and tennis ?
AND((c(Q502895),P641,Q2736), (c(Q502895),P641,Q847))
action filter_type
action intersection
action find_reverse
entity Q2736
relation P641
action find_reverse
entity Q847
relation P641
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P641', 'Q2736'], [{'concept': 'Q502895'}, 'P641', 'Q847']]}
SELECT DISTINCT ?e WHERE { ?e property:P641 resource:Q847 . ?e property:P641 resource:Q2736 . ?e rdf:type ontology:Q502895 }
tennis association football
action filter_type
action intersection
action find_reverse
entity association football
relation sport
action find_reverse
entity tennis
relation sport
type common name
{'AND': [[{'concept': 'common name'}, 'sport', 'association football'], [{'concept': 'common name'}, 'sport', 'tennis']]}
SELECT DISTINCT ?e WHERE { ?e property:sport resource:tennis . ?e property:sport resource:association_football . ?e rdf:type ontology:common_name }
[]
common name
Q697996
SYSTEM
Karel Koželuh
Q697996
AND((c(Q502895),P641,Q2736), (c(Q502895),P641,Q847))
action filter_type
action intersection
action find_reverse
entity Q2736
relation P641
action find_reverse
entity Q847
relation P641
type Q502895
[ANSWER] play association football and tennis
{'AND': [[{'concept': 'Q502895'}, 'P641', 'Q2736'], [{'concept': 'Q502895'}, 'P641', 'Q847']]}
SELECT DISTINCT ?e WHERE { ?e property:P641 resource:Q847 . ?e property:P641 resource:Q2736 . ?e rdf:type ontology:Q502895 }
Karel Koželuh
Karel Koželuh play association football and tennis
Karel Koželuh
action filter_type
action intersection
action find_reverse
entity association football
relation sport
action find_reverse
entity tennis
relation sport
type common name
{'AND': [[{'concept': 'common name'}, 'sport', 'association football'], [{'concept': 'common name'}, 'sport', 'tennis']]}
SELECT DISTINCT ?e WHERE { ?e property:sport resource:tennis . ?e property:sport resource:association_football . ?e rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q18358853 Q937857
P425 P641
Q349
USER
Which sports have association football player as the associated field of occupation and were James Roberts a part of ?
AND((Q937857,P425,c(Q349)), (Q18358853,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q937857
relation P425
action find
entity Q18358853
relation P641
type Q349
{'AND': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q18358853', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?v WHERE { resource:Q937857 property:P425 ?v . resource:Q18358853 property:P641 ?v . ?v rdf:type ontology:Q349 }
James Roberts association football player
action filter_type
action intersection
action find
entity association football player
relation field of this occupation
action find
entity James Roberts
relation sport
type sport
{'AND': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['James Roberts', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?v WHERE { resource:association_football_player property:field_of_this_occupation ?v . resource:James_Roberts property:sport ?v . ?v rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
AND((Q937857,P425,c(Q349)), (Q18358853,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q937857
relation P425
action find
entity Q18358853
relation P641
type Q349
Field [ANSWER] have [ANSWER] player as the associated field of occupation and were James Roberts a part of
{'AND': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q18358853', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?v WHERE { resource:Q937857 property:P425 ?v . resource:Q18358853 property:P641 ?v . ?v rdf:type ontology:Q349 }
association football
Field association football have association football player as the associated field of occupation and were James Roberts a part of
association football
action filter_type
action intersection
action find
entity association football player
relation field of this occupation
action find
entity James Roberts
relation sport
type sport
{'AND': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['James Roberts', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?v WHERE { resource:association_football_player property:field_of_this_occupation ?v . resource:James_Roberts property:sport ?v . ?v rdf:type ontology:sport }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P366
Q349 Q6671777 Q8205328
USER
Which sports are considered as the main functionality of max number of structures or artefacts ?
(c(Q6671777)|c(Q8205328),P366,c(Q349))
action argmax
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q6671777
action find_reverse_tuple_counts
relation P366
type Q349
type Q8205328
[[{'concept': 'Q6671777'}, {'concept': 'Q8205328'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?m ) AS ?p ) WHERE { { ?m property:P366 ?o . ?o rdf:type ontology:Q349 . ?m rdf:type ontology:Q6671777 } UNION { ?m property:P366 ?o . ?o rdf:type ontology:Q349 . ?m rdf:type ontology:Q8205328 } } GROUP BY ?o } . FILTER ( ?p = ?t ) . { SELECT DISTINCT ( MAX ( ?f ) AS ?t ) { SELECT DISTINCT ?d ( COUNT ( ?e ) AS ?f ) WHERE { ?e rdf:type ?c . VALUES ( ?c ) { ( ontology:Q6671777 ) ( ontology:Q8205328 ) } } GROUP BY ?d } } }
action argmax
action union
action find_reverse_tuple_counts
relation use
type sport
type structure
action find_reverse_tuple_counts
relation use
type sport
type artefact
[[{'concept': 'structure'}, {'concept': 'artefact'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?m ) AS ?p ) WHERE { { ?m property:use ?o . ?o rdf:type ontology:sport . ?m rdf:type ontology:structure } UNION { ?m property:use ?o . ?o rdf:type ontology:sport . ?m rdf:type ontology:artefact } } GROUP BY ?o } . FILTER ( ?p = ?t ) . { SELECT DISTINCT ( MAX ( ?f ) AS ?t ) { SELECT DISTINCT ?d ( COUNT ( ?e ) AS ?f ) WHERE { ?e rdf:type ?c . VALUES ( ?c ) { ( ontology:structure ) ( ontology:artefact ) } } GROUP BY ?d } } }
[]
sport structure artefact
Q108429 Q14300548 Q36908
SYSTEM
archery, skating, mountaineering
Q14300548 Q36908 Q108429 Q22857
(c(Q6671777)|c(Q8205328),P366,c(Q349))
action argmax
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q6671777
action find_reverse_tuple_counts
relation P366
type Q349
type Q8205328
[ANSWERS] are considered as the main functionality of max number of structures or artefacts
[[{'concept': 'Q6671777'}, {'concept': 'Q8205328'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?m ) AS ?p ) WHERE { { ?m property:P366 ?o . ?o rdf:type ontology:Q349 . ?m rdf:type ontology:Q6671777 } UNION { ?m property:P366 ?o . ?o rdf:type ontology:Q349 . ?m rdf:type ontology:Q8205328 } } GROUP BY ?o } . FILTER ( ?p = ?t ) . { SELECT DISTINCT ( MAX ( ?f ) AS ?t ) { SELECT DISTINCT ?d ( COUNT ( ?e ) AS ?f ) WHERE { ?e rdf:type ?c . VALUES ( ?c ) { ( ontology:Q6671777 ) ( ontology:Q8205328 ) } } GROUP BY ?d } } }
skating mountaineering archery climbing
Archery, skating and mountaineering are considered as the main functionality of max number of structures or artefacts
archery skating mountaineering
action argmax
action union
action find_reverse_tuple_counts
relation use
type sport
type structure
action find_reverse_tuple_counts
relation use
type sport
type artefact
[[{'concept': 'structure'}, {'concept': 'artefact'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?m ) AS ?p ) WHERE { { ?m property:use ?o . ?o rdf:type ontology:sport . ?m rdf:type ontology:structure } UNION { ?m property:use ?o . ?o rdf:type ontology:sport . ?m rdf:type ontology:artefact } } GROUP BY ?o } . FILTER ( ?p = ?t ) . { SELECT DISTINCT ( MAX ( ?f ) AS ?t ) { SELECT DISTINCT ?d ( COUNT ( ?e ) AS ?f ) WHERE { ?e rdf:type ?c . VALUES ( ?c ) { ( ontology:structure ) ( ontology:artefact ) } } GROUP BY ?d } } }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P641
Q728 Q12737077
USER
How many weapons or occupations play that sport ?
(c(Q728),P641,Q108429) (c(Q12737077),P641,Q108429) (c(Q728),P641,Q108429) (c(Q12737077),P641,Q108429) (c(Q728),P641,Q14300548) (c(Q12737077),P641,Q14300548) (c(Q728),P641,Q36908) (c(Q12737077),P641,Q36908)
[{'concept': 'Q728'}, 'P641', 'Q108429'] [{'concept': 'Q12737077'}, 'P641', 'Q108429'] [{'concept': 'Q728'}, 'P641', 'Q108429'] [{'concept': 'Q12737077'}, 'P641', 'Q108429'] [{'concept': 'Q728'}, 'P641', 'Q14300548'] [{'concept': 'Q12737077'}, 'P641', 'Q14300548'] [{'concept': 'Q728'}, 'P641', 'Q36908'] [{'concept': 'Q12737077'}, 'P641', 'Q36908']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q1567764 resource:Q108429 } UNION { ?y property:Q1567764 resource:Q108429 } UNION { ?z property:Q1567764 resource:Q108429 } UNION { ?y property:Q1567764 resource:Q108429 } UNION { ?z property:Q1567764 resource:Q14300548 } UNION { ?y property:Q1567764 resource:Q14300548 } UNION { ?z property:Q1567764 resource:Q36908 } UNION { ?y property:Q1567764 resource:Q36908 } } . ?z rdf:type ontology:Q728 . ?y rdf:type ontology:Q528892 }
[{'concept': 'weapon'}, 'sport', 'archery'] [{'concept': 'occupation'}, 'sport', 'archery'] [{'concept': 'weapon'}, 'sport', 'archery'] [{'concept': 'occupation'}, 'sport', 'archery'] [{'concept': 'weapon'}, 'sport', 'skating'] [{'concept': 'occupation'}, 'sport', 'skating'] [{'concept': 'weapon'}, 'sport', 'mountaineering'] [{'concept': 'occupation'}, 'sport', 'mountaineering']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:sport resource:archery } UNION { ?y property:sport resource:archery } UNION { ?z property:sport resource:archery } UNION { ?y property:sport resource:archery } UNION { ?z property:sport resource:skating } UNION { ?y property:sport resource:skating } UNION { ?z property:sport resource:mountaineering } UNION { ?y property:sport resource:mountaineering } } . ?z rdf:type ontology:weapon . ?y rdf:type ontology:occupation }
[]
weapon occupation
Quantitative|Count|Mult. entity type|Clarification
Q36908
SYSTEM
Did you mean mountaineering ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q1567764 resource:Q108429 } UNION { ?y property:Q1567764 resource:Q108429 } UNION { ?z property:Q1567764 resource:Q108429 } UNION { ?y property:Q1567764 resource:Q108429 } UNION { ?z property:Q1567764 resource:Q14300548 } UNION { ?y property:Q1567764 resource:Q14300548 } UNION { ?z property:Q1567764 resource:Q36908 } UNION { ?y property:Q1567764 resource:Q36908 } } . ?z rdf:type ontology:Q728 . ?y rdf:type ontology:Q528892 }
Did you mean mountaineering ?
mountaineering
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:sport resource:archery } UNION { ?y property:sport resource:archery } UNION { ?z property:sport resource:archery } UNION { ?y property:sport resource:archery } UNION { ?z property:sport resource:skating } UNION { ?y property:sport resource:skating } UNION { ?z property:sport resource:mountaineering } UNION { ?y property:sport resource:mountaineering } } . ?z rdf:type ontology:weapon . ?y rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant archery. Could you tell me the answer for that?
(c(Q728),P641,Q108429) (c(Q12737077),P641,Q108429) (c(Q728),P641,Q108429) (c(Q12737077),P641,Q108429) (c(Q728),P641,Q14300548) (c(Q12737077),P641,Q14300548) (c(Q728),P641,Q36908) (c(Q12737077),P641,Q36908)
Q108429
[{'concept': 'Q728'}, 'P641', 'Q108429'] [{'concept': 'Q12737077'}, 'P641', 'Q108429'] [{'concept': 'Q728'}, 'P641', 'Q108429'] [{'concept': 'Q12737077'}, 'P641', 'Q108429'] [{'concept': 'Q728'}, 'P641', 'Q14300548'] [{'concept': 'Q12737077'}, 'P641', 'Q14300548'] [{'concept': 'Q728'}, 'P641', 'Q36908'] [{'concept': 'Q12737077'}, 'P641', 'Q36908']
[{'concept': 'weapon'}, 'sport', 'archery'] [{'concept': 'occupation'}, 'sport', 'archery'] [{'concept': 'weapon'}, 'sport', 'archery'] [{'concept': 'occupation'}, 'sport', 'archery'] [{'concept': 'weapon'}, 'sport', 'skating'] [{'concept': 'occupation'}, 'sport', 'skating'] [{'concept': 'weapon'}, 'sport', 'mountaineering'] [{'concept': 'occupation'}, 'sport', 'mountaineering']
[]
SYSTEM
2
Q13382355 Q5883434
(c(Q728),P641,Q108429) (c(Q12737077),P641,Q108429) (c(Q728),P641,Q108429) (c(Q12737077),P641,Q108429) (c(Q728),P641,Q14300548) (c(Q12737077),P641,Q14300548) (c(Q728),P641,Q36908) (c(Q12737077),P641,Q36908)
[ANSWER]
[{'concept': 'Q728'}, 'P641', 'Q108429'] [{'concept': 'Q12737077'}, 'P641', 'Q108429'] [{'concept': 'Q728'}, 'P641', 'Q108429'] [{'concept': 'Q12737077'}, 'P641', 'Q108429'] [{'concept': 'Q728'}, 'P641', 'Q14300548'] [{'concept': 'Q12737077'}, 'P641', 'Q14300548'] [{'concept': 'Q728'}, 'P641', 'Q36908'] [{'concept': 'Q12737077'}, 'P641', 'Q36908']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q1567764 resource:Q108429 } UNION { ?y property:Q1567764 resource:Q108429 } UNION { ?z property:Q1567764 resource:Q108429 } UNION { ?y property:Q1567764 resource:Q108429 } UNION { ?z property:Q1567764 resource:Q14300548 } UNION { ?y property:Q1567764 resource:Q14300548 } UNION { ?z property:Q1567764 resource:Q36908 } UNION { ?y property:Q1567764 resource:Q36908 } } . ?z rdf:type ontology:Q728 . ?y rdf:type ontology:Q528892 }
archer Holmegaard bow
2
[{'concept': 'weapon'}, 'sport', 'archery'] [{'concept': 'occupation'}, 'sport', 'archery'] [{'concept': 'weapon'}, 'sport', 'archery'] [{'concept': 'occupation'}, 'sport', 'archery'] [{'concept': 'weapon'}, 'sport', 'skating'] [{'concept': 'occupation'}, 'sport', 'skating'] [{'concept': 'weapon'}, 'sport', 'mountaineering'] [{'concept': 'occupation'}, 'sport', 'mountaineering']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:sport resource:archery } UNION { ?y property:sport resource:archery } UNION { ?z property:sport resource:archery } UNION { ?y property:sport resource:archery } UNION { ?z property:sport resource:skating } UNION { ?y property:sport resource:skating } UNION { ?z property:sport resource:mountaineering } UNION { ?y property:sport resource:mountaineering } } . ?z rdf:type ontology:weapon . ?y rdf:type ontology:occupation }
[]