Simple Question (Direct)
Simple Question
Q15698786
P101
Q336
USER
Which field does Ives Goddard belong to ?
(Q15698786,P101,c(Q336))
action filter_type
action find
entity Q15698786
relation P101
type Q336
['Q15698786', 'P101', {'concept': 'Q336'}]
SELECT DISTINCT ?h WHERE { resource:Q15698786 property:P101 ?h . ?h rdf:type ontology:Q336 }
Ives Goddard
action filter_type
action find
entity Ives Goddard
relation field of work
type science
['Ives Goddard', 'field of work', {'concept': 'science'}]
SELECT DISTINCT ?h WHERE { resource:Ives_Goddard property:field_of_work ?h . ?h rdf:type ontology:science }
[]
science
Q190375
SYSTEM
historical linguistics
Q190375
(Q15698786,P101,c(Q336))
action filter_type
action find
entity Q15698786
relation P101
type Q336
Ives Goddard belongs to [ANSWER]
['Q15698786', 'P101', {'concept': 'Q336'}]
SELECT DISTINCT ?h WHERE { resource:Q15698786 property:P101 ?h . ?h rdf:type ontology:Q336 }
historical linguistics
Ives Goddard belongs to historical linguistics
historical linguistics
action filter_type
action find
entity Ives Goddard
relation field of work
type science
['Ives Goddard', 'field of work', {'concept': 'science'}]
SELECT DISTINCT ?h WHERE { resource:Ives_Goddard property:field_of_work ?h . ?h rdf:type ontology:science }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15698786
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Ives Goddard ?
(Q15698786,P27,c(Q15617994))
action filter_type
action find
entity Q15698786
relation P27
type Q15617994
['Q15698786', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q15698786 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
Ives Goddard
action filter_type
action find
entity Ives Goddard
relation country of citizenship
type designation for an administrative territorial entity
['Ives Goddard', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Ives_Goddard property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q15698786,P27,c(Q15617994))
action filter_type
action find
entity Q15698786
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Ives Goddard
['Q15698786', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q15698786 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
United States of America
United States of America is the country of citizenship of Ives Goddard
United States of America
action filter_type
action find
entity Ives Goddard
relation country of citizenship
type designation for an administrative territorial entity
['Ives Goddard', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Ives_Goddard property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q6408347 Q15698786
P69
Q163740
USER
Which nonprofit organizations are Ives Goddard and Kim B. Clark an alumni of ?
AND((Q15698786,P69,c(Q163740)), (Q6408347,P69,c(Q163740)))
action filter_type
action intersection
action find
entity Q15698786
relation P69
action find
entity Q6408347
relation P69
type Q163740
{'AND': [['Q15698786', 'P69', {'concept': 'Q163740'}], ['Q6408347', 'P69', {'concept': 'Q163740'}]]}
SELECT DISTINCT ?n WHERE { resource:Q15698786 property:P69 ?n . resource:Q6408347 property:P69 ?n . ?n rdf:type ontology:Q163740 }
Kim B. Clark Ives Goddard
action filter_type
action intersection
action find
entity Ives Goddard
relation educated at
action find
entity Kim B. Clark
relation educated at
type nonprofit organization
{'AND': [['Ives Goddard', 'educated at', {'concept': 'nonprofit organization'}], ['Kim B. Clark', 'educated at', {'concept': 'nonprofit organization'}]]}
SELECT DISTINCT ?n WHERE { resource:Ives_Goddard property:educated_at ?n . resource:Kim_B._Clark property:educated_at ?n . ?n rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q13371
SYSTEM
Harvard University
Q13371
AND((Q15698786,P69,c(Q163740)), (Q6408347,P69,c(Q163740)))
action filter_type
action intersection
action find
entity Q15698786
relation P69
action find
entity Q6408347
relation P69
type Q163740
[ANSWER] is Ives Goddard and Kim B. Clark an alumni of
{'AND': [['Q15698786', 'P69', {'concept': 'Q163740'}], ['Q6408347', 'P69', {'concept': 'Q163740'}]]}
SELECT DISTINCT ?n WHERE { resource:Q15698786 property:P69 ?n . resource:Q6408347 property:P69 ?n . ?n rdf:type ontology:Q163740 }
Harvard University
Harvard University is Ives Goddard and Kim B. Clark an alumni of
Harvard University
action filter_type
action intersection
action find
entity Ives Goddard
relation educated at
action find
entity Kim B. Clark
relation educated at
type nonprofit organization
{'AND': [['Ives Goddard', 'educated at', {'concept': 'nonprofit organization'}], ['Kim B. Clark', 'educated at', {'concept': 'nonprofit organization'}]]}
SELECT DISTINCT ?n WHERE { resource:Ives_Goddard property:educated_at ?n . resource:Kim_B._Clark property:educated_at ?n . ?n rdf:type ontology:nonprofit_organization }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q336 Q1914636 Q5962346
USER
Which sciences are exactly 2 activities or classification schemes a part of ?
(c(Q1914636)|c(Q5962346),P361,c(Q336))
action equal
action union
action find_reverse_tuple_counts
relation P361
type Q336
type Q1914636
action find_reverse_tuple_counts
relation P361
type Q336
type Q5962346
value 2
[[{'concept': 'Q1914636'}, {'concept': 'Q5962346'}], 'P361', {'concept': 'Q336'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?d ) AS ?a ) WHERE { ?d rdf:type ?x . VALUES ( ?x ) { ( ontology:Q1914636 ) ( ontology:Q5962346 ) } } GROUP BY ?o } . FILTER ( ?a = 2 ) }
action equal
action union
action find_reverse_tuple_counts
relation part of
type science
type activity
action find_reverse_tuple_counts
relation part of
type science
type classification scheme
value 2
[[{'concept': 'activity'}, {'concept': 'classification scheme'}], 'part of', {'concept': 'science'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?d ) AS ?a ) WHERE { ?d rdf:type ?x . VALUES ( ?x ) { ( ontology:activity ) ( ontology:classification_scheme ) } } GROUP BY ?o } . FILTER ( ?a = 2 ) }
[]
science activity classification scheme
Q431 Q228736 Q2329
SYSTEM
zoology, materials science, chemistry
Q228736 Q431 Q2329 Q43035
(c(Q1914636)|c(Q5962346),P361,c(Q336))
action equal
action union
action find_reverse_tuple_counts
relation P361
type Q336
type Q1914636
action find_reverse_tuple_counts
relation P361
type Q336
type Q5962346
value 2
[ANSWERS] are exactly 2 activities or classification schemes a part of
[[{'concept': 'Q1914636'}, {'concept': 'Q5962346'}], 'P361', {'concept': 'Q336'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?d ) AS ?a ) WHERE { ?d rdf:type ?x . VALUES ( ?x ) { ( ontology:Q1914636 ) ( ontology:Q5962346 ) } } GROUP BY ?o } . FILTER ( ?a = 2 ) }
materials science zoology chemistry electrical engineering
Zoology, materials science and chemistry are exactly 2 activities or classification schemes a part of
zoology materials science chemistry
action equal
action union
action find_reverse_tuple_counts
relation part of
type science
type activity
action find_reverse_tuple_counts
relation part of
type science
type classification scheme
value 2
[[{'concept': 'activity'}, {'concept': 'classification scheme'}], 'part of', {'concept': 'science'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?d ) AS ?a ) WHERE { ?d rdf:type ?x . VALUES ( ?x ) { ( ontology:activity ) ( ontology:classification_scheme ) } } GROUP BY ?o } . FILTER ( ?a = 2 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q336 Q1914636 Q1047113
USER
Which sciences are around 2 activities and special fields a component of ?
(c(Q1914636)|c(Q1047113),P361,c(Q336))
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q336
type Q1914636
action find_reverse_tuple_counts
relation P361
type Q336
type Q1047113
value 2
[[{'concept': 'Q1914636'}, {'concept': 'Q1047113'}], 'P361', {'concept': 'Q336'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?o ) WHERE { { ?k property:P361 ?m . ?m rdf:type ontology:Q336 . ?k rdf:type ontology:Q1914636 } UNION { ?k property:P361 ?m . ?m rdf:type ontology:Q336 . ?k rdf:type ontology:Q1047113 } } GROUP BY ?m } . FILTER ( ?o = 2 ) }
action approx
action union
action find_reverse_tuple_counts
relation part of
type science
type activity
action find_reverse_tuple_counts
relation part of
type science
type special field
value 2
[[{'concept': 'activity'}, {'concept': 'special field'}], 'part of', {'concept': 'science'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?o ) WHERE { { ?k property:part_of ?m . ?m rdf:type ontology:science . ?k rdf:type ontology:activity } UNION { ?k property:part_of ?m . ?m rdf:type ontology:science . ?k rdf:type ontology:special_field } } GROUP BY ?m } . FILTER ( ?o = 2 ) }
[]
science activity special field
Q13636890 Q431 Q52107
SYSTEM
algorithmics, zoology, physical geography
Q228736 Q431 Q2329 Q413 Q39286 Q13636890 Q395 Q43035 Q52107 Q133805
(c(Q1914636)|c(Q1047113),P361,c(Q336))
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q336
type Q1914636
action find_reverse_tuple_counts
relation P361
type Q336
type Q1047113
value 2
[ANSWERS] are around 2 activities and special fields a component of
[[{'concept': 'Q1914636'}, {'concept': 'Q1047113'}], 'P361', {'concept': 'Q336'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?o ) WHERE { { ?k property:P361 ?m . ?m rdf:type ontology:Q336 . ?k rdf:type ontology:Q1914636 } UNION { ?k property:P361 ?m . ?m rdf:type ontology:Q336 . ?k rdf:type ontology:Q1047113 } } GROUP BY ?m } . FILTER ( ?o = 2 ) }
materials science zoology chemistry physics entomology algorithmics mathematics electrical engineering physical geography epidemiology
Algorithmics, zoology and physical geography are around 2 activities and special fields a component of
algorithmics zoology physical geography
action approx
action union
action find_reverse_tuple_counts
relation part of
type science
type activity
action find_reverse_tuple_counts
relation part of
type science
type special field
value 2
[[{'concept': 'activity'}, {'concept': 'special field'}], 'part of', {'concept': 'science'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?o ) WHERE { { ?k property:part_of ?m . ?m rdf:type ontology:science . ?k rdf:type ontology:activity } UNION { ?k property:part_of ?m . ?m rdf:type ontology:science . ?k rdf:type ontology:special_field } } GROUP BY ?m } . FILTER ( ?o = 2 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P361
Q336 Q151885 Q1914636
USER
Which sciences are max number of concepts or activities a part of ?
(c(Q151885)|c(Q1914636),P361,c(Q336))
action argmax
action union
action find_reverse_tuple_counts
relation P361
type Q336
type Q151885
action find_reverse_tuple_counts
relation P361
type Q336
type Q1914636
[[{'concept': 'Q151885'}, {'concept': 'Q1914636'}], 'P361', {'concept': 'Q336'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?q ) { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?y ) WHERE { ?u rdf:type ?v . VALUES ( ?v ) { ( ontology:Q1914636 ) ( ontology:Q151885 ) } } GROUP BY ?e } } . FILTER ( ?s = ?q ) . { SELECT DISTINCT ?r ( COUNT ( ?g ) AS ?s ) WHERE { { ?g property:P361 ?r . ?g rdf:type ontology:Q1914636 . ?r rdf:type ontology:Q336 } UNION { ?g property:P361 ?r . ?r rdf:type ontology:Q336 . ?g rdf:type ontology:Q151885 } } GROUP BY ?r } }
action argmax
action union
action find_reverse_tuple_counts
relation part of
type science
type concept
action find_reverse_tuple_counts
relation part of
type science
type activity
[[{'concept': 'concept'}, {'concept': 'activity'}], 'part of', {'concept': 'science'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?q ) { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?y ) WHERE { ?u rdf:type ?v . VALUES ( ?v ) { ( ontology:activity ) ( ontology:concept ) } } GROUP BY ?e } } . FILTER ( ?s = ?q ) . { SELECT DISTINCT ?r ( COUNT ( ?g ) AS ?s ) WHERE { { ?g property:part_of ?r . ?g rdf:type ontology:activity . ?r rdf:type ontology:science } UNION { ?g property:part_of ?r . ?r rdf:type ontology:science . ?g rdf:type ontology:concept } } GROUP BY ?r } }
[]
science concept activity
Q395
SYSTEM
mathematics
Q395
(c(Q151885)|c(Q1914636),P361,c(Q336))
action argmax
action union
action find_reverse_tuple_counts
relation P361
type Q336
type Q151885
action find_reverse_tuple_counts
relation P361
type Q336
type Q1914636
[ANSWER] is max number of concepts or activities a part of
[[{'concept': 'Q151885'}, {'concept': 'Q1914636'}], 'P361', {'concept': 'Q336'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?q ) { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?y ) WHERE { ?u rdf:type ?v . VALUES ( ?v ) { ( ontology:Q1914636 ) ( ontology:Q151885 ) } } GROUP BY ?e } } . FILTER ( ?s = ?q ) . { SELECT DISTINCT ?r ( COUNT ( ?g ) AS ?s ) WHERE { { ?g property:P361 ?r . ?g rdf:type ontology:Q1914636 . ?r rdf:type ontology:Q336 } UNION { ?g property:P361 ?r . ?r rdf:type ontology:Q336 . ?g rdf:type ontology:Q151885 } } GROUP BY ?r } }
mathematics
Mathematics is max number of concepts or activities a part of
mathematics
action argmax
action union
action find_reverse_tuple_counts
relation part of
type science
type concept
action find_reverse_tuple_counts
relation part of
type science
type activity
[[{'concept': 'concept'}, {'concept': 'activity'}], 'part of', {'concept': 'science'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?q ) { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?y ) WHERE { ?u rdf:type ?v . VALUES ( ?v ) { ( ontology:activity ) ( ontology:concept ) } } GROUP BY ?e } } . FILTER ( ?s = ?q ) . { SELECT DISTINCT ?r ( COUNT ( ?g ) AS ?s ) WHERE { { ?g property:part_of ?r . ?g rdf:type ontology:activity . ?r rdf:type ontology:science } UNION { ?g property:part_of ?r . ?r rdf:type ontology:science . ?g rdf:type ontology:concept } } GROUP BY ?r } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q431
P101 P21
Q502895
USER
Which people works in the domain of zoology and are a male ?
AND((c(Q502895),P101,Q431), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q431
relation P101
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P101', 'Q431'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?y WHERE { ?y property:P101 resource:Q431 . ?y property:P21 resource:Q6581097 . ?y rdf:type ontology:Q502895 }
male zoology
action filter_type
action intersection
action find_reverse
entity zoology
relation field of work
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'field of work', 'zoology'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?y WHERE { ?y property:field_of_work resource:zoology . ?y property:gender resource:male . ?y rdf:type ontology:common_name }
[]
common name
Q12875134 Q17425755 Q3047215 Q12877683 Q23570314
SYSTEM
Georgios Pantazis (academian), Hermann Ahlburg, Ed Yong, Iraklis Mitsopoulos, Emilio Fernández Galiano
Q12875134 Q17425755 Q3047215 Q12877683 Q23570314
AND((c(Q502895),P101,Q431), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q431
relation P101
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] work in the domain of zoology and are a male
{'AND': [[{'concept': 'Q502895'}, 'P101', 'Q431'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?y WHERE { ?y property:P101 resource:Q431 . ?y property:P21 resource:Q6581097 . ?y rdf:type ontology:Q502895 }
Georgios Pantazis (academian) Hermann Ahlburg Ed Yong Iraklis Mitsopoulos Emilio Fernández Galiano
Georgios Pantazis (academian), Hermann Ahlburg, Ed Yong, Iraklis Mitsopoulos and Emilio Fernández Galiano work in the domain of zoology and are a male
Georgios Pantazis (academian) Hermann Ahlburg Ed Yong Iraklis Mitsopoulos Emilio Fernández Galiano
action filter_type
action intersection
action find_reverse
entity zoology
relation field of work
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'field of work', 'zoology'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?y WHERE { ?y property:field_of_work resource:zoology . ?y property:gender resource:male . ?y rdf:type ontology:common_name }
[]