Simple Question (Direct)
Simple Question
Q15821207
P102
Q7210356
USER
Which political organization is Johann Eibensteiner a member of ?
(Q15821207,P102,c(Q7210356))
action filter_type
action find
entity Q15821207
relation P102
type Q7210356
['Q15821207', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?t WHERE { resource:Q15821207 property:P102 ?t . ?t rdf:type ontology:Q7210356 }
Johann Eibensteiner
action filter_type
action find
entity Johann Eibensteiner
relation member of political party
type political organization
['Johann Eibensteiner', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?t WHERE { resource:Johann_Eibensteiner property:member_of_political_party ?t . ?t rdf:type ontology:political_organization }
[]
political organization
Q179111
SYSTEM
Social Democratic Party of Austria
Q179111
(Q15821207,P102,c(Q7210356))
action filter_type
action find
entity Q15821207
relation P102
type Q7210356
Party [ANSWER] is Johann Eibensteiner a member of
['Q15821207', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?t WHERE { resource:Q15821207 property:P102 ?t . ?t rdf:type ontology:Q7210356 }
Social Democratic Party of Austria
Party Social Democratic Party of Austria is Johann Eibensteiner a member of
Social Democratic Party of Austria
action filter_type
action find
entity Johann Eibensteiner
relation member of political party
type political organization
['Johann Eibensteiner', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?t WHERE { resource:Johann_Eibensteiner property:member_of_political_party ?t . ?t rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q179111
P159
Q56061
USER
Which administrative territory is the headquarter location of that political organization ?
(Q179111,P159,c(Q56061))
action filter_type
action find
entity Q179111
relation P159
type Q56061
['Q179111', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q179111 property:P159 ?z . ?z rdf:type ontology:Q56061 }
Social Democratic Party of Austria
action filter_type
action find
entity Social Democratic Party of Austria
relation headquarters location
type administrative territorial entity
['Social Democratic Party of Austria', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Social_Democratic_Party_of_Austria property:headquarters_location ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1741
SYSTEM
Vienna
Q1741
(Q179111,P159,c(Q56061))
action filter_type
action find
entity Q179111
relation P159
type Q56061
[ANSWER] is the headquarter location of that political organization
['Q179111', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q179111 property:P159 ?z . ?z rdf:type ontology:Q56061 }
Vienna
Vienna is the headquarter location of that political organization
Vienna
action filter_type
action find
entity Social Democratic Party of Austria
relation headquarters location
type administrative territorial entity
['Social Democratic Party of Austria', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Social_Democratic_Party_of_Austria property:headquarters_location ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q179111
P17
Q1048835
USER
How many political territories are Social Democratic Party of Austria present in ?
(Q179111,P17,c(Q1048835))
action count
action filter_type
action find
entity Q179111
relation P17
type Q1048835
['Q179111', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { resource:Q179111 property:P17 ?s . ?s rdf:type ontology:Q1048835 }
Social Democratic Party of Austria
action count
action filter_type
action find
entity Social Democratic Party of Austria
relation country
type political territorial entity
['Social Democratic Party of Austria', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { resource:Social_Democratic_Party_of_Austria property:country ?s . ?s rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
Q40
(Q179111,P17,c(Q1048835))
action count
action filter_type
action find
entity Q179111
relation P17
type Q1048835
[ANSWER]
['Q179111', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { resource:Q179111 property:P17 ?s . ?s rdf:type ontology:Q1048835 }
Austria
1
action count
action filter_type
action find
entity Social Democratic Party of Austria
relation country
type political territorial entity
['Social Democratic Party of Austria', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { resource:Social_Democratic_Party_of_Austria property:country ?s . ?s rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q21883900
Q1048835
USER
And how about Victoria Rock?
(Q21883900,P17,c(Q1048835))
action count
action filter_type
action find
entity Q21883900
relation P17
type Q1048835
['Q21883900', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { resource:Q21883900 property:P17 ?k . ?k rdf:type ontology:Q1048835 }
Victoria Rock
action count
action filter_type
action find
entity Victoria Rock
relation country
type political territorial entity
['Victoria Rock', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { resource:Victoria_Rock property:country ?k . ?k rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
(Q21883900,P17,c(Q1048835))
action count
action filter_type
action find
entity Q21883900
relation P17
type Q1048835
[ANSWER]
['Q21883900', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { resource:Q21883900 property:P17 ?k . ?k rdf:type ontology:Q1048835 }
1
action count
action filter_type
action find
entity Victoria Rock
relation country
type political territorial entity
['Victoria Rock', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { resource:Victoria_Rock property:country ?k . ?k rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q24026963
P532
Q56061 Q2235308
USER
Which ship types have greater number of administrative territories as registry port than Excellent ?
(c(Q2235308),P532,c(Q56061))
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24026963
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?w ) AS ?p ) WHERE { ?x property:P532 ?w . ?x rdf:type ontology:Q2235308 . ?w rdf:type ontology:Q56061 } GROUP BY ?x } . FILTER ( ?p > ?c ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { resource:Q24026963 property:P532 ?g . ?g rdf:type ontology:Q2235308 } } }
Excellent
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Excellent
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?w ) AS ?p ) WHERE { ?x property:port_of_registry ?w . ?x rdf:type ontology:ship_type . ?w rdf:type ontology:administrative_territorial_entity } GROUP BY ?x } . FILTER ( ?p > ?c ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { resource:Excellent property:port_of_registry ?g . ?g rdf:type ontology:ship_type } } }
[]
administrative territorial entity ship type
Q2596850 Q468026 Q35462
SYSTEM
MS Azura, SS Maxim Gorkiy, RMS Aquitania
Q2992316 Q2301456 Q983141 Q133606 Q26988086 Q168474 Q300311 Q20489530 Q5338632 Q7499755 Q2124429 Q1293488 Q1017179 Q7120838 Q7393546 Q25173 Q14493958 Q18128240 Q664284 Q26988094 Q21196329 Q10659251 Q477173 Q130373 Q19608222 Q11707059 Q1026780 Q22342351 Q15662618 Q33209 Q1514518 Q2596850 Q16854668 Q1325547 Q761593 Q26883829 Q2124449 Q778649 Q3952367 Q11705702 Q24039469 Q751584 Q6930211 Q16629249 Q497065 Q3053251 Q468026 Q1439419 Q23579589 Q4686475 Q26987769 Q11891639 Q321007 Q6720006 Q741803 Q338340 Q7120888 Q215692 Q917188 Q18213370 Q1129910 Q2714360 Q16852551 Q1514126 Q18711004 Q1339472 Q3558075 Q192381 Q493616 Q35462
(c(Q2235308),P532,c(Q56061))
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24026963
relation P532
type Q2235308
[ANSWERS] have greater number of administrative territories as registry port than Excellent
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?w ) AS ?p ) WHERE { ?x property:P532 ?w . ?x rdf:type ontology:Q2235308 . ?w rdf:type ontology:Q56061 } GROUP BY ?x } . FILTER ( ?p > ?c ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { resource:Q24026963 property:P532 ?g . ?g rdf:type ontology:Q2235308 } } }
HSC Condor Rapide MS Viking XPRS MY Sam Simon MS Star Meteora MV Arctic Sunrise A MS Harmony of the Seas Edith Mærsk Shoalway RMS Samaria MV Esperanza SS Burutu PS Empress Queen SS Empire Airman RMS Titanic Mærsk Mc-Kinney Møller MS Quantum of the Seas Pioneering Spirit Emma Victory SS Argentina S/S Drottningholm Emma Mærsk Admiral Makarov HSC Condor Liberation MS Arrow SS California Modern Express Djurgården 8 Mary Celeste Sapphire Princess MS Azura Mein Schiff 4 MT Mastera CMA CGM Marco Polo VOS Sympathy RMS St Helena Eclipse MS Norman Atlantic MV Ascension HSC Highspeed 5 MS Express Samina msy Wind Song Varnek (ship, 1974-2010) MV Baltic Ace Empire Sandy SS Maxim Gorkiy Vitus Bering MV Christinaki Adventure British Explorer SS Coccolita RMS Olympic MV Royal Daffodil RMS Mauretania MV Boudicca SS Prince of Wales HMHS Britannic MS Brilliance of the Seas Anthem of the Seas SS Potsdam MS Empress MS Epsilon MS Marco Polo MV Hoegh Osaka RMS Empress of Ireland Vieux Crabe MS Oasis of the Seas Royal Clipper RMS Aquitania
MS Azura, SS Maxim Gorkiy and RMS Aquitania have greater number of administrative territories as registry port than Excellent
MS Azura SS Maxim Gorkiy RMS Aquitania
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Excellent
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?w ) AS ?p ) WHERE { ?x property:port_of_registry ?w . ?x rdf:type ontology:ship_type . ?w rdf:type ontology:administrative_territorial_entity } GROUP BY ?x } . FILTER ( ?p > ?c ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { resource:Excellent property:port_of_registry ?g . ?g rdf:type ontology:ship_type } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q19875522
P532
Q56061 Q2235308
USER
And how about Big Fish?
(c(Q2235308),P532,c(Q56061))
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q19875522
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?w ) AS ?g ) WHERE { ?l property:P532 ?w . ?l rdf:type ontology:Q2235308 . ?w rdf:type ontology:Q56061 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { resource:Q19875522 property:P532 ?b . ?b rdf:type ontology:Q2235308 } } . FILTER ( ?g > ?x ) }
Big Fish
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Big Fish
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?w ) AS ?g ) WHERE { ?l property:port_of_registry ?w . ?l rdf:type ontology:ship_type . ?w rdf:type ontology:administrative_territorial_entity } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { resource:Big_Fish property:port_of_registry ?b . ?b rdf:type ontology:ship_type } } . FILTER ( ?g > ?x ) }
[]
administrative territorial entity ship type
Q2596850 Q468026 Q35462
SYSTEM
MS Azura, SS Maxim Gorkiy, RMS Aquitania
Q2992316 Q2301456 Q983141 Q133606 Q26988086 Q168474 Q300311 Q20489530 Q5338632 Q7499755 Q2124429 Q1293488 Q1017179 Q7120838 Q7393546 Q25173 Q14493958 Q18128240 Q664284 Q26988094 Q21196329 Q10659251 Q477173 Q130373 Q19608222 Q11707059 Q1026780 Q22342351 Q15662618 Q33209 Q1514518 Q2596850 Q16854668 Q1325547 Q761593 Q26883829 Q2124449 Q778649 Q3952367 Q11705702 Q24039469 Q751584 Q6930211 Q16629249 Q497065 Q3053251 Q468026 Q1439419 Q23579589 Q4686475 Q26987769 Q11891639 Q321007 Q6720006 Q741803 Q338340 Q7120888 Q215692 Q917188 Q18213370 Q1129910 Q2714360 Q16852551 Q1514126 Q18711004 Q1339472 Q3558075 Q192381 Q493616 Q35462
(c(Q2235308),P532,c(Q56061))
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q19875522
relation P532
type Q2235308
[ANSWERS]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?w ) AS ?g ) WHERE { ?l property:P532 ?w . ?l rdf:type ontology:Q2235308 . ?w rdf:type ontology:Q56061 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { resource:Q19875522 property:P532 ?b . ?b rdf:type ontology:Q2235308 } } . FILTER ( ?g > ?x ) }
HSC Condor Rapide MS Viking XPRS MY Sam Simon MS Star Meteora MV Arctic Sunrise A MS Harmony of the Seas Edith Mærsk Shoalway RMS Samaria MV Esperanza SS Burutu PS Empress Queen SS Empire Airman RMS Titanic Mærsk Mc-Kinney Møller MS Quantum of the Seas Pioneering Spirit Emma Victory SS Argentina S/S Drottningholm Emma Mærsk Admiral Makarov HSC Condor Liberation MS Arrow SS California Modern Express Djurgården 8 Mary Celeste Sapphire Princess MS Azura Mein Schiff 4 MT Mastera CMA CGM Marco Polo VOS Sympathy RMS St Helena Eclipse MS Norman Atlantic MV Ascension HSC Highspeed 5 MS Express Samina msy Wind Song Varnek (ship, 1974-2010) MV Baltic Ace Empire Sandy SS Maxim Gorkiy Vitus Bering MV Christinaki Adventure British Explorer SS Coccolita RMS Olympic MV Royal Daffodil RMS Mauretania MV Boudicca SS Prince of Wales HMHS Britannic MS Brilliance of the Seas Anthem of the Seas SS Potsdam MS Empress MS Epsilon MS Marco Polo MV Hoegh Osaka RMS Empress of Ireland Vieux Crabe MS Oasis of the Seas Royal Clipper RMS Aquitania
MS Azura SS Maxim Gorkiy RMS Aquitania
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Big Fish
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?w ) AS ?g ) WHERE { ?l property:port_of_registry ?w . ?l rdf:type ontology:ship_type . ?w rdf:type ontology:administrative_territorial_entity } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { resource:Big_Fish property:port_of_registry ?b . ?b rdf:type ontology:ship_type } } . FILTER ( ?g > ?x ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q468026
P532
Q56061 Q486972
USER
How many administrative territories and human settlements are the ports of registry of SS Maxim Gorkiy ?
(Q468026,P532,c(Q56061)) (Q468026,P532,c(Q486972))
action count
action union
action filter_type
action find
entity Q468026
relation P532
type Q56061
action filter_type
action find
entity Q468026
relation P532
type Q486972
['Q468026', 'P532', {'concept': 'Q56061'}] ['Q468026', 'P532', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { { resource:Q468026 property:P532 ?h . ?h rdf:type ontology:Q56061 } UNION { resource:Q468026 property:P532 ?h . ?h rdf:type ontology:Q486972 } }
SS Maxim Gorkiy
action count
action union
action filter_type
action find
entity SS Maxim Gorkiy
relation port of registry
type administrative territorial entity
action filter_type
action find
entity SS Maxim Gorkiy
relation port of registry
type human settlement
['SS Maxim Gorkiy', 'port of registry', {'concept': 'administrative territorial entity'}] ['SS Maxim Gorkiy', 'port of registry', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { { resource:SS_Maxim_Gorkiy property:port_of_registry ?h . ?h rdf:type ontology:administrative_territorial_entity } UNION { resource:SS_Maxim_Gorkiy property:port_of_registry ?h . ?h rdf:type ontology:human_settlement } }
[]
administrative territorial entity human settlement
SYSTEM
2 administrative territories and 1 human settlements
Q2467 Q1055 Q1874
(Q468026,P532,c(Q56061)) (Q468026,P532,c(Q486972))
action count
action union
action filter_type
action find
entity Q468026
relation P532
type Q56061
action filter_type
action find
entity Q468026
relation P532
type Q486972
[ANSWER]
['Q468026', 'P532', {'concept': 'Q56061'}] ['Q468026', 'P532', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { { resource:Q468026 property:P532 ?h . ?h rdf:type ontology:Q56061 } UNION { resource:Q468026 property:P532 ?h . ?h rdf:type ontology:Q486972 } }
Nassau Hamburg Odessa
2 administrative territories and 1 human settlements
action count
action union
action filter_type
action find
entity SS Maxim Gorkiy
relation port of registry
type administrative territorial entity
action filter_type
action find
entity SS Maxim Gorkiy
relation port of registry
type human settlement
['SS Maxim Gorkiy', 'port of registry', {'concept': 'administrative territorial entity'}] ['SS Maxim Gorkiy', 'port of registry', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { { resource:SS_Maxim_Gorkiy property:port_of_registry ?h . ?h rdf:type ontology:administrative_territorial_entity } UNION { resource:SS_Maxim_Gorkiy property:port_of_registry ?h . ?h rdf:type ontology:human_settlement } }
[]