Simple Question (Direct)
Simple Question
Q1385805
P101
Q1047113
USER
Which special field is the area of Naum Akhiezer ?
(Q1385805,P101,c(Q1047113))
action filter_type
action find
entity Q1385805
relation P101
type Q1047113
['Q1385805', 'P101', {'concept': 'Q1047113'}]
SELECT DISTINCT ?i WHERE { resource:Q1385805 property:P101 ?i . ?i rdf:type ontology:Q1047113 }
Naum Akhiezer
action filter_type
action find
entity Naum Akhiezer
relation field of work
type special field
['Naum Akhiezer', 'field of work', {'concept': 'special field'}]
SELECT DISTINCT ?i WHERE { resource:Naum_Akhiezer property:field_of_work ?i . ?i rdf:type ontology:special_field }
[]
special field
Q7754
SYSTEM
mathematical analysis
Q7754
(Q1385805,P101,c(Q1047113))
action filter_type
action find
entity Q1385805
relation P101
type Q1047113
The [ANSWER] is the area of Naum Akhiezer
['Q1385805', 'P101', {'concept': 'Q1047113'}]
SELECT DISTINCT ?i WHERE { resource:Q1385805 property:P101 ?i . ?i rdf:type ontology:Q1047113 }
mathematical analysis
The mathematical analysis is the area of Naum Akhiezer
mathematical analysis
action filter_type
action find
entity Naum Akhiezer
relation field of work
type special field
['Naum Akhiezer', 'field of work', {'concept': 'special field'}]
SELECT DISTINCT ?i WHERE { resource:Naum_Akhiezer property:field_of_work ?i . ?i rdf:type ontology:special_field }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1385805
P19
Q56061
USER
Which administrative territory was that person born in ?
(Q7754,P19,c(Q56061))
action filter_type
action find
entity Q1385805
relation P19
type Q56061
['Q7754', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q1385805 property:P19 ?p . ?p rdf:type ontology:Q56061 }
Naum Akhiezer
action filter_type
action find
entity Naum Akhiezer
relation place of birth
type administrative territorial entity
['mathematical analysis', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Naum_Akhiezer property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q955126
SYSTEM
Cherykaw
Q955126
(Q7754,P19,c(Q56061))
action filter_type
action find
entity Q1385805
relation P19
type Q56061
That person was born in [ANSWER]
['Q7754', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q1385805 property:P19 ?p . ?p rdf:type ontology:Q56061 }
Cherykaw
That person was born in Cherykaw
Cherykaw
action filter_type
action find
entity Naum Akhiezer
relation place of birth
type administrative territorial entity
['mathematical analysis', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Naum_Akhiezer property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q955126 Q604584 Q4828891
P17
Q15617994
USER
Is that administrative territory situated in Suderburg and Avinger Independent School District ?
(Q955126,P17,Q604584) (Q955126,P17,Q4828891)
action is_in
entity Q955126
action intersection
action find_reverse
entity Q604584
relation P17
action find_reverse
entity Q4828891
relation P17
['Q955126', 'P17', 'Q604584'] ['Q955126', 'P17', 'Q4828891']
ASK WHERE { resource:Q955126 property:P17 resource:Q604584 . resource:Q955126 property:P17 resource:Q4828891 }
Cherykaw Suderburg Avinger Independent School District
action is_in
entity Cherykaw
action intersection
action find_reverse
entity Suderburg
relation country
action find_reverse
entity Avinger Independent School District
relation country
['Cherykaw', 'country', 'Suderburg'] ['Cherykaw', 'country', 'Avinger Independent School District']
ASK WHERE { resource:Cherykaw property:country resource:Suderburg . resource:Cherykaw property:country resource:Avinger_Independent_School_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q955126,P17,Q604584) (Q955126,P17,Q4828891)
action is_in
entity Q955126
action intersection
action find_reverse
entity Q604584
relation P17
action find_reverse
entity Q4828891
relation P17
[ANSWER]
['Q955126', 'P17', 'Q604584'] ['Q955126', 'P17', 'Q4828891']
ASK WHERE { resource:Q955126 property:P17 resource:Q604584 . resource:Q955126 property:P17 resource:Q4828891 }
No
action is_in
entity Cherykaw
action intersection
action find_reverse
entity Suderburg
relation country
action find_reverse
entity Avinger Independent School District
relation country
['Cherykaw', 'country', 'Suderburg'] ['Cherykaw', 'country', 'Avinger Independent School District']
ASK WHERE { resource:Cherykaw property:country resource:Suderburg . resource:Cherykaw property:country resource:Avinger_Independent_School_District }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1385805 Q10782844 Q42308
P20
Q56061
USER
Did Naum Akhiezer expire at Kuyulutatlar and Kharkiv ?
(Q1385805,P20,Q10782844) (Q1385805,P20,Q42308)
action is_in
entity Q1385805
action intersection
action find_reverse
entity Q10782844
relation P20
action find_reverse
entity Q42308
relation P20
['Q1385805', 'P20', 'Q10782844'] ['Q1385805', 'P20', 'Q42308']
ASK WHERE { resource:Q1385805 property:P20 resource:Q10782844 . resource:Q1385805 property:P20 resource:Q42308 }
Naum Akhiezer Kuyulutatlar Kharkiv
action is_in
entity Naum Akhiezer
action intersection
action find_reverse
entity Kuyulutatlar
relation place of death
action find_reverse
entity Kharkiv
relation place of death
['Naum Akhiezer', 'place of death', 'Kuyulutatlar'] ['Naum Akhiezer', 'place of death', 'Kharkiv']
ASK WHERE { resource:Naum_Akhiezer property:place_of_death resource:Kuyulutatlar . resource:Naum_Akhiezer property:place_of_death resource:Kharkiv }
[]
administrative territorial entity
SYSTEM
NO and YES respectively
(Q1385805,P20,Q10782844) (Q1385805,P20,Q42308)
action is_in
entity Q1385805
action intersection
action find_reverse
entity Q10782844
relation P20
action find_reverse
entity Q42308
relation P20
[ANSWER]
['Q1385805', 'P20', 'Q10782844'] ['Q1385805', 'P20', 'Q42308']
ASK WHERE { resource:Q1385805 property:P20 resource:Q10782844 . resource:Q1385805 property:P20 resource:Q42308 }
NO and YES respectively
action is_in
entity Naum Akhiezer
action intersection
action find_reverse
entity Kuyulutatlar
relation place of death
action find_reverse
entity Kharkiv
relation place of death
['Naum Akhiezer', 'place of death', 'Kuyulutatlar'] ['Naum Akhiezer', 'place of death', 'Kharkiv']
ASK WHERE { resource:Naum_Akhiezer property:place_of_death resource:Kuyulutatlar . resource:Naum_Akhiezer property:place_of_death resource:Kharkiv }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1385805
P184
Q502895
USER
Who has Naum Akhiezer as doctor advisor ?
(c(Q502895),P184,Q1385805)
action filter_type
action find_reverse
entity Q1385805
relation P184
type Q502895
[{'concept': 'Q502895'}, 'P184', 'Q1385805']
SELECT DISTINCT ?h WHERE { ?h property:P184 resource:Q1385805 . ?h rdf:type ontology:Q502895 }
Naum Akhiezer
action filter_type
action find_reverse
entity Naum Akhiezer
relation doctoral advisor
type common name
[{'concept': 'common name'}, 'doctoral advisor', 'Naum Akhiezer']
SELECT DISTINCT ?h WHERE { ?h property:doctoral_advisor resource:Naum_Akhiezer . ?h rdf:type ontology:common_name }
[]
common name
Q893728
SYSTEM
Boris Levitan
Q893728
(c(Q502895),P184,Q1385805)
action filter_type
action find_reverse
entity Q1385805
relation P184
type Q502895
[ANSWER] has Naum Akhiezer as doctor advisor
[{'concept': 'Q502895'}, 'P184', 'Q1385805']
SELECT DISTINCT ?h WHERE { ?h property:P184 resource:Q1385805 . ?h rdf:type ontology:Q502895 }
Boris Levitan
Boris Levitan has Naum Akhiezer as doctor advisor
Boris Levitan
action filter_type
action find_reverse
entity Naum Akhiezer
relation doctoral advisor
type common name
[{'concept': 'common name'}, 'doctoral advisor', 'Naum Akhiezer']
SELECT DISTINCT ?h WHERE { ?h property:doctoral_advisor resource:Naum_Akhiezer . ?h rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1385805
P138
Q11563
USER
Which number has Naum Akhiezer as its namesake ?
(c(Q11563),P138,Q1385805)
action filter_type
action find_reverse
entity Q1385805
relation P138
type Q11563
[{'concept': 'Q11563'}, 'P138', 'Q1385805']
SELECT DISTINCT ?p WHERE { ?p property:P138 resource:Q1385805 . ?p rdf:type ontology:Q11563 }
Naum Akhiezer
action filter_type
action find_reverse
entity Naum Akhiezer
relation named after
type number
[{'concept': 'number'}, 'named after', 'Naum Akhiezer']
SELECT DISTINCT ?p WHERE { ?p property:named_after resource:Naum_Akhiezer . ?p rdf:type ontology:number }
[]
number
Q5438429
SYSTEM
Favard constant
Q5438429
(c(Q11563),P138,Q1385805)
action filter_type
action find_reverse
entity Q1385805
relation P138
type Q11563
[ANSWER] has Naum Akhiezer as its namesake
[{'concept': 'Q11563'}, 'P138', 'Q1385805']
SELECT DISTINCT ?p WHERE { ?p property:P138 resource:Q1385805 . ?p rdf:type ontology:Q11563 }
Favard constant
Favard constant has Naum Akhiezer as its namesake
Favard constant
action filter_type
action find_reverse
entity Naum Akhiezer
relation named after
type number
[{'concept': 'number'}, 'named after', 'Naum Akhiezer']
SELECT DISTINCT ?p WHERE { ?p property:named_after resource:Naum_Akhiezer . ?p rdf:type ontology:number }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can max number of people perform with ?
(c(Q502895),P1303,Q3623688)
action argmax
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?b ) { SELECT DISTINCT ?t ( COUNT ( ?m ) AS ?z ) WHERE { ?t rdf:type ontology:Q34379 . ?m rdf:type ontology:Q502895 . ?m property:P1303 ?t } GROUP BY ?t } } . { SELECT DISTINCT ?a ( COUNT ( ?g ) AS ?r ) WHERE { ?g property:P1303 ?a . ?a rdf:type ontology:Q34379 . ?g rdf:type ontology:Q502895 } GROUP BY ?a } . FILTER ( ?r = ?b ) }
action argmax
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?b ) { SELECT DISTINCT ?t ( COUNT ( ?m ) AS ?z ) WHERE { ?t rdf:type ontology:musical_instrument . ?m rdf:type ontology:common_name . ?m property:instrument ?t } GROUP BY ?t } } . { SELECT DISTINCT ?a ( COUNT ( ?g ) AS ?r ) WHERE { ?g property:instrument ?a . ?a rdf:type ontology:musical_instrument . ?g rdf:type ontology:common_name } GROUP BY ?a } . FILTER ( ?r = ?b ) }
[]
musical instrument common name
Q5994
SYSTEM
piano
Q5994
(c(Q502895),P1303,Q3623688)
action argmax
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
Max number of people can perform on [ANSWER]
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?b ) { SELECT DISTINCT ?t ( COUNT ( ?m ) AS ?z ) WHERE { ?t rdf:type ontology:Q34379 . ?m rdf:type ontology:Q502895 . ?m property:P1303 ?t } GROUP BY ?t } } . { SELECT DISTINCT ?a ( COUNT ( ?g ) AS ?r ) WHERE { ?g property:P1303 ?a . ?a rdf:type ontology:Q34379 . ?g rdf:type ontology:Q502895 } GROUP BY ?a } . FILTER ( ?r = ?b ) }
piano
Max number of people can perform on piano
piano
action argmax
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?b ) { SELECT DISTINCT ?t ( COUNT ( ?m ) AS ?z ) WHERE { ?t rdf:type ontology:musical_instrument . ?m rdf:type ontology:common_name . ?m property:instrument ?t } GROUP BY ?t } } . { SELECT DISTINCT ?a ( COUNT ( ?g ) AS ?r ) WHERE { ?g property:instrument ?a . ?a rdf:type ontology:musical_instrument . ?g rdf:type ontology:common_name } GROUP BY ?a } . FILTER ( ?r = ?b ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q893728
P1066
Q502895
USER
How many people are a pupil of Boris Levitan ?
(c(Q502895),P1066,Q893728)
action count
action filter_type
action find_reverse
entity Q893728
relation P1066
type Q502895
[{'concept': 'Q502895'}, 'P1066', 'Q893728']
SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { ?s rdf:type ontology:Q502895 . ?s property:P1066 resource:Q893728 }
Boris Levitan
action count
action filter_type
action find_reverse
entity Boris Levitan
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'Boris Levitan']
SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { ?s rdf:type ontology:common_name . ?s property:student_of resource:Boris_Levitan }
[]
common name
SYSTEM
2
Q4339498 Q2585814
(c(Q502895),P1066,Q893728)
action count
action filter_type
action find_reverse
entity Q893728
relation P1066
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1066', 'Q893728']
SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { ?s rdf:type ontology:Q502895 . ?s property:P1066 resource:Q893728 }
Mukhtarbay Otelbayev Grigory Barenblatt
2
action count
action filter_type
action find_reverse
entity Boris Levitan
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'Boris Levitan']
SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { ?s rdf:type ontology:common_name . ?s property:student_of resource:Boris_Levitan }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q1823348
P1066
Q502895
USER
And also tell me about Lichtenberg?
(c(Q502895),P1066,Q1823348)
action count
action filter_type
action find_reverse
entity Q1823348
relation P1066
type Q502895
[{'concept': 'Q502895'}, 'P1066', 'Q1823348']
SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { ?s property:P1066 resource:Q1823348 . ?s rdf:type ontology:Q502895 }
Lichtenberg
action count
action filter_type
action find_reverse
entity Lichtenberg
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'Lichtenberg']
SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { ?s property:student_of resource:Lichtenberg . ?s rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q75503
(c(Q502895),P1066,Q1823348)
action count
action filter_type
action find_reverse
entity Q1823348
relation P1066
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1066', 'Q1823348']
SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { ?s property:P1066 resource:Q1823348 . ?s rdf:type ontology:Q502895 }
Moritz Schiff
1
action count
action filter_type
action find_reverse
entity Lichtenberg
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'Lichtenberg']
SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { ?s property:student_of resource:Lichtenberg . ?s rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5994
P921
Q2342494
USER
Which collectable was primarily based on piano ?
(c(Q2342494),P921,Q5994)
action filter_type
action find_reverse
entity Q5994
relation P921
type Q2342494
[{'concept': 'Q2342494'}, 'P921', 'Q5994']
SELECT DISTINCT ?a WHERE { ?a property:P921 resource:Q5994 . ?a rdf:type ontology:Q2342494 }
piano
action filter_type
action find_reverse
entity piano
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'piano']
SELECT DISTINCT ?a WHERE { ?a property:main_subject resource:piano . ?a rdf:type ontology:collectable }
[]
collectable
Q25909280
SYSTEM
The Piano: An Encyclopedia
Q25909280
(c(Q2342494),P921,Q5994)
action filter_type
action find_reverse
entity Q5994
relation P921
type Q2342494
[ANSWER] was primarily based on piano
[{'concept': 'Q2342494'}, 'P921', 'Q5994']
SELECT DISTINCT ?a WHERE { ?a property:P921 resource:Q5994 . ?a rdf:type ontology:Q2342494 }
The Piano: An Encyclopedia
The Piano: An Encyclopedia was primarily based on piano
The Piano: An Encyclopedia
action filter_type
action find_reverse
entity piano
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'piano']
SELECT DISTINCT ?a WHERE { ?a property:main_subject resource:piano . ?a rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q25909280
P136
Q1792379
USER
What can be considered as category for that collectable ?
(Q25909280,P136,c(Q1792379))
action filter_type
action find
entity Q25909280
relation P136
type Q1792379
['Q25909280', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?h WHERE { resource:Q25909280 property:P136 ?h . ?h rdf:type ontology:Q1792379 }
The Piano: An Encyclopedia
action filter_type
action find
entity The Piano: An Encyclopedia
relation genre
type art genre
['The Piano: An Encyclopedia', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?h WHERE { resource:The_Piano:_An_Encyclopedia property:genre ?h . ?h rdf:type ontology:art_genre }
[]
art genre
Q5292
SYSTEM
encyclopedia
Q5292
(Q25909280,P136,c(Q1792379))
action filter_type
action find
entity Q25909280
relation P136
type Q1792379
[ANSWER] can be considered as category for that collectable
['Q25909280', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?h WHERE { resource:Q25909280 property:P136 ?h . ?h rdf:type ontology:Q1792379 }
encyclopedia
Encyclopedia can be considered as category for that collectable
encyclopedia
action filter_type
action find
entity The Piano: An Encyclopedia
relation genre
type art genre
['The Piano: An Encyclopedia', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?h WHERE { resource:The_Piano:_An_Encyclopedia property:genre ?h . ?h rdf:type ontology:art_genre }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q1914636 Q11862829 Q1047113
USER
How many special fields are parts of around 1 activities and academic disciplines ?
(c(Q1047113),P361,c(Q1914636)|c(Q11862829))
action count
action approx
action union
action find_tuple_counts
relation P361
type Q1047113
type Q1914636
action find_tuple_counts
relation P361
type Q1047113
type Q11862829
value 1
[{'concept': 'Q1047113'}, 'P361', [{'concept': 'Q1914636'}, {'concept': 'Q11862829'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { FILTER ( ?b = 1 ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) ?j WHERE { { ?j property:P361 ?k . ?k rdf:type ontology:Q1914636 . ?j rdf:type ontology:Q1047113 } UNION { ?j property:P361 ?k . ?k rdf:type ontology:Q11862829 . ?j rdf:type ontology:Q1047113 } } GROUP BY ?j } }
action count
action approx
action union
action find_tuple_counts
relation part of
type special field
type activity
action find_tuple_counts
relation part of
type special field
type academic discipline
value 1
[{'concept': 'special field'}, 'part of', [{'concept': 'activity'}, {'concept': 'academic discipline'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { FILTER ( ?b = 1 ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) ?j WHERE { { ?j property:part_of ?k . ?k rdf:type ontology:activity . ?j rdf:type ontology:special_field } UNION { ?j property:part_of ?k . ?k rdf:type ontology:academic_discipline . ?j rdf:type ontology:special_field } } GROUP BY ?j } }
[]
activity academic discipline special field
SYSTEM
13
Q208217 Q2116549 Q213891 Q34178 Q623100 Q501778 Q1049976 Q102904 Q9053037 Q35395 Q1601482 Q164204 Q39645
(c(Q1047113),P361,c(Q1914636)|c(Q11862829))
action count
action approx
action union
action find_tuple_counts
relation P361
type Q1047113
type Q1914636
action find_tuple_counts
relation P361
type Q1047113
type Q11862829
value 1
[ANSWER]
[{'concept': 'Q1047113'}, 'P361', [{'concept': 'Q1914636'}, {'concept': 'Q11862829'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { FILTER ( ?b = 1 ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) ?j WHERE { { ?j property:P361 ?k . ?k rdf:type ontology:Q1914636 . ?j rdf:type ontology:Q1047113 } UNION { ?j property:P361 ?k . ?k rdf:type ontology:Q11862829 . ?j rdf:type ontology:Q1047113 } } GROUP BY ?j } }
literary science science of journalism geochronology theology business engineering translation studies transplantology volcanology spatial planning phonetics anthropology of Religion musicology semantics
13
action count
action approx
action union
action find_tuple_counts
relation part of
type special field
type activity
action find_tuple_counts
relation part of
type special field
type academic discipline
value 1
[{'concept': 'special field'}, 'part of', [{'concept': 'activity'}, {'concept': 'academic discipline'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { FILTER ( ?b = 1 ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) ?j WHERE { { ?j property:part_of ?k . ?k rdf:type ontology:activity . ?j rdf:type ontology:special_field } UNION { ?j property:part_of ?k . ?k rdf:type ontology:academic_discipline . ?j rdf:type ontology:special_field } } GROUP BY ?j } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q12656668 Q4828891
P17
Q15617994
USER
Which administrative territories do Avinger Independent School District or Ilgelis belong to ?
OR((Q4828891,P17,c(Q15617994)), (Q12656668,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q4828891
relation P17
action find
entity Q12656668
relation P17
type Q15617994
{'OR': [['Q4828891', 'P17', {'concept': 'Q15617994'}], ['Q12656668', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { { ?f property:P17 ?l . VALUES ( ?f ) { ( resource:Q4828891 ) ( resource:Q12656668 ) } } . ?l rdf:type ontology:Q15617994 }
Ilgelis Avinger Independent School District
action filter_type
action union
action find
entity Avinger Independent School District
relation country
action find
entity Ilgelis
relation country
type designation for an administrative territorial entity
{'OR': [['Avinger Independent School District', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Ilgelis', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { ?f property:country ?l . VALUES ( ?f ) { ( resource:Avinger_Independent_School_District ) ( resource:Ilgelis ) } } . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q37
SYSTEM
United States of America, Lithuania
Q30 Q37
OR((Q4828891,P17,c(Q15617994)), (Q12656668,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q4828891
relation P17
action find
entity Q12656668
relation P17
type Q15617994
Avinger Independent School District or Ilgelis belong to the [ANSWERS]
{'OR': [['Q4828891', 'P17', {'concept': 'Q15617994'}], ['Q12656668', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { { ?f property:P17 ?l . VALUES ( ?f ) { ( resource:Q4828891 ) ( resource:Q12656668 ) } } . ?l rdf:type ontology:Q15617994 }
United States of America Lithuania
Avinger Independent School District or Ilgelis belong to the United States of America and Lithuania
United States of America Lithuania
action filter_type
action union
action find
entity Avinger Independent School District
relation country
action find
entity Ilgelis
relation country
type designation for an administrative territorial entity
{'OR': [['Avinger Independent School District', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Ilgelis', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { ?f property:country ?l . VALUES ( ?f ) { ( resource:Avinger_Independent_School_District ) ( resource:Ilgelis ) } } . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3659274 Q1385805
P19 P20
Q56061
USER
Which administrative territories did the demise of Naum Akhiezer occur or are the birthplace of Carlo Di Cristofaro ?
OR((Q1385805,P20,c(Q56061)), (Q3659274,P19,c(Q56061)))
action filter_type
action union
action find
entity Q1385805
relation P20
action find
entity Q3659274
relation P19
type Q56061
{'OR': [['Q1385805', 'P20', {'concept': 'Q56061'}], ['Q3659274', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q3659274 property:P19 ?o } UNION { resource:Q1385805 property:P20 ?o } } . ?o rdf:type ontology:Q56061 }
Carlo Di Cristofaro Naum Akhiezer
action filter_type
action union
action find
entity Naum Akhiezer
relation place of death
action find
entity Carlo Di Cristofaro
relation place of birth
type administrative territorial entity
{'OR': [['Naum Akhiezer', 'place of death', {'concept': 'administrative territorial entity'}], ['Carlo Di Cristofaro', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Carlo_Di_Cristofaro property:place_of_birth ?o } UNION { resource:Naum_Akhiezer property:place_of_death ?o } } . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q42308 Q51443
SYSTEM
Kharkiv, Colonnella
Q42308 Q51443
OR((Q1385805,P20,c(Q56061)), (Q3659274,P19,c(Q56061)))
action filter_type
action union
action find
entity Q1385805
relation P20
action find
entity Q3659274
relation P19
type Q56061
[ANSWERS] the demise of Naum Akhiezer occurred or are the birthplace of Carlo Di Cristofaro
{'OR': [['Q1385805', 'P20', {'concept': 'Q56061'}], ['Q3659274', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q3659274 property:P19 ?o } UNION { resource:Q1385805 property:P20 ?o } } . ?o rdf:type ontology:Q56061 }
Kharkiv Colonnella
Kharkiv and Colonnella the demise of Naum Akhiezer occurred or are the birthplace of Carlo Di Cristofaro
Kharkiv Colonnella
action filter_type
action union
action find
entity Naum Akhiezer
relation place of death
action find
entity Carlo Di Cristofaro
relation place of birth
type administrative territorial entity
{'OR': [['Naum Akhiezer', 'place of death', {'concept': 'administrative territorial entity'}], ['Carlo Di Cristofaro', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Carlo_Di_Cristofaro property:place_of_birth ?o } UNION { resource:Naum_Akhiezer property:place_of_death ?o } } . ?o rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q30
P6
Q502895
USER
How many people have United States of America as their heads of government ?
(Q30,P6,c(Q502895))
action count
action filter_type
action find
entity Q30
relation P6
type Q502895
['Q30', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { resource:Q30 property:P6 ?r . ?r rdf:type ontology:Q502895 }
United States of America
action count
action filter_type
action find
entity United States of America
relation head of government
type common name
['United States of America', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { resource:United_States_of_America property:head_of_government ?r . ?r rdf:type ontology:common_name }
[]
common name
SYSTEM
44
Q35171 Q11815 Q11816 Q11817 Q35498 Q11812 Q12306 Q91 Q12325 Q33866 Q35648 Q9588 Q9582 Q11869 Q207 Q11813 Q35236 Q23685 Q9696 Q22686 Q34597 Q36023 Q11881 Q9916 Q12312 Q11806 Q35286 Q9640 Q35686 Q11820 Q35678 Q35041 Q34296 Q76 Q8612 Q34836 Q23505 Q23 Q1124 Q11613 Q11896 Q8007 Q9960 Q11891
(Q30,P6,c(Q502895))
action count
action filter_type
action find
entity Q30
relation P6
type Q502895
[ANSWER]
['Q30', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { resource:Q30 property:P6 ?r . ?r rdf:type ontology:Q502895 }
Grover Cleveland James Monroe John Quincy Adams Andrew Jackson Chester A. Arthur Thomas Jefferson Millard Fillmore Abraham Lincoln James Buchanan Theodore Roosevelt William Howard Taft Richard Nixon Gerald Ford William Henry Harrison George W. Bush James Madison Herbert Hoover Jimmy Carter John F. Kennedy Donald Trump James A. Garfield Calvin Coolidge John Tyler Dwight D. Eisenhower Franklin Pierce John Adams Warren G. Harding Lyndon B. Johnson Rutherford B. Hayes Martin Van Buren Benjamin Harrison William McKinley Woodrow Wilson Barack Obama Andrew Johnson Ulysses S. Grant George H. W. Bush George Washington Bill Clinton Harry S. Truman Zachary Taylor Franklin Delano Roosevelt Ronald Reagan James K. Polk
44
action count
action filter_type
action find
entity United States of America
relation head of government
type common name
['United States of America', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { resource:United_States_of_America property:head_of_government ?r . ?r rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q746497
P6
Q502895
USER
And also tell me about Vlad Țepeș?
(Q746497,P6,c(Q502895))
action count
action filter_type
action find
entity Q746497
relation P6
type Q502895
['Q746497', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { resource:Q746497 property:P6 ?r . ?r rdf:type ontology:Q502895 }
Vlad Țepeș
action count
action filter_type
action find
entity Vlad Țepeș
relation head of government
type common name
['Vlad Țepeș', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { resource:Vlad_Țepeș property:head_of_government ?r . ?r rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q23930785
(Q746497,P6,c(Q502895))
action count
action filter_type
action find
entity Q746497
relation P6
type Q502895
[ANSWER]
['Q746497', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { resource:Q746497 property:P6 ?r . ?r rdf:type ontology:Q502895 }
Mihalache Constantin
1
action count
action filter_type
action find
entity Vlad Țepeș
relation head of government
type common name
['Vlad Țepeș', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { resource:Vlad_Țepeș property:head_of_government ?r . ?r rdf:type ontology:common_name }
[]