Simple Question (Direct)
Simple Question
Q2431243
P19
Q56061
USER
Which administrative territory is the place of birth of Raimo Heino ?
(Q2431243,P19,c(Q56061))
action filter_type
action find
entity Q2431243
relation P19
type Q56061
['Q2431243', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q2431243 property:P19 ?t . ?t rdf:type ontology:Q56061 }
Raimo Heino
action filter_type
action find
entity Raimo Heino
relation place of birth
type administrative territorial entity
['Raimo Heino', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Raimo_Heino property:place_of_birth ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1757
SYSTEM
Helsinki
Q1757
(Q2431243,P19,c(Q56061))
action filter_type
action find
entity Q2431243
relation P19
type Q56061
[ANSWER] is the place of birth of Raimo Heino
['Q2431243', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q2431243 property:P19 ?t . ?t rdf:type ontology:Q56061 }
Helsinki
Helsinki is the place of birth of Raimo Heino
Helsinki
action filter_type
action find
entity Raimo Heino
relation place of birth
type administrative territorial entity
['Raimo Heino', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Raimo_Heino property:place_of_birth ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2431243
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q1757,P27,c(Q15617994))
action filter_type
action find
entity Q2431243
relation P27
type Q15617994
['Q1757', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q2431243 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
Raimo Heino
action filter_type
action find
entity Raimo Heino
relation country of citizenship
type designation for an administrative territorial entity
['Helsinki', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Raimo_Heino property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q33
SYSTEM
Finland
Q33
(Q1757,P27,c(Q15617994))
action filter_type
action find
entity Q2431243
relation P27
type Q15617994
[ANSWER] is that person a civilian of
['Q1757', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q2431243 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
Finland
Finland is that person a civilian of
Finland
action filter_type
action find
entity Raimo Heino
relation country of citizenship
type designation for an administrative territorial entity
['Helsinki', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Raimo_Heino property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q15497931 Q2431243
P20
Q56061
USER
Which administrative territories did Raimo Heino or Hazel Barnes die ?
OR((Q2431243,P20,c(Q56061)), (Q15497931,P20,c(Q56061)))
action filter_type
action union
action find
entity Q2431243
relation P20
action find
entity Q15497931
relation P20
type Q56061
{'OR': [['Q2431243', 'P20', {'concept': 'Q56061'}], ['Q15497931', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?w WHERE { { VALUES ( ?l ) { ( resource:Q15497931 ) ( resource:Q2431243 ) } . ?l property:P20 ?w } . ?w rdf:type ontology:Q56061 }
Hazel Barnes Raimo Heino
action filter_type
action union
action find
entity Raimo Heino
relation place of death
action find
entity Hazel Barnes
relation place of death
type administrative territorial entity
{'OR': [['Raimo Heino', 'place of death', {'concept': 'administrative territorial entity'}], ['Hazel Barnes', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { VALUES ( ?l ) { ( resource:Hazel_Barnes ) ( resource:Raimo_Heino ) } . ?l property:place_of_death ?w } . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1757 Q192517
SYSTEM
Helsinki, Boulder
Q1757 Q192517
OR((Q2431243,P20,c(Q56061)), (Q15497931,P20,c(Q56061)))
action filter_type
action union
action find
entity Q2431243
relation P20
action find
entity Q15497931
relation P20
type Q56061
Raimo Heino or Hazel Barnes died in [ANSWERS]
{'OR': [['Q2431243', 'P20', {'concept': 'Q56061'}], ['Q15497931', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?w WHERE { { VALUES ( ?l ) { ( resource:Q15497931 ) ( resource:Q2431243 ) } . ?l property:P20 ?w } . ?w rdf:type ontology:Q56061 }
Helsinki Boulder
Raimo Heino or Hazel Barnes died in Helsinki and Boulder
Helsinki Boulder
action filter_type
action union
action find
entity Raimo Heino
relation place of death
action find
entity Hazel Barnes
relation place of death
type administrative territorial entity
{'OR': [['Raimo Heino', 'place of death', {'concept': 'administrative territorial entity'}], ['Hazel Barnes', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { VALUES ( ?l ) { ( resource:Hazel_Barnes ) ( resource:Raimo_Heino ) } . ?l property:place_of_death ?w } . ?w rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q15497931
P27
Q15617994
USER
How many administrative territories are Hazel Barnes an inhabitant of ?
(Q15497931,P27,c(Q15617994))
action count
action filter_type
action find
entity Q15497931
relation P27
type Q15617994
['Q15497931', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { resource:Q15497931 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
Hazel Barnes
action count
action filter_type
action find
entity Hazel Barnes
relation country of citizenship
type designation for an administrative territorial entity
['Hazel Barnes', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { resource:Hazel_Barnes property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q30
(Q15497931,P27,c(Q15617994))
action count
action filter_type
action find
entity Q15497931
relation P27
type Q15617994
[ANSWER]
['Q15497931', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { resource:Q15497931 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
United States of America
1
action count
action filter_type
action find
entity Hazel Barnes
relation country of citizenship
type designation for an administrative territorial entity
['Hazel Barnes', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { resource:Hazel_Barnes property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q33
P276
Q874405
USER
What is situated at Finland ?
(c(Q874405),P276,Q33)
action filter_type
action find_reverse
entity Q33
relation P276
type Q874405
[{'concept': 'Q874405'}, 'P276', 'Q33']
SELECT DISTINCT ?y WHERE { ?y property:P276 resource:Q33 . ?y rdf:type ontology:Q874405 }
Finland
action filter_type
action find_reverse
entity Finland
relation location
type social group
[{'concept': 'social group'}, 'location', 'Finland']
SELECT DISTINCT ?y WHERE { ?y property:location resource:Finland . ?y rdf:type ontology:social_group }
[]
social group
Q21607642
SYSTEM
Pori city board of visual arts
Q21607642
(c(Q874405),P276,Q33)
action filter_type
action find_reverse
entity Q33
relation P276
type Q874405
[ANSWER] is situated at Finland
[{'concept': 'Q874405'}, 'P276', 'Q33']
SELECT DISTINCT ?y WHERE { ?y property:P276 resource:Q33 . ?y rdf:type ontology:Q874405 }
Pori city board of visual arts
Pori city board of visual arts is situated at Finland
Pori city board of visual arts
action filter_type
action find_reverse
entity Finland
relation location
type social group
[{'concept': 'social group'}, 'location', 'Finland']
SELECT DISTINCT ?y WHERE { ?y property:location resource:Finland . ?y rdf:type ontology:social_group }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21607642
P101
Q1914636
USER
What is the field of work of that social group ?
(Q21607642,P101,c(Q1914636))
action filter_type
action find
entity Q21607642
relation P101
type Q1914636
['Q21607642', 'P101', {'concept': 'Q1914636'}]
SELECT DISTINCT ?d WHERE { resource:Q21607642 property:P101 ?d . ?d rdf:type ontology:Q1914636 }
Pori city board of visual arts
action filter_type
action find
entity Pori city board of visual arts
relation field of work
type activity
['Pori city board of visual arts', 'field of work', {'concept': 'activity'}]
SELECT DISTINCT ?d WHERE { resource:Pori_city_board_of_visual_arts property:field_of_work ?d . ?d rdf:type ontology:activity }
[]
activity
Q36649
SYSTEM
visual arts
Q36649
(Q21607642,P101,c(Q1914636))
action filter_type
action find
entity Q21607642
relation P101
type Q1914636
The field of work of that social group is the [ANSWER]
['Q21607642', 'P101', {'concept': 'Q1914636'}]
SELECT DISTINCT ?d WHERE { resource:Q21607642 property:P101 ?d . ?d rdf:type ontology:Q1914636 }
visual arts
The field of work of that social group is the visual arts
visual arts
action filter_type
action find
entity Pori city board of visual arts
relation field of work
type activity
['Pori city board of visual arts', 'field of work', {'concept': 'activity'}]
SELECT DISTINCT ?d WHERE { resource:Pori_city_board_of_visual_arts property:field_of_work ?d . ?d rdf:type ontology:activity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q18618644 Q21607642
P101
Q1914636
USER
Or Wikidata property for items about works?
OR((Q21607642,P101,c(Q1914636)), (Q18618644,P101,c(Q1914636)))
action filter_type
action union
action find
entity Q21607642
relation P101
action find
entity Q18618644
relation P101
type Q1914636
{'OR': [['Q21607642', 'P101', {'concept': 'Q1914636'}], ['Q18618644', 'P101', {'concept': 'Q1914636'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q18618644 property:P101 ?c } UNION { resource:Q21607642 property:P101 ?c } } . ?c rdf:type ontology:Q1914636 }
Wikidata property for items about works Pori city board of visual arts
action filter_type
action union
action find
entity Pori city board of visual arts
relation field of work
action find
entity Wikidata property for items about works
relation field of work
type activity
{'OR': [['Pori city board of visual arts', 'field of work', {'concept': 'activity'}], ['Wikidata property for items about works', 'field of work', {'concept': 'activity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Wikidata_property_for_items_about_works property:field_of_work ?c } UNION { resource:Pori_city_board_of_visual_arts property:field_of_work ?c } } . ?c rdf:type ontology:activity }
[]
activity
Q12271 Q36649
SYSTEM
architecture, visual arts
Q12271 Q36649
OR((Q21607642,P101,c(Q1914636)), (Q18618644,P101,c(Q1914636)))
action filter_type
action union
action find
entity Q21607642
relation P101
action find
entity Q18618644
relation P101
type Q1914636
[ANSWERS]
{'OR': [['Q21607642', 'P101', {'concept': 'Q1914636'}], ['Q18618644', 'P101', {'concept': 'Q1914636'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q18618644 property:P101 ?c } UNION { resource:Q21607642 property:P101 ?c } } . ?c rdf:type ontology:Q1914636 }
architecture visual arts
architecture visual arts
action filter_type
action union
action find
entity Pori city board of visual arts
relation field of work
action find
entity Wikidata property for items about works
relation field of work
type activity
{'OR': [['Pori city board of visual arts', 'field of work', {'concept': 'activity'}], ['Wikidata property for items about works', 'field of work', {'concept': 'activity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Wikidata_property_for_items_about_works property:field_of_work ?c } UNION { resource:Pori_city_board_of_visual_arts property:field_of_work ?c } } . ?c rdf:type ontology:activity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q514
P180
Q1914636 Q2342494 Q340169
USER
Which activities are expressed in approximately the same number of collectables and medias as anatomy ?
(c(Q2342494)|c(Q340169),P180,c(Q1914636))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q1914636
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q1914636
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q514
relation P180
type Q2342494
type Q340169
[[{'concept': 'Q2342494'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q1914636'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?h ) AS ?r ) WHERE { { ?h property:P180 ?u . ?u rdf:type ontology:Q1914636 . ?h rdf:type ontology:Q2342494 } UNION { ?h property:P180 ?u . ?u rdf:type ontology:Q1914636 . ?h rdf:type ontology:Q340169 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { ?d property:P180 resource:Q514 . { { ?d rdf:type ontology:Q2342494 } UNION { ?d rdf:type ontology:Q340169 } } } } . FILTER ( ?r = ?y ) }
anatomy
action approx
action union
action find_reverse_tuple_counts
relation depicts
type activity
type collectable
action find_reverse_tuple_counts
relation depicts
type activity
type media
action count
action filter_multi_types
action find_reverse
entity anatomy
relation depicts
type collectable
type media
[[{'concept': 'collectable'}, {'concept': 'media'}], 'depicts', {'concept': 'activity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?h ) AS ?r ) WHERE { { ?h property:depicts ?u . ?u rdf:type ontology:activity . ?h rdf:type ontology:collectable } UNION { ?h property:depicts ?u . ?u rdf:type ontology:activity . ?h rdf:type ontology:media } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { ?d property:depicts resource:anatomy . { { ?d rdf:type ontology:collectable } UNION { ?d rdf:type ontology:media } } } } . FILTER ( ?r = ?y ) }
[]
activity collectable media
Q5873 Q211011 Q514
SYSTEM
sexual intercourse, falconry, anatomy
Q211011 Q5873 Q184485 Q600236 Q192386 Q514 Q2991771 Q12014035 Q175331 Q3199915 Q16868432 Q49389 Q11635 Q11410 Q208165 Q1194492 Q6502154 Q896777 Q11416 Q638 Q916412 Q12950902 Q9350 Q124946 Q10737 Q1132965 Q149086 Q192296 Q671119 Q1562096 Q842284 Q1358616 Q7214166 Q254615 Q133333 Q124757
(c(Q2342494)|c(Q340169),P180,c(Q1914636))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q1914636
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q1914636
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q514
relation P180
type Q2342494
type Q340169
[ANSWERS] are expressed in approximately the same number of collectables and medias as anatomy
[[{'concept': 'Q2342494'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q1914636'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?h ) AS ?r ) WHERE { { ?h property:P180 ?u . ?u rdf:type ontology:Q1914636 . ?h rdf:type ontology:Q2342494 } UNION { ?h property:P180 ?u . ?u rdf:type ontology:Q1914636 . ?h rdf:type ontology:Q340169 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { ?d property:P180 resource:Q514 . { { ?d rdf:type ontology:Q2342494 } UNION { ?d rdf:type ontology:Q340169 } } } } . FILTER ( ?r = ?y ) }
falconry sexual intercourse performing arts operation military science anatomy gathering hiking demonstration massacre cabinetwork tourism theater game collecting angling exploration Water Jousting gambling music infanticide parforce hunting yoga gardening suicide sea bathing homicide weaving Bull-leaping ironwork skateboarding mortification of the flesh harvest gleaning foxhunting riot
Sexual intercourse, falconry and anatomy are expressed in approximately the same number of collectables and medias as anatomy
sexual intercourse falconry anatomy
action approx
action union
action find_reverse_tuple_counts
relation depicts
type activity
type collectable
action find_reverse_tuple_counts
relation depicts
type activity
type media
action count
action filter_multi_types
action find_reverse
entity anatomy
relation depicts
type collectable
type media
[[{'concept': 'collectable'}, {'concept': 'media'}], 'depicts', {'concept': 'activity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?h ) AS ?r ) WHERE { { ?h property:depicts ?u . ?u rdf:type ontology:activity . ?h rdf:type ontology:collectable } UNION { ?h property:depicts ?u . ?u rdf:type ontology:activity . ?h rdf:type ontology:media } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { ?d property:depicts resource:anatomy . { { ?d rdf:type ontology:collectable } UNION { ?d rdf:type ontology:media } } } } . FILTER ( ?r = ?y ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q6502154
P180
Q1914636 Q2342494 Q340169
USER
And also tell me about exploration?
(c(Q2342494)|c(Q340169),P180,c(Q1914636))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q1914636
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q1914636
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q6502154
relation P180
type Q2342494
type Q340169
[[{'concept': 'Q2342494'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q1914636'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?v ) AS ?m ) WHERE { ?v rdf:type ?j . VALUES ( ?j ) { ( ontology:Q2342494 ) ( ontology:Q340169 ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { ?f property:P180 resource:Q6502154 . { VALUES ( ?u ) { ( ontology:Q2342494 ) ( ontology:Q340169 ) } . ?f rdf:type ?u } } } . FILTER ( ?m = ?s ) }
exploration
action approx
action union
action find_reverse_tuple_counts
relation depicts
type activity
type collectable
action find_reverse_tuple_counts
relation depicts
type activity
type media
action count
action filter_multi_types
action find_reverse
entity exploration
relation depicts
type collectable
type media
[[{'concept': 'collectable'}, {'concept': 'media'}], 'depicts', {'concept': 'activity'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?v ) AS ?m ) WHERE { ?v rdf:type ?j . VALUES ( ?j ) { ( ontology:collectable ) ( ontology:media ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { ?f property:depicts resource:exploration . { VALUES ( ?u ) { ( ontology:collectable ) ( ontology:media ) } . ?f rdf:type ?u } } } . FILTER ( ?m = ?s ) }
[]
activity collectable media
Q5873 Q211011 Q514
SYSTEM
sexual intercourse, falconry, anatomy
Q211011 Q5873 Q184485 Q600236 Q192386 Q514 Q2991771 Q12014035 Q175331 Q3199915 Q16868432 Q49389 Q11635 Q11410 Q208165 Q1194492 Q6502154 Q896777 Q11416 Q638 Q916412 Q12950902 Q9350 Q124946 Q10737 Q1132965 Q149086 Q192296 Q671119 Q1562096 Q842284 Q1358616 Q7214166 Q254615 Q133333 Q124757
(c(Q2342494)|c(Q340169),P180,c(Q1914636))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q1914636
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q1914636
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q6502154
relation P180
type Q2342494
type Q340169
[ANSWERS]
[[{'concept': 'Q2342494'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q1914636'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?v ) AS ?m ) WHERE { ?v rdf:type ?j . VALUES ( ?j ) { ( ontology:Q2342494 ) ( ontology:Q340169 ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { ?f property:P180 resource:Q6502154 . { VALUES ( ?u ) { ( ontology:Q2342494 ) ( ontology:Q340169 ) } . ?f rdf:type ?u } } } . FILTER ( ?m = ?s ) }
falconry sexual intercourse performing arts operation military science anatomy gathering hiking demonstration massacre cabinetwork tourism theater game collecting angling exploration Water Jousting gambling music infanticide parforce hunting yoga gardening suicide sea bathing homicide weaving Bull-leaping ironwork skateboarding mortification of the flesh harvest gleaning foxhunting riot
sexual intercourse falconry anatomy
action approx
action union
action find_reverse_tuple_counts
relation depicts
type activity
type collectable
action find_reverse_tuple_counts
relation depicts
type activity
type media
action count
action filter_multi_types
action find_reverse
entity exploration
relation depicts
type collectable
type media
[[{'concept': 'collectable'}, {'concept': 'media'}], 'depicts', {'concept': 'activity'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?v ) AS ?m ) WHERE { ?v rdf:type ?j . VALUES ( ?j ) { ( ontology:collectable ) ( ontology:media ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { ?f property:depicts resource:exploration . { VALUES ( ?u ) { ( ontology:collectable ) ( ontology:media ) } . ?f rdf:type ?u } } } . FILTER ( ?m = ?s ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q5873
P1542
Q9332
USER
Which behavior was the cause of that activity ?
(c(Q9332),P1542,Q5873)
action filter_type
action find_reverse
entity Q5873
relation P1542
type Q9332
[{'concept': 'Q9332'}, 'P1542', 'Q5873']
SELECT DISTINCT ?e WHERE { ?e property:P1542 resource:Q5873 . ?e rdf:type ontology:Q9332 }
sexual intercourse
action filter_type
action find_reverse
entity sexual intercourse
relation cause of
type behavior
[{'concept': 'behavior'}, 'cause of', 'sexual intercourse']
SELECT DISTINCT ?e WHERE { ?e property:cause_of resource:sexual_intercourse . ?e rdf:type ontology:behavior }
[]
behavior
Clarification for simple ques.
Q5873
SYSTEM
Did you mean sexual intercourse ?
Q5873 Q211011 Q514
(c(Q9332),P1542,Q5873) (c(Q9332),P1542,Q211011) (c(Q9332),P1542,Q514)
[ANSWER]
[{'concept': 'Q9332'}, 'P1542', 'Q5873'] [{'concept': 'Q9332'}, 'P1542', 'Q211011'] [{'concept': 'Q9332'}, 'P1542', 'Q514']
SELECT DISTINCT ?e WHERE { ?e property:P1542 resource:Q5873 . ?e rdf:type ontology:Q9332 }
sexual intercourse falconry anatomy
Did you mean sexual intercourse ?
sexual intercourse
[{'concept': 'behavior'}, 'cause of', 'sexual intercourse'] [{'concept': 'behavior'}, 'cause of', 'falconry'] [{'concept': 'behavior'}, 'cause of', 'anatomy']
SELECT DISTINCT ?e WHERE { ?e property:cause_of resource:sexual_intercourse . ?e rdf:type ontology:behavior }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q9332),P1542,Q5873)
[{'concept': 'Q9332'}, 'P1542', 'Q5873']
[{'concept': 'behavior'}, 'cause of', 'sexual intercourse']
[]
Q608
SYSTEM
human sexual activity
Q608
(c(Q9332),P1542,Q5873)
action filter_type
action find_reverse
entity Q5873
relation P1542
type Q9332
Was [ANSWER] was the cause of that activity
[{'concept': 'Q9332'}, 'P1542', 'Q5873']
SELECT DISTINCT ?e WHERE { ?e property:P1542 resource:Q5873 . ?e rdf:type ontology:Q9332 }
human sexual activity
Was human sexual activity was the cause of that activity
human sexual activity
action filter_type
action find_reverse
entity sexual intercourse
relation cause of
type behavior
[{'concept': 'behavior'}, 'cause of', 'sexual intercourse']
SELECT DISTINCT ?e WHERE { ?e property:cause_of resource:sexual_intercourse . ?e rdf:type ontology:behavior }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P749
Q4830453 Q1269299 Q874405
USER
How many social groups have atmost 1 business enterprises or business organizations as parent organization ?
(c(Q874405),P749,c(Q4830453)|c(Q1269299))
action count
action atmost
action union
action find_tuple_counts
relation P749
type Q874405
type Q4830453
action find_tuple_counts
relation P749
type Q874405
type Q1269299
value 1
[{'concept': 'Q874405'}, 'P749', [{'concept': 'Q4830453'}, {'concept': 'Q1269299'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { FILTER ( ?l <= 1 ) . { SELECT DISTINCT ?q ( COUNT ( ?b ) AS ?l ) WHERE { { ?q property:P749 ?b . ?q rdf:type ontology:Q874405 . ?b rdf:type ontology:Q4830453 } UNION { ?q property:P749 ?b . ?q rdf:type ontology:Q874405 . ?b rdf:type ontology:Q1269299 } } GROUP BY ?q } }
action count
action atmost
action union
action find_tuple_counts
relation parent organization
type social group
type business enterprise
action find_tuple_counts
relation parent organization
type social group
type type of business entity
value 1
[{'concept': 'social group'}, 'parent organization', [{'concept': 'business enterprise'}, {'concept': 'type of business entity'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { FILTER ( ?l <= 1 ) . { SELECT DISTINCT ?q ( COUNT ( ?b ) AS ?l ) WHERE { { ?q property:parent_organization ?b . ?q rdf:type ontology:social_group . ?b rdf:type ontology:business_enterprise } UNION { ?q property:parent_organization ?b . ?q rdf:type ontology:social_group . ?b rdf:type ontology:type_of_business_entity } } GROUP BY ?q } }
[]
business enterprise type of business entity social group
SYSTEM
55
Q2522363 Q4816411 Q3665696 Q5251426 Q7437933 Q23657192 Q26695651 Q928183 Q1114200 Q11788418 Q24765347 Q4929965 Q740123 Q7988225 Q13359824 Q7660181 Q13431465 Q2860866 Q4698479 Q3519460 Q14623752 Q2044206 Q6670591 Q26830968 Q4318661 Q1546448 Q5330408 Q781027 Q13218607 Q4823779 Q3913196 Q3435621 Q7241146 Q3274087 Q4698480 Q7570387 Q1377855 Q1203555 Q161718 Q477386 Q5975415 Q408396 Q7055281 Q4146827 Q11722823 Q6955406 Q14334150 Q751152 Q890180 Q23978267 Q15293666 Q1411739 Q10955989 Q2990871 Q549157
(c(Q874405),P749,c(Q4830453)|c(Q1269299))
action count
action atmost
action union
action find_tuple_counts
relation P749
type Q874405
type Q4830453
action find_tuple_counts
relation P749
type Q874405
type Q1269299
value 1
[ANSWER]
[{'concept': 'Q874405'}, 'P749', [{'concept': 'Q4830453'}, {'concept': 'Q1269299'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { FILTER ( ?l <= 1 ) . { SELECT DISTINCT ?q ( COUNT ( ?b ) AS ?l ) WHERE { { ?q property:P749 ?b . ?q rdf:type ontology:Q874405 . ?b rdf:type ontology:Q4830453 } UNION { ?q property:P749 ?b . ?q rdf:type ontology:Q874405 . ?b rdf:type ontology:Q1269299 } } GROUP BY ?q } }
Victor Gollancz Ltd Atlantic Council of Serbia Chabad on Campus International Foundation Defense Technical Information Center Scottish Region of British Railways The National Centre for Multicultural Education in Norway Office of the Assistant Secretary of Defense, Networks and Information Integration, Information Managment SABCA Picnik NWR Karbonia Telluride House Blue Triangle United Nations Stabilisation Mission in Haiti Western Region of British Railways Immobilière Dassault Sydney Trains Thales Air Defence Areva TA Airbus ProSky Thales Underwater Systems Pink BH PIK Vrbovec London Midland Region of British Railways USA TODAY Network Nizhny Novgorod Research Institute of Radio Engineering United Nations Supervision Mission in Syria Eastern Region of British Railways Audi Hungaria Motor Kft. RBS Securities Australian Academy of Cinema and Television Arts Thales Nederland Elektrárna Dětmarovice President's Council on Fitness, Sports, and Nutrition United Front Work Department Airbus Operations S.A.S. Southern Region of British Railways Google.org Deutsche Messe AG United Nations Development Programme EADS Astrium Space Transportation IUPAC/IUPAP Joint Working Party Airbus Transport International North Eastern Region of British Railways State Committee for Publishing Centrum Holdings NSW Trains MediaCorp Raintree Pictures Astrium Services Boeing Canada beIN CONNECT Straßenbahn Kleve Time Inc. Media Asia Film Distribution Company Comptoir métallurgique marocain Airlines Tonga
55
action count
action atmost
action union
action find_tuple_counts
relation parent organization
type social group
type business enterprise
action find_tuple_counts
relation parent organization
type social group
type type of business entity
value 1
[{'concept': 'social group'}, 'parent organization', [{'concept': 'business enterprise'}, {'concept': 'type of business entity'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { FILTER ( ?l <= 1 ) . { SELECT DISTINCT ?q ( COUNT ( ?b ) AS ?l ) WHERE { { ?q property:parent_organization ?b . ?q rdf:type ontology:social_group . ?b rdf:type ontology:business_enterprise } UNION { ?q property:parent_organization ?b . ?q rdf:type ontology:social_group . ?b rdf:type ontology:type_of_business_entity } } GROUP BY ?q } }
[]