Simple Question (Direct)
Simple Question
Q715181
P106
Q151885
USER
What does Michael Franti do for a living ?
(Q715181,P106,c(Q151885))
action filter_type
action find
entity Q715181
relation P106
type Q151885
['Q715181', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?j WHERE { resource:Q715181 property:P106 ?j . ?j rdf:type ontology:Q151885 }
Michael Franti
action filter_type
action find
entity Michael Franti
relation occupation
type concept
['Michael Franti', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?j WHERE { resource:Michael_Franti property:occupation ?j . ?j rdf:type ontology:concept }
[]
concept
Q855091
SYSTEM
guitarist
Q855091
(Q715181,P106,c(Q151885))
action filter_type
action find
entity Q715181
relation P106
type Q151885
Michael Franti does for a living as [ANSWER]
['Q715181', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?j WHERE { resource:Q715181 property:P106 ?j . ?j rdf:type ontology:Q151885 }
guitarist
Michael Franti does for a living as guitarist
guitarist
action filter_type
action find
entity Michael Franti
relation occupation
type concept
['Michael Franti', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?j WHERE { resource:Michael_Franti property:occupation ?j . ?j rdf:type ontology:concept }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q855091
P425
Q151885
USER
Who has that one as the associated field of occupation ?
(Q855091,P425,c(Q151885))
action filter_type
action find
entity Q855091
relation P425
type Q151885
['Q855091', 'P425', {'concept': 'Q151885'}]
SELECT DISTINCT ?g WHERE { resource:Q855091 property:P425 ?g . ?g rdf:type ontology:Q151885 }
guitarist
action filter_type
action find
entity guitarist
relation field of this occupation
type concept
['guitarist', 'field of this occupation', {'concept': 'concept'}]
SELECT DISTINCT ?g WHERE { resource:guitarist property:field_of_this_occupation ?g . ?g rdf:type ontology:concept }
[]
concept
Q18074899
SYSTEM
guitar music
Q18074899
(Q855091,P425,c(Q151885))
action filter_type
action find
entity Q855091
relation P425
type Q151885
The [ANSWER] has that one as the associated field of occupation
['Q855091', 'P425', {'concept': 'Q151885'}]
SELECT DISTINCT ?g WHERE { resource:Q855091 property:P425 ?g . ?g rdf:type ontology:Q151885 }
guitar music
The guitar music has that one as the associated field of occupation
guitar music
action filter_type
action find
entity guitarist
relation field of this occupation
type concept
['guitarist', 'field of this occupation', {'concept': 'concept'}]
SELECT DISTINCT ?g WHERE { resource:guitarist property:field_of_this_occupation ?g . ?g rdf:type ontology:concept }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P425
Q43229 Q451967 Q151885
USER
Which concepts do approximately 1 organizations or human actions belong to ?
(c(Q151885),P425,c(Q43229)|c(Q451967))
action approx
action union
action find_tuple_counts
relation P425
type Q151885
type Q43229
action find_tuple_counts
relation P425
type Q151885
type Q451967
value 1
[{'concept': 'Q151885'}, 'P425', [{'concept': 'Q43229'}, {'concept': 'Q451967'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) ?r WHERE { { ?r property:P425 ?t . ?r rdf:type ontology:Q151885 . ?t rdf:type ontology:Q451967 } UNION { ?r property:P425 ?t . ?r rdf:type ontology:Q151885 . ?t rdf:type ontology:Q43229 } } GROUP BY ?r } . FILTER ( ?e = 1 ) }
action approx
action union
action find_tuple_counts
relation field of this occupation
type concept
type organization
action find_tuple_counts
relation field of this occupation
type concept
type human action
value 1
[{'concept': 'concept'}, 'field of this occupation', [{'concept': 'organization'}, {'concept': 'human action'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) ?r WHERE { { ?r property:field_of_this_occupation ?t . ?r rdf:type ontology:concept . ?t rdf:type ontology:human_action } UNION { ?r property:field_of_this_occupation ?t . ?r rdf:type ontology:concept . ?t rdf:type ontology:organization } } GROUP BY ?r } . FILTER ( ?e = 1 ) }
[]
organization human action concept
Q15627169 Q15954665
SYSTEM
trade unionist, antisemit
Q15627169 Q15954665
(c(Q151885),P425,c(Q43229)|c(Q451967))
action approx
action union
action find_tuple_counts
relation P425
type Q151885
type Q43229
action find_tuple_counts
relation P425
type Q151885
type Q451967
value 1
Approximately 1 organizations or human actions belong to the [ANSWERS]
[{'concept': 'Q151885'}, 'P425', [{'concept': 'Q43229'}, {'concept': 'Q451967'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) ?r WHERE { { ?r property:P425 ?t . ?r rdf:type ontology:Q151885 . ?t rdf:type ontology:Q451967 } UNION { ?r property:P425 ?t . ?r rdf:type ontology:Q151885 . ?t rdf:type ontology:Q43229 } } GROUP BY ?r } . FILTER ( ?e = 1 ) }
trade unionist antisemit
Approximately 1 organizations or human actions belong to the trade unionist and antisemit
trade unionist antisemit
action approx
action union
action find_tuple_counts
relation field of this occupation
type concept
type organization
action find_tuple_counts
relation field of this occupation
type concept
type human action
value 1
[{'concept': 'concept'}, 'field of this occupation', [{'concept': 'organization'}, {'concept': 'human action'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) ?r WHERE { { ?r property:field_of_this_occupation ?t . ?r rdf:type ontology:concept . ?t rdf:type ontology:human_action } UNION { ?r property:field_of_this_occupation ?t . ?r rdf:type ontology:concept . ?t rdf:type ontology:organization } } GROUP BY ?r } . FILTER ( ?e = 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q1790144 Q336 Q151885
USER
Which concepts are a portion of atleast 2 units of time and sciences ?
(c(Q151885),P361,c(Q1790144)|c(Q336))
action atleast
action union
action find_tuple_counts
relation P361
type Q151885
type Q1790144
action find_tuple_counts
relation P361
type Q151885
type Q336
value 2
[{'concept': 'Q151885'}, 'P361', [{'concept': 'Q1790144'}, {'concept': 'Q336'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?n ) WHERE { VALUES ( ?q ) { ( ontology:Q1790144 ) ( ontology:Q336 ) } . ?b rdf:type ?q } GROUP BY ?j } . FILTER ( ?n >= 2 ) }
action atleast
action union
action find_tuple_counts
relation part of
type concept
type unit of time
action find_tuple_counts
relation part of
type concept
type science
value 2
[{'concept': 'concept'}, 'part of', [{'concept': 'unit of time'}, {'concept': 'science'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?n ) WHERE { VALUES ( ?q ) { ( ontology:unit_of_time ) ( ontology:science ) } . ?b rdf:type ?q } GROUP BY ?j } . FILTER ( ?n >= 2 ) }
[]
unit of time science concept
Q470867 Q127455 Q1090851
SYSTEM
Beaker culture, Ordos culture, Châtelperronian
Q647858 Q131222 Q3699342 Q2452314 Q2666408 Q426737 Q1728968 Q127455 Q4410983 Q2098731 Q1090851 Q80641 Q1551765 Q1421436 Q604100 Q1973554 Q2625916 Q470867 Q223998
(c(Q151885),P361,c(Q1790144)|c(Q336))
action atleast
action union
action find_tuple_counts
relation P361
type Q151885
type Q1790144
action find_tuple_counts
relation P361
type Q151885
type Q336
value 2
[ANSWERS] are a portion of atleast 2 units of time and sciences
[{'concept': 'Q151885'}, 'P361', [{'concept': 'Q1790144'}, {'concept': 'Q336'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?n ) WHERE { VALUES ( ?q ) { ( ontology:Q1790144 ) ( ontology:Q336 ) } . ?b rdf:type ?q } GROUP BY ?j } . FILTER ( ?n >= 2 ) }
Zarzian culture information theory Kurgan culture Trialetian Asturian culture Yamna culture Karanovo culture Ordos culture Swifterbant culture Slab Grave Culture Châtelperronian Samara culture Pitted Ware culture Nuragic civilization Sredny Stog culture Glazkov culture Gandhara grave culture Beaker culture Urnfield culture
Beaker culture, Ordos culture and Châtelperronian are a portion of atleast 2 units of time and sciences
Beaker culture Ordos culture Châtelperronian
action atleast
action union
action find_tuple_counts
relation part of
type concept
type unit of time
action find_tuple_counts
relation part of
type concept
type science
value 2
[{'concept': 'concept'}, 'part of', [{'concept': 'unit of time'}, {'concept': 'science'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?n ) WHERE { VALUES ( ?q ) { ( ontology:unit_of_time ) ( ontology:science ) } . ?b rdf:type ?q } GROUP BY ?j } . FILTER ( ?n >= 2 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1790419 Q715181
P27
Q15617994
USER
Which administrative territories do Michael Franti or Kryštof Krýzl belong to ?
OR((Q715181,P27,c(Q15617994)), (Q1790419,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q715181
relation P27
action find
entity Q1790419
relation P27
type Q15617994
{'OR': [['Q715181', 'P27', {'concept': 'Q15617994'}], ['Q1790419', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q715181 property:P27 ?a } UNION { resource:Q1790419 property:P27 ?a } } . ?a rdf:type ontology:Q15617994 }
Kryštof Krýzl Michael Franti
action filter_type
action union
action find
entity Michael Franti
relation country of citizenship
action find
entity Kryštof Krýzl
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Michael Franti', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Kryštof Krýzl', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Michael_Franti property:country_of_citizenship ?a } UNION { resource:Kryštof_Krýzl property:country_of_citizenship ?a } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q213 Q30
SYSTEM
Czech Republic, United States of America
Q213 Q30
OR((Q715181,P27,c(Q15617994)), (Q1790419,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q715181
relation P27
action find
entity Q1790419
relation P27
type Q15617994
Michael Franti or Kryštof Krýzl belong to the [ANSWERS]
{'OR': [['Q715181', 'P27', {'concept': 'Q15617994'}], ['Q1790419', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q715181 property:P27 ?a } UNION { resource:Q1790419 property:P27 ?a } } . ?a rdf:type ontology:Q15617994 }
Czech Republic United States of America
Michael Franti or Kryštof Krýzl belong to the Czech Republic and United States of America
Czech Republic United States of America
action filter_type
action union
action find
entity Michael Franti
relation country of citizenship
action find
entity Kryštof Krýzl
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Michael Franti', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Kryštof Krýzl', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Michael_Franti property:country_of_citizenship ?a } UNION { resource:Kryštof_Krýzl property:country_of_citizenship ?a } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q3046138
P27
Q502895
USER
Are Ivan Kral a citizen of those administrative territories ?
(Q3046138,P27,Q213) (Q3046138,P27,Q30)
action is_in
entity prev_answer
action find
entity Q3046138
relation P27
['Q3046138', 'P27', 'Q213'] ['Q3046138', 'P27', 'Q30']
ASK WHERE { resource:Q3046138 property:P27 ?x . VALUES ( ?x ) { ( resource:Q213 ) ( resource:Q30 ) } }
Ivan Kral
action is_in
entity prev_answer
action find
entity Ivan Kral
relation country of citizenship
['Ivan Kral', 'country of citizenship', 'Czech Republic'] ['Ivan Kral', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Ivan_Kral property:country_of_citizenship ?x . VALUES ( ?x ) { ( resource:Czech_Republic ) ( resource:United_States_of_America ) } }
[]
common name
SYSTEM
YES
(Q3046138,P27,Q213) (Q3046138,P27,Q30)
action is_in
entity prev_answer
action find
entity Q3046138
relation P27
[ANSWER]
['Q3046138', 'P27', 'Q213'] ['Q3046138', 'P27', 'Q30']
ASK WHERE { resource:Q3046138 property:P27 ?x . VALUES ( ?x ) { ( resource:Q213 ) ( resource:Q30 ) } }
Yes
action is_in
entity prev_answer
action find
entity Ivan Kral
relation country of citizenship
['Ivan Kral', 'country of citizenship', 'Czech Republic'] ['Ivan Kral', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Ivan_Kral property:country_of_citizenship ?x . VALUES ( ?x ) { ( resource:Czech_Republic ) ( resource:United_States_of_America ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q213
P463
Q874405 Q43229
USER
How many social groups and organizations were Czech Republic a member of ?
(Q213,P463,c(Q874405)) (Q213,P463,c(Q43229))
action count
action union
action filter_type
action find
entity Q213
relation P463
type Q874405
action filter_type
action find
entity Q213
relation P463
type Q43229
['Q213', 'P463', {'concept': 'Q874405'}] ['Q213', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { { resource:Q213 property:P463 ?w . ?w rdf:type ontology:Q874405 } UNION { resource:Q213 property:P463 ?w . ?w rdf:type ontology:Q43229 } }
Czech Republic
action count
action union
action filter_type
action find
entity Czech Republic
relation member of
type social group
action filter_type
action find
entity Czech Republic
relation member of
type organization
['Czech Republic', 'member of', {'concept': 'social group'}] ['Czech Republic', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { { resource:Czech_Republic property:member_of ?w . ?w rdf:type ontology:social_group } UNION { resource:Czech_Republic property:member_of ?w . ?w rdf:type ontology:organization } }
[]
social group organization
SYSTEM
2 social groups and 9 organizations
Q42944 Q191384 Q899770 Q488981 Q41550 Q782942 Q8908 Q656801 Q151991 Q7825 Q827525
(Q213,P463,c(Q874405)) (Q213,P463,c(Q43229))
action count
action union
action filter_type
action find
entity Q213
relation P463
type Q874405
action filter_type
action find
entity Q213
relation P463
type Q43229
[ANSWER]
['Q213', 'P463', {'concept': 'Q874405'}] ['Q213', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { { resource:Q213 property:P463 ?w . ?w rdf:type ontology:Q874405 } UNION { resource:Q213 property:P463 ?w . ?w rdf:type ontology:Q43229 } }
European Organization for Nuclear Research International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes European Bank for Reconstruction and Development Organisation for Economic Co-operation and Development Australia Group Council of Europe International Finance Corporation European Southern Observatory World Trade Organization International Development Association
2 social groups and 9 organizations
action count
action union
action filter_type
action find
entity Czech Republic
relation member of
type social group
action filter_type
action find
entity Czech Republic
relation member of
type organization
['Czech Republic', 'member of', {'concept': 'social group'}] ['Czech Republic', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { { resource:Czech_Republic property:member_of ?w . ?w rdf:type ontology:social_group } UNION { resource:Czech_Republic property:member_of ?w . ?w rdf:type ontology:organization } }
[]