Simple Question (Direct)
Simple Question
Q2602619
P69
Q3914
USER
Which school is the alma mater of Alexis Bonnet ?
(Q2602619,P69,c(Q3914))
action filter_type
action find
entity Q2602619
relation P69
type Q3914
['Q2602619', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?v WHERE { resource:Q2602619 property:P69 ?v . ?v rdf:type ontology:Q3914 }
Alexis Bonnet
action filter_type
action find
entity Alexis Bonnet
relation educated at
type school
['Alexis Bonnet', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?v WHERE { resource:Alexis_Bonnet property:educated_at ?v . ?v rdf:type ontology:school }
[]
school
Q273626
SYSTEM
École Polytechnique
Q273626
(Q2602619,P69,c(Q3914))
action filter_type
action find
entity Q2602619
relation P69
type Q3914
[ANSWER] is the alma mater of Alexis Bonnet
['Q2602619', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?v WHERE { resource:Q2602619 property:P69 ?v . ?v rdf:type ontology:Q3914 }
École Polytechnique
École Polytechnique is the alma mater of Alexis Bonnet
École Polytechnique
action filter_type
action find
entity Alexis Bonnet
relation educated at
type school
['Alexis Bonnet', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?v WHERE { resource:Alexis_Bonnet property:educated_at ?v . ?v rdf:type ontology:school }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2602619
P734
Q82799
USER
Who has the surname that person ?
(Q273626,P734,c(Q82799))
action filter_type
action find
entity Q2602619
relation P734
type Q82799
['Q273626', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?x WHERE { resource:Q2602619 property:P734 ?x . ?x rdf:type ontology:Q82799 }
Alexis Bonnet
action filter_type
action find
entity Alexis Bonnet
relation family name
type name
['École Polytechnique', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?x WHERE { resource:Alexis_Bonnet property:family_name ?x . ?x rdf:type ontology:name }
[]
name
Q892780
SYSTEM
Bonnet
Q892780
(Q273626,P734,c(Q82799))
action filter_type
action find
entity Q2602619
relation P734
type Q82799
[ANSWER] has the surname that person
['Q273626', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?x WHERE { resource:Q2602619 property:P734 ?x . ?x rdf:type ontology:Q82799 }
Bonnet
Bonnet has the surname that person
Bonnet
action filter_type
action find
entity Alexis Bonnet
relation family name
type name
['École Polytechnique', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?x WHERE { resource:Alexis_Bonnet property:family_name ?x . ?x rdf:type ontology:name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P407
Q34770 Q82799
USER
Which languages are atmost 462 names composed in ?
(c(Q82799),P407,c(Q34770))
action atmost
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 462
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?t <= 462 ) . { SELECT DISTINCT ?p ( COUNT ( ?v ) AS ?t ) WHERE { ?v rdf:type ontology:Q82799 . ?p rdf:type ontology:Q34770 . ?v property:P407 ?p } GROUP BY ?p } }
action atmost
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 462
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?t <= 462 ) . { SELECT DISTINCT ?p ( COUNT ( ?v ) AS ?t ) WHERE { ?v rdf:type ontology:name . ?p rdf:type ontology:language . ?v property:language_of_work_or_name ?p } GROUP BY ?p } }
[]
language name
Q447117 Q35499 Q35726
SYSTEM
Old Egyptian, Old Church Slavonic, Etruscan
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q8785 Q35726 Q34909 Q27403 Q1420587 Q36206 Q1321 Q33976 Q33879 Q10498031 Q397 Q9056 Q8752 Q37041 Q652 Q35505 Q25167 Q25164 Q56982 Q35308 Q36790 Q447117
(c(Q82799),P407,c(Q34770))
action atmost
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 462
[ANSWERS]
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?t <= 462 ) . { SELECT DISTINCT ?p ( COUNT ( ?v ) AS ?t ) WHERE { ?v rdf:type ontology:Q82799 . ?p rdf:type ontology:Q34770 . ?v property:P407 ?p } GROUP BY ?p } }
Egyptian hieroglyphs Traditional Chinese Simplified Chinese Serbian written in Cyrillic Old Church Slavonic Riksmål Armenian Etruscan Old Icelandic Galatian Høgnorsk Lak Spanish Sardinian language Pangasinan language Old East Norse Latin Czech Basque classical Chinese Italian Old Norse language Bokmål Nynorsk Judaeo-Portuguese Old Irish Sumerian Old Egyptian
Which languages are atmost 462 names composed in
Old Egyptian Old Church Slavonic Etruscan
action atmost
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 462
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?t <= 462 ) . { SELECT DISTINCT ?p ( COUNT ( ?v ) AS ?t ) WHERE { ?v rdf:type ontology:name . ?p rdf:type ontology:language . ?v property:language_of_work_or_name ?p } GROUP BY ?p } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q447117 Q35499 Q35726
P1412
Q502895
USER
Which people speaks Old Egyptian, Old Church Slavonic and Etruscan ?
(c(Q502895),P1412,Q447117) (c(Q502895),P1412,Q35499) (c(Q502895),P1412,Q35726)
action union
action filter_type
action find_reverse
entity Q447117
relation P1412
type Q502895
action filter_type
action find_reverse
entity Q35499
relation P1412
type Q502895
action filter_type
action find_reverse
entity Q35726
relation P1412
type Q502895
[{'concept': 'Q502895'}, 'P1412', 'Q447117'] [{'concept': 'Q502895'}, 'P1412', 'Q35499'] [{'concept': 'Q502895'}, 'P1412', 'Q35726']
SELECT DISTINCT ?x WHERE { VALUES ( ?c ) { ( resource:Q35499 ) ( resource:Q447117 ) } . ?x property:P1412 ?c }
Old Egyptian Old Church Slavonic Etruscan
action union
action filter_type
action find_reverse
entity Old Egyptian
relation languages spoken, written or signed
type common name
action filter_type
action find_reverse
entity Old Church Slavonic
relation languages spoken, written or signed
type common name
action filter_type
action find_reverse
entity Etruscan
relation languages spoken, written or signed
type common name
[{'concept': 'common name'}, 'languages spoken, written or signed', 'Old Egyptian'] [{'concept': 'common name'}, 'languages spoken, written or signed', 'Old Church Slavonic'] [{'concept': 'common name'}, 'languages spoken, written or signed', 'Etruscan']
SELECT DISTINCT ?x WHERE { VALUES ( ?c ) { ( resource:Old_Church_Slavonic ) ( resource:Old_Egyptian ) } . ?x property:languages_spoken,_written_or_signed ?c }
[]
common name
Q1162154 Q1736643 Q723304
SYSTEM
Daniel Polz, Katja Lembke, Gregory Tsamblak
Q15815525 Q1736643 Q1162154 Q650558 Q723304 Q1146725 Q3420417 Q385810 Q3523507 Q21580476 Q21580468 Q2874426 Q21584309 Q21584304 Q21584282 Q21580487 Q3564047
(c(Q502895),P1412,Q447117) (c(Q502895),P1412,Q35499) (c(Q502895),P1412,Q35726)
action union
action filter_type
action find_reverse
entity Q447117
relation P1412
type Q502895
action filter_type
action find_reverse
entity Q35499
relation P1412
type Q502895
action filter_type
action find_reverse
entity Q35726
relation P1412
type Q502895
[ANSWERS] speak Old Egyptian, Old Church Slavonic and Etruscan
[{'concept': 'Q502895'}, 'P1412', 'Q447117'] [{'concept': 'Q502895'}, 'P1412', 'Q35499'] [{'concept': 'Q502895'}, 'P1412', 'Q35726']
SELECT DISTINCT ?x WHERE { VALUES ( ?c ) { ( resource:Q35499 ) ( resource:Q447117 ) } . ?x property:P1412 ?c }
Hi Katja Lembke Daniel Polz John Exarch Gregory Tsamblak Constantine of Preslav Ravnthu Thefrinai Lars Tolumnius Thefarie Velianas Unknown brother of Velthur Spurinna Larth Spurinna Avie Spurinna Laris Partunus Velthur Partunus Lars Pulena Arnth Velcha Velia Spurinna
Daniel Polz, Katja Lembke and Gregory Tsamblak speak Old Egyptian, Old Church Slavonic and Etruscan
Daniel Polz Katja Lembke Gregory Tsamblak
action union
action filter_type
action find_reverse
entity Old Egyptian
relation languages spoken, written or signed
type common name
action filter_type
action find_reverse
entity Old Church Slavonic
relation languages spoken, written or signed
type common name
action filter_type
action find_reverse
entity Etruscan
relation languages spoken, written or signed
type common name
[{'concept': 'common name'}, 'languages spoken, written or signed', 'Old Egyptian'] [{'concept': 'common name'}, 'languages spoken, written or signed', 'Old Church Slavonic'] [{'concept': 'common name'}, 'languages spoken, written or signed', 'Etruscan']
SELECT DISTINCT ?x WHERE { VALUES ( ?c ) { ( resource:Old_Church_Slavonic ) ( resource:Old_Egyptian ) } . ?x property:languages_spoken,_written_or_signed ?c }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1162154 Q1736643 Q723304
P21
Q290
USER
What are the sex of Daniel Polz, Katja Lembke and Gregory Tsamblak ?
(Q1162154,P21,c(Q290)) (Q1736643,P21,c(Q290)) (Q723304,P21,c(Q290))
action union
action filter_type
action find
entity Q1162154
relation P21
type Q290
action filter_type
action find
entity Q1736643
relation P21
type Q290
action filter_type
action find
entity Q723304
relation P21
type Q290
['Q1162154', 'P21', {'concept': 'Q290'}] ['Q1736643', 'P21', {'concept': 'Q290'}] ['Q723304', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { { resource:Q1162154 property:P21 ?m . ?m rdf:type ontology:Q290 } UNION { resource:Q1736643 property:P21 ?m . ?m rdf:type ontology:Q290 } }
Daniel Polz Katja Lembke Gregory Tsamblak
action union
action filter_type
action find
entity Daniel Polz
relation gender
type sex
action filter_type
action find
entity Katja Lembke
relation gender
type sex
action filter_type
action find
entity Gregory Tsamblak
relation gender
type sex
['Daniel Polz', 'gender', {'concept': 'sex'}] ['Katja Lembke', 'gender', {'concept': 'sex'}] ['Gregory Tsamblak', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { { resource:Daniel_Polz property:gender ?m . ?m rdf:type ontology:sex } UNION { resource:Katja_Lembke property:gender ?m . ?m rdf:type ontology:sex } }
[]
sex
Q6581097 Q6581072 Q6581097
SYSTEM
male for 1st, 3rd, female for 2nd
Q6581097 Q6581072 Q6581097
(Q1162154,P21,c(Q290)) (Q1736643,P21,c(Q290)) (Q723304,P21,c(Q290))
action union
action filter_type
action find
entity Q1162154
relation P21
type Q290
action filter_type
action find
entity Q1736643
relation P21
type Q290
action filter_type
action find
entity Q723304
relation P21
type Q290
[ANSWERS]
['Q1162154', 'P21', {'concept': 'Q290'}] ['Q1736643', 'P21', {'concept': 'Q290'}] ['Q723304', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { { resource:Q1162154 property:P21 ?m . ?m rdf:type ontology:Q290 } UNION { resource:Q1736643 property:P21 ?m . ?m rdf:type ontology:Q290 } }
male female male
The sex of Daniel Polz , Katja Lembke and Gregory Tsamblak are the male, female and male
male female male
action union
action filter_type
action find
entity Daniel Polz
relation gender
type sex
action filter_type
action find
entity Katja Lembke
relation gender
type sex
action filter_type
action find
entity Gregory Tsamblak
relation gender
type sex
['Daniel Polz', 'gender', {'concept': 'sex'}] ['Katja Lembke', 'gender', {'concept': 'sex'}] ['Gregory Tsamblak', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { { resource:Daniel_Polz property:gender ?m . ?m rdf:type ontology:sex } UNION { resource:Katja_Lembke property:gender ?m . ?m rdf:type ontology:sex } }
[]