Simple Question (Direct)
Simple Question
Q2853468
P39
Q12737077
USER
Which occupation was a position held by Antoine-François Hardy ?
(Q2853468,P39,c(Q12737077))
action filter_type
action find
entity Q2853468
relation P39
type Q12737077
['Q2853468', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q2853468 property:P39 ?m . ?m rdf:type ontology:Q12737077 }
Antoine-François Hardy
action filter_type
action find
entity Antoine-François Hardy
relation position held
type occupation
['Antoine-François Hardy', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Antoine-François_Hardy property:position_held ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q3044918
SYSTEM
member of the French National Assembly
Q3044918
(Q2853468,P39,c(Q12737077))
action filter_type
action find
entity Q2853468
relation P39
type Q12737077
The member of the French National Assembly was a position held by Antoine-François Hardy
['Q2853468', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q2853468 property:P39 ?m . ?m rdf:type ontology:Q12737077 }
member of the French National Assembly
The member of the French National Assembly was a position held by Antoine-François Hardy
member of the French National Assembly
action filter_type
action find
entity Antoine-François Hardy
relation position held
type occupation
['Antoine-François Hardy', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Antoine-François_Hardy property:position_held ?m . ?m rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2853468
P20
Q56061
USER
Where did the expiration of that person occur ?
(Q3044918,P20,c(Q56061))
action filter_type
action find
entity Q2853468
relation P20
type Q56061
['Q3044918', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q2853468 property:P20 ?n . ?n rdf:type ontology:Q56061 }
Antoine-François Hardy
action filter_type
action find
entity Antoine-François Hardy
relation place of death
type administrative territorial entity
['member of the French\xa0National Assembly', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Antoine-François_Hardy property:place_of_death ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q3044918,P20,c(Q56061))
action filter_type
action find
entity Q2853468
relation P20
type Q56061
The expiration of that person occurred in [ANSWER]
['Q3044918', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q2853468 property:P20 ?n . ?n rdf:type ontology:Q56061 }
Paris
The expiration of that person occurred in Paris
Paris
action filter_type
action find
entity Antoine-François Hardy
relation place of death
type administrative territorial entity
['member of the French\xa0National Assembly', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Antoine-François_Hardy property:place_of_death ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2853468
P734
Q82799
USER
Who has the surname that person ?
(Q90,P734,c(Q82799))
action filter_type
action find
entity Q2853468
relation P734
type Q82799
['Q90', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q82799 . resource:Q2853468 property:P734 ?i }
Antoine-François Hardy
action filter_type
action find
entity Antoine-François Hardy
relation family name
type name
['Paris', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:name . resource:Antoine-François_Hardy property:family_name ?i }
[]
name
Q16870512
SYSTEM
Hardy
Q16870512
(Q90,P734,c(Q82799))
action filter_type
action find
entity Q2853468
relation P734
type Q82799
[ANSWER] has the surname that person
['Q90', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q82799 . resource:Q2853468 property:P734 ?i }
Hardy
Hardy has the surname that person
Hardy
action filter_type
action find
entity Antoine-François Hardy
relation family name
type name
['Paris', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:name . resource:Antoine-François_Hardy property:family_name ?i }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1321
P407
Q34770 Q82799
USER
How many languages are the languages of work for approximately the same number of names as Spanish ?
(c(Q82799),P407,c(Q34770))
action count
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_type
action find
entity Q1321
relation P407
type Q34770
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?c ) AS ?q ) WHERE { ?c property:P407 ?x . ?c rdf:type ontology:Q82799 . ?x rdf:type ontology:Q34770 } GROUP BY ?x } . FILTER ( ?q = ?f ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { resource:Q1321 property:P407 ?j . ?j rdf:type ontology:Q34770 } } }
Spanish
action count
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_type
action find
entity Spanish
relation language of work or name
type language
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?c ) AS ?q ) WHERE { ?c property:language_of_work_or_name ?x . ?c rdf:type ontology:name . ?x rdf:type ontology:language } GROUP BY ?x } . FILTER ( ?q = ?f ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { resource:Spanish property:language_of_work_or_name ?j . ?j rdf:type ontology:language } } }
[]
language name
SYSTEM
28
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 count
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_type
action find
entity Q1321
relation P407
type Q34770
[ANSWER]
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?c ) AS ?q ) WHERE { ?c property:P407 ?x . ?c rdf:type ontology:Q82799 . ?x rdf:type ontology:Q34770 } GROUP BY ?x } . FILTER ( ?q = ?f ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { resource:Q1321 property:P407 ?j . ?j rdf:type ontology:Q34770 } } }
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
28
action count
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_type
action find
entity Spanish
relation language of work or name
type language
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?c ) AS ?q ) WHERE { ?c property:language_of_work_or_name ?x . ?c rdf:type ontology:name . ?x rdf:type ontology:language } GROUP BY ?x } . FILTER ( ?q = ?f ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { resource:Spanish property:language_of_work_or_name ?j . ?j rdf:type ontology:language } } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P407
Q34770 Q82799
USER
Which languages are the languages of work for atmost 194 names ?
(c(Q82799),P407,c(Q34770))
action atmost
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 194
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?a ) AS ?c ) WHERE { ?v rdf:type ontology:Q34770 . ?a rdf:type ontology:Q82799 . ?a property:P407 ?v } GROUP BY ?v } . FILTER ( ?c <= 194 ) }
action atmost
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 194
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?a ) AS ?c ) WHERE { ?v rdf:type ontology:language . ?a rdf:type ontology:name . ?a property:language_of_work_or_name ?v } GROUP BY ?v } . FILTER ( ?c <= 194 ) }
[]
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 194
[ANSWERS] are the languages of work for atmost 194 names
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?a ) AS ?c ) WHERE { ?v rdf:type ontology:Q34770 . ?a rdf:type ontology:Q82799 . ?a property:P407 ?v } GROUP BY ?v } . FILTER ( ?c <= 194 ) }
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
Old Egyptian, Old Church Slavonic and Etruscan are the languages of work for atmost 194 names
Old Egyptian Old Church Slavonic Etruscan
action atmost
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 194
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?a ) AS ?c ) WHERE { ?v rdf:type ontology:language . ?a rdf:type ontology:name . ?a property:language_of_work_or_name ?v } GROUP BY ?v } . FILTER ( ?c <= 194 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P37
Q34770 Q1048835 Q7275
USER
Which languages are considered to be the official language of atleast 11 political territories and states ?
(c(Q1048835)|c(Q7275),P37,c(Q34770))
action atleast
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q1048835
action find_reverse_tuple_counts
relation P37
type Q34770
type Q7275
value 11
[[{'concept': 'Q1048835'}, {'concept': 'Q7275'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) ?z WHERE { VALUES ( ?t ) { ( ontology:Q1048835 ) ( ontology:Q7275 ) } . ?f rdf:type ?t } GROUP BY ?z } . FILTER ( ?l >= 11 ) }
action atleast
action union
action find_reverse_tuple_counts
relation official language
type language
type political territorial entity
action find_reverse_tuple_counts
relation official language
type language
type state
value 11
[[{'concept': 'political territorial entity'}, {'concept': 'state'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) ?z WHERE { VALUES ( ?t ) { ( ontology:political_territorial_entity ) ( ontology:state ) } . ?f rdf:type ?t } GROUP BY ?z } . FILTER ( ?l >= 11 ) }
[]
language political territorial entity state
Q1860 Q1321
SYSTEM
English, Spanish
Q1860 Q1321
(c(Q1048835)|c(Q7275),P37,c(Q34770))
action atleast
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q1048835
action find_reverse_tuple_counts
relation P37
type Q34770
type Q7275
value 11
[ANSWERS] are considered to be the official language of atleast 11 political territories and states
[[{'concept': 'Q1048835'}, {'concept': 'Q7275'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) ?z WHERE { VALUES ( ?t ) { ( ontology:Q1048835 ) ( ontology:Q7275 ) } . ?f rdf:type ?t } GROUP BY ?z } . FILTER ( ?l >= 11 ) }
English Spanish
English and Spanish are considered to be the official language of atleast 11 political territories and states
English Spanish
action atleast
action union
action find_reverse_tuple_counts
relation official language
type language
type political territorial entity
action find_reverse_tuple_counts
relation official language
type language
type state
value 11
[[{'concept': 'political territorial entity'}, {'concept': 'state'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) ?z WHERE { VALUES ( ?t ) { ( ontology:political_territorial_entity ) ( ontology:state ) } . ?f rdf:type ?t } GROUP BY ?z } . FILTER ( ?l >= 11 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q3822914
P364
Q838948
USER
Were La lupa originally created in those ones language ?
(Q3822914,P364,Q1860) (Q3822914,P364,Q1321)
action is_in
entity prev_answer
action find
entity Q3822914
relation P364
['Q3822914', 'P364', 'Q1860'] ['Q3822914', 'P364', 'Q1321']
ASK WHERE { resource:Q3822914 property:P364 ?t . VALUES ( ?t ) { ( resource:Q1860 ) ( resource:Q1321 ) } }
La lupa
action is_in
entity prev_answer
action find
entity La lupa
relation original language of work
['La lupa', 'original language of work', 'English'] ['La lupa', 'original language of work', 'Spanish']
ASK WHERE { resource:La_lupa property:original_language_of_work ?t . VALUES ( ?t ) { ( resource:English ) ( resource:Spanish ) } }
[]
work of art
SYSTEM
NO
(Q3822914,P364,Q1860) (Q3822914,P364,Q1321)
action is_in
entity prev_answer
action find
entity Q3822914
relation P364
[ANSWER]
['Q3822914', 'P364', 'Q1860'] ['Q3822914', 'P364', 'Q1321']
ASK WHERE { resource:Q3822914 property:P364 ?t . VALUES ( ?t ) { ( resource:Q1860 ) ( resource:Q1321 ) } }
No
action is_in
entity prev_answer
action find
entity La lupa
relation original language of work
['La lupa', 'original language of work', 'English'] ['La lupa', 'original language of work', 'Spanish']
ASK WHERE { resource:La_lupa property:original_language_of_work ?t . VALUES ( ?t ) { ( resource:English ) ( resource:Spanish ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q90 Q193929
P47
Q20667921
USER
Is Suresnes adjacent to Paris ?
(Q90,P47,Q193929)
action is_in
entity Q193929
action find
entity Q90
relation P47
['Q90', 'P47', 'Q193929']
ASK WHERE { resource:Q90 property:P47 resource:Q193929 }
Paris Suresnes
action is_in
entity Suresnes
action find
entity Paris
relation shares border with
['Paris', 'shares border with', 'Suresnes']
ASK WHERE { resource:Paris property:shares_border_with resource:Suresnes }
[]
type of french administrative division
SYSTEM
YES
(Q90,P47,Q193929)
action is_in
entity Q193929
action find
entity Q90
relation P47
[ANSWER]
['Q90', 'P47', 'Q193929']
ASK WHERE { resource:Q90 property:P47 resource:Q193929 }
Yes
action is_in
entity Suresnes
action find
entity Paris
relation shares border with
['Paris', 'shares border with', 'Suresnes']
ASK WHERE { resource:Paris property:shares_border_with resource:Suresnes }
[]