Simple Question (Direct)
Simple Question
Q86355
P1412
Q34770
USER
Which language does Heinrich von Cocceji speak in ?
(Q86355,P1412,c(Q34770))
action filter_type
action find
entity Q86355
relation P1412
type Q34770
['Q86355', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?c WHERE { resource:Q86355 property:P1412 ?c . ?c rdf:type ontology:Q34770 }
Heinrich von Cocceji
action filter_type
action find
entity Heinrich von Cocceji
relation languages spoken, written or signed
type language
['Heinrich von Cocceji', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?c WHERE { resource:Heinrich_von_Cocceji property:languages_spoken,_written_or_signed ?c . ?c rdf:type ontology:language }
[]
language
Q397
SYSTEM
Latin
Q397
(Q86355,P1412,c(Q34770))
action filter_type
action find
entity Q86355
relation P1412
type Q34770
Heinrich von Cocceji speaks in [ANSWER]
['Q86355', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?c WHERE { resource:Q86355 property:P1412 ?c . ?c rdf:type ontology:Q34770 }
Latin
Heinrich von Cocceji speaks in Latin
Latin
action filter_type
action find
entity Heinrich von Cocceji
relation languages spoken, written or signed
type language
['Heinrich von Cocceji', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?c WHERE { resource:Heinrich_von_Cocceji property:languages_spoken,_written_or_signed ?c . ?c rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q86355
P21
Q290
USER
Which sex does that person possess ?
(Q397,P21,c(Q290))
action filter_type
action find
entity Q86355
relation P21
type Q290
['Q397', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q86355 property:P21 ?z . ?z rdf:type ontology:Q290 }
Heinrich von Cocceji
action filter_type
action find
entity Heinrich von Cocceji
relation gender
type sex
['Latin', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Heinrich_von_Cocceji property:gender ?z . ?z rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q397,P21,c(Q290))
action filter_type
action find
entity Q86355
relation P21
type Q290
That person possesses a [ANSWER]
['Q397', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q86355 property:P21 ?z . ?z rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Heinrich von Cocceji
relation gender
type sex
['Latin', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Heinrich_von_Cocceji property:gender ?z . ?z rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q15997973 Q86355
P21
Q290
USER
And also Lai Pak-hoi
AND((Q86355,P21,c(Q290)), (Q15997973,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q86355
relation P21
action find
entity Q15997973
relation P21
type Q290
{'AND': [['Q86355', 'P21', {'concept': 'Q290'}], ['Q15997973', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?m WHERE { resource:Q86355 property:P21 ?m . resource:Q15997973 property:P21 ?m . ?m rdf:type ontology:Q290 }
Lai Pak-hoi Heinrich von Cocceji
action filter_type
action intersection
action find
entity Heinrich von Cocceji
relation gender
action find
entity Lai Pak-hoi
relation gender
type sex
{'AND': [['Heinrich von Cocceji', 'gender', {'concept': 'sex'}], ['Lai Pak-hoi', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?m WHERE { resource:Heinrich_von_Cocceji property:gender ?m . resource:Lai_Pak-hoi property:gender ?m . ?m rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
AND((Q86355,P21,c(Q290)), (Q15997973,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q86355
relation P21
action find
entity Q15997973
relation P21
type Q290
[ANSWER]
{'AND': [['Q86355', 'P21', {'concept': 'Q290'}], ['Q15997973', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?m WHERE { resource:Q86355 property:P21 ?m . resource:Q15997973 property:P21 ?m . ?m rdf:type ontology:Q290 }
male
male
action filter_type
action intersection
action find
entity Heinrich von Cocceji
relation gender
action find
entity Lai Pak-hoi
relation gender
type sex
{'AND': [['Heinrich von Cocceji', 'gender', {'concept': 'sex'}], ['Lai Pak-hoi', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?m WHERE { resource:Heinrich_von_Cocceji property:gender ?m . resource:Lai_Pak-hoi property:gender ?m . ?m rdf:type ontology:sex }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1669994
P282
Q2001982 Q9779 Q34770
USER
How many languages use more number of notations or alphabets as the writing system than Minoan language ?
(c(Q34770),P282,c(Q2001982)|c(Q9779))
action count
action greater
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q9779
action count
action filter_multi_types
action find
entity Q1669994
relation P282
type Q2001982
type Q9779
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) ?r WHERE { VALUES ( ?w ) { ( ontology:Q2001982 ) ( ontology:Q9779 ) } . ?t rdf:type ?w } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { resource:Q1669994 property:P282 ?h . { { ?h rdf:type ontology:Q2001982 } UNION { ?h rdf:type ontology:Q9779 } } } } . FILTER ( ?f > ?s ) }
Minoan language
action count
action greater
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type alphabet
action count
action filter_multi_types
action find
entity Minoan language
relation writing system
type notation
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) ?r WHERE { VALUES ( ?w ) { ( ontology:notation ) ( ontology:alphabet ) } . ?t rdf:type ?w } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { resource:Minoan_language property:writing_system ?h . { { ?h rdf:type ontology:notation } UNION { ?h rdf:type ontology:alphabet } } } } . FILTER ( ?f > ?s ) }
[]
notation alphabet language
SYSTEM
15
Q182695 Q29572 Q35470 Q13211 Q35499 Q33251 Q21161942 Q1639124 Q2705672 Q36795 Q20972034 Q36790 Q36751 Q36464 Q652
(c(Q34770),P282,c(Q2001982)|c(Q9779))
action count
action greater
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q9779
action count
action filter_multi_types
action find
entity Q1669994
relation P282
type Q2001982
type Q9779
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) ?r WHERE { VALUES ( ?w ) { ( ontology:Q2001982 ) ( ontology:Q9779 ) } . ?t rdf:type ?w } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { resource:Q1669994 property:P282 ?h . { { ?h rdf:type ontology:Q2001982 } UNION { ?h rdf:type ontology:Q9779 } } } } . FILTER ( ?f > ?s ) }
Late Old Japanese Avestan Elamite language Ruthenian Old Church Slavonic Church Slavonic Serbian written in Cyrillic Slavoserbian Paeonian language Tartessian Classic Greek Sumerian Phrygian language Nivkh language Italian
15
action count
action greater
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type alphabet
action count
action filter_multi_types
action find
entity Minoan language
relation writing system
type notation
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) ?r WHERE { VALUES ( ?w ) { ( ontology:notation ) ( ontology:alphabet ) } . ?t rdf:type ?w } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { resource:Minoan_language property:writing_system ?h . { { ?h rdf:type ontology:notation } UNION { ?h rdf:type ontology:alphabet } } } } . FILTER ( ?f > ?s ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q86355
P19
Q486972
USER
How many human settlements were Heinrich von Cocceji born in ?
(Q86355,P19,c(Q486972))
action count
action filter_type
action find
entity Q86355
relation P19
type Q486972
['Q86355', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { resource:Q86355 property:P19 ?y . ?y rdf:type ontology:Q486972 }
Heinrich von Cocceji
action count
action filter_type
action find
entity Heinrich von Cocceji
relation place of birth
type human settlement
['Heinrich von Cocceji', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { resource:Heinrich_von_Cocceji property:place_of_birth ?y . ?y rdf:type ontology:human_settlement }
[]
human settlement
SYSTEM
1
Q24879
(Q86355,P19,c(Q486972))
action count
action filter_type
action find
entity Q86355
relation P19
type Q486972
[ANSWER]
['Q86355', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { resource:Q86355 property:P19 ?y . ?y rdf:type ontology:Q486972 }
Bremen
1
action count
action filter_type
action find
entity Heinrich von Cocceji
relation place of birth
type human settlement
['Heinrich von Cocceji', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { resource:Heinrich_von_Cocceji property:place_of_birth ?y . ?y rdf:type ontology:human_settlement }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q86355
P22
Q502895
USER
Which person has that one as a parent ?
action filter_type
action find_reverse
entity Q86355
relation P22
type Q502895
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . ?e property:P22 resource:Q86355 }
Heinrich von Cocceji
action filter_type
action find_reverse
entity Heinrich von Cocceji
relation father
type common name
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . ?e property:father resource:Heinrich_von_Cocceji }
[]
common name
Q63573
SYSTEM
Samuel von Cocceji
Q63573
action filter_type
action find_reverse
entity Q86355
relation P22
type Q502895
[ANSWER] has that one as a parent
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . ?e property:P22 resource:Q86355 }
Samuel von Cocceji
Samuel von Cocceji has that one as a parent
Samuel von Cocceji
action filter_type
action find_reverse
entity Heinrich von Cocceji
relation father
type common name
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . ?e property:father resource:Heinrich_von_Cocceji }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q86355
P20
Q515
USER
Which city is the place of death of Heinrich von Cocceji ?
(Q86355,P20,c(Q515))
action filter_type
action find
entity Q86355
relation P20
type Q515
['Q86355', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q515 . resource:Q86355 property:P20 ?m }
Heinrich von Cocceji
action filter_type
action find
entity Heinrich von Cocceji
relation place of death
type city
['Heinrich von Cocceji', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:city . resource:Heinrich_von_Cocceji property:place_of_death ?m }
[]
city
Q4024
SYSTEM
Frankfurt (Oder)
Q4024
(Q86355,P20,c(Q515))
action filter_type
action find
entity Q86355
relation P20
type Q515
[ANSWER] is the place of death of Heinrich von Cocceji
['Q86355', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q515 . resource:Q86355 property:P20 ?m }
Frankfurt (Oder)
Frankfurt (Oder) is the place of death of Heinrich von Cocceji
Frankfurt (Oder)
action filter_type
action find
entity Heinrich von Cocceji
relation place of death
type city
['Heinrich von Cocceji', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:city . resource:Heinrich_von_Cocceji property:place_of_death ?m }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4024
P276
Q1190554
USER
What is situated at that city ?
(c(Q1190554),P276,Q4024)
action filter_type
action find_reverse
entity Q4024
relation P276
type Q1190554
[{'concept': 'Q1190554'}, 'P276', 'Q4024']
SELECT DISTINCT ?q WHERE { ?q property:P276 resource:Q4024 . ?q rdf:type ontology:Q1190554 }
Frankfurt (Oder)
action filter_type
action find_reverse
entity Frankfurt (Oder)
relation location
type event
[{'concept': 'event'}, 'location', 'Frankfurt (Oder)']
SELECT DISTINCT ?q WHERE { ?q property:location resource:Frankfurt_(Oder) . ?q rdf:type ontology:event }
[]
event
Q3636439
SYSTEM
Battle of Frankfurt an der Oder
Q3636439
(c(Q1190554),P276,Q4024)
action filter_type
action find_reverse
entity Q4024
relation P276
type Q1190554
[ANSWER] is situated at that city
[{'concept': 'Q1190554'}, 'P276', 'Q4024']
SELECT DISTINCT ?q WHERE { ?q property:P276 resource:Q4024 . ?q rdf:type ontology:Q1190554 }
Battle of Frankfurt an der Oder
Battle of Frankfurt an der Oder is situated at that city
Battle of Frankfurt an der Oder
action filter_type
action find_reverse
entity Frankfurt (Oder)
relation location
type event
[{'concept': 'event'}, 'location', 'Frankfurt (Oder)']
SELECT DISTINCT ?q WHERE { ?q property:location resource:Frankfurt_(Oder) . ?q rdf:type ontology:event }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4024
P6
Q502895
USER
Which people have that city as their heads of government ?
(Q3636439,P6,c(Q502895))
action filter_type
action find
entity Q4024
relation P6
type Q502895
['Q3636439', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q4024 property:P6 ?s . ?s rdf:type ontology:Q502895 }
Frankfurt (Oder)
action filter_type
action find
entity Frankfurt (Oder)
relation head of government
type common name
['Battle of Frankfurt an der Oder', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Frankfurt_(Oder) property:head_of_government ?s . ?s rdf:type ontology:common_name }
[]
common name
Q118115 Q2590885 Q1905261
SYSTEM
Martin Patzelt, Wolfgang Pohl, Martin Wilke
Q118115 Q2590885 Q1905261
(Q3636439,P6,c(Q502895))
action filter_type
action find
entity Q4024
relation P6
type Q502895
[ANSWERS] have that city as their heads of government
['Q3636439', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q4024 property:P6 ?s . ?s rdf:type ontology:Q502895 }
Martin Patzelt Wolfgang Pohl Martin Wilke
Martin Patzelt, Wolfgang Pohl and Martin Wilke have that city as their heads of government
Martin Patzelt Wolfgang Pohl Martin Wilke
action filter_type
action find
entity Frankfurt (Oder)
relation head of government
type common name
['Battle of Frankfurt an der Oder', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Frankfurt_(Oder) property:head_of_government ?s . ?s rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4024
P159
Q43229
USER
Which organization has its HQ location at Frankfurt (Oder) ?
(c(Q43229),P159,Q4024)
action filter_type
action find_reverse
entity Q4024
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q4024']
SELECT DISTINCT ?s WHERE { ?s property:P159 resource:Q4024 . ?s rdf:type ontology:Q43229 }
Frankfurt (Oder)
action filter_type
action find_reverse
entity Frankfurt (Oder)
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Frankfurt (Oder)']
SELECT DISTINCT ?s WHERE { ?s property:headquarters_location resource:Frankfurt_(Oder) . ?s rdf:type ontology:organization }
[]
organization
Q7077689
SYSTEM
Odersun
Q7077689
(c(Q43229),P159,Q4024)
action filter_type
action find_reverse
entity Q4024
relation P159
type Q43229
[ANSWER] has its HQ location at Frankfurt (Oder)
[{'concept': 'Q43229'}, 'P159', 'Q4024']
SELECT DISTINCT ?s WHERE { ?s property:P159 resource:Q4024 . ?s rdf:type ontology:Q43229 }
Odersun
Odersun has its HQ location at Frankfurt (Oder)
Odersun
action filter_type
action find_reverse
entity Frankfurt (Oder)
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Frankfurt (Oder)']
SELECT DISTINCT ?s WHERE { ?s property:headquarters_location resource:Frankfurt_(Oder) . ?s rdf:type ontology:organization }
[]