Simple Question (Direct)
Simple Question
Q3766701
P734
Q82799
USER
Who has the surname Giovanni Battista Marini ?
(Q3766701,P734,c(Q82799))
action filter_type
action find
entity Q3766701
relation P734
type Q82799
['Q3766701', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q82799 . resource:Q3766701 property:P734 ?d }
Giovanni Battista Marini
action filter_type
action find
entity Giovanni Battista Marini
relation family name
type name
['Giovanni Battista Marini', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:name . resource:Giovanni_Battista_Marini property:family_name ?d }
[]
name
Q21491363
SYSTEM
Marini
Q21491363
(Q3766701,P734,c(Q82799))
action filter_type
action find
entity Q3766701
relation P734
type Q82799
[ANSWER] has the surname Giovanni Battista [ANSWER]
['Q3766701', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q82799 . resource:Q3766701 property:P734 ?d }
Marini
Marini has the surname Giovanni Battista Marini
Marini
action filter_type
action find
entity Giovanni Battista Marini
relation family name
type name
['Giovanni Battista Marini', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:name . resource:Giovanni_Battista_Marini property:family_name ?d }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3766701
P1412
Q34770
USER
Which language can that person understand ?
(Q21491363,P1412,c(Q34770))
action filter_type
action find
entity Q3766701
relation P1412
type Q34770
['Q21491363', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?s WHERE { resource:Q3766701 property:P1412 ?s . ?s rdf:type ontology:Q34770 }
Giovanni Battista Marini
action filter_type
action find
entity Giovanni Battista Marini
relation languages spoken, written or signed
type language
['Marini', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?s WHERE { resource:Giovanni_Battista_Marini property:languages_spoken,_written_or_signed ?s . ?s rdf:type ontology:language }
[]
language
Q652
SYSTEM
Italian
Q652
(Q21491363,P1412,c(Q34770))
action filter_type
action find
entity Q3766701
relation P1412
type Q34770
That person can understand [ANSWER]
['Q21491363', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?s WHERE { resource:Q3766701 property:P1412 ?s . ?s rdf:type ontology:Q34770 }
Italian
That person can understand Italian
Italian
action filter_type
action find
entity Giovanni Battista Marini
relation languages spoken, written or signed
type language
['Marini', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?s WHERE { resource:Giovanni_Battista_Marini property:languages_spoken,_written_or_signed ?s . ?s rdf:type ontology:language }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P2439
Q34770 Q6055843 Q43229
USER
How many languages are associated with more number of internet genres or organizations than that language ?
(c(Q6055843)|c(Q43229),P2439,c(Q34770))
action count
action greater
action union
action find_reverse_tuple_counts
relation P2439
type Q34770
type Q6055843
action find_reverse_tuple_counts
relation P2439
type Q34770
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q652
relation P2439
type Q6055843
type Q43229
[[{'concept': 'Q6055843'}, {'concept': 'Q43229'}], 'P2439', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) ?l WHERE { ?p rdf:type ?s . VALUES ( ?s ) { ( ontology:Q43229 ) ( ontology:Q6055843 ) } } GROUP BY ?l } . FILTER ( ?t > ?w ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { ?o property:P2439 resource:Q652 . { { ?o rdf:type ontology:Q6055843 } UNION { ?o rdf:type ontology:Q43229 } } } } }
action count
action greater
action union
action find_reverse_tuple_counts
relation language
type language
type internet genre
action find_reverse_tuple_counts
relation language
type language
type organization
action count
action filter_multi_types
action find_reverse
entity Italian
relation language
type internet genre
type organization
[[{'concept': 'internet genre'}, {'concept': 'organization'}], 'language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) ?l WHERE { ?p rdf:type ?s . VALUES ( ?s ) { ( ontology:organization ) ( ontology:internet_genre ) } } GROUP BY ?l } . FILTER ( ?t > ?w ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { ?o property:language resource:Italian . { { ?o rdf:type ontology:internet_genre } UNION { ?o rdf:type ontology:organization } } } } }
[]
language internet genre organization
SYSTEM
1
Q1860
(c(Q6055843)|c(Q43229),P2439,c(Q34770))
action count
action greater
action union
action find_reverse_tuple_counts
relation P2439
type Q34770
type Q6055843
action find_reverse_tuple_counts
relation P2439
type Q34770
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q652
relation P2439
type Q6055843
type Q43229
[ANSWER]
[[{'concept': 'Q6055843'}, {'concept': 'Q43229'}], 'P2439', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) ?l WHERE { ?p rdf:type ?s . VALUES ( ?s ) { ( ontology:Q43229 ) ( ontology:Q6055843 ) } } GROUP BY ?l } . FILTER ( ?t > ?w ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { ?o property:P2439 resource:Q652 . { { ?o rdf:type ontology:Q6055843 } UNION { ?o rdf:type ontology:Q43229 } } } } }
English
1
action count
action greater
action union
action find_reverse_tuple_counts
relation language
type language
type internet genre
action find_reverse_tuple_counts
relation language
type language
type organization
action count
action filter_multi_types
action find_reverse
entity Italian
relation language
type internet genre
type organization
[[{'concept': 'internet genre'}, {'concept': 'organization'}], 'language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) ?l WHERE { ?p rdf:type ?s . VALUES ( ?s ) { ( ontology:organization ) ( ontology:internet_genre ) } } GROUP BY ?l } . FILTER ( ?t > ?w ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { ?o property:language resource:Italian . { { ?o rdf:type ontology:internet_genre } UNION { ?o rdf:type ontology:organization } } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q3322653
P282
Q2001982 Q34770
USER
How many notations are used as the scripts for approximately the same number of languages as Southwest Paleohispanic script ?
(c(Q34770),P282,c(Q2001982))
action count
action approx
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q34770
action count
action filter_type
action find
entity Q3322653
relation P282
type Q2001982
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { FILTER ( ?s = ?u ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { resource:Q3322653 property:P282 ?j . ?j rdf:type ontology:Q2001982 } } . { SELECT DISTINCT ?r ( COUNT ( ?y ) AS ?s ) WHERE { ?y property:P282 ?r . ?y rdf:type ontology:Q34770 . ?r rdf:type ontology:Q2001982 } GROUP BY ?r } }
Southwest Paleohispanic script
action count
action approx
action find_reverse_tuple_counts
relation writing system
type notation
type language
action count
action filter_type
action find
entity Southwest Paleohispanic script
relation writing system
type notation
[{'concept': 'language'}, 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { FILTER ( ?s = ?u ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { resource:Southwest_Paleohispanic_script property:writing_system ?j . ?j rdf:type ontology:notation } } . { SELECT DISTINCT ?r ( COUNT ( ?y ) AS ?s ) WHERE { ?y property:writing_system ?r . ?y rdf:type ontology:language . ?r rdf:type ontology:notation } GROUP BY ?r } }
[]
notation language
SYSTEM
4
Q82772 Q1771716 Q3322653 Q790681
(c(Q34770),P282,c(Q2001982))
action count
action approx
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q34770
action count
action filter_type
action find
entity Q3322653
relation P282
type Q2001982
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { FILTER ( ?s = ?u ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { resource:Q3322653 property:P282 ?j . ?j rdf:type ontology:Q2001982 } } . { SELECT DISTINCT ?r ( COUNT ( ?y ) AS ?s ) WHERE { ?y property:P282 ?r . ?y rdf:type ontology:Q34770 . ?r rdf:type ontology:Q2001982 } GROUP BY ?r } }
kanji Pahlavi scripts Southwest Paleohispanic script Avestan alphabet
4
action count
action approx
action find_reverse_tuple_counts
relation writing system
type notation
type language
action count
action filter_type
action find
entity Southwest Paleohispanic script
relation writing system
type notation
[{'concept': 'language'}, 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { FILTER ( ?s = ?u ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { resource:Southwest_Paleohispanic_script property:writing_system ?j . ?j rdf:type ontology:notation } } . { SELECT DISTINCT ?r ( COUNT ( ?y ) AS ?s ) WHERE { ?y property:writing_system ?r . ?y rdf:type ontology:language . ?r rdf:type ontology:notation } GROUP BY ?r } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3766701
P106
Q12737077
USER
What is the profession of Giovanni Battista Marini ?
(Q3766701,P106,c(Q12737077))
action filter_type
action find
entity Q3766701
relation P106
type Q12737077
['Q3766701', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q3766701 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
Giovanni Battista Marini
action filter_type
action find
entity Giovanni Battista Marini
relation occupation
type occupation
['Giovanni Battista Marini', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Giovanni_Battista_Marini property:occupation ?l . ?l rdf:type ontology:occupation }
[]
occupation
Q49757
SYSTEM
poet
Q49757
(Q3766701,P106,c(Q12737077))
action filter_type
action find
entity Q3766701
relation P106
type Q12737077
The profession of Giovanni Battista Marini is a [ANSWER]
['Q3766701', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q3766701 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
poet
The profession of Giovanni Battista Marini is a poet
poet
action filter_type
action find
entity Giovanni Battista Marini
relation occupation
type occupation
['Giovanni Battista Marini', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Giovanni_Battista_Marini property:occupation ?l . ?l rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q49757
P425
Q1792379
USER
Who has that one as the associated field of occupation ?
(Q49757,P425,c(Q1792379))
action filter_type
action find
entity Q49757
relation P425
type Q1792379
['Q49757', 'P425', {'concept': 'Q1792379'}]
SELECT DISTINCT ?f WHERE { resource:Q49757 property:P425 ?f . ?f rdf:type ontology:Q1792379 }
poet
action filter_type
action find
entity poet
relation field of this occupation
type art genre
['poet', 'field of this occupation', {'concept': 'art genre'}]
SELECT DISTINCT ?f WHERE { resource:poet property:field_of_this_occupation ?f . ?f rdf:type ontology:art_genre }
[]
art genre
Q482
SYSTEM
poetry
Q482
(Q49757,P425,c(Q1792379))
action filter_type
action find
entity Q49757
relation P425
type Q1792379
Is [ANSWER] has that one as the associated field of occupation
['Q49757', 'P425', {'concept': 'Q1792379'}]
SELECT DISTINCT ?f WHERE { resource:Q49757 property:P425 ?f . ?f rdf:type ontology:Q1792379 }
poetry
Is poetry has that one as the associated field of occupation
poetry
action filter_type
action find
entity poet
relation field of this occupation
type art genre
['poet', 'field of this occupation', {'concept': 'art genre'}]
SELECT DISTINCT ?f WHERE { resource:poet property:field_of_this_occupation ?f . ?f rdf:type ontology:art_genre }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q49757
P39
Q502895
USER
Which people held the position of that occupation ?
(c(Q502895),P39,Q482)
action filter_type
action find_reverse
entity Q49757
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q482']
SELECT DISTINCT ?r WHERE { ?r property:P39 resource:Q49757 . ?r rdf:type ontology:Q502895 }
poet
action filter_type
action find_reverse
entity poet
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'poetry']
SELECT DISTINCT ?r WHERE { ?r property:position_held resource:poet . ?r rdf:type ontology:common_name }
[]
common name
Q21694215 Q1375676 Q3174912
SYSTEM
Francisco Concha Castillo, Silvio Stampiglia, Jean V Olivier
Q21694215 Q1375676 Q3174912
(c(Q502895),P39,Q482)
action filter_type
action find_reverse
entity Q49757
relation P39
type Q502895
[ANSWERS] held the position of that occupation
[{'concept': 'Q502895'}, 'P39', 'Q482']
SELECT DISTINCT ?r WHERE { ?r property:P39 resource:Q49757 . ?r rdf:type ontology:Q502895 }
Francisco Concha Castillo Silvio Stampiglia Jean V Olivier
Francisco Concha Castillo, Silvio Stampiglia and Jean V Olivier held the position of that occupation
Francisco Concha Castillo Silvio Stampiglia Jean V Olivier
action filter_type
action find_reverse
entity poet
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'poetry']
SELECT DISTINCT ?r WHERE { ?r property:position_held resource:poet . ?r rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q21694215 Q1375676 Q3174912
P39
Q12737077
USER
What were the positions held by those people ?
(Q21694215,P39,c(Q12737077)) (Q1375676,P39,c(Q12737077)) (Q3174912,P39,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P39
type Q12737077
['Q21694215', 'P39', {'concept': 'Q12737077'}] ['Q1375676', 'P39', {'concept': 'Q12737077'}] ['Q3174912', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q12737077 . ?i property:P39 ?w . VALUES ( ?i ) { ( resource:Q21694215 ) ( resource:Q1375676 ) ( resource:Q3174912 ) } }
Francisco Concha Castillo Silvio Stampiglia Jean V Olivier
action filter_type
action find
entity prev_answer
relation position held
type occupation
['Francisco Concha Castillo', 'position held', {'concept': 'occupation'}] ['Silvio Stampiglia', 'position held', {'concept': 'occupation'}] ['Jean V Olivier', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:occupation . ?i property:position_held ?w . VALUES ( ?i ) { ( resource:Francisco_Concha_Castillo ) ( resource:Silvio_Stampiglia ) ( resource:Jean_V_Olivier ) } }
[]
occupation
Q37226 Q29182 Q19967350
SYSTEM
teacher, bishop, hellenist
Q49757 Q37226 Q8178443 Q49757 Q29182 Q49757 Q19967350
(Q21694215,P39,c(Q12737077)) (Q1375676,P39,c(Q12737077)) (Q3174912,P39,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P39
type Q12737077
The positions held by those people were [ANSWERS]
['Q21694215', 'P39', {'concept': 'Q12737077'}] ['Q1375676', 'P39', {'concept': 'Q12737077'}] ['Q3174912', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q12737077 . ?i property:P39 ?w . VALUES ( ?i ) { ( resource:Q21694215 ) ( resource:Q1375676 ) ( resource:Q3174912 ) } }
poet teacher librettist poet bishop poet hellenist
The positions held by those people were teacher, bishop and hellenist
teacher bishop hellenist
action filter_type
action find
entity prev_answer
relation position held
type occupation
['Francisco Concha Castillo', 'position held', {'concept': 'occupation'}] ['Silvio Stampiglia', 'position held', {'concept': 'occupation'}] ['Jean V Olivier', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:occupation . ?i property:position_held ?w . VALUES ( ?i ) { ( resource:Francisco_Concha_Castillo ) ( resource:Silvio_Stampiglia ) ( resource:Jean_V_Olivier ) } }
[]