Simple Question (Direct)
Simple Question
Q20014463
P106
Q12737077
USER
Which occupations are the professions of Vitória Diogo ?
(Q20014463,P106,c(Q12737077))
action filter_type
action find
entity Q20014463
relation P106
type Q12737077
['Q20014463', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q20014463 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
Vitória Diogo
action filter_type
action find
entity Vitória Diogo
relation occupation
type occupation
['Vitória Diogo', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Vitória_Diogo property:occupation ?l . ?l rdf:type ontology:occupation }
[]
occupation
Q14467526 Q82955
SYSTEM
linguist, politician
Q14467526 Q82955
(Q20014463,P106,c(Q12737077))
action filter_type
action find
entity Q20014463
relation P106
type Q12737077
The professions of Vitória Diogo are a [ANSWERS]
['Q20014463', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q20014463 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
linguist politician
The professions of Vitória Diogo are a linguist and politician
linguist politician
action filter_type
action find
entity Vitória Diogo
relation occupation
type occupation
['Vitória Diogo', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Vitória_Diogo property:occupation ?l . ?l rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q14467526
P425
Q1914636
USER
Which activity is associated with the field of occupation that one ?
(Q14467526,P425,c(Q1914636))
action filter_type
action find
entity Q14467526
relation P425
type Q1914636
['Q14467526', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?v WHERE { resource:Q14467526 property:P425 ?v . ?v rdf:type ontology:Q1914636 }
linguist
action filter_type
action find
entity linguist
relation field of this occupation
type activity
['linguist', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?v WHERE { resource:linguist property:field_of_this_occupation ?v . ?v rdf:type ontology:activity }
[]
activity
Clarification for simple ques.
Q82955
SYSTEM
Did you mean politician ?
Q14467526 Q82955
(Q14467526,P425,c(Q1914636)) (Q82955,P425,c(Q1914636))
[ANSWER]
['Q14467526', 'P425', {'concept': 'Q1914636'}] ['Q82955', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?v WHERE { resource:Q14467526 property:P425 ?v . ?v rdf:type ontology:Q1914636 }
linguist politician
Did you mean politician ?
politician
['linguist', 'field of this occupation', {'concept': 'activity'}] ['politician', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?v WHERE { resource:linguist property:field_of_this_occupation ?v . ?v rdf:type ontology:activity }
[]
Simple Question (Coreferenced)
USER
No, I meant linguist. Could you tell me the answer for that?
(Q14467526,P425,c(Q1914636))
Q14467526
['Q14467526', 'P425', {'concept': 'Q1914636'}]
['linguist', 'field of this occupation', {'concept': 'activity'}]
[]
Q8162
SYSTEM
linguistics
Q8162
(Q14467526,P425,c(Q1914636))
action filter_type
action find
entity Q14467526
relation P425
type Q1914636
[ANSWER] is associated with the field of occupation that one
['Q14467526', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?v WHERE { resource:Q14467526 property:P425 ?v . ?v rdf:type ontology:Q1914636 }
linguistics
Linguistics is associated with the field of occupation that one
linguistics
action filter_type
action find
entity linguist
relation field of this occupation
type activity
['linguist', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?v WHERE { resource:linguist property:field_of_this_occupation ?v . ?v rdf:type ontology:activity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q82955
P921
Q2342494 Q223393
USER
How many collectables or literary genres have politician as their principal topic ?
(c(Q2342494),P921,Q82955) (c(Q223393),P921,Q82955)
action count
action union
action filter_type
action find_reverse
entity Q82955
relation P921
type Q2342494
action filter_type
action find_reverse
entity Q82955
relation P921
type Q223393
[{'concept': 'Q2342494'}, 'P921', 'Q82955'] [{'concept': 'Q223393'}, 'P921', 'Q82955']
SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { { ?a property:P921 resource:Q82955 . ?a rdf:type ontology:Q2342494 } UNION { ?a property:P921 resource:Q82955 . ?a rdf:type ontology:Q223393 } }
politician
action count
action union
action filter_type
action find_reverse
entity politician
relation main subject
type collectable
action filter_type
action find_reverse
entity politician
relation main subject
type literary genre
[{'concept': 'collectable'}, 'main subject', 'politician'] [{'concept': 'literary genre'}, 'main subject', 'politician']
SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { { ?a property:main_subject resource:politician . ?a rdf:type ontology:collectable } UNION { ?a property:main_subject resource:politician . ?a rdf:type ontology:literary_genre } }
[]
collectable literary genre
SYSTEM
2
Q21815179 Q21601944
(c(Q2342494),P921,Q82955) (c(Q223393),P921,Q82955)
action count
action union
action filter_type
action find_reverse
entity Q82955
relation P921
type Q2342494
action filter_type
action find_reverse
entity Q82955
relation P921
type Q223393
[ANSWER]
[{'concept': 'Q2342494'}, 'P921', 'Q82955'] [{'concept': 'Q223393'}, 'P921', 'Q82955']
SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { { ?a property:P921 resource:Q82955 . ?a rdf:type ontology:Q2342494 } UNION { ?a property:P921 resource:Q82955 . ?a rdf:type ontology:Q223393 } }
worldstatesmen Notitia Parliamentaria, Or, An History of the Counties, Cities, and Boroughs in England and Wales
2
action count
action union
action filter_type
action find_reverse
entity politician
relation main subject
type collectable
action filter_type
action find_reverse
entity politician
relation main subject
type literary genre
[{'concept': 'collectable'}, 'main subject', 'politician'] [{'concept': 'literary genre'}, 'main subject', 'politician']
SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { { ?a property:main_subject resource:politician . ?a rdf:type ontology:collectable } UNION { ?a property:main_subject resource:politician . ?a rdf:type ontology:literary_genre } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q82955
P425
Q3769299
USER
Which human behaviour has that one as the associated field of occupation ?
action filter_type
action find
entity Q82955
relation P425
type Q3769299
SELECT DISTINCT ?s WHERE { resource:Q82955 property:P425 ?s . ?s rdf:type ontology:Q3769299 }
politician
action filter_type
action find
entity politician
relation field of this occupation
type human behaviour
SELECT DISTINCT ?s WHERE { resource:politician property:field_of_this_occupation ?s . ?s rdf:type ontology:human_behaviour }
[]
human behaviour
Q7163
SYSTEM
politics
Q7163
action filter_type
action find
entity Q82955
relation P425
type Q3769299
[ANSWER] has that one as the associated field of occupation
SELECT DISTINCT ?s WHERE { resource:Q82955 property:P425 ?s . ?s rdf:type ontology:Q3769299 }
politics
Politics has that one as the associated field of occupation
politics
action filter_type
action find
entity politician
relation field of this occupation
type human behaviour
SELECT DISTINCT ?s WHERE { resource:politician property:field_of_this_occupation ?s . ?s rdf:type ontology:human_behaviour }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P101
Q3769299 Q502895
USER
How many human behaviours do less number of people belong to than that human behaviour ?
(c(Q502895),P101,c(Q3769299))
action count
action less
action find_reverse_tuple_counts
relation P101
type Q3769299
type Q502895
action count
action filter_type
action find_reverse
entity Q7163
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', {'concept': 'Q3769299'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?h ) AS ?z ) WHERE { ?m rdf:type ontology:Q3769299 . ?h rdf:type ontology:Q502895 . ?h property:P101 ?m } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { ?y property:P101 resource:Q7163 . ?y rdf:type ontology:Q502895 } } . FILTER ( ?z < ?t ) }
action count
action less
action find_reverse_tuple_counts
relation field of work
type human behaviour
type common name
action count
action filter_type
action find_reverse
entity politics
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', {'concept': 'human behaviour'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?h ) AS ?z ) WHERE { ?m rdf:type ontology:human_behaviour . ?h rdf:type ontology:common_name . ?h property:field_of_work ?m } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { ?y property:field_of_work resource:politics . ?y rdf:type ontology:common_name } } . FILTER ( ?z < ?t ) }
[]
human behaviour common name
SYSTEM
2
Q3007315 Q1515099
(c(Q502895),P101,c(Q3769299))
action count
action less
action find_reverse_tuple_counts
relation P101
type Q3769299
type Q502895
action count
action filter_type
action find_reverse
entity Q7163
relation P101
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P101', {'concept': 'Q3769299'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?h ) AS ?z ) WHERE { ?m rdf:type ontology:Q3769299 . ?h rdf:type ontology:Q502895 . ?h property:P101 ?m } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { ?y property:P101 resource:Q7163 . ?y rdf:type ontology:Q502895 } } . FILTER ( ?z < ?t ) }
media culture Children's culture
2
action count
action less
action find_reverse_tuple_counts
relation field of work
type human behaviour
type common name
action count
action filter_type
action find_reverse
entity politics
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', {'concept': 'human behaviour'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?h ) AS ?z ) WHERE { ?m rdf:type ontology:human_behaviour . ?h rdf:type ontology:common_name . ?h property:field_of_work ?m } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { ?y property:field_of_work resource:politics . ?y rdf:type ontology:common_name } } . FILTER ( ?z < ?t ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q20014463 Q15520887
P19
Q13220204
USER
How many administrative country subdivisions were Vitória Diogo or Waldemar Ager born in ?
(Q20014463,P19,c(Q13220204)) (Q15520887,P19,c(Q13220204))
action count
action union
action filter_type
action find
entity Q20014463
relation P19
type Q13220204
action filter_type
action find
entity Q15520887
relation P19
type Q13220204
['Q20014463', 'P19', {'concept': 'Q13220204'}] ['Q15520887', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { ?c property:P19 ?o . VALUES ( ?c ) { ( resource:Q15520887 ) ( resource:Q20014463 ) } }
Vitória Diogo Waldemar Ager
action count
action union
action filter_type
action find
entity Vitória Diogo
relation place of birth
type second-level administrative country subdivision
action filter_type
action find
entity Waldemar Ager
relation place of birth
type second-level administrative country subdivision
['Vitória Diogo', 'place of birth', {'concept': 'second-level administrative country subdivision'}] ['Waldemar Ager', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { ?c property:place_of_birth ?o . VALUES ( ?c ) { ( resource:Waldemar_Ager ) ( resource:Vitória_Diogo ) } }
[]
second-level administrative country subdivision
SYSTEM
2
Q107135 Q6781893
(Q20014463,P19,c(Q13220204)) (Q15520887,P19,c(Q13220204))
action count
action union
action filter_type
action find
entity Q20014463
relation P19
type Q13220204
action filter_type
action find
entity Q15520887
relation P19
type Q13220204
[ANSWER]
['Q20014463', 'P19', {'concept': 'Q13220204'}] ['Q15520887', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { ?c property:P19 ?o . VALUES ( ?c ) { ( resource:Q15520887 ) ( resource:Q20014463 ) } }
Fredrikstad Marávia District
2
action count
action union
action filter_type
action find
entity Vitória Diogo
relation place of birth
type second-level administrative country subdivision
action filter_type
action find
entity Waldemar Ager
relation place of birth
type second-level administrative country subdivision
['Vitória Diogo', 'place of birth', {'concept': 'second-level administrative country subdivision'}] ['Waldemar Ager', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { ?c property:place_of_birth ?o . VALUES ( ?c ) { ( resource:Waldemar_Ager ) ( resource:Vitória_Diogo ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20014463
P69
Q163740
USER
Which nonprofit organization was Vitória Diogo educated at ?
(Q20014463,P69,c(Q163740))
action filter_type
action find
entity Q20014463
relation P69
type Q163740
['Q20014463', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?w WHERE { resource:Q20014463 property:P69 ?w . ?w rdf:type ontology:Q163740 }
Vitória Diogo
action filter_type
action find
entity Vitória Diogo
relation educated at
type nonprofit organization
['Vitória Diogo', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?w WHERE { resource:Vitória_Diogo property:educated_at ?w . ?w rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q41506
SYSTEM
Stanford University
Q41506
(Q20014463,P69,c(Q163740))
action filter_type
action find
entity Q20014463
relation P69
type Q163740
Vitória Diogo was educated at [ANSWER]
['Q20014463', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?w WHERE { resource:Q20014463 property:P69 ?w . ?w rdf:type ontology:Q163740 }
Stanford University
Vitória Diogo was educated at Stanford University
Stanford University
action filter_type
action find
entity Vitória Diogo
relation educated at
type nonprofit organization
['Vitória Diogo', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?w WHERE { resource:Vitória_Diogo property:educated_at ?w . ?w rdf:type ontology:nonprofit_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20014463
P39
Q4164871
USER
What was a position occupied by Vitória Diogo ?
(Q20014463,P39,c(Q4164871))
action filter_type
action find
entity Q20014463
relation P39
type Q4164871
['Q20014463', 'P39', {'concept': 'Q4164871'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q4164871 . resource:Q20014463 property:P39 ?r }
Vitória Diogo
action filter_type
action find
entity Vitória Diogo
relation position held
type position
['Vitória Diogo', 'position held', {'concept': 'position'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:position . resource:Vitória_Diogo property:position_held ?r }
[]
position
Q12303322
SYSTEM
minister of Labour
Q12303322
(Q20014463,P39,c(Q4164871))
action filter_type
action find
entity Q20014463
relation P39
type Q4164871
A position occupied by Vitória Diogo was a [ANSWER]
['Q20014463', 'P39', {'concept': 'Q4164871'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q4164871 . resource:Q20014463 property:P39 ?r }
minister of Labour
A position occupied by Vitória Diogo was a minister of Labour
minister of Labour
action filter_type
action find
entity Vitória Diogo
relation position held
type position
['Vitória Diogo', 'position held', {'concept': 'position'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:position . resource:Vitória_Diogo property:position_held ?r }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q20014463
Q12737077
USER
And which occupation?
(Q20014463,P39,c(Q12737077))
action filter_type
action find
entity Q20014463
relation P39
type Q12737077
['Q20014463', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q12737077 . resource:Q20014463 property:P39 ?y }
Vitória Diogo
action filter_type
action find
entity Vitória Diogo
relation position held
type occupation
['Vitória Diogo', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:occupation . resource:Vitória_Diogo property:position_held ?y }
[]
occupation
Q83307
SYSTEM
minister
Q83307
(Q20014463,P39,c(Q12737077))
action filter_type
action find
entity Q20014463
relation P39
type Q12737077
[ANSWER]
['Q20014463', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q12737077 . resource:Q20014463 property:P39 ?y }
minister
minister
action filter_type
action find
entity Vitória Diogo
relation position held
type occupation
['Vitória Diogo', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:occupation . resource:Vitória_Diogo property:position_held ?y }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1052820
P361
Q336 Q56061 Q1914636
USER
Which activities are parts of more number of sciences and administrative territories than Suijutsu ?
(c(Q1914636),P361,c(Q336)|c(Q56061))
action greater
action union
action find_tuple_counts
relation P361
type Q1914636
type Q336
action find_tuple_counts
relation P361
type Q1914636
type Q56061
action count
action filter_multi_types
action find
entity Q1052820
relation P361
type Q336
type Q56061
[{'concept': 'Q1914636'}, 'P361', [{'concept': 'Q336'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?k ) AS ?y ) WHERE { { ?p property:P361 ?k . ?p rdf:type ontology:Q1914636 . ?k rdf:type ontology:Q56061 } UNION { ?p rdf:type ontology:Q1914636 . ?k rdf:type ontology:Q336 . ?p property:P361 ?k } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { resource:Q1052820 property:P361 ?b . { { ?b rdf:type ontology:Q336 } UNION { ?b rdf:type ontology:Q56061 } } } } . FILTER ( ?y > ?a ) }
Suijutsu
action greater
action union
action find_tuple_counts
relation part of
type activity
type science
action find_tuple_counts
relation part of
type activity
type administrative territorial entity
action count
action filter_multi_types
action find
entity Suijutsu
relation part of
type science
type administrative territorial entity
[{'concept': 'activity'}, 'part of', [{'concept': 'science'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?k ) AS ?y ) WHERE { { ?p property:part_of ?k . ?p rdf:type ontology:activity . ?k rdf:type ontology:administrative_territorial_entity } UNION { ?p rdf:type ontology:activity . ?k rdf:type ontology:science . ?p property:part_of ?k } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { resource:Suijutsu property:part_of ?b . { { ?b rdf:type ontology:science } UNION { ?b rdf:type ontology:administrative_territorial_entity } } } } . FILTER ( ?y > ?a ) }
[]
science administrative territorial entity activity
Q2313702 Q514 Q190993
SYSTEM
Sprengtechnik, anatomy, malacology
Q1642790 Q83371 Q10494362 Q2313702 Q514 Q190993 Q11467 Q131683 Q31728 Q331835
(c(Q1914636),P361,c(Q336)|c(Q56061))
action greater
action union
action find_tuple_counts
relation P361
type Q1914636
type Q336
action find_tuple_counts
relation P361
type Q1914636
type Q56061
action count
action filter_multi_types
action find
entity Q1052820
relation P361
type Q336
type Q56061
[ANSWERS] are parts of more number of sciences and administrative territories than Suijutsu
[{'concept': 'Q1914636'}, 'P361', [{'concept': 'Q336'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?k ) AS ?y ) WHERE { { ?p property:P361 ?k . ?p rdf:type ontology:Q1914636 . ?k rdf:type ontology:Q56061 } UNION { ?p rdf:type ontology:Q1914636 . ?k rdf:type ontology:Q336 . ?p property:P361 ?k } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { resource:Q1052820 property:P361 ?b . { { ?b rdf:type ontology:Q336 } UNION { ?b rdf:type ontology:Q56061 } } } } . FILTER ( ?y > ?a ) }
circuit technology seismology Faunistics Sprengtechnik anatomy malacology metallurgy embryology public administration suction
Sprengtechnik, anatomy and malacology are parts of more number of sciences and administrative territories than Suijutsu
Sprengtechnik anatomy malacology
action greater
action union
action find_tuple_counts
relation part of
type activity
type science
action find_tuple_counts
relation part of
type activity
type administrative territorial entity
action count
action filter_multi_types
action find
entity Suijutsu
relation part of
type science
type administrative territorial entity
[{'concept': 'activity'}, 'part of', [{'concept': 'science'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?k ) AS ?y ) WHERE { { ?p property:part_of ?k . ?p rdf:type ontology:activity . ?k rdf:type ontology:administrative_territorial_entity } UNION { ?p rdf:type ontology:activity . ?k rdf:type ontology:science . ?p property:part_of ?k } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { resource:Suijutsu property:part_of ?b . { { ?b rdf:type ontology:science } UNION { ?b rdf:type ontology:administrative_territorial_entity } } } } . FILTER ( ?y > ?a ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q5322511
P361
Q336 Q56061 Q1914636
USER
And what about EAOP?
(c(Q1914636),P361,c(Q336)|c(Q56061))
action greater
action union
action find_tuple_counts
relation P361
type Q1914636
type Q336
action find_tuple_counts
relation P361
type Q1914636
type Q56061
action count
action filter_multi_types
action find
entity Q5322511
relation P361
type Q336
type Q56061
[{'concept': 'Q1914636'}, 'P361', [{'concept': 'Q336'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) ?o WHERE { VALUES ( ?d ) { ( ontology:Q336 ) ( ontology:Q56061 ) } . ?p rdf:type ?d } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { resource:Q5322511 property:P361 ?y . { VALUES ( ?s ) { ( ontology:Q336 ) ( ontology:Q56061 ) } . ?y rdf:type ?s } } } . FILTER ( ?l > ?g ) }
EAOP
action greater
action union
action find_tuple_counts
relation part of
type activity
type science
action find_tuple_counts
relation part of
type activity
type administrative territorial entity
action count
action filter_multi_types
action find
entity EAOP
relation part of
type science
type administrative territorial entity
[{'concept': 'activity'}, 'part of', [{'concept': 'science'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) ?o WHERE { VALUES ( ?d ) { ( ontology:science ) ( ontology:administrative_territorial_entity ) } . ?p rdf:type ?d } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { resource:EAOP property:part_of ?y . { VALUES ( ?s ) { ( ontology:science ) ( ontology:administrative_territorial_entity ) } . ?y rdf:type ?s } } } . FILTER ( ?l > ?g ) }
[]
science administrative territorial entity activity
Q2313702 Q514 Q190993
SYSTEM
Sprengtechnik, anatomy, malacology
Q1642790 Q83371 Q10494362 Q2313702 Q514 Q190993 Q11467 Q131683 Q31728 Q331835
(c(Q1914636),P361,c(Q336)|c(Q56061))
action greater
action union
action find_tuple_counts
relation P361
type Q1914636
type Q336
action find_tuple_counts
relation P361
type Q1914636
type Q56061
action count
action filter_multi_types
action find
entity Q5322511
relation P361
type Q336
type Q56061
[ANSWERS]
[{'concept': 'Q1914636'}, 'P361', [{'concept': 'Q336'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) ?o WHERE { VALUES ( ?d ) { ( ontology:Q336 ) ( ontology:Q56061 ) } . ?p rdf:type ?d } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { resource:Q5322511 property:P361 ?y . { VALUES ( ?s ) { ( ontology:Q336 ) ( ontology:Q56061 ) } . ?y rdf:type ?s } } } . FILTER ( ?l > ?g ) }
circuit technology seismology Faunistics Sprengtechnik anatomy malacology metallurgy embryology public administration suction
Sprengtechnik anatomy malacology
action greater
action union
action find_tuple_counts
relation part of
type activity
type science
action find_tuple_counts
relation part of
type activity
type administrative territorial entity
action count
action filter_multi_types
action find
entity EAOP
relation part of
type science
type administrative territorial entity
[{'concept': 'activity'}, 'part of', [{'concept': 'science'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) ?o WHERE { VALUES ( ?d ) { ( ontology:science ) ( ontology:administrative_territorial_entity ) } . ?p rdf:type ?d } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { resource:EAOP property:part_of ?y . { VALUES ( ?s ) { ( ontology:science ) ( ontology:administrative_territorial_entity ) } . ?y rdf:type ?s } } } . FILTER ( ?l > ?g ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q41506
P740
Q2088357
USER
Which musical ensembles were formed at Stanford University ?
(c(Q2088357),P740,Q41506)
action filter_type
action find_reverse
entity Q41506
relation P740
type Q2088357
[{'concept': 'Q2088357'}, 'P740', 'Q41506']
SELECT DISTINCT ?m WHERE { ?m property:P740 resource:Q41506 . ?m rdf:type ontology:Q2088357 }
Stanford University
action filter_type
action find_reverse
entity Stanford University
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Stanford University']
SELECT DISTINCT ?m WHERE { ?m property:location_of_formation resource:Stanford_University . ?m rdf:type ontology:musical_ensemble }
[]
musical ensemble
Q15053598 Q7598784 Q5250155
SYSTEM
Stanford Everyday People, Stanford Raagapella, Deep Dickollective
Q15053598 Q7598784 Q5250155
(c(Q2088357),P740,Q41506)
action filter_type
action find_reverse
entity Q41506
relation P740
type Q2088357
[ANSWERS] were formed at Stanford University
[{'concept': 'Q2088357'}, 'P740', 'Q41506']
SELECT DISTINCT ?m WHERE { ?m property:P740 resource:Q41506 . ?m rdf:type ontology:Q2088357 }
Stanford Everyday People Stanford Raagapella Deep Dickollective
Stanford Everyday People, Stanford Raagapella and Deep Dickollective were formed at Stanford University
Stanford Everyday People Stanford Raagapella Deep Dickollective
action filter_type
action find_reverse
entity Stanford University
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Stanford University']
SELECT DISTINCT ?m WHERE { ?m property:location_of_formation resource:Stanford_University . ?m rdf:type ontology:musical_ensemble }
[]
Clarification
Simple Question|Single Entity|Indirect
Q5250155
P136
Q151885
USER
Which genre does that musical ensemble belong to ?
(Q5250155,P136,c(Q151885))
action filter_type
action find
entity Q5250155
relation P136
type Q151885
['Q5250155', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?a WHERE { resource:Q5250155 property:P136 ?a . ?a rdf:type ontology:Q151885 }
Deep Dickollective
action filter_type
action find
entity Deep Dickollective
relation genre
type concept
['Deep Dickollective', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?a WHERE { resource:Deep_Dickollective property:genre ?a . ?a rdf:type ontology:concept }
[]
concept
Clarification for simple ques.
Q7598784
SYSTEM
Did you mean Stanford Raagapella ?
Q15053598 Q7598784 Q5250155
(Q15053598,P136,c(Q151885)) (Q7598784,P136,c(Q151885)) (Q5250155,P136,c(Q151885))
[ANSWER]
['Q15053598', 'P136', {'concept': 'Q151885'}] ['Q7598784', 'P136', {'concept': 'Q151885'}] ['Q5250155', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?a WHERE { resource:Q5250155 property:P136 ?a . ?a rdf:type ontology:Q151885 }
Stanford Everyday People Stanford Raagapella Deep Dickollective
Did you mean Stanford Raagapella ?
Stanford Raagapella
['Stanford Everyday People', 'genre', {'concept': 'concept'}] ['Stanford Raagapella', 'genre', {'concept': 'concept'}] ['Deep Dickollective', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?a WHERE { resource:Deep_Dickollective property:genre ?a . ?a rdf:type ontology:concept }
[]
Simple Question (Coreferenced)
USER
No, I meant Deep Dickollective. Could you tell me the answer for that?
(Q5250155,P136,c(Q151885))
Q5250155
['Q5250155', 'P136', {'concept': 'Q151885'}]
['Deep Dickollective', 'genre', {'concept': 'concept'}]
[]
Q11401
SYSTEM
hip hop
Q11401
(Q5250155,P136,c(Q151885))
action filter_type
action find
entity Q5250155
relation P136
type Q151885
That musical ensemble belongs to [ANSWER]
['Q5250155', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?a WHERE { resource:Q5250155 property:P136 ?a . ?a rdf:type ontology:Q151885 }
hip hop
That musical ensemble belongs to hip hop
hip hop
action filter_type
action find
entity Deep Dickollective
relation genre
type concept
['Deep Dickollective', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?a WHERE { resource:Deep_Dickollective property:genre ?a . ?a rdf:type ontology:concept }
[]