Simple Question (Direct)
Simple Question
Q2588480
P512
Q3412758
USER
Which qualification does Wolf-Dieter Ring hold ?
(Q2588480,P512,c(Q3412758))
action filter_type
action find
entity Q2588480
relation P512
type Q3412758
['Q2588480', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q3412758 . resource:Q2588480 property:P512 ?q }
Wolf-Dieter Ring
action filter_type
action find
entity Wolf-Dieter Ring
relation academic degree
type qualification
['Wolf-Dieter Ring', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:qualification . resource:Wolf-Dieter_Ring property:academic_degree ?q }
[]
qualification
Q849697
SYSTEM
doctoral degree
Q849697
(Q2588480,P512,c(Q3412758))
action filter_type
action find
entity Q2588480
relation P512
type Q3412758
Wolf-Dieter Ring holds a [ANSWER]
['Q2588480', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q3412758 . resource:Q2588480 property:P512 ?q }
doctoral degree
Wolf-Dieter Ring holds a doctoral degree
doctoral degree
action filter_type
action find
entity Wolf-Dieter Ring
relation academic degree
type qualification
['Wolf-Dieter Ring', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:qualification . resource:Wolf-Dieter_Ring property:academic_degree ?q }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2588480
P106
Q3412758
USER
Which qualification is the profession of that person ?
(Q849697,P106,c(Q3412758))
action filter_type
action find
entity Q2588480
relation P106
type Q3412758
['Q849697', 'P106', {'concept': 'Q3412758'}]
SELECT DISTINCT ?j WHERE { resource:Q2588480 property:P106 ?j . ?j rdf:type ontology:Q3412758 }
Wolf-Dieter Ring
action filter_type
action find
entity Wolf-Dieter Ring
relation occupation
type qualification
['doctoral degree', 'occupation', {'concept': 'qualification'}]
SELECT DISTINCT ?j WHERE { resource:Wolf-Dieter_Ring property:occupation ?j . ?j rdf:type ontology:qualification }
[]
qualification
Q121594
SYSTEM
professor
Q121594
(Q849697,P106,c(Q3412758))
action filter_type
action find
entity Q2588480
relation P106
type Q3412758
The [ANSWER] is the profession of that person
['Q849697', 'P106', {'concept': 'Q3412758'}]
SELECT DISTINCT ?j WHERE { resource:Q2588480 property:P106 ?j . ?j rdf:type ontology:Q3412758 }
professor
The professor is the profession of that person
professor
action filter_type
action find
entity Wolf-Dieter Ring
relation occupation
type qualification
['doctoral degree', 'occupation', {'concept': 'qualification'}]
SELECT DISTINCT ?j WHERE { resource:Wolf-Dieter_Ring property:occupation ?j . ?j rdf:type ontology:qualification }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1029
Q502895 Q1656682 Q40218
USER
Which people were crew members of approximately 1 events and spacecrafts ?
(c(Q1656682)|c(Q40218),P1029,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q1656682
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q40218
value 1
[[{'concept': 'Q1656682'}, {'concept': 'Q40218'}], 'P1029', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?a ) AS ?c ) WHERE { { ?a property:P1029 ?y . ?y rdf:type ontology:Q502895 . ?a rdf:type ontology:Q40218 } UNION { ?a property:P1029 ?y . ?a rdf:type ontology:Q1656682 . ?y rdf:type ontology:Q502895 } } GROUP BY ?y } . FILTER ( ?c = 1 ) }
action approx
action union
action find_reverse_tuple_counts
relation crew member
type common name
type event
action find_reverse_tuple_counts
relation crew member
type common name
type spacecraft
value 1
[[{'concept': 'event'}, {'concept': 'spacecraft'}], 'crew member', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?a ) AS ?c ) WHERE { { ?a property:crew_member ?y . ?y rdf:type ontology:common_name . ?a rdf:type ontology:spacecraft } UNION { ?a property:crew_member ?y . ?a rdf:type ontology:event . ?y rdf:type ontology:common_name } } GROUP BY ?y } . FILTER ( ?c = 1 ) }
[]
common name event spacecraft
Q7327 Q152298 Q154269
SYSTEM
Yuri Gagarin, Gherman Titov, Alexey Leonov
Q470059 Q8070347 Q927249 Q310924 Q7327 Q363976 Q147581 Q107667 Q182642 Q349365 Q111240 Q159681 Q557082 Q17519 Q18762 Q4715991 Q110450 Q390344 Q446917 Q44371 Q158486 Q312833 Q19242 Q352137 Q536632 Q213076 Q344892 Q152298 Q104865 Q229674 Q312474 Q320068 Q644837 Q235266 Q197135 Q335503 Q49284 Q316417 Q364476 Q315730 Q25981 Q278656 Q363506 Q154269 Q507046 Q460440 Q110879 Q466075 Q157931 Q317643 Q705626 Q382013 Q118490 Q320047
(c(Q1656682)|c(Q40218),P1029,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q1656682
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q40218
value 1
[ANSWERS] were crew members of approximately 1 events and spacecrafts
[[{'concept': 'Q1656682'}, {'concept': 'Q40218'}], 'P1029', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?a ) AS ?c ) WHERE { { ?a property:P1029 ?y . ?y rdf:type ontology:Q502895 . ?a rdf:type ontology:Q40218 } UNION { ?a property:P1029 ?y . ?a rdf:type ontology:Q1656682 . ?y rdf:type ontology:Q502895 } } GROUP BY ?y } . FILTER ( ?c = 1 ) }
Liu Wang Zhang Xiaoguang Oleg Skripochka Alan Bean Yuri Gagarin Jack R. Lousma Yang Liwei John Young John Glenn Ellison Onizuka Jim Lovell Valery Bykovsky Liu Boming Anousheh Ansari Frank Borman Aleksey Ovchinin Wally Schirra Edward Gibson Joseph P. Kerwin Valentina Tereshkova Eugene Cernan Gordon Cooper Bill Anders Boris Yegorov Paul J. Weitz Pete Conrad Fei Junlong Gherman Titov Vladimir Komarov Christa McAuliffe Andriyan Nikolayev Konstantin Feoktistov Gerald P. Carr Liu Yang Zhai Zhigang Scott Carpenter Judith Resnik Thomas P. Stafford James McDivitt Ronald McNair Michael J. Smith David Scott Rusty Schweickart Alexey Leonov Owen K. Garriott William R. Pogue Gus Grissom Pavel Vinogradov Pavel Belyayev Marcos Pontes Wang Yaping Gregory Jarvis Pavel Popovich Dick Scobee
Yuri Gagarin, Gherman Titov and Alexey Leonov were crew members of approximately 1 events and spacecrafts
Yuri Gagarin Gherman Titov Alexey Leonov
action approx
action union
action find_reverse_tuple_counts
relation crew member
type common name
type event
action find_reverse_tuple_counts
relation crew member
type common name
type spacecraft
value 1
[[{'concept': 'event'}, {'concept': 'spacecraft'}], 'crew member', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?a ) AS ?c ) WHERE { { ?a property:crew_member ?y . ?y rdf:type ontology:common_name . ?a rdf:type ontology:spacecraft } UNION { ?a property:crew_member ?y . ?a rdf:type ontology:event . ?y rdf:type ontology:common_name } } GROUP BY ?y } . FILTER ( ?c = 1 ) }
[]