Simple Question (Direct)
Simple Question
Q472979
P166
Q618779
USER
What was awarded to Joan Triadú ?
(Q472979,P166,c(Q618779))
action filter_type
action find
entity Q472979
relation P166
type Q618779
['Q472979', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?c WHERE { resource:Q472979 property:P166 ?c . ?c rdf:type ontology:Q618779 }
Joan Triadú
action filter_type
action find
entity Joan Triadú
relation award received
type award
['Joan Triadú', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?c WHERE { resource:Joan_Triadú property:award_received ?c . ?c rdf:type ontology:award }
[]
award
Q3178643
SYSTEM
Premi d'Honor de les Lletres Catalanes
Q3178643
(Q472979,P166,c(Q618779))
action filter_type
action find
entity Q472979
relation P166
type Q618779
[ANSWER] was awarded to Joan Triadú
['Q472979', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?c WHERE { resource:Q472979 property:P166 ?c . ?c rdf:type ontology:Q618779 }
Premi d'Honor de les Lletres Catalanes
Premi d'Honor de les Lletres Catalanes was awarded to Joan Triadú
Premi d'Honor de les Lletres Catalanes
action filter_type
action find
entity Joan Triadú
relation award received
type award
['Joan Triadú', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?c WHERE { resource:Joan_Triadú property:award_received ?c . ?c rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q472979
P106
Q12737077
USER
What are the professions of Joan Triadú ?
(Q472979,P106,c(Q12737077))
action filter_type
action find
entity Q472979
relation P106
type Q12737077
['Q472979', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q472979 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
Joan Triadú
action filter_type
action find
entity Joan Triadú
relation occupation
type occupation
['Joan Triadú', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Joan_Triadú property:occupation ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q4263842 Q4164507 Q1231865
SYSTEM
literary critic, art critic, educationist
Q4263842 Q4164507 Q1231865 Q11774202 Q36180
(Q472979,P106,c(Q12737077))
action filter_type
action find
entity Q472979
relation P106
type Q12737077
The professions of Joan Triadú are [ANSWERS]
['Q472979', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q472979 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
literary critic art critic educationist essayist writer
The professions of Joan Triadú are literary critic, art critic and educationist
literary critic art critic educationist
action filter_type
action find
entity Joan Triadú
relation occupation
type occupation
['Joan Triadú', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Joan_Triadú property:occupation ?a . ?a rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1231865
P425
Q1047113
USER
Who is associated with the field of occupation that one ?
(Q1231865,P425,c(Q1047113))
action filter_type
action find
entity Q1231865
relation P425
type Q1047113
['Q1231865', 'P425', {'concept': 'Q1047113'}]
SELECT DISTINCT ?a WHERE { resource:Q1231865 property:P425 ?a . ?a rdf:type ontology:Q1047113 }
educationist
action filter_type
action find
entity educationist
relation field of this occupation
type special field
['educationist', 'field of this occupation', {'concept': 'special field'}]
SELECT DISTINCT ?a WHERE { resource:educationist property:field_of_this_occupation ?a . ?a rdf:type ontology:special_field }
[]
special field
Clarification for simple ques.
Q4263842
SYSTEM
Did you mean literary critic ?
Q4263842 Q4164507 Q1231865
(Q4263842,P425,c(Q1047113)) (Q4164507,P425,c(Q1047113)) (Q1231865,P425,c(Q1047113))
[ANSWER]
['Q4263842', 'P425', {'concept': 'Q1047113'}] ['Q4164507', 'P425', {'concept': 'Q1047113'}] ['Q1231865', 'P425', {'concept': 'Q1047113'}]
SELECT DISTINCT ?a WHERE { resource:Q1231865 property:P425 ?a . ?a rdf:type ontology:Q1047113 }
literary critic art critic educationist
Did you mean literary critic ?
literary critic
['literary critic', 'field of this occupation', {'concept': 'special field'}] ['art critic', 'field of this occupation', {'concept': 'special field'}] ['educationist', 'field of this occupation', {'concept': 'special field'}]
SELECT DISTINCT ?a WHERE { resource:educationist property:field_of_this_occupation ?a . ?a rdf:type ontology:special_field }
[]
Simple Question (Coreferenced)
USER
No, I meant educationist. Could you tell me the answer for that?
(Q1231865,P425,c(Q1047113))
Q1231865
['Q1231865', 'P425', {'concept': 'Q1047113'}]
['educationist', 'field of this occupation', {'concept': 'special field'}]
[]
Q7922
SYSTEM
pedagogy
Q7922
(Q1231865,P425,c(Q1047113))
action filter_type
action find
entity Q1231865
relation P425
type Q1047113
[ANSWER] is associated with the field of occupation that one
['Q1231865', 'P425', {'concept': 'Q1047113'}]
SELECT DISTINCT ?a WHERE { resource:Q1231865 property:P425 ?a . ?a rdf:type ontology:Q1047113 }
pedagogy
Pedagogy is associated with the field of occupation that one
pedagogy
action filter_type
action find
entity educationist
relation field of this occupation
type special field
['educationist', 'field of this occupation', {'concept': 'special field'}]
SELECT DISTINCT ?a WHERE { resource:educationist property:field_of_this_occupation ?a . ?a rdf:type ontology:special_field }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q7922 Q16942184
P101
Q502895
USER
Does Daniel Quirós work in the domain of that special field ?
(Q16942184,P101,Q7922)
action is_in
entity Q16942184
action find
entity Q7922
relation P101
['Q16942184', 'P101', 'Q7922']
ASK WHERE { resource:Q7922 property:P101 resource:Q16942184 }
pedagogy Daniel Quirós
action is_in
entity Daniel Quirós
action find
entity pedagogy
relation field of work
['Daniel Quirós', 'field of work', 'pedagogy']
ASK WHERE { resource:pedagogy property:field_of_work resource:Daniel_Quirós }
[]
common name
SYSTEM
NO
(Q16942184,P101,Q7922)
action is_in
entity Q16942184
action find
entity Q7922
relation P101
[ANSWER]
['Q16942184', 'P101', 'Q7922']
ASK WHERE { resource:Q7922 property:P101 resource:Q16942184 }
No
action is_in
entity Daniel Quirós
action find
entity pedagogy
relation field of work
['Daniel Quirós', 'field of work', 'pedagogy']
ASK WHERE { resource:pedagogy property:field_of_work resource:Daniel_Quirós }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q11023
P361
Q11862829 Q1047113
USER
Which academic disciplines are lesser number of special fields a component of than engineering ?
(c(Q1047113),P361,c(Q11862829))
action less
action find_reverse_tuple_counts
relation P361
type Q11862829
type Q1047113
action count
action filter_type
action find_reverse
entity Q11023
relation P361
type Q1047113
[{'concept': 'Q1047113'}, 'P361', {'concept': 'Q11862829'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?l ) WHERE { ?y property:P361 ?u . ?u rdf:type ontology:Q11862829 . ?y rdf:type ontology:Q1047113 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { ?j property:P361 resource:Q11023 . ?j rdf:type ontology:Q1047113 } } . FILTER ( ?l < ?v ) }
engineering
action less
action find_reverse_tuple_counts
relation part of
type academic discipline
type special field
action count
action filter_type
action find_reverse
entity engineering
relation part of
type special field
[{'concept': 'special field'}, 'part of', {'concept': 'academic discipline'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?l ) WHERE { ?y property:part_of ?u . ?u rdf:type ontology:academic_discipline . ?y rdf:type ontology:special_field } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { ?j property:part_of resource:engineering . ?j rdf:type ontology:special_field } } . FILTER ( ?l < ?v ) }
[]
academic discipline special field
Q944 Q318668 Q2539
SYSTEM
quantum mechanics, zooarchaeology, machine learning
Q839006 Q318668 Q1516257 Q18334 Q23011509 Q2539 Q212803 Q2532901 Q12479 Q1855669 Q12818349 Q1636734 Q2878974 Q200802 Q209295 Q35277 Q7595767 Q1430062 Q42989 Q727659 Q579978 Q9471 Q2166096 Q27890 Q117801 Q11473 Q81197 Q1144457 Q7433710 Q190549 Q14620 Q1998626 Q187097 Q121416 Q180969 Q150008 Q636066 Q944 Q59115 Q76592 Q8087 Q376022 Q9357062 Q56003 Q82571 Q3042715 Q1166618 Q23407 Q1122491 Q9465 Q82622 Q3968 Q874429 Q4785356 Q12482 Q259209 Q1381511 Q12831143 Q26336
(c(Q1047113),P361,c(Q11862829))
action less
action find_reverse_tuple_counts
relation P361
type Q11862829
type Q1047113
action count
action filter_type
action find_reverse
entity Q11023
relation P361
type Q1047113
[ANSWERS] are lesser number of special fields a component of than engineering
[{'concept': 'Q1047113'}, 'P361', {'concept': 'Q11862829'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?l ) WHERE { ?y property:P361 ?u . ?u rdf:type ontology:Q11862829 . ?y rdf:type ontology:Q1047113 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { ?j property:P361 resource:Q11023 . ?j rdf:type ontology:Q1047113 } } . FILTER ( ?l < ?v ) }
urban archaeology zooarchaeology vocal pedagogy particle physics oriental archaeology machine learning algebraic topology environmental archaeology number theory invariant theory Islamic theology universal algebra theoretical computer science vector calculus philosophy of religion metaphysics Stable homotopy theory cryptology topology commutative algebra homological algebra epistemology theoretical philosophy anthropology of religion computational science thermodynamics nuclear physics quantum physics science of photography functional analysis optics Demographics of Poland economic geography discrete mathematics algebraic geometry integral calculus experimental archaeology quantum mechanics philosophy of science combinatorics geometry Indian philosophy homotopy theory meta-ethics linear algebra descriptive botany mathematical logic philosophy of mind computer mathematics ethics punctuation algebra group theory archaeobiology set theory industrial archaeology settlement geography human geography electrostatics
Quantum mechanics, zooarchaeology and machine learning are lesser number of special fields a component of than engineering
quantum mechanics zooarchaeology machine learning
action less
action find_reverse_tuple_counts
relation part of
type academic discipline
type special field
action count
action filter_type
action find_reverse
entity engineering
relation part of
type special field
[{'concept': 'special field'}, 'part of', {'concept': 'academic discipline'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?l ) WHERE { ?y property:part_of ?u . ?u rdf:type ontology:academic_discipline . ?y rdf:type ontology:special_field } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { ?j property:part_of resource:engineering . ?j rdf:type ontology:special_field } } . FILTER ( ?l < ?v ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q40634
P361
Q11862829 Q1047113
USER
And also tell me about philology?
(c(Q1047113),P361,c(Q11862829))
action less
action find_reverse_tuple_counts
relation P361
type Q11862829
type Q1047113
action count
action filter_type
action find_reverse
entity Q40634
relation P361
type Q1047113
[{'concept': 'Q1047113'}, 'P361', {'concept': 'Q11862829'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?i ) AS ?a ) WHERE { ?i property:P361 ?l . ?l rdf:type ontology:Q11862829 . ?i rdf:type ontology:Q1047113 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { ?q property:P361 resource:Q40634 . ?q rdf:type ontology:Q1047113 } } . FILTER ( ?a < ?f ) }
philology
action less
action find_reverse_tuple_counts
relation part of
type academic discipline
type special field
action count
action filter_type
action find_reverse
entity philology
relation part of
type special field
[{'concept': 'special field'}, 'part of', {'concept': 'academic discipline'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?i ) AS ?a ) WHERE { ?i property:part_of ?l . ?l rdf:type ontology:academic_discipline . ?i rdf:type ontology:special_field } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { ?q property:part_of resource:philology . ?q rdf:type ontology:special_field } } . FILTER ( ?a < ?f ) }
[]
academic discipline special field
Q944 Q318668 Q2539
SYSTEM
quantum mechanics, zooarchaeology, machine learning
Q839006 Q318668 Q1516257 Q18334 Q23011509 Q2539 Q212803 Q2532901 Q12479 Q1855669 Q12818349 Q1636734 Q2878974 Q200802 Q209295 Q35277 Q7595767 Q1430062 Q42989 Q727659 Q579978 Q9471 Q2166096 Q27890 Q117801 Q11473 Q81197 Q1144457 Q7433710 Q190549 Q14620 Q1998626 Q187097 Q121416 Q180969 Q150008 Q636066 Q944 Q59115 Q76592 Q8087 Q376022 Q9357062 Q56003 Q82571 Q3042715 Q1166618 Q23407 Q1122491 Q9465 Q82622 Q3968 Q874429 Q4785356 Q12482 Q259209 Q1381511 Q12831143 Q26336
(c(Q1047113),P361,c(Q11862829))
action less
action find_reverse_tuple_counts
relation P361
type Q11862829
type Q1047113
action count
action filter_type
action find_reverse
entity Q40634
relation P361
type Q1047113
[ANSWERS]
[{'concept': 'Q1047113'}, 'P361', {'concept': 'Q11862829'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?i ) AS ?a ) WHERE { ?i property:P361 ?l . ?l rdf:type ontology:Q11862829 . ?i rdf:type ontology:Q1047113 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { ?q property:P361 resource:Q40634 . ?q rdf:type ontology:Q1047113 } } . FILTER ( ?a < ?f ) }
urban archaeology zooarchaeology vocal pedagogy particle physics oriental archaeology machine learning algebraic topology environmental archaeology number theory invariant theory Islamic theology universal algebra theoretical computer science vector calculus philosophy of religion metaphysics Stable homotopy theory cryptology topology commutative algebra homological algebra epistemology theoretical philosophy anthropology of religion computational science thermodynamics nuclear physics quantum physics science of photography functional analysis optics Demographics of Poland economic geography discrete mathematics algebraic geometry integral calculus experimental archaeology quantum mechanics philosophy of science combinatorics geometry Indian philosophy homotopy theory meta-ethics linear algebra descriptive botany mathematical logic philosophy of mind computer mathematics ethics punctuation algebra group theory archaeobiology set theory industrial archaeology settlement geography human geography electrostatics
quantum mechanics zooarchaeology machine learning
action less
action find_reverse_tuple_counts
relation part of
type academic discipline
type special field
action count
action filter_type
action find_reverse
entity philology
relation part of
type special field
[{'concept': 'special field'}, 'part of', {'concept': 'academic discipline'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?i ) AS ?a ) WHERE { ?i property:part_of ?l . ?l rdf:type ontology:academic_discipline . ?i rdf:type ontology:special_field } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { ?q property:part_of resource:philology . ?q rdf:type ontology:special_field } } . FILTER ( ?a < ?f ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P361
Q58778 Q1047113
USER
How many systems are exactly 1 special field a component of ?
(c(Q1047113),P361,c(Q58778))
action count
action equal
action find_reverse_tuple_counts
relation P361
type Q58778
type Q1047113
value 1
[{'concept': 'Q1047113'}, 'P361', {'concept': 'Q58778'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?a ) AS ?c ) WHERE { ?a property:P361 ?q . ?a rdf:type ontology:Q1047113 . ?q rdf:type ontology:Q58778 } GROUP BY ?q } . FILTER ( ?c = 1 ) }
action count
action equal
action find_reverse_tuple_counts
relation part of
type system
type special field
value 1
[{'concept': 'special field'}, 'part of', {'concept': 'system'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?a ) AS ?c ) WHERE { ?a property:part_of ?q . ?a rdf:type ontology:special_field . ?q rdf:type ontology:system } GROUP BY ?q } . FILTER ( ?c = 1 ) }
[]
system special field
SYSTEM
3
Q856625 Q940913 Q8148
(c(Q1047113),P361,c(Q58778))
action count
action equal
action find_reverse_tuple_counts
relation P361
type Q58778
type Q1047113
value 1
[ANSWER]
[{'concept': 'Q1047113'}, 'P361', {'concept': 'Q58778'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?a ) AS ?c ) WHERE { ?a property:P361 ?q . ?a rdf:type ontology:Q1047113 . ?q rdf:type ontology:Q58778 } GROUP BY ?q } . FILTER ( ?c = 1 ) }
Branch of libraries continuous track industry
3
action count
action equal
action find_reverse_tuple_counts
relation part of
type system
type special field
value 1
[{'concept': 'special field'}, 'part of', {'concept': 'system'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?a ) AS ?c ) WHERE { ?a property:part_of ?q . ?a rdf:type ontology:special_field . ?q rdf:type ontology:system } GROUP BY ?q } . FILTER ( ?c = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2539
P425
Q12737077
USER
Which occupation does machine learning belong to ?
(c(Q12737077),P425,Q2539)
action filter_type
action find_reverse
entity Q2539
relation P425
type Q12737077
[{'concept': 'Q12737077'}, 'P425', 'Q2539']
SELECT DISTINCT ?d WHERE { ?d property:P425 resource:Q2539 . ?d rdf:type ontology:Q12737077 }
machine learning
action filter_type
action find_reverse
entity machine learning
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'machine learning']
SELECT DISTINCT ?d WHERE { ?d property:field_of_this_occupation resource:machine_learning . ?d rdf:type ontology:occupation }
[]
occupation
Q23515215
SYSTEM
machine learning engineer
Q23515215
(c(Q12737077),P425,Q2539)
action filter_type
action find_reverse
entity Q2539
relation P425
type Q12737077
Machine learning belongs to the [ANSWER]
[{'concept': 'Q12737077'}, 'P425', 'Q2539']
SELECT DISTINCT ?d WHERE { ?d property:P425 resource:Q2539 . ?d rdf:type ontology:Q12737077 }
machine learning engineer
Machine learning belongs to the machine learning engineer
machine learning engineer
action filter_type
action find_reverse
entity machine learning
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'machine learning']
SELECT DISTINCT ?d WHERE { ?d property:field_of_this_occupation resource:machine_learning . ?d rdf:type ontology:occupation }
[]