Simple Question (Direct)
Simple Question
Q15433629
P734
Q82799
USER
Which name is associated with Alfred von Bülow ?
(Q15433629,P734,c(Q82799))
action filter_type
action find
entity Q15433629
relation P734
type Q82799
['Q15433629', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q82799 . resource:Q15433629 property:P734 ?t }
Alfred von Bülow
action filter_type
action find
entity Alfred von Bülow
relation family name
type name
['Alfred von Bülow', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:name . resource:Alfred_von_Bülow property:family_name ?t }
[]
name
Q21487131
SYSTEM
Bülow
Q21487131
(Q15433629,P734,c(Q82799))
action filter_type
action find
entity Q15433629
relation P734
type Q82799
[ANSWER] is associated with Alfred von [ANSWER]
['Q15433629', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q82799 . resource:Q15433629 property:P734 ?t }
Bülow
Bülow is associated with Alfred von Bülow
Bülow
action filter_type
action find
entity Alfred von Bülow
relation family name
type name
['Alfred von Bülow', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:name . resource:Alfred_von_Bülow property:family_name ?t }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15433629
P40
Q502895
USER
Who has Alfred von Bülow as an offspring ?
(c(Q502895),P40,Q15433629)
action filter_type
action find_reverse
entity Q15433629
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q15433629']
SELECT DISTINCT ?d WHERE { ?d property:P40 resource:Q15433629 . ?d rdf:type ontology:Q502895 }
Alfred von Bülow
action filter_type
action find_reverse
entity Alfred von Bülow
relation child
type common name
[{'concept': 'common name'}, 'child', 'Alfred von Bülow']
SELECT DISTINCT ?d WHERE { ?d property:child resource:Alfred_von_Bülow . ?d rdf:type ontology:common_name }
[]
common name
Q66493
SYSTEM
Bernhard Ernst von Bülow
Q66493
(c(Q502895),P40,Q15433629)
action filter_type
action find_reverse
entity Q15433629
relation P40
type Q502895
[ANSWER] has Alfred von Bülow as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q15433629']
SELECT DISTINCT ?d WHERE { ?d property:P40 resource:Q15433629 . ?d rdf:type ontology:Q502895 }
Bernhard Ernst von Bülow
Bernhard Ernst von Bülow has Alfred von Bülow as an offspring
Bernhard Ernst von Bülow
action filter_type
action find_reverse
entity Alfred von Bülow
relation child
type common name
[{'concept': 'common name'}, 'child', 'Alfred von Bülow']
SELECT DISTINCT ?d WHERE { ?d property:child resource:Alfred_von_Bülow . ?d rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q66493
P19
Q486972
USER
Which human settlement is the place of birth of that person ?
(Q66493,P19,c(Q486972))
action filter_type
action find
entity Q66493
relation P19
type Q486972
['Q66493', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?o WHERE { resource:Q66493 property:P19 ?o . ?o rdf:type ontology:Q486972 }
Bernhard Ernst von Bülow
action filter_type
action find
entity Bernhard Ernst von Bülow
relation place of birth
type human settlement
['Bernhard Ernst von Bülow', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?o WHERE { resource:Bernhard_Ernst_von_Bülow property:place_of_birth ?o . ?o rdf:type ontology:human_settlement }
[]
human settlement
Q477920
SYSTEM
Cismar
Q477920
(Q66493,P19,c(Q486972))
action filter_type
action find
entity Q66493
relation P19
type Q486972
[ANSWER] is the place of birth of that person
['Q66493', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?o WHERE { resource:Q66493 property:P19 ?o . ?o rdf:type ontology:Q486972 }
Cismar
Cismar is the place of birth of that person
Cismar
action filter_type
action find
entity Bernhard Ernst von Bülow
relation place of birth
type human settlement
['Bernhard Ernst von Bülow', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?o WHERE { resource:Bernhard_Ernst_von_Bülow property:place_of_birth ?o . ?o rdf:type ontology:human_settlement }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q477920
P20
Q502895
USER
Who died in that human settlement ?
(c(Q502895),P20,Q477920)
action filter_type
action find_reverse
entity Q477920
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q477920']
SELECT DISTINCT ?y WHERE { ?y property:P20 resource:Q477920 . ?y rdf:type ontology:Q502895 }
Cismar
action filter_type
action find_reverse
entity Cismar
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Cismar']
SELECT DISTINCT ?y WHERE { ?y property:place_of_death resource:Cismar . ?y rdf:type ontology:common_name }
[]
common name
Q2824697 Q1717618
SYSTEM
Adolf Hartwig Heinrich von Bülow, Jürgen Runge
Q2824697 Q1717618
(c(Q502895),P20,Q477920)
action filter_type
action find_reverse
entity Q477920
relation P20
type Q502895
[ANSWERS] died in that human settlement
[{'concept': 'Q502895'}, 'P20', 'Q477920']
SELECT DISTINCT ?y WHERE { ?y property:P20 resource:Q477920 . ?y rdf:type ontology:Q502895 }
Adolf Hartwig Heinrich von Bülow Jürgen Runge
Adolf Hartwig Heinrich von Bülow and Jürgen Runge died in that human settlement
Adolf Hartwig Heinrich von Bülow Jürgen Runge
action filter_type
action find_reverse
entity Cismar
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Cismar']
SELECT DISTINCT ?y WHERE { ?y property:place_of_death resource:Cismar . ?y rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1717618
P21
Q290
USER
Which sex does that person possess ?
(Q1717618,P21,c(Q290))
action filter_type
action find
entity Q1717618
relation P21
type Q290
['Q1717618', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q1717618 property:P21 ?s . ?s rdf:type ontology:Q290 }
Jürgen Runge
action filter_type
action find
entity Jürgen Runge
relation gender
type sex
['Jürgen Runge', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Jürgen_Runge property:gender ?s . ?s rdf:type ontology:sex }
[]
sex
Clarification for simple ques.
Q1717618
SYSTEM
Did you mean Jürgen Runge ?
Q2824697 Q1717618
(Q2824697,P21,c(Q290)) (Q1717618,P21,c(Q290))
[ANSWER]
['Q2824697', 'P21', {'concept': 'Q290'}] ['Q1717618', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q1717618 property:P21 ?s . ?s rdf:type ontology:Q290 }
Adolf Hartwig Heinrich von Bülow Jürgen Runge
Did you mean Jürgen Runge ?
Jürgen Runge
['Adolf Hartwig Heinrich von Bülow', 'gender', {'concept': 'sex'}] ['Jürgen Runge', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Jürgen_Runge property:gender ?s . ?s rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
USER
Yes
(Q1717618,P21,c(Q290))
['Q1717618', 'P21', {'concept': 'Q290'}]
['Jürgen Runge', 'gender', {'concept': 'sex'}]
[]
Q6581097
SYSTEM
male
Q6581097
(Q1717618,P21,c(Q290))
action filter_type
action find
entity Q1717618
relation P21
type Q290
That person possesses a [ANSWER]
['Q1717618', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q1717618 property:P21 ?s . ?s rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Jürgen Runge
relation gender
type sex
['Jürgen Runge', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Jürgen_Runge property:gender ?s . ?s rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1029
Q502895 Q20027951 Q1656682
USER
How many people were the team members of around 1 aircraft power classes or events ?
(c(Q20027951)|c(Q1656682),P1029,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q20027951
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q1656682
value 1
[[{'concept': 'Q20027951'}, {'concept': 'Q1656682'}], 'P1029', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?q ) AS ?u ) WHERE { { ?k rdf:type ontology:Q502895 . ?q rdf:type ontology:Q1656682 . ?q property:P1029 ?k } UNION { ?q property:P1029 ?k . ?k rdf:type ontology:Q502895 . ?q rdf:type ontology:Q20027951 } } GROUP BY ?k } . FILTER ( ?u = 1 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation crew member
type common name
type aircraft power class
action find_reverse_tuple_counts
relation crew member
type common name
type event
value 1
[[{'concept': 'aircraft power class'}, {'concept': 'event'}], 'crew member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?q ) AS ?u ) WHERE { { ?k rdf:type ontology:common_name . ?q rdf:type ontology:event . ?q property:crew_member ?k } UNION { ?q property:crew_member ?k . ?k rdf:type ontology:common_name . ?q rdf:type ontology:aircraft_power_class } } GROUP BY ?k } . FILTER ( ?u = 1 ) }
[]
common name aircraft power class event
SYSTEM
24
Q927249 Q107667 Q349365 Q111240 Q17519 Q18762 Q4715991 Q158486 Q4103224 Q19242 Q229674 Q294555 Q49284 Q316417 Q364476 Q315730 Q25981 Q278656 Q363506 Q174979 Q466075 Q317643 Q382013 Q320047
(c(Q20027951)|c(Q1656682),P1029,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q20027951
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q1656682
value 1
[ANSWER]
[[{'concept': 'Q20027951'}, {'concept': 'Q1656682'}], 'P1029', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?q ) AS ?u ) WHERE { { ?k rdf:type ontology:Q502895 . ?q rdf:type ontology:Q1656682 . ?q property:P1029 ?k } UNION { ?q property:P1029 ?k . ?k rdf:type ontology:Q502895 . ?q rdf:type ontology:Q20027951 } } GROUP BY ?k } . FILTER ( ?u = 1 ) }
Oleg Skripochka John Young Ellison Onizuka Jim Lovell Anousheh Ansari Frank Borman Aleksey Ovchinin Eugene Cernan Theodore Van Kirk Bill Anders Christa McAuliffe Paul Tibbets Judith Resnik Thomas P. Stafford James McDivitt Ronald McNair Michael J. Smith David Scott Rusty Schweickart Alan Shepard Pavel Vinogradov Marcos Pontes Gregory Jarvis Dick Scobee
24
action count
action approx
action union
action find_reverse_tuple_counts
relation crew member
type common name
type aircraft power class
action find_reverse_tuple_counts
relation crew member
type common name
type event
value 1
[[{'concept': 'aircraft power class'}, {'concept': 'event'}], 'crew member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?q ) AS ?u ) WHERE { { ?k rdf:type ontology:common_name . ?q rdf:type ontology:event . ?q property:crew_member ?k } UNION { ?q property:crew_member ?k . ?k rdf:type ontology:common_name . ?q rdf:type ontology:aircraft_power_class } } GROUP BY ?k } . FILTER ( ?u = 1 ) }
[]