Simple Question (Direct)
Simple Question
Q4126616
P22
Q502895
USER
Which male person was the parent of Jörgen Lehmann ?
(Q4126616,P22,c(Q502895))
action filter_type
action find
entity Q4126616
relation P22
type Q502895
['Q4126616', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q4126616 property:P22 ?o . ?o rdf:type ontology:Q502895 }
Jörgen Lehmann
action filter_type
action find
entity Jörgen Lehmann
relation father
type common name
['Jörgen Lehmann', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Jörgen_Lehmann property:father ?o . ?o rdf:type ontology:common_name }
[]
common name
Q4533968
SYSTEM
Edvard Lehmann
Q4533968
(Q4126616,P22,c(Q502895))
action filter_type
action find
entity Q4126616
relation P22
type Q502895
[ANSWER] was the parent of Jörgen Lehmann
['Q4126616', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q4126616 property:P22 ?o . ?o rdf:type ontology:Q502895 }
Edvard Lehmann
Edvard Lehmann was the parent of Jörgen Lehmann
Edvard Lehmann
action filter_type
action find
entity Jörgen Lehmann
relation father
type common name
['Jörgen Lehmann', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Jörgen_Lehmann property:father ?o . ?o rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4126616
P106
Q12737077
USER
Which occupations have Jörgen Lehmann as his/her 's career ?
(Q4126616,P106,c(Q12737077))
action filter_type
action find
entity Q4126616
relation P106
type Q12737077
['Q4126616', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q4126616 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
Jörgen Lehmann
action filter_type
action find
entity Jörgen Lehmann
relation occupation
type occupation
['Jörgen Lehmann', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Jörgen_Lehmann property:occupation ?g . ?g rdf:type ontology:occupation }
[]
occupation
Q39631 Q593644
SYSTEM
physician, chemist
Q39631 Q593644
(Q4126616,P106,c(Q12737077))
action filter_type
action find
entity Q4126616
relation P106
type Q12737077
As [ANSWERS] have Jörgen Lehmann as his/her 's career
['Q4126616', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q4126616 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
physician chemist
As physician and chemist have Jörgen Lehmann as his/her 's career
physician chemist
action filter_type
action find
entity Jörgen Lehmann
relation occupation
type occupation
['Jörgen Lehmann', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Jörgen_Lehmann property:occupation ?g . ?g rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q39631
P425
Q336
USER
Which science has that one as thier associated field of occupation ?
(Q39631,P425,c(Q336))
action filter_type
action find
entity Q39631
relation P425
type Q336
['Q39631', 'P425', {'concept': 'Q336'}]
SELECT DISTINCT ?b WHERE { resource:Q39631 property:P425 ?b . ?b rdf:type ontology:Q336 }
physician
action filter_type
action find
entity physician
relation field of this occupation
type science
['physician', 'field of this occupation', {'concept': 'science'}]
SELECT DISTINCT ?b WHERE { resource:physician property:field_of_this_occupation ?b . ?b rdf:type ontology:science }
[]
science
Clarification for simple ques.
Q39631
SYSTEM
Did you mean physician ?
Q39631 Q593644
(Q39631,P425,c(Q336)) (Q593644,P425,c(Q336))
[ANSWER]
['Q39631', 'P425', {'concept': 'Q336'}] ['Q593644', 'P425', {'concept': 'Q336'}]
SELECT DISTINCT ?b WHERE { resource:Q39631 property:P425 ?b . ?b rdf:type ontology:Q336 }
physician chemist
Did you mean physician ?
physician
['physician', 'field of this occupation', {'concept': 'science'}] ['chemist', 'field of this occupation', {'concept': 'science'}]
SELECT DISTINCT ?b WHERE { resource:physician property:field_of_this_occupation ?b . ?b rdf:type ontology:science }
[]
Simple Question (Coreferenced)
USER
Yes
(Q39631,P425,c(Q336))
['Q39631', 'P425', {'concept': 'Q336'}]
['physician', 'field of this occupation', {'concept': 'science'}]
[]
Q11190
SYSTEM
medicine
Q11190
(Q39631,P425,c(Q336))
action filter_type
action find
entity Q39631
relation P425
type Q336
[ANSWER] has that one as thier associated field of occupation
['Q39631', 'P425', {'concept': 'Q336'}]
SELECT DISTINCT ?b WHERE { resource:Q39631 property:P425 ?b . ?b rdf:type ontology:Q336 }
medicine
Medicine has that one as thier associated field of occupation
medicine
action filter_type
action find
entity physician
relation field of this occupation
type science
['physician', 'field of this occupation', {'concept': 'science'}]
SELECT DISTINCT ?b WHERE { resource:physician property:field_of_this_occupation ?b . ?b rdf:type ontology:science }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q11190 Q5462012
P921
Q2342494
USER
Does Flour Babies have that science as its main topic ?
(Q5462012,P921,Q11190)
action is_in
entity Q5462012
action find
entity Q11190
relation P921
['Q5462012', 'P921', 'Q11190']
ASK WHERE { resource:Q11190 property:P921 resource:Q5462012 }
medicine Flour Babies
action is_in
entity Flour Babies
action find
entity medicine
relation main subject
['Flour Babies', 'main subject', 'medicine']
ASK WHERE { resource:medicine property:main_subject resource:Flour_Babies }
[]
collectable
SYSTEM
NO
(Q5462012,P921,Q11190)
action is_in
entity Q5462012
action find
entity Q11190
relation P921
[ANSWER]
['Q5462012', 'P921', 'Q11190']
ASK WHERE { resource:Q11190 property:P921 resource:Q5462012 }
No
action is_in
entity Flour Babies
action find
entity medicine
relation main subject
['Flour Babies', 'main subject', 'medicine']
ASK WHERE { resource:medicine property:main_subject resource:Flour_Babies }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q7877
P366
Q336 Q3249551 Q6671777
USER
How many sciences are considered to be the main utilization of approximately the same number of processes and structures as electrochemistry ?
(c(Q3249551)|c(Q6671777),P366,c(Q336))
action count
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q336
type Q3249551
action find_reverse_tuple_counts
relation P366
type Q336
type Q6671777
action count
action filter_multi_types
action find_reverse
entity Q7877
relation P366
type Q3249551
type Q6671777
[[{'concept': 'Q3249551'}, {'concept': 'Q6671777'}], 'P366', {'concept': 'Q336'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { ?m property:P366 resource:Q7877 . { { ?m rdf:type ontology:Q3249551 } UNION { ?m rdf:type ontology:Q6671777 } } } } . FILTER ( ?x = ?c ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) ?k WHERE { { ?r property:P366 ?k . ?k rdf:type ontology:Q336 . ?r rdf:type ontology:Q3249551 } UNION { ?r property:P366 ?k . ?r rdf:type ontology:Q6671777 . ?k rdf:type ontology:Q336 } } GROUP BY ?k } }
electrochemistry
action count
action approx
action union
action find_reverse_tuple_counts
relation use
type science
type process
action find_reverse_tuple_counts
relation use
type science
type structure
action count
action filter_multi_types
action find_reverse
entity electrochemistry
relation use
type process
type structure
[[{'concept': 'process'}, {'concept': 'structure'}], 'use', {'concept': 'science'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { ?m property:use resource:electrochemistry . { { ?m rdf:type ontology:process } UNION { ?m rdf:type ontology:structure } } } } . FILTER ( ?x = ?c ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) ?k WHERE { { ?r property:use ?k . ?k rdf:type ontology:science . ?r rdf:type ontology:process } UNION { ?r property:use ?k . ?r rdf:type ontology:structure . ?k rdf:type ontology:science } } GROUP BY ?k } }
[]
science process structure
SYSTEM
6
Q182557 Q7877 Q43035 Q1420050 Q333 Q2329
(c(Q3249551)|c(Q6671777),P366,c(Q336))
action count
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q336
type Q3249551
action find_reverse_tuple_counts
relation P366
type Q336
type Q6671777
action count
action filter_multi_types
action find_reverse
entity Q7877
relation P366
type Q3249551
type Q6671777
[ANSWER]
[[{'concept': 'Q3249551'}, {'concept': 'Q6671777'}], 'P366', {'concept': 'Q336'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { ?m property:P366 resource:Q7877 . { { ?m rdf:type ontology:Q3249551 } UNION { ?m rdf:type ontology:Q6671777 } } } } . FILTER ( ?x = ?c ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) ?k WHERE { { ?r property:P366 ?k . ?k rdf:type ontology:Q336 . ?r rdf:type ontology:Q3249551 } UNION { ?r property:P366 ?k . ?r rdf:type ontology:Q6671777 . ?k rdf:type ontology:Q336 } } GROUP BY ?k } }
computational linguistics electrochemistry electrical engineering fisheries science astronomy chemistry
6
action count
action approx
action union
action find_reverse_tuple_counts
relation use
type science
type process
action find_reverse_tuple_counts
relation use
type science
type structure
action count
action filter_multi_types
action find_reverse
entity electrochemistry
relation use
type process
type structure
[[{'concept': 'process'}, {'concept': 'structure'}], 'use', {'concept': 'science'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { ?m property:use resource:electrochemistry . { { ?m rdf:type ontology:process } UNION { ?m rdf:type ontology:structure } } } } . FILTER ( ?x = ?c ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) ?k WHERE { { ?r property:use ?k . ?k rdf:type ontology:science . ?r rdf:type ontology:process } UNION { ?r property:use ?k . ?r rdf:type ontology:structure . ?k rdf:type ontology:science } } GROUP BY ?k } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4126616
P40
Q502895
USER
Who has Jörgen Lehmann as a child ?
(c(Q502895),P40,Q4126616)
action filter_type
action find_reverse
entity Q4126616
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q4126616']
SELECT DISTINCT ?e WHERE { ?e property:P40 resource:Q4126616 . ?e rdf:type ontology:Q502895 }
Jörgen Lehmann
action filter_type
action find_reverse
entity Jörgen Lehmann
relation child
type common name
[{'concept': 'common name'}, 'child', 'Jörgen Lehmann']
SELECT DISTINCT ?e WHERE { ?e property:child resource:Jörgen_Lehmann . ?e rdf:type ontology:common_name }
[]
common name
Q4533968
SYSTEM
Edvard Lehmann
Q4533968
(c(Q502895),P40,Q4126616)
action filter_type
action find_reverse
entity Q4126616
relation P40
type Q502895
[ANSWER] has Jörgen Lehmann as a child
[{'concept': 'Q502895'}, 'P40', 'Q4126616']
SELECT DISTINCT ?e WHERE { ?e property:P40 resource:Q4126616 . ?e rdf:type ontology:Q502895 }
Edvard Lehmann
Edvard Lehmann has Jörgen Lehmann as a child
Edvard Lehmann
action filter_type
action find_reverse
entity Jörgen Lehmann
relation child
type common name
[{'concept': 'common name'}, 'child', 'Jörgen Lehmann']
SELECT DISTINCT ?e WHERE { ?e property:child resource:Jörgen_Lehmann . ?e rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4533968
P1038
Q502895
USER
Which person is a relative of that one ?
(c(Q502895),P1038,Q4533968)
action filter_type
action find
entity Q4533968
relation P1038
type Q502895
[{'concept': 'Q502895'}, 'P1038', 'Q4533968']
SELECT DISTINCT ?k WHERE { resource:Q4533968 property:P1038 ?k . ?k rdf:type ontology:Q502895 }
Edvard Lehmann
action filter_type
action find
entity Edvard Lehmann
relation relative
type common name
[{'concept': 'common name'}, 'relative', 'Edvard Lehmann']
SELECT DISTINCT ?k WHERE { resource:Edvard_Lehmann property:relative ?k . ?k rdf:type ontology:common_name }
[]
common name
Q5944315
SYSTEM
Alfred Lehmann
Q5944315
(c(Q502895),P1038,Q4533968)
action filter_type
action find
entity Q4533968
relation P1038
type Q502895
[ANSWER] is a relative of that one
[{'concept': 'Q502895'}, 'P1038', 'Q4533968']
SELECT DISTINCT ?k WHERE { resource:Q4533968 property:P1038 ?k . ?k rdf:type ontology:Q502895 }
Alfred Lehmann
Alfred Lehmann is a relative of that one
Alfred Lehmann
action filter_type
action find
entity Edvard Lehmann
relation relative
type common name
[{'concept': 'common name'}, 'relative', 'Edvard Lehmann']
SELECT DISTINCT ?k WHERE { resource:Edvard_Lehmann property:relative ?k . ?k rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5944315
P21
Q290
USER
Which sex does that person have ?
(Q5944315,P21,c(Q290))
action filter_type
action find
entity Q5944315
relation P21
type Q290
['Q5944315', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q290 . resource:Q5944315 property:P21 ?q }
Alfred Lehmann
action filter_type
action find
entity Alfred Lehmann
relation gender
type sex
['Alfred Lehmann', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:sex . resource:Alfred_Lehmann property:gender ?q }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5944315,P21,c(Q290))
action filter_type
action find
entity Q5944315
relation P21
type Q290
That person has a [ANSWER]
['Q5944315', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q290 . resource:Q5944315 property:P21 ?q }
male
That person has a male
male
action filter_type
action find
entity Alfred Lehmann
relation gender
type sex
['Alfred Lehmann', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:sex . resource:Alfred_Lehmann property:gender ?q }
[]